rmhost
The rmhost command removes a host from a storage image.
Parameters
- -dev storage_image_ID
- (Optional) The storage image ID, which consists of manufacturer, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified host connection ID. It is also required if you did not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter temporarily overrides any defined value for devid for the current command.
- -quiet
- (Optional) Turns off the confirmation prompt for this command.
- host_name ... | -
- (Required) The host name to be removed. The ellipsis (...) indicates that, optionally, you can specify multiple values. If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.
Example: Removing a host from a storage image
dscli> rmhost -quiet host_1
Output
Sun Aug 11 02:23:49 PST 2016 DS CLI Version: 5.0.0.0 DS: IBM.2107-75FA120
Host host_1 successfully deleted.