Changes the cluster configuration.
chcluster { [ -S +sitename { [cle_uuid=<UUID>,cle_globid=<id>,cle_name=<new_name>,cle_prio=<prio> ] } ] [ -m [+|-] node { [cle_ip=<addr>,cle_uuid=<UUID>,cle_globid=<id> ] } [,....] ] [ -r +remote_reposdisk ][ -d [+|-] shareddisk [,....]] [-s +multi_cast_addr] } [ -n cluster_name ] [ -v ]
The chcluster command changes the cluster configuration.
The chcluster command adds and removes the storage area network (SAN) shared disks and nodes to or from the cluster configuration, or extends the existing cluster to span multiple sites. When you create another site, specify only one remote node, along with the remote site name, remote repository disk name, and the remote site multicast address (optional). Additional remote nodes can be added after the remote site is created.
Item | Description |
---|---|
-d [+|-] shareddisk [,....] | Specifies a comma-separated list of shared storage device names to be added to or removed from the cluster configuration. The shared disks must not be open when the chcluster command is run. |
-m [+|-]node[,...] | Specifies a comma-separated list of node names to be added
to or removed from the cluster configuration. The following node
information can be specified only when a node is added to the cluster:
The following node attributes can be specified
with any arguments:
|
-n name | Specifies the name of the cluster that needs to be changed. If omitted, the default cluster is used. |
-v | Specifies verbose mode. |
-r +remote_reposdisk | Specifies the name of the remote disk that is used as the repository of the remote site, as seen on the first remote node. |
-s +multi_cast_addr | Specifies the multicast address that is used for the remote site. If omitted, a default multicast address is generated. |
-S +sitename | Specifies the name of the remote site. Currently,
a cluster supports only two sites. The following site information
can be specified only during site creation:
The following site attribute can be specified
during site creation:
If a site already exists, the following attributes
can be changed:
The other values cannot be changed.
|
chcluster -n mycluster -d +hdisk20,+hdisk21
chcluster -n mycluster -d -hdisk20,-hdisk21
chcluster -n mycluster -m +nodeD,+nodeE
chcluster -n mycluster -m -nodeD,-nodeE
chcluster -n mycluster -S +remotesite -m +nodeZ -r +hdisk5
chcluster -n mycluster -S remotesite{cle_name=myremotesite}