- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: Disk mirror in HPUX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 07:47 AM
тАО11-07-2002 07:47 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 07:54 AM
тАО11-07-2002 07:54 AM
Re: Disk mirror in HPUX 11.11
http://us-support3.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/Introduction.pdf
Mirroring Process
-----------------
o Assuming c1t2d0 is primary disk and c2t2d0 is the disk to be mirrored.
o Assuming (lvol1=/stand;lvol2=primary swap;lvol3=2ndary swap;lvol4=/;lvol5=/opt)
# swlist -l bundle| grep -i mirror
=> Make sure you have MirrorUX installed
# pvcreate -f -B /dev/rdsk/c2t2d0
# mkboot -l /dev/rdsk/c2t2d0
=> Create boot track (place boot utilities in boot area), -l means treat device as LVM disk.
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
=> Add AUTO file in boot LIF area, "lq" option is to bypass quorum check.
=> Repeat for primary disk (c1t2d0) as well.
# lifcp /dev/rdsk/c2t2d0:AUTO -
=> Check content of AUTO file. Repeat for primary disk (c1t2d0).
# vgextend /dev/vg00 /dev/dsk/c2t2d0
=> Adding disk to root VG.
# pvdisplay -v /dev/dsk/c2t2d0
=> Note of the order of LVs (assuming it's lvol1,lvol2,lvol3,lvol4 & lvol5)
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
=> Repeat for lvol2->lvol5
# lvlnboot -r /dev/vg00/lvol4 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
=> Update BDRA (root, boot, swap and dump)
# lvlnboot -v
=> Check to make sure both disks are listed for root, boot and swap definition.
# setboot
=> Display boot path.
# setboot -a 0/0/2/0.2.0
=> Change alternate boot path to mirrored disk.
# shutdown -r -y 0
=> Interrupt upon bootup and select alt path to boot from in order to test.
Installing ODE (Offline Diagnostics)
------------------------------------
# ll /usr/sbin/diag/lif/updatediaglif
=> Make sure the file exist.
# lifls -l /dev/rdsk/c2t2d0
=> List content of LIF dir (should have ISL,AUTO,HPUX,PAD,LABEL).
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0
=> Install ODE LIF files while "protecting" the existing LIF files.
=> Use updatediaglif2 for 11.0 64-bit.
# lifls -l /dev/rdsk/c2t2d0
=> Should now see the additional LIF files.
If your primary boot disk has the ODE LIF files you have got to go through the ODE installation for your mirrorred disk as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 07:57 AM
тАО11-07-2002 07:57 AM
Re: Disk mirror in HPUX 11.11
here it goes
Create the physical volume of the new disk
# pvcreate -f -B /dev/rdsk/cXtYdZ -> disk where you want to put the mirror in
Create a bootable space on the disk
# mkboot -l /dev/rdsk/cXtYdZ
# mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cXtYdZ
Extend vg00 into the new disk
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
Create the mirrors of the lvolumes
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXtYdZ
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cXtYdZ
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cXtYdZ
and the remaining lvolumes (these 3 ones must be in this order)
Put it as a bootable disk
#lvlnboot -b /dev/vg00/lvol1 -> boot
#lvlnboot -s /dev/vg00/lvol2 -> swap
#lvlnboot -r /dev/vg00/lvol3 -> root
#lvlnboot -R
Verify everything is ok
# lvlnboot -v
And save config of vg00
# vgcfgbackup vg00
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 08:28 AM
тАО11-07-2002 08:28 AM
Re: Disk mirror in HPUX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 08:35 AM
тАО11-07-2002 08:35 AM
Solution# swlist -l bundle|grep -i mirror
B2491BA B.11.00 MirrorDisk/UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2007 07:02 AM
тАО06-06-2007 07:02 AM