Operating System - HP-UX
1832576 Members
3889 Online
110043 Solutions
New Discussion

changing first lock VG and PV

 
SOLVED
Go to solution

changing first lock VG and PV

Hi,
I need to move cluster from one storage to
another. How to change first lock VG and PV.
Is it enough only change it in ascii file,
and cmcheckconf -C ascii.file and
cmapplyconf -C ascii, or maybe I need to do something else.
Thanks in advance,

Hrvoje
4 REPLIES 4
Sanjay_6
Honored Contributor
Solution

Re: changing first lock VG and PV

Hi,

If you change the cluster lock disk vg or path, modifying the same in the cluster ascii configuration file and applying the same should be okay.

Hope this helps.

Regds
Christopher McCray_1
Honored Contributor

Re: changing first lock VG and PV

You could change it manually, but doing a cmquerycl will let MCSG discover it for you. Of course, save the old cluster.ascii file as you will most likely want to save some of your old values, and the cluster must be down to perform this change.

Hope this helps
Chris
It wasn't me!!!!

Re: changing first lock VG and PV

OK, but what happend with current First lock PV and VG. Should I deactivate it, or maybe even remove cluster flag by executing
vgchange -c n first_lock_vg
before any change ?
I remember that I had problems once before when
I tried to change first lock PV and VG.

Thanks,
Hrvoje
melvyn burnard
Honored Contributor

Re: changing first lock VG and PV

I would suggest you halt the cluster
vgchange -c n on the vg.
Do the changes including sharing of the VG etc, then either manually edit the ascii file, or do a cmquerycl to a new temporary file to ensure SG sees the new disc correctly.
Once happy with the changes, activate the vg to ensure it gets the cluster lock and id written to it, then do a cmapplyconf. I then recommend doing a vgcfgbackup of this vg, as this is the ONLY way to back up the fact that this is a cluster lock disc. If you do not do this step, and have to replace the disc in the future, then a vgcfgrestore will not be able to restore that information.

HTH
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!