cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UNIX mirrioring

Nilesh S. Alkari
Occasional Visitor

HP-UNIX mirrioring

Hi All,

Currently I am using HP-UNIX V11.23 O/s. Server has two hdd with 73GB & having one voluem group vg00. I need to mirroring this disks ASAP.
Please let me know.

Thanks in advance

Nilesh.
6 REPLIES
Torsten.
Acclaimed Contributor

Re: HP-UNIX mirrioring

See appendix:

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

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!   
Suraj K Sankari
Honored Contributor

Re: HP-UNIX mirrioring

Hi,

Check the attached file read page 24 and 25 for root disk.

Suraj
Ganesan R
Honored Contributor

Re: HP-UNIX mirrioring

Bill Hassell
Honored Contributor

Re: HP-UNIX mirrioring

You need the (extra cost) product called Mirror/UX. A fast way to detect Mirror/UX is to run the command vgsync. If it is not found, there is no mirroring software installed. You can also use: swlist -l depot | grep -i mirror


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: HP-UNIX mirrioring

Shalom,

Procedure:

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

http://www.hpux.ws/?p=21

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
Torsten.
Acclaimed Contributor

Re: HP-UNIX mirrioring

Please check if you have a HP9000 or IA64 (Integrity) system first.

# model

if you find a "9000" there, you need to use the PA-RISC procedure; if you find a "ia64" you need to use the Integrity procedure.

This is important, otherwise your mirror will not work.

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!