Operating System - HP-UX
1839328 Members
2862 Online
110138 Solutions
New Discussion

Is volume group part of Cluster

 
Keith Underwood
Occasional Contributor

Is volume group part of Cluster

Is there a command to tell me if a volume group is part of the cluster?
vgdisplay does not show this, nor does cmviewcl.

Thanks,
Keith
3 REPLIES 3
Vishu
Trusted Contributor

Re: Is volume group part of Cluster

HI Keith,

1) well, vgdisplay does show that as the Cluster VG always mounted in exclusive mode.

2)Also, you can see the cluster.ASCII for the Volume Groups in the cluster config.

3) you can also get the cluster config with the command

# cmgetconf -c
Keith Underwood
Occasional Contributor

Re: Is volume group part of Cluster

vgdisplay does show the volume group in exclusive mode, but does not show any cluster info. Does exclusive mode mean it is part of a cluster.
cmgetconf has no info about the volume groups in the package.
I have added the volume group to the pkg.cntl file and run cmcheckconf and cmapplyconf.
If the VG only shows
VG Status available
then it is not in exclusive mode, correct?
I am trying to make sure a vg will fail over
if the node switches to the alternate node.

Thanks,
Keith
Vishu
Trusted Contributor

Re: Is volume group part of Cluster

1) *******
If the VG only shows
VG Status available
then it is not in exclusive mode, correct?
***********

yes, if it is available, then it is not exclusive.


2) ********
cmgetconf has no info about the volume groups in the package.
**********

If you want to know info about the VGs in a particular package, then you need to go through the script file of the package which contains all the VGs and LVs information for that package.