1830244 Members
1570 Online
110000 Solutions
New Discussion

Re: Mirrored disks

 
SOLVED
Go to solution
Fabian Briseño
Esteemed Contributor

Mirrored disks

Hello guys I have a question.

I mirrored an hpux os everythig went fine till I did BO ALT this commands failed but if I do BO (hardware path) It works fine.

The question is could this give me trouble when the primary disk fails ?. I mean whould this affect the automatic takeover of the alternate disk when the primary disk fails ?.
Knowledge is power.
7 REPLIES 7
Ivan Krastev
Honored Contributor
Solution

Re: Mirrored disks

Do you add new mirror in /stand/bootconf ?

For more info see "man bootconf"

regards,
ivan
Torsten.
Acclaimed Contributor

Re: Mirrored disks

Hi,

did you adjust/set the ALT path?

At the boot menu prompt, type

pa alt your_hw_path

or use "setboot" from the running OS.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: Mirrored disks

Shalom,

You need to arrange a test and boot the system with only the alternate disk connected. This is the only way to be certain that this failover will actually work. There are many steps along the way that could caue trouble.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jannik
Honored Contributor

Re: Mirrored disks

If you can't boot from the ALT device then you will not be able to do it in the future.

This is who you mirror root on old PA systems:
How to mirror the root disk
# pvcreate -B /dev/rdsk/c0t5d0 create bootable phys vol
# mkboot /dev/rdsk/c0t5d0 transfer LIF to new PV
# lifls -l /dev/rdsk/c0t5d0 verify LIF
# mkboot -a "hpux -lq" /dev/rdsk/c0t5d0 modify AUTO boot string
# mkboot -a "hpux -lq" /dev/rdsk/c0t6d0 also on the original disk
# vgextend vg00 /dev/dsk/c0t5d0 add PV to VG
# for f in /dev/vg00/lvol? Mirror the LVs
> do
> lvextend -m 1 $f
> done
# lvlnboot -r /dev/vg00/lvol3 modify LABEL: root LV
# lvlnboot -s /dev/vg00/lvol2 swap LV
# lvlnboot -d /dev/vg00/lvol2 dump LV
# lvlnboot -b /dev/vg00/lvol1 boot LV
# lvlnboot -v vg00 verify LABEL

This is how you do it with EFI (IA64) Machines:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-938907319+1164196858728+28353475&docId=200000082066576

Depending on the error you get it could just be the quorum.
jaton
Fabian Briseño
Esteemed Contributor

Re: Mirrored disks

Hello.

Following ivan and torsten advice BO ALT finally works.

Steven Do I still need to arrange a test with only the alternate disk connected to the system ?, seeing that BO ALT works ?


Jannik this is the method I used to create mirror disk.
Knowledge is power.
Jannik
Honored Contributor

Re: Mirrored disks

yes it seems that you didn't have the setboot as part of you process. If you have the posibility to test it I would do the reboot test if I were you.
But it will work :-)
jaton
Fabian Briseño
Esteemed Contributor

Re: Mirrored disks

Thenks guys, Im closing this thread now. Thanks a lot for your help.
Knowledge is power.