Operating System - HP-UX
1833464 Members
3013 Online
110052 Solutions
New Discussion

Re: vgchange quorum switch.

 
SOLVED
Go to solution
Jonathan Rowbury
Occasional Contributor

vgchange quorum switch.

Can anyone confirm to me that it is ok to run the following command on a live system;

vgchange -ay -nq /dev/vg??

I have a pair of disks in this VG mirroring the LV's, the other day there was a power failure which resulted in me having to take the system down, when I brought the system back up the LV's within this VG were not available. I diagnosed the problem as being one of the disks and replaced it, what I want to do now is minimise downtime even more by forcing the system to initialise the LV's within this VG even if one of the disks is down. I believe I have the correct command above, and I want to run it while the system is live (I can't have anymore downtime), can anyone help with an answer.

Many thanks in advance for any response.
Anything's possible!
8 REPLIES 8
Carlos Fernandez Riera
Honored Contributor
Solution

Re: vgchange quorum switch.


Perfect.

If that VG is boot VG then you need to take same aditional jobs.

Try to search on forum for setboot.
unsupported
Dan Hetzel
Honored Contributor

Re: vgchange quorum switch.

Hi Jonathan,

There is no problem running this command online.

Best regards,

Dan Hetzel

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Jonathan Rowbury
Occasional Contributor

Re: vgchange quorum switch.

Thank you both for such a quick response.

Carlos, it is not my boot disc, that is in another VG that I want to run this commnad on also. When I added the second disk to my boot VG I used the mkboot command to make the new disk bootable as well.

Thanks again for your answers...
Anything's possible!
Carlos Fernandez Riera
Honored Contributor

Re: vgchange quorum switch.

Not only mkboot -a "hpux -lq" on both disks

See:

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x750260260cafd4118fef0090279cd0f9,00.html

AH: thankyou for my new hat.

unsupported
Jonathan Rowbury
Occasional Contributor

Re: vgchange quorum switch.

Carlos, I've checked out the thread you recommended and the only step I did not do the same was;

5) Disable quorum checking in order to boot in case of crash on either primary or alternate disk (command applied on both disk).
> mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtXd0

I used the command;

Disable quorum checking in order to boot in case of crash on either primary or alternate disk (command applied on both disk).
> mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cXtXd0 created

Do you have any advice on how I proceed in making the second disk in my boot VG bootable, do I need to start again with this VG!
Anything's possible!
Jonathan Rowbury
Occasional Contributor

Re: vgchange quorum switch.

Sorry Carlos, I used the command;

mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cXtXd0

this was executed only against the new disk...
Anything's possible!
CHRIS_ANORUO
Honored Contributor

Re: vgchange quorum switch.

You can also search the forum using "mirror disk" as your search word.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS_ANORUO
Honored Contributor

Re: vgchange quorum switch.

You can also search the forum using "mirror disk" as your search word.
1) pvcreate -B /dev/rdsk/c1t5d0
2) Add a physical Volume vgextend /dev/vg00 /dev/dsk/c1t5d0
3) mkboot /dev/rdsk/c1t5d0
4) mkboot -a "hpux (52.3.0;0)/stand/vmunix" /dev/rdsk/c1t5d0
5) lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t5d0 for each logical volume
6) lvlnboot -v for verification
7) lvdisplay -v /dev/vg00/lvol1
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.