ページの先頭行へ戻る
Site Recoveryfor Red Hat(R) OpenStack Platform V1.1 運用ガイド
FUJITSU Software

7.3.6 コンピュートノードのセルへの追加

本手順は、以下の条件で実施してください。

以下の手順に従い、コンピュートノードをセルに追加します。

  1. 以下のコマンドを実行し、nova_apiコンテナにログインします。

    podman exec -it nova_api bash
  2. 以下のコマンドを実行し、コンピュートノードをセルに追加します。

    nova-manage cell_v2 discover_hosts --by-service --verbose

    # nova-manage cell_v2 discover_hosts --by-service --verbose
    Found 2 cell mappings.
    Skipping cell0 since it does not contain hosts.
    Getting computes from cell 'default': a7c8e84b-d4a6-4383-bead-ecbb41a7ea6a
    Creating host mapping for service <hostname-0>
    Creating host mapping for service <hostname-1>
    Found 2 unmapped computes in cell: a7c8e84b-d4a6-4383-bead-ecbb41a7ea6a
  3. 以下のコマンドを実行し、コンピュートノードがセルに追加されたことを確認します。

    nova-manage cell_v2 list_hosts

    # nova-manage cell_v2 list_hosts
    +-----------+--------------------------------------+--------------------------------------+
    | Cell Name |              Cell UUID               |               Hostname               |
    +-----------+--------------------------------------+--------------------------------------+
    |  default  | a7c8e84b-d4a6-4383-bead-ecbb41a7ea6a | <hostname-0>                         |
    |  default  | a7c8e84b-d4a6-4383-bead-ecbb41a7ea6a | <hostname-1>                         |
    +-----------+--------------------------------------+--------------------------------------+