System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Steps to setup a root mirror on hpux11iv3 on RX4640

SOLVED
Go to solution
Hanry Zhou
Super Advisor

Steps to setup a root mirror on hpux11iv3 on RX4640

I am looking for step by step to create a mirror to root drive.

 

I have 2 x 146GB internal drive. the entire vg00 is create on /dev/disk/disk4_p2, and I need to create a mirro of the root on /dev/rdisk/disk3_p2.

 

Could sombody please provide detail steps on how to do that?  This is a hpux11iv3 server.

 

Thanks!

none
2 REPLIES
Timothy P. Jackson
Valued Contributor
Solution

Re: Steps to setup a root mirror on hpux11iv3 on RX4640

Hi Hanry,

 

down load the manual "When Good Disks Go Bad"

 

This has all the informtaion in it and is an awesome reference guide.

 

There also is a document out there called "How to mirror a boot disk" but I cant find the link for it at this time. I will keep looking.

 

KMasthan
Visitor

Re: Steps to setup a root mirror on hpux11iv3 on RX4640

If you want to mirror the root disk, you can follow the below procedure.

 

create the partition description file

 

#vi /tmp/ptf

3
EFI 500MB
HPUX 100%
HPSP 400MB

 

partition the disk using, #idisk -f /tmp/ptf -w <ur new disk>

 

once partition is created you can create the device files for the same.

insf -e -H  <hw path of the disk>

 

create the PV as a bootable one using the following:

pvcreate -B rawdiskname

 

vgextend /dev/vg00 /diskname-block

 

using the mkboot command to copy the utilities,

mkboot –e –l <raw whole disk>

 

update the autofile

echo “boot vmunix” > ./AUTO

 

efi_cp -d /dev/rdsk/c2t1d0s1 ./AUTO /efi/hpux/auto ---> copy from ./AUTO to new EFI partition

 

lvextend all the vg00 lv's to the new disks

lvextend -m 1 /dev/vg00/lvol1 /dev/disk/diskname

 

update the boot data, root volume group

lvlnboot -R /dev/vg00

 

verify with,

lvlnboot –v

 

set the new disk as alternate boot path

setboot –a <hw path for ex 0/1/1/0.1.0>

 

add the new disk to the /stand/bootconf file for SDUX updates

vi /stand/bootconf

1 /dev/disk/diskname

 

I hope this works well.

 

Regards,

KM