1833777 Members
2285 Online
110063 Solutions
New Discussion

Re: Mirror

 
SOLVED
Go to solution
Marco_163
Advisor

Mirror

I have rp 2470 and rp5470 with HPUX 11.11i with one disk and one volume VG00 on it.
What have I to do to configure mirror, step by step?.
Is the second disk (mirror) bootable as the first (main) disk?.
Marek
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: Mirror

Hi Marco,

Did you mean you have one free disk?. If so, say it c2t6d0 and follow the below procedure.

#pvcreate -f -B /dev/rdsk/c2t6d0
#mkboot -l /dev/rdsk/c2t6d0
#vgextend vg00 /dev/dsk/c2t6d0
#lvlnboot -v

Make sure it is recognized as a boot disk in the above output. Then

#mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/c2t6d0
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c2t6d0

#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0
(Follow the above for rest of the lvols in vg00). Ensure lvol1 is the first logical volume mirrored followed by lvol2 and lvol3.
Once the mirroing is done, do

#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2

Assuming that lvol1 - stand, lvol3 -root, lvol2 as primary swap. Change the logical volume names if they are different.

#lvlnboot -v

Make sure both the disks are appearing as bootable with lvol1,2 and 3 are on both of them.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Robert-Jan Goossens
Honored Contributor

Re: Mirror

Hi Marco,

First you have to buy Mirror-UX software.

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B2491BA

Second you need a free disk in both your servers VG00 volume group.

for the next steps, take Sri's notes above.

Best regards,
Robert-Jan
Slawomir Gora
Honored Contributor

Re: Mirror

Hi,
there is no need to use such long syntax
#mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/c2t6d0

and not using quorum parameter must be set for both disk (orginal and mirror)

mkboot -a "hpux -lq" /dev/rdsk/first_disk
mkboot -a "hpux -lq" /dev/rdsk/second_disk
bhavin asokan
Honored Contributor
Solution

Re: Mirror

hi,

before doing the activity ,it is better to take a ignite backup of root vg .

please see the attached file for the detailed steps.

regds,