- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to verify root disk mirroring is working?
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
07-15-2002 05:37 PM
07-15-2002 05:37 PM
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 05:51 PM
07-15-2002 05:51 PM
Solution# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (0/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
The only to tell for sure is to actually boot off your secondary to disk to check whether it works. So when you boot follow this procedure from the manual.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5185-6558/5185-6558_top.html&con=/hpux/onlinedocs/5185-6558/00/00/4-con.html&toc=/hpux/onlinedocs/5185-6558/00/00/4-toc.html&searchterms=boot%7cfrom%7cmirror&queryid=20020715-185947
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 05:54 PM
07-15-2002 05:54 PM
Re: How to verify root disk mirroring is working?
2. Do lifls /dev/dsk/c?t?d? and make sure the lif files are listed out.
3. Do lifcp /dev/dsk/c?t?d?:AUTO - and see if it is giving out correct boot string.
4. Run setboot command and verify that the alternate path is correctly displayed.
5. Do an lvdisplay on all vg00 logical volumes and grep for 'stale' entries. You should not get any.
4. Shutdown the system. Stop at the boot admin. The following may change depending on your hardware type.
Type bo
Say No to primary boot.
Say Yes to alternate boot.
Say No to ISl interact.
The system should come up without any errors.
The above can also be done using setboot command. If you are using setboot command, make sure you specify correct paths for primary and secondary.
Perfect check will be to take out the primary disk and boot from the alternate disk with the above procedure.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 06:05 PM
07-15-2002 06:05 PM
Re: How to verify root disk mirroring is working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 06:38 PM
07-15-2002 06:38 PM
Re: How to verify root disk mirroring is working?
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
So in my case, I should run
ISL>boot 0/0/2/0.2.0
Is that correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 06:50 PM
07-15-2002 06:50 PM
Re: How to verify root disk mirroring is working?
No. You should be interacting with the boot admin prompt(or BCH boot control handler) before going into ISL prompt. When the systems performs it's hardware tests, it will come to this stage and waits for 10 sec for manual interaction otherwise boots from the primary path automatically. You will need to press any key during this time.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 06:59 PM
07-15-2002 06:59 PM
Re: How to verify root disk mirroring is working?
If the autoboot and autosearch flags are enabled, PDC will provide you with a 10 second delay in which to manually override the automatic boot process. Press any key during these 10 seconds.
PDC will ask you:
Boot from primary boot path (Y or N)?
Answer no
Boot from primary boot path (Y or N)? N
PDC will then ask you:
Boot from alternate boot path (Y or N)?
If the alternate boot path is the correct hardware path for the device that you want to boot from, enter Y. If, as in the is example, the alternate boot path is not the desired hardware path, answer N:
Boot from alternate boot path (Y or N)? N
You will then be prompted to enter a command:
Enter boot path, command, or ?> bo 0/0/2/0.2.0
Interact with IPL (Y or N)> no
System should start to boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 07:32 PM
07-15-2002 07:32 PM
Re: How to verify root disk mirroring is working?
Look for the man pages of setboot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 02:59 AM
07-16-2002 02:59 AM
Re: How to verify root disk mirroring is working?
You can also verify the boot disk after the fact with:
# echo boot_string/S|adb /stand/vmunix /dev/mem
This will return something like:
boot_string:
boot_string: disc(10/0.6.0;0)/stand/vmunix
...which can be related to 'lvlnboot -v':
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c2t0d2 (10/8.0.2) -- Boot Disk
/dev/dsk/c5t1d2 (10/16/4.1.2) -- Boot Disk
...
Hence, the boot occured from /dev/dsk/c0t6d0.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 03:31 AM
07-16-2002 03:31 AM
Re: How to verify root disk mirroring is working?
Is there a reason that you have such a POOR record of assigning points?
This member has assigned points to 41 of 297 responses to his/her questions.
Fix them by starting here:
http://forums.itrc.hp.com/cm/TopSolutions/1,,CA698738!1!questions,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 08:28 PM
07-16-2002 08:28 PM
Re: How to verify root disk mirroring is working?
Pull one of the mirror drives (why don't you pull the primary). Shutdown the system. Reboot - if you got an "optimal" setup, the box will autoreboot w/o operator intervention.
Watch out for quorum problems and incorrectly configured boot paths.
If everything works, replace the drive and sync the mirrors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 10:17 PM
07-16-2002 10:17 PM
Re: How to verify root disk mirroring is working?
To make sure, you can remove one of your hot-swappable mirrored boot disk and try!
You will be dead sure then ;)
(I hope experts will agree with me. We did that test when we got our new servers)
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 06:43 AM
07-17-2002 06:43 AM
Re: How to verify root disk mirroring is working?
Yogeeraj is right and it's the only surefire way. If you boot off the mirror with the primary in place the OS will boot even with stale extents on the mirror.
NB you will need the low quorum option when booting.
i.e. hpux -lq
Regards
Chris