Merge "Enhanced procedure for adding and removing worker nodes (pick r5, r6, dsr6)"

This commit is contained in:
Zuul 2022-03-30 14:13:55 +00:00 committed by Gerrit Code Review
commit 64f6bb69cf
3 changed files with 51 additions and 4 deletions

View File

@ -2,11 +2,11 @@
.. pyp1552927946441 .. pyp1552927946441
.. _adding-hosts-using-the-host-add-command-r6: .. _adding-hosts-using-the-host-add-command-r6:
==================================== ================================
Add Hosts Using the host-add Command Add Hosts Using the Command Line
==================================== ================================
You can add hosts to the system inventory using the command line. You can add hosts to the system inventory using the :command:`host-add` command.
.. rubric:: |context| .. rubric:: |context|
@ -150,10 +150,23 @@ scripting an initial setup.
~(keystone_admin)]$ system host-add -n compute-0 -p worker -I 10.10.10.100 ~(keystone_admin)]$ system host-add -n compute-0 -p worker -I 10.10.10.100
#. Verify that the host has been added successfully.
Use the :command:`fm alarm-list` command to check if any alarms (major or
critical) events have occured. You can also type :command:`fm event-list`
to see a log of events. For more information on alarms, see :ref:`Fault
Management Overview <fault-management-overview>`.
#. With **controller-0** running, start the host. #. With **controller-0** running, start the host.
The host is booted and configured with a personality. The host is booted and configured with a personality.
#. Verify that the host has started successfully.
The command :command:`system host-list` shows a list of hosts. The
added host should be available, enabled, and unlocked. You can also
check alarms and events again.
.. rubric:: |postreq| .. rubric:: |postreq|
After adding the host, you must provision it according to the requirements of After adding the host, you must provision it according to the requirements of

View File

@ -0,0 +1,33 @@
.. _delete-hosts-using-the-host-delete-command-1729d2e3153b:
===================================
Delete Hosts Using the Command Line
===================================
You can delete hosts from the system inventory using the :command:`host-delete` command.
.. rubric:: |proc|
#. Check for alarms related to the host.
Use the :command:`fm alarm-list` command to check for any alarms (major
or critical events). You can also type :command:`fm event-list` to see a log
of events. For more information on alarms, see :ref:`Fault Management
Overview <fault-management-overview>`.
#. Lock the host that will be deleted.
Use the :command:`system host-lock` command. Only locked hosts can be deleted.
#. Delete the host from the system inventory.
Use the command :command:`system host-delete`. This command accepts one
parameter: the hostname or ID. Make sure that the remaining hosts have
sufficient capacity and workload to account for the deleted host.
#. Verify that the host has been deleted successfully.
Use the :command:`fm alarm-list` command to check for any alarms (major
or critical events). You can also type :command:`fm event-list` to see a log
of events. For more information on alarms, see :ref:`Fault Management
Overview <fault-management-overview>`.

View File

@ -81,6 +81,7 @@ Add and reinstall a host
:maxdepth: 1 :maxdepth: 1
bare_metal/adding-hosts-using-the-host-add-command bare_metal/adding-hosts-using-the-host-add-command
bare_metal/delete-hosts-using-the-host-delete-command-1729d2e3153b
Add hosts in bulk Add hosts in bulk