- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring the Root File System
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
11-23-2000 08:47 AM
11-23-2000 08:47 AM
I'd like to clear up some details on the topic after making the procedure under HP-UX 10.20 and 11.0.
1. mkboot command
A.
Some Forum members recommend the following command disabling quorum checking.
mkboot -a "hpux -lq (;0)/stand/vmunix"
Unfortunately, I haven't found this option neither in system administration guides, nor in "hpux" man pages.
Where it is documented?
B.
Manuals recommend the following syntax of mkboot command.
HP-UX 11.0
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t3d0
HP-UX 10
mkboot -a "hpux (52.3.0;0)/stand/vmunix" /dev/rdsk/c0t3d0
Is "52.3.0" a hardware address? Is it taken automatically when selecting (;0)? My preinstalled systems have simply "hpux" in AUTO record with no parameters. What parameters are passed to kernel by default in this case?
2. "Managing Systems and Worgroups" for HP-UX 11.0 offers to execute "lvextend -m" in the following sequence: boot, root, swap. In my mind, the only reqirement is to place boot volume first. By default, logical volumes seem to occupy physical extents in the following sequence: boot, swap, root, the rest. I do not see any reason to place swap before root.
3.
Command "lvlnboot -v" shows that dump area does not seem to reside on the second disk.
...
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Is it normal? Command like "lvlnboot -d /dev/vg00/lvol2 " does not make any changes.
4. On HP-UX 11.0 "setboot" shows that alternate path is
the newly mirrored device. On HP-UX 10.20 "setboot" showed old value until I changed it manually by "setboot -a". At the same time "lvlnboot -v" showed something like
Root: lvol3 on: /dev/dsk/c0t5d0
/dev/dsk/c0t8d0
Was it necessary to issue "setboot -a" command?
Thank you in advance for any comments!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2000 09:16 AM
11-23-2000 09:16 AM
Solution1A. It's not documented in 'man hpux' but what it does is cause the root volume group to be activated even though a quorum of disks is not present (vgchange -a y -q n vg??). In practice, this is probably only useful if you have only two disks in the VG (boot disk and its mirror). If this is the case and one of them fails then without -lq the root VG cannot be activated and the boot fails.
1B. 'hpux' or 'hpux -lq' is sufficient. Your example 52.3.0 is the hardware address of the required disk. The default is the disk you've booted off. /stand/vmunix is the default kernel.
2. You are correct. Mirror them in the same order that they are on the primary disk.
3. It's normal
4. You will need to run setboot (if only to check that all is correct). The commands that you ran to do the mirroring will not have changed anything. I suspect that your 11.00 server already had the ALT path set to the disk you used as the mirror. New 'L' servers are delivered that way. 'K', 'D' and the like used to come with the ALT path pointing to the CD.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2000 10:25 AM
11-23-2000 10:25 AM
Re: Mirroring the Root File System
Create a physical Volume using pvcreate -B /dev/rdsk/c0t3d0
Add the Physical volume to your existing root volume group: vgextend /dev/vg00 /dev/dsk/c0t3d0
Place boot utilities in the boot area:
mkboot /dev/rdsk/c0t3d0; and add an AUTO file in boot LIF area:
mkboot -a "hpux (10/0.3.0;0)/stand/vmunix" /dev/rdsk/c0t3d0
After this point, I normally mirror /stand before root and swap, reason is that the kernel has to be recognised in this mirroring sequence first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 08:33 AM
11-24-2000 08:33 AM
Re: Mirroring the Root File System
mkboot
mkboot -a
vgextend
lvextend -m 1
(I use a for loop to extend all lv's in vg...example:
for i in /dev/vg00/lvol*
do
lvextend -m 1 $i
done)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2001 09:25 PM
02-16-2001 09:25 PM
Re: Mirroring the Root File System
1. pvcreate -B /dev/rdsk/
2. vgextend /dev/vg00 /dev/dsk/
3. mkboot /dev/dsk/
4. mkboot -a "hpux -lq" /dev/rdsk/
5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/
Repeat step 5 for any additional logical volumnes that need to be mirrored.
6. lvlnboot -R
Reboot system, hit escape key to stop autoboot.
Boot system from the second disk to verify it.
Reboot again with autoboot from primary disk.
Job done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 02:40 AM
09-24-2001 02:40 AM
Re: Mirroring the Root File System
Please do not check mirroring only by booting thru the second disk having the primary disk also in the system. You may remove the disk physically, and boot thru mirror. And also, while the system is sunning, remove the primary and check the system works fine. For the second case, it is necessary to follow a correct procedure to put the disk in place.i.e.replacing mirror disks.
samir