Operating System - HP-UX
1854675 Members
13298 Online
104102 Solutions
New Discussion

Re: Mirroring Root Disk 11i

 
SOLVED
Go to solution
Richard Ace
Frequent Advisor

Mirroring Root Disk 11i

Hi

Anywone know the correct procedure to mirror a root disk running 11i. I have several procedures and now seems a little confusing thought I may be easier to ask you peeps for the correct proceedure to follow

Ta
Rich
Want some points?
9 REPLIES 9
Pete Randall
Outstanding Contributor
Solution

Re: Mirroring Root Disk 11i

Rich,

Attaching the procedure I've used.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Mirroring Root Disk 11i

Hi Richard:

Well, you don't specify too many details; viz. PA-RISC or Itanium. An excellent guide for either (which differ) is this:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Regards!

...JRF...
Richard Ace
Frequent Advisor

Re: Mirroring Root Disk 11i

Thanks

Question 1

I have four disks and vg00 resides on two at the moment. Do I only make the disk that is to be the mirror to house the stand, root and swap logical volumes bootable i.e. pvcreate -B, or do I have to do it for the second disk to be mirrored to house the rest of VG00's soon to be mirrored Logical Volume.

Question 2

I remember a rule about quorum. Something like if you have two disk add the quorum, but more than two you do not need to. Whats my deal?

PA-RISC SERVER

Ta

Rich
Pete Randall
Outstanding Contributor

Re: Mirroring Root Disk 11i

1. Yes, just the bootable one needs to be pvcreated -B

2. Yes, you need to enable it to boot without quorum:

"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"


Pete

Pete
Richard Ace
Frequent Advisor

Re: Mirroring Root Disk 11i

Thanks Peeps

Im off to do some mirroring now!

Have a good day

Rich
Gary L. Paveza, Jr.
Trusted Contributor

Re: Mirroring Root Disk 11i

You'll want to remove quorum even if you have more than 2 disks. A common practice is to have multiple channels. So, you would have, say, 2 disks on one channel, and 2 on another channel. While a single disk failure won't prevent a reboot, a SCSI or fibre channel failure would (it would cause you to lose 2 disks).
James R. Ferguson
Acclaimed Contributor

Re: Mirroring Root Disk 11i

Hi (again) Richard:

I urge you, if at all possible, to confine vg00 to one physical disk with a second as the mirror of it.

If you have non-standard logical volumes within vg00, move them to another volume group. Keeping vg00 devoted to the operating system logical volumes only makes recovery and upgrades so much easier.

Make sure that you mirror all logical volumes of vg00 including primary swap. Make sure too, that you mirror in the order lvol1, lvol2, lvo3, etc. Lastly, don't forget to issue:

# setboot -a [alternate_path]

...once you have the mirrored vg00 established according to proper procedures.

Regards!

...JRF...
Luk Vandenbussche
Honored Contributor

Re: Mirroring Root Disk 11i

Here is a nice script
Richard Ace
Frequent Advisor

Re: Mirroring Root Disk 11i

great script

Thanks for your input peeps

There all have some more points

Great this hey ! ;-)

Ta

Rich