- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting alternate boot path in HP-UX B11.23
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-17-2006 11:07 PM
01-17-2006 11:07 PM
OS has been installed on /dev/dsk/c2t1d0 and mirrored to /dev/dsk/c2t0d0 using LVM.
The ioscan shows two disks:
/dev/dsk/c2t0d0 at 0/1/1/0.0.0
/dev/dsk/c2t1d0 at 0/1/1/0.1.0
lvlnboot -v shows:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0
The primary boot path is
# setboot
Primary bootpath : 0/1/1/0.1.0
So now I figure that I should set the system to boot from the 'other' member of the mirror.
When I try to set the alternate boot path , I get the following:
# setboot -a 0/1/1/0.0.0
setboot: error accessing boot path - Invalid argument
Question: Is my reasoning correct and if so how do I set the alternate boot path to the disk at path 0/1/1/0.0.0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:11 PM
01-17-2006 11:11 PM
Re: setting alternate boot path in HP-UX B11.23
I doubt that your mirror is correct. You do not have slice created on the disk. Did you used 11.23 procedure to mirror?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:13 PM
01-17-2006 11:13 PM
Re: setting alternate boot path in HP-UX B11.23
Check these threads for a good solution,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=414827
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=990079
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:18 PM
01-17-2006 11:18 PM
Re: setting alternate boot path in HP-UX B11.23
The command for setboot is correct but the procedure for mirroring seems to be wrong. It is mentioned here have a look
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
See page 26 Onwards.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:20 PM
01-17-2006 11:20 PM
Re: setting alternate boot path in HP-UX B11.23
Hi,
If it ok to have a reboot of the server,
pls reboot the server,
get PDC>
do a PDC> SEARCH IPL
now you get the list of BOOTABLE disks
and from here you can change the PRI and ALT path,
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:04 AM
01-18-2006 12:04 AM
Re: setting alternate boot path in HP-UX B11.23
I tried follwing things on my setup.
# setboot
Primary bootpath : 0/1/1/0.0.0
HA Alternate bootpath :
Alternate bootpath : 0/0/3/0
Autoboot is ON (enabled)
# setboot -a 0/1/1/0.1.0
#
# setboot
Primary bootpath : 0/1/1/0.0.0
HA Alternate bootpath :
Alternate bootpath : 0/1/1/0.1.0
# setboot -a 0/0/3/0
setboot: "0/0/3/0" is not a proper bootpath
As seen above if you use wrong path it sepcifically tells u that path is not proper or invalid.
I doubt if the disk you are referring to has corrupt boot area or may be some mirroring issues.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:08 AM
01-18-2006 12:08 AM
Re: setting alternate boot path in HP-UX B11.23
I have been repeating that the second stand is not on the device file with s2 in the end, which means the slice (EFI) partition has not been created on the disk. I doubt that the procedure for a PA-RISC mirroring has been followed to mirror the boot disk. Correct me if I am wrong.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:38 AM
01-18-2006 12:38 AM
Solutionyou did not use the procedure to mirror a Itanium server drive.
If you did, the alternate drive should use section 2 i.e /dev/dsk/c2t0d0s2.
Please, use this link
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082066576
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:50 AM
01-18-2006 12:50 AM
Re: setting alternate boot path in HP-UX B11.23
devender is correct and spotted it straight away.
these should both report s2 for the boot partition
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
you need to first partition the disk with idisk and and populate the efi partition as well as doing lvm mirroring
time to start again im afraid
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:58 AM
01-18-2006 12:58 AM
Re: setting alternate boot path in HP-UX B11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 11:22 PM
01-18-2006 11:22 PM
Re: setting alternate boot path in HP-UX B11.23
Before I started the new procedure, I undid all the nonsense that I previously did (using lvreduce followed by vgreduce).
Thanks all. regards frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 11:27 PM
01-18-2006 11:27 PM