HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
421Administering cluster functionality
Administering VxVM in cluster environments
Determining if a disk is shareable
The vxdisk utility manages VxVM disks. To use the vxdisk utility to
determine whether a disk is part of a cluster-shareable disk group, use the
following command:
# vxdisk list accessname
where accessname is the disk access name (or device name). A portion of the
output from this command (for the device
c4t1d0) is shown here:
Device: c4t1d0
devicetag: c4t1d0
type: auto
clusterid: cvm2
disk: name=shdg01 id=963616090.1034.cvm2
timeout: 30
group: name=shdg id=963616065.1032.cvm2
flags: online ready autoconfig shared imported
...
Note that the clusterid field is set to cvm2 (the name of the cluster), and the
flags field includes an entry for shared. When a node is not joined to the
cluster, the
flags field contains the autoimport flag instead of imported.
Listing shared disk groups
vxdg can be used to list information about shared disk groups. To display
information for all disk groups, use the following command:
# vxdg list
Example output from this command is displayed here:
NAME STATE ID
rootdg enabled 774215886.1025.teal
group2 enabled,shared 774575420.1170.teal
group1 enabled,shared 774222028.1090.teal
Shared disk groups are designated with the flag shared.
To display information for shared disk groups only, use the following command:
# vxdg -s list
Example output from this command is as follows:
NAME STATE ID
group2 enabled,shared 774575420.1170.teal
group1 enabled,shared 774222028.1090.teal
To display information about one specific disk group, use the following
command:
# vxdg list diskgroup