- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to create root mirror
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
Forums
Discussions
Discussions
Discussions
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
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
01-15-2007 03:32 PM
01-15-2007 03:32 PM
How to create root mirror
i have few quetions.
1) how to create raid mirror in logical volume for root?
2) same above in vxvm.
3) how to replace fail disk from lvm and vxvm.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 06:32 PM
01-15-2007 06:32 PM
Re: How to create root mirror
U can mirror root lv if u have a licensed
software MirrorDisk/UX
if u want 1 mirror of root lv (/dev/vg00/lvol3)
syntax is:
# lvextend -m 1 /dev/vg00/lvol3
To replace a failed disk, just replace failed one
with good one and use above command for all
LVs.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 09:39 PM
01-15-2007 09:39 PM
Re: How to create root mirror
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
for topic 1, are you running hpux on PA-RISC or itanium CPU's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 09:41 PM
01-15-2007 09:41 PM
Re: How to create root mirror
1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"
2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"
3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"
4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"
5. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"
6. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.
7. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"
8. Edit /stand/bootconf and add your new mirrored boot disk.
That's all there is to it. You may notice that I left out any
lvlnboot commands. That is because they are not
necessary - see the man page:
"This command should be run in recovery mode (-R)
whenever the configuration of the root volume group is
affected by one of the following commands: lvextend,
lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),
lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is
done automatically."
For Itanium architecture, follow this guide:
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343
,00.html
-or-
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2007 09:59 PM
01-18-2007 09:59 PM
Re: How to create root mirror
1.Identify the correct failed disk and replace it with saem id.
2.Ioscan -funC disk (Identify the disk shows claimed).
3.mv /etc/lvmtab /etc/lvmtab.org(Because otherwise it will not allow to create PV).
4.pvcreate -B /dev/rdsk/c?t?d?
5.mv /etc/lvmtab.org /etc/lvmtab
6.vgcfgrestore -n /dev/vg00 /dev/rdsk/c?t?d?
7.mkboot /dev/rdsk/c?t?d?
8.mkboot -a " hpux -lq" /dev/rdsk/c?t?d?
9.vgsync /dev/vg00
10.lvlnboot -b
11.lvlnboot -r
12.lvlnboot -s
13.lvlnboot -Rv
14.reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2007 10:14 PM
01-18-2007 10:14 PM
Re: How to create root mirror
Hi:
This is the Technical knowledge base document
to mirror vg00 intanium 11.23
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=552267591+1169205232687+28353475&docId=200000082066576
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2007 11:11 PM
01-18-2007 11:11 PM
Re: How to create root mirror
Under VxVM do something like:
# vxrootmir -v c2t2d0
This command would mirror the primary boot disc to an alternate drive.
N.b. before mirroring vxrootmir checks the disc's suitabilty and adds it to the root disc group. Preliminary checks sometimes include patch levels - so swagentd had better be up and running.