- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring root
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
02-21-2001 04:25 PM
02-21-2001 04:25 PM
Primary bootpath : 10/0.6.0
Alternate bootpath : 10/12/5.0.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
The command lvlnboot -v returns:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (10/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c0t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t5d0
/dev/dsk/c0t6d0
Dump: standswap on: /dev/dsk/c0t6d0, 0
Dump: lvol2 on: /dev/dsk/c0t6d0, 1
I tried to run the mkboot command to set the alternate disk to be c0t5d0 but it does not change the output of setboot.
mkboot -a "hpux -lq (10/0.5.0;0)/stand/vmunix" /dev/rdsk/c0t5d0
Must I recreate vg00 from scratch? I checked both of my servers and they each show this configuration. The strange thing is that one of the servers does not have a device at address 10/12/5.0.0 yet it shows up in the setboot. I think I must have missed a step somewhere.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 04:38 PM
02-21-2001 04:38 PM
Re: Mirroring root
When you interupt the boot it also lets you boot from a different disk if your boot paths are not correct. If your primary boot disks fails, then you will have to interact with the boot anyway since it will not automatically boot from the alternate boot path.
As long as lvlnboot shows that both disks are boot disks, and vgdisplay shows that all lvols are synced, then you are fine.
You do NOT need to recreate VG00 from scratch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 04:48 PM
02-21-2001 04:48 PM
Re: Mirroring root
See the man pages (1M) for 'setboot'. 'setboot' allows you to set (or display) the alternate boot path; the primary boot path; to enable/disable autosearch and/or to enable/disable autoboot.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 07:53 PM
02-21-2001 07:53 PM
SolutionThe others have given you the command - here's the syntax to set your alternate boot path to match your mirror boot disk
setboot -a 10/0.5.0
You can change them at anytime while the system is running.
To verify the contents of your AUTO file on your bootable disks execute the following:
lifcp /dev/rdsk/c0t5d0:AUTO -
The - is standarc out and should show something like: hpux
or
hpux -lq (10/0.5.0;0)/stand/vmunix
If you are on 10.20 or above (maybe even 10.X) you do not need to specify any path or kernel. So "hpux -lq" would suffice.
Repeat for your other disk
lifcp /dev/rdsk/c0t6d0:AUTO -
You can also verify that the LIF area is populated with the HPUX and ISL and other things needed to boot a system by using the following commands:
lifls -l /dev/rdsk/c0t6d0
lifls -l /dev/rdsk/c0t5d0
You do not need the -l option - works like ls.
I think you are in good shape, just need to change that alternate boot path to match your disk.
I don't know about the rest of you but I usually leave Autosearch OFF (yours is ON).
Hope this helps,
Peggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2001 12:25 AM
02-22-2001 12:25 AM
Re: Mirroring root
As mentioned you use setboot to change your primary and alternate boot paths when the system starts. (You can also change these values by stopping the boot within 10 seconds when you first switch on your system).
If you have loaded the DIAGNOSTICS pack you may have a difference when you perform the lifls -l /dev/rdsk/c0t5d0 and c0t6d0 disks. If you seem to be missing some files try these commands on the disk with the missing files to update the lif info:
cd /usr/sbin/diag/lif
mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c0t(5 or 6)d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2001 02:33 AM
02-22-2001 02:33 AM