Operating System - HP-UX
1832995 Members
2097 Online
110048 Solutions
New Discussion

how to designate a volume group as cluster aware

 
SOLVED
Go to solution
PamelaJThrasher
Regular Advisor

how to designate a volume group as cluster aware

I am in the process of adding a lock disk to an existing 4 node cluster.

I have created the volume group (called vglock)
I have imported it on all the nodes of the cluster.

I have added the needed lines to the ascii file

This moring I ran the cmcheckconf command and got the following:

cmcheckconf -k -C /home/root/lockdisk_add/ocfs_prod.ascii
Defaulting MAX_CONFIGURED_PACKAGES to 300.
Defaulting MAX_CONFIGURED_PACKAGES to 300.
First cluster lock volume group /dev/vglock cannot be found in the cluster.
First cluster lock volume group /dev/vglock needs to be designated as a cluster aware volume group.
cmcheckconf: Unable to verify cluster file: /home/root/lockdisk_add/ocfs_prod.ascii.

How do I designate vglock as as a cluster aware volume group?
4 REPLIES 4
Ismail Azad
Esteemed Contributor
Solution

Re: how to designate a volume group as cluster aware

Hello pamela J. Thrasher,

The command that is used to mark a volume group as "cluster aware" is....

vgchange -c y vglock.... Just the answer to the subject of your question...

Using LVM, this would allow only "exclusive activation" and hence you will not be able to do a vgchange -a y vglock on both nodes which LVM "historically" allows and still does!!

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
nijokj
Trusted Contributor

Re: how to designate a volume group as cluster aware

vgchange -c y /dev/vglock
PamelaJThrasher
Regular Advisor

Re: how to designate a volume group as cluster aware

I had already done the vgchange -c y vglock. Actually after some additional checking, I found that all I needed to do was add /dev/vglock to the ascii file under the volume group list at the end of the file.
PamelaJThrasher
Regular Advisor

Re: how to designate a volume group as cluster aware

found the answer. see my entry above.