Update Rehome a Subcloud doc
Added a new item for Prerequisites. Added a new note. Minor grammar updates. Update "About This Task" section: - Delete "On the subcloud, lock/unlock" step. - Add the "Delete the subcloud from the previous System Controller" step. Update "Procedure" section: - Delete "Lock controller-1 of the subcloud" step. - Add "Ensure all the controller(s) of the subcloud" step. - Delete All the content in: "For an AIO-SX subcloud," step. Signed-off-by: Elaine Fonaro <elaine.fonaro@windriver.com> Change-Id: I3e950284056b3529eac6217b3e6182f15a363944
This commit is contained in:
committed by
Juanita-Balaraj
parent
1a7cc09e6f
commit
fff996c5fa
@@ -15,6 +15,11 @@ Controller using the rehoming playbook.
|
|||||||
The rehoming playbook does not work with freshly installed/bootstrapped
|
The rehoming playbook does not work with freshly installed/bootstrapped
|
||||||
subclouds.
|
subclouds.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The system time should be accurately configured on the System Controllers
|
||||||
|
and the subcloud's controllers before rehoming the subcloud.
|
||||||
|
|
||||||
Use the following procedure to enable subcloud rehoming and to update the new
|
Use the following procedure to enable subcloud rehoming and to update the new
|
||||||
subcloud configuration \(networking parameters, passwords, etc.\) to be
|
subcloud configuration \(networking parameters, passwords, etc.\) to be
|
||||||
compatible with the new System Controller.
|
compatible with the new System Controller.
|
||||||
@@ -28,7 +33,7 @@ There are six phases for Rehoming a subcloud:
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
You can skip this phase if the previous System Controller is no longer
|
You can skip this step if the previous System Controller is no longer
|
||||||
running or is unable to connect to the subcloud.
|
running or is unable to connect to the subcloud.
|
||||||
|
|
||||||
#. Update the admin password on the subcloud to match the new System
|
#. Update the admin password on the subcloud to match the new System
|
||||||
@@ -38,13 +43,18 @@ There are six phases for Rehoming a subcloud:
|
|||||||
the new System Controller. This will update the System Controller and
|
the new System Controller. This will update the System Controller and
|
||||||
connect to the subcloud to update the appropriate configuration parameters.
|
connect to the subcloud to update the appropriate configuration parameters.
|
||||||
|
|
||||||
#. On the subcloud, lock/unlock the subcloud controller(s) to enable the new
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
#. Use the :command:`dcmanager subcloud list` command to check the status
|
#. Use the :command:`dcmanager subcloud list` command to check the status
|
||||||
of the subcloud, ensure the subcloud is online and complete before managing
|
of the subcloud, ensure the subcloud is online and complete before managing
|
||||||
the subcloud.
|
the subcloud.
|
||||||
|
|
||||||
|
#. Delete the subcloud from the previous System Controller after the subcloud
|
||||||
|
is offline.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
You can skip this phase if the previous System Controller is no longer
|
||||||
|
running or is unable to connect to the subcloud.
|
||||||
|
|
||||||
#. On the new System Controller, set the subcloud to "managed" and wait for it
|
#. On the new System Controller, set the subcloud to "managed" and wait for it
|
||||||
to sync.
|
to sync.
|
||||||
|
|
||||||
@@ -58,11 +68,29 @@ There are six phases for Rehoming a subcloud:
|
|||||||
- Ensure that the subcloud has been backed up, in case something goes wrong
|
- Ensure that the subcloud has been backed up, in case something goes wrong
|
||||||
and a subcloud system recovery is required.
|
and a subcloud system recovery is required.
|
||||||
|
|
||||||
- Transfer the ``yaml`` file that was used to bootstrap the subcloud prior to
|
- Ensure that the system time between new system controllers and the subclouds
|
||||||
|
are accurately configured.
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
~(keystone_admin)]$ date -u
|
||||||
|
|
||||||
|
If the time is not correct either on the system controllers or the subclouds,
|
||||||
|
check the system's ``clock_synchronization`` config on the system.
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
~(keystone_admin)]$ system show-show controller-0
|
||||||
|
|
||||||
|
Check the |NTP| server configuration or |PTP| server configuration sections
|
||||||
|
to correct the system time based on the system's ``clock_synchronization``
|
||||||
|
config (|NTP| or |PTP|).
|
||||||
|
|
||||||
|
- Transfer the yaml file that was used to bootstrap the subcloud prior to
|
||||||
rehoming, to the new System Controller. This data is required for rehoming.
|
rehoming, to the new System Controller. This data is required for rehoming.
|
||||||
|
|
||||||
- If the subcloud can be remotely installed via Redfish Virtual Media service,
|
- If the subcloud can be remotely installed via Redfish Virtual Media service,
|
||||||
transfer the ``yaml`` file that contains the install data for this subcloud,
|
transfer the yaml file that contains the install data for this subcloud,
|
||||||
and use this install data in the new System Controller, via the
|
and use this install data in the new System Controller, via the
|
||||||
``--install-values`` option, when running the remote subcloud reinstall,
|
``--install-values`` option, when running the remote subcloud reinstall,
|
||||||
upgrade or restore commands.
|
upgrade or restore commands.
|
||||||
@@ -107,12 +135,11 @@ There are six phases for Rehoming a subcloud:
|
|||||||
|
|
||||||
~(keystone_admin)]$ system host-swact controller-1
|
~(keystone_admin)]$ system host-swact controller-1
|
||||||
|
|
||||||
#. Lock controller-1 of the subcloud.
|
#. Ensure that all the subcloud controllers are online and available by the
|
||||||
|
:command:`system host-list` command, and free of "250.001 config out-of-date"
|
||||||
.. code-block:: none
|
alarm by the :command:`fm alarm-list` command. If there's "250.001 config
|
||||||
|
out-of-date" alarm, a lock/unlock is required to clear that alarm on the node
|
||||||
~(keystone_admin)]$ system host-lock controller-1
|
before the next step.
|
||||||
|
|
||||||
|
|
||||||
#. On the new System Controller, use the following command to start the
|
#. On the new System Controller, use the following command to start the
|
||||||
rehoming process.
|
rehoming process.
|
||||||
@@ -154,47 +181,6 @@ There are six phases for Rehoming a subcloud:
|
|||||||
|
|
||||||
~(keystone_admin)]$ dcmanager subcloud delete <subcloud-name>
|
~(keystone_admin)]$ dcmanager subcloud delete <subcloud-name>
|
||||||
|
|
||||||
#. For an |AIO-SX| subcloud, use the following commands to lock/unlock the
|
|
||||||
controller \(wait for the lock to complete before unlocking the controller\).
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)]$ system host-lock controller-0
|
|
||||||
~(keystone_admin)]$ system host-unlock controller-0
|
|
||||||
|
|
||||||
For an |AIO-DX| subcloud, first, use the following command to unlock
|
|
||||||
controller-1.
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)]$ system host-unlock controller-1
|
|
||||||
|
|
||||||
#. Wait until controller-1 is unlocked/online/available, then use the
|
|
||||||
following command to switch activity to controller-1.
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)]$ system host-swact controller-0
|
|
||||||
|
|
||||||
#. After the swact is complete, use the following commands to lock/unlock
|
|
||||||
controller-0.
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)]$ system host-lock controller-0
|
|
||||||
~(keystone_admin)]$ system host-unlock controller-0
|
|
||||||
|
|
||||||
#. Wait until controller-0 is unlocked/online/available, then switch
|
|
||||||
activity back to controller-0.
|
|
||||||
|
|
||||||
#. Perform a swact on controller-1.
|
|
||||||
|
|
||||||
.. code-block:: none
|
|
||||||
|
|
||||||
~(keystone_admin)]$ system host-swact controller-1
|
|
||||||
|
|
||||||
Wait until the swact is complete.
|
|
||||||
|
|
||||||
#. Use the :command:`dcmanager subcloud list` command to display the status of
|
#. Use the :command:`dcmanager subcloud list` command to display the status of
|
||||||
the subcloud, and ensure the subcloud is online and complete before
|
the subcloud, and ensure the subcloud is online and complete before
|
||||||
managing the subcloud.
|
managing the subcloud.
|
||||||
|
|||||||
Reference in New Issue
Block a user