The following cluster commands allow you to create a cluster, to add a host to a cluster and to query the hosts by cluster, to map a volume, snapshot or clone to the host and to query the mapping.
cluster.add_host
ROLE: Admin, Pool Admin
Description | Add host to cluster. | |
Syntax | cluster.add_host cluster=CLUSTER host=HOST[,HOST,...] | |
Arguments | host | Name of an existing host (multiple values, separated by commas) |
cluster | Name of an existing cluster | |
Example | cluster.add_host name=cluster1 host=host1 | |
Host host1 added to cluster cluster1 |
cluster.create
ROLE: Admin, Pool Admin
Description | Create a new cluster. | |
Syntax | cluster.create name=NAME [cluster_type=OPENVMS] | |
Arguments | cluster_type | Only one value: OPENVMS |
name | A maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped. | |
Example | cluster.create name=cluster1 | |
Cluster cluster1 created |
cluster.delete
ROLE: Admin, Pool Admin
Description | Delete cluster. | |
Syntax | cluster.delete cluster=CLUSTER | |
Arguments | cluster | Name of an existing cluster |
Example | cluster.delete name=cluster1 | |
Cluster cluster1 deleted |
cluster.disable_vvols
ROLE: Admin, Pool Admim
Description | Disable access to vVols from a cluster. | |
Syntax | cluster.disable.vvols cluster=CLUSTER | |
Arguments | cluster | Name of an existing cluster |
Example | cluster.disable_vvols name=cluster1 | |
Cluster cluster1 disabled |
cluster.enable_vvols
ROLE: Admin, Pool Admin
Description | Enable access to vVols from a cluster. | |
Syntax | cluster.enable_vvols cluster=CLUSTER [vvols_pe_lun={0..2047}] | |
Arguments | cluster | Name of an existing cluster |
vvols_pe_lun | SCSI logical unit number (LUN). | |
Example | cluster.enable_vvols cluster=cluster1 vvols_pe_lun=11 | |
Cluster cluster1 enabled |
cluster.host_query
ROLE: All Roles
Description | List existing clusters with member hosts. | |
Syntax | cluster.host_query [cluster=CLUSTER[,CLUSTER,...]] [host=HOST[,HOST,...]] | |
Arguments | host | Name of an existing host (multiple values, separated by commas) |
cluster | Name of an existing cluster (multiple values, separated by commas) | |
Example | cluster.host_query name=cluster1 | |
|
cluster.map
ROLE: Admin, Pool Admin
Description | Map a volume or a snapshot to a cluster. | |
Syntax | cluster.map cluster=CLUSTER [vol=VOL[,VOL,...]] [snap=SNAP[,SNAP,...]] [lun=LUN] | |
Arguments | lun | SCSI logical unit number (LUN) |
vol | Name of an existing volume (multiple values, separated by commas) | |
cluster | Name of an existing cluster | |
snap | Name of an existing volume snapshot (multiple values, separated by commas) | |
Example | cluster.map name=cluster1 vol=vol1 | |
|
cluster.map_query
ROLE: All Roles
Description | List existing cluster mappings. | |
Syntax | cluster.map_query [cluster=CLUSTER] [cluster_type=OPENVMS] | |
Arguments | cluster_type | Only one value OPENVMS |
name | Name of an existing cluster | |
Example | cluster.map_query | |
Cluster VOLUME LUN |
cluster.query
ROLE: All Roles
Description | List existing clusters. This command displays the number of hosts and LUNs for each cluster, along with the cluster creation date and the last time it was modified. | |
Syntax | cluster.query [cluster=CLUSTER[,CLUSTER,...]] [cluster_type=OPENVMS] | |
Arguments | cluster | Name of an existing cluster (multiple values, separated by commas) |
cluster_type | Only one value OPENVMS | |
Example | cluster.query OPENVMS | |
NAME HOSTS LUNS CREATED AT UPDATED AT |
cluster.remove_host
ROLE: Admin, Pool Admin
Description | Remove host from cluster. | |
Syntax | cluster.remove_host cluster=CLUSTER host=HOST[,HOST,...] | |
Arguments | cluster | Name of an existing cluster |
host | Name of an existing host (multiple values, separated by commas) | |
Example | cluster.remove_host name=cluster1 host=host1 | |
Host host1 removed from cluster cluster1 |
cluster.rename
ROLE: Admin, Pool Admin
Description | Rename cluster. | |
Syntax | cluster.rename cluster=CLUSTER new_name=NAME | |
Arguments | new_name | A maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped. |
cluster | Name of an existing cluster | |
Example | cluster.rename name=cluster1 new_name=cluster2 | |
Cluster cluster1 renamed to cluster2 |
cluster.unmap
ROLE: Admin, Pool Admin
Description | Unmap a volume or a snapshot from a cluster. | |
Syntax | cluster.unmap cluster=CLUSTER [vol=VOL[,VOL,...]] [snap=SNAP[,SNAP,...]] [lun=LUN] | |
Arguments | lun | SCSI logical unit number (LUN) |
snap | Name of an existing volume snapshot (multiple values, separated by commas) | |
vol | Name of an existing volume (multiple values, separated by commas) | |
cluster | Name of an existing cluster | |
Example | cluster.unmap name=cluster1 vol=vol1 | |
|
Last edited: 2022-08-06 08:32:33 UTC
Comments