- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirrrorin boot disk
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
03-15-2002 03:24 PM
03-15-2002 03:24 PM
1) Pvcreate ???Bf /dev/rdsk/cxtyd0 or without f if is not a new disk
2) Mkboot /dev/rdsk/cxtyd0
3) Mkboot ???a ???hpux ???lq (52.5.0;0)/stand/vmunix??? /dev/rdsk/cxtyd0 where 52.5.0 is the address of the boot disk.
4) Vgextend /dev/vg00 /dev/dsk/cxtyd0
5) Lvextend ???m 1 /dev/vg00/lvol1 /dev/dsk/cxtyd0 (add all logical vol. of vg00)
6) Lvlnboot ???R /dev/vg00
7) Lvlnboot ???v /dev/vg00
Gerardo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 03:32 PM
03-15-2002 03:32 PM
Re: Mirrrorin boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 12:52 AM
03-16-2002 12:52 AM
SolutionI don't think you are entirely correct
Attached is the method from the HP reference guide
XIII) How to create a mirrored boot disk
Note the following example is using the disk c1t6d0 as the
mirrored boot disk and c0t6d0 as the boot disk.
1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tell pvcreate that this will be a
bootable disk.
2) Add the physical volume to the volume group
vgextend /dev/vg01 /dev/dsk/c1t6d0
3) Use mkboot to place the boot utilities in the boot area and add
the AUTO file.
mkboot /dev/dsk/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
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
Note: LVM will resynchronize the new mirror copies. This step will
takes several minutes
Repeat the lvextend for all other logical volumes on the boot
mirror.
6) Modify your alternate boot path to point to the mirror copy of the
boot disk.
setboot -a 8/8.6.0 # Use the Hardware path for your new
boot disk.
Pay attention to the initial mkboot. You have specified rdsk , this should be dsk.
also your upper and lowercase characters with the mkboot command (forgive if typo)
Hope this is ok
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 06:49 AM
03-16-2002 06:49 AM
Re: Mirrrorin boot disk
You should follow the procedures that Steven provided. making a disk bootable is one thing, its entirely different to "mirror" the root disk. Without the mirroring of vg00, you aren't doing yourself any favors by having "multiple" bootable disks.
You need to have purchased a HPux Mirroring license to do any of this.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 10:36 AM
03-16-2002 10:36 AM
Re: Mirrrorin boot disk
the correct steps are:
1) Pvcreate ???Bf /dev/rdsk/cxtyd0 or without f if is not a new disk
f parameter means FORCE and you must use it on an old disk with an LVM structure on it
2) Vgextend /dev/vg00 /dev/dsk/cxtyd0
3) Mkboot /dev/rdsk/cxtyd0
4) Mkboot ???a ???hpux ???lq (;0)/stand/vmunix??? /dev/rdsk/cxtyd0 the address of alternate disk is not necessary because ;0 means use default
-lq mean no quorum, if you don't use this option, the server can't reboot without an human participation
5) Lvextend ???m 1 /dev/vg00/lvol1 /dev/dsk/cxtyd0 (add all logical vol. of vg00)
Correct, but you must have HPUX mirror installed. It's very important mirror the lvol1, lvol2 and lvol3 in order because they must to occupy continuous space
6) Lvlnboot ???R /dev/vg00
7) Lvlnboot ???v /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 11:35 AM
03-16-2002 11:35 AM
Re: Mirrrorin boot disk
Follow these instructions:
http://us-support.external.hp.com/cki/bin/doc.pl/screen=ckiSearchResults?nodeId=c0&mode=id&searchString=LVMKBRC00005103
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 12:45 AM
03-17-2002 12:45 AM
Re: Mirrrorin boot disk
2) vgextend /dev/vg00 /dev/dsk/cxtyd0
3) mkboot /dev/rdsk/cxtyd0
4) mkboot ???a ???hpux ???lq (;0)/stand/vmunix??? /dev/rdsk/cxtyd0 the
5) lvextend ???m 1 /dev/vg00/lvol1 /dev/dsk/cxtyd0 (add all logical vol. of vg00)
*** Remember while doing mirroring it is important to do mirroring for lvols in fix order. Do the mirroring in sequence for all logical volumes of vg00 exactly as it was created before.(for that you need to do vgdispaly -v /dev/vg00, and do mirroring as per the lvol order displayed .)
6) lvlnboot ???s /dev/vg00/lvol2(if lvol2 is swap)
7) lvlnboot ???d /dev/vg00/lvol2(if lvol2 is dump too)
6) Lvlnboot ???R /dev/vg00
7) Lvlnboot ???v /dev/vg00
Do not forget steps 6 and 7 as it is not mentioned in other replies.
Thanks,
-Piyush.