Files
docs/doc/source/deploy_install_guides/r6_release/bare_metal/delete-hosts-using-the-host-delete-command-1729d2e3153b.rst
Keane Lim a997fdf3f7 Enhanced procedure for adding and removing worker nodes (pick r5, r6, dsr6)
Change-Id: I630049b40a5fd214c15f0574e20f80272fb33c3b
Signed-off-by: Keane Lim <keane.lim@windriver.com>
2022-03-30 13:43:29 +00:00

1.3 KiB

Delete Hosts Using the Command Line

You can delete hosts from the system inventory using the host-delete command.

  1. Check for alarms related to the host.

    Use the fm alarm-list command to check for any alarms (major or critical events). You can also type fm event-list to see a log of events. For more information on alarms, see Fault Management Overview <fault-management-overview>.

  2. Lock the host that will be deleted.

    Use the system host-lock command. Only locked hosts can be deleted.

  3. Delete the host from the system inventory.

    Use the 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.

  4. Verify that the host has been deleted successfully.

    Use the fm alarm-list command to check for any alarms (major or critical events). You can also type fm event-list to see a log of events. For more information on alarms, see Fault Management Overview <fault-management-overview>.