Operating System - HP-UX
1851321 Members
2807 Online
104057 Solutions
New Discussion

creating cluster aware lockdisk vg

 
SOLVED
Go to solution
galenr
Advisor

creating cluster aware lockdisk vg

I have created a /dev/vglockdisk on c8t0d0 on my primary server.I have done the same on c5t0d0 on my client server,and subsequently completed or so I thought my cluster configuration. When I initiate cmcheckconf, It tells me the the first cluster lock volume grp.(/dev/vglockdisk) needs to be designated as a cluster aware vol group.How is this done? Need I export /dev/vglockdisk ? How do I make it cluster aware?

thanx in advance....
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: creating cluster aware lockdisk vg

Hi,

Make sure you added /dev/vglockdisk in /etc/cmcluster/cmclconf.ascii (your cluster ascii file).

If you are setting the cluster for the first time, it should take care of it automatically. Otherwise run

vgchange -a n vglockdisk
vgchange -c y vglockdisk

This should make it clusteraware.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
melvyn burnard
Honored Contributor

Re: creating cluster aware lockdisk vg

so have you created this on a shared vg?
if so, ensure you do vgchange -a y on the node on which you will do the cmcheckconf/cmapplyconf.
All documented in the Managing MC/ServiceGuard manual available at:
http://docs.hp.com/hpux/ha
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stanimir
Trusted Contributor
Solution

Re: creating cluster aware lockdisk vg

Hi!
Make sure vglockdisk vg are identical on
both mashine. You need to create vglockdisk
on system1 and then use correct technics
to distribute it to system2:

system1#vgexport -m map-file ...
system1#rcp map-fle to system2 ...
system2#vgimport -s -m mapfile ...
"-s" option is important!

Then you can go on.

I thing it only need to add vglockdisk to
cluster ascii-file. The command cmapplyconf
sets flag "-c y" to all vg's, figured there.


Regards
galenr
Advisor

Re: creating cluster aware lockdisk vg

Gentlemen.... As they say in Jamaica...Big Up Big Up !!!!
many thanx.....