docs/doc/source/deploy_install_guides/release/bare_metal/delete-hosts-using-the-host-delete-command-1729d2e3153b.rst
Ron Stone f98eb51fb4 Simplify install dirs
Simplify install doc dir structure
- Remove r6 directory
- Rename r7 directory to be non release-specific
- Delete unused files
- Delete obsolete include files
- Delete obsolete commented sections in install topics
- Remove redundent version menu entry

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I59634826d4b3af41410e9d26cc182f6b4aed8ade
2023-01-04 07:30:40 -05: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>.