chhostcluster
Use the chhostcluster to change the name, type, or site of a host cluster object that is part of a host cluster.
Syntax
Parameters
- -name new_name
- (Optional) Specifies a name for a host cluster object. The value must be an alphanumeric string.
- -type new_type
- (Optional) Changes the type of the all hosts in the host cluster. The following values are
available host types:
genericindicates the default.tpgsindicates when target port information changes, extra unit attentions are given to the host.openvmsindicates OpenVMS .adminlunindicates virtual volumes, which are enabled on the host.hpuxindicates HP-UX firmware.hide_secondary
The host type for NVMe hosts cannot be changed. For more information about hosts that require the type parameter, see the host attachment documentation.
- -site new_site
- (Optional) Changes the site for all hosts in the host cluster. The value must be an alphanumeric
string and the default is
site0(meaning there is no site). - -nosite
- (Optional) Resets the site value.
- -force
- (Optional) Specify this parameter to change the host cluster's site and also change a site for
at least one host in that host cluster. You do not have to specify this parameter if you are
changing site
0.Important: Using the force parameter might result in a loss of access. Use it only under the direction of IBM® support personnel. - -ownershipgroup owner_id | owner_name
- (Optional) The name or ID of the ownership group to which the object is being added.
- -noownershipgroup
- (Optional) If specified, the object is removed from the ownership group to which it belongs.
- hostcluster_id | hostcluster_name
- (Required) Specifies (by ID or name) the host cluster object to change. The value for the ID must be a number and the value for the name must be an alphanumeric string.
Description
This command changes the name, type, or a site on a host cluster object.
site0, you must use
-force to change it. -site
site0, instead use -nosite.If you specify the -site and -type parameters, the site and type properties that are changed are not attributes of the host cluster object. They are properties of the individual hosts that are members of the host cluster. These properties can be modified by using the chhostcluster command to change the attribute values on every host in the host cluster simultaneously (rather than modifying each host separately).
An invocation example that changes settings of host cluster
hostcluster0
chhostcluster -name myhostcluster hostcluster0
The following detailed output is displayed:
No feedback