Use the rmhostclustermember command to remove a host from a host
cluster object.
Syntax
rmhostclustermember -host { host_id_list | host_name_list } { [ -keepmappings ] | [ -removemappings ] } -force { hostcluster_id | hostcluster_name }
Parameters
- -hosthost_id_list | host_name_list
- (Optional) Specifies (by ID or name) the hosts to remove from the host cluster.
- -keepmappings
- (Optional) Specifies that the host that is removed from the host cluster retains the host
cluster's shared volume mappings. The -keepmappings and
-removemappings parameters are mutually exclusive.
- -removemappings
- (Optional) Specifies that the host that is removed from the host cluster does not retain
the host cluster's shared volume mappings. The -keepmappings and
-removemappings parameters are mutually exclusive.
- -force
- (Optional) Forces a removal. Specify this parameter when you remove the last host from a
host cluster.
Important: Using the force parameter might result in a loss
of access. Use it only under the direction of IBM support personnel.
- hostcluster_id | hostcluster_name
- (Required) Specifies (by ID or name) that the host cluster that the host is removed from.
The value for the ID must be a number and the value for the name must be an alphanumeric
string.
Description
This command removes a host from a host cluster object.
An invocation example that removes host 0 from host cluster
0 (and also removes the host mappings)
rmhostclustermember -host 0 -removemappings 0
The detailed resulting output:
No feedback
An invocation example that removes host myhost1 from host cluster
myhostcluster while keeping the original mappings
rmhostclustermember -host myhost1 -keepmappings -force myhostcluster
The detailed resulting output:
No feedback