- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable alternate boot path / boot only from prima...
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
09-06-2006 11:31 PM
09-06-2006 11:31 PM
I just make some tests on a (11i) system. So I "found out", that HPUX will boot automatically boot from alternate boot path, if the primary path not works (normally this will be correct and fine).
Actuell I splitt the root-VG (LV's), so the root data are save (still on not mirrored mirror), when I install patches etc.
In case of a big problem (f.e. /stand/vmunix moved away), HPUX will use automatically the alternate bootpath and everything looks OK.
How can I configure the system, that the information about the alternate bootpath was deleted? (I know, booting interactive I can say "use primary bootpath")
In #lvlnboot and #setboot I can't find an option to remove the deposited alternate bootinformations.
Will be enshure (and without have a look on the console) that system use "original", new data and not the old (splitted) data/LV's.
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2006 11:35 PM
09-06-2006 11:35 PM
Re: Disable alternate boot path / boot only from primary
I don't believe that you can null the alternate boot path. However, you can specify a tape or CD/DVD device path as your alternate.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2006 11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 12:58 AM
09-07-2006 12:58 AM
Re: Disable alternate boot path / boot only from primary
I set the alt and prim bootpath with #setboot to the same device, but the system still boot fine:
# setboot
Primary bootpath : 0/0/2/0.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
-------------------------
But lvlnboot still have the splitted mirror information, so I think he boots successfully from the mirror:
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
--------------------------------
# ls /stand/vm* => show no bootimage!
/stand/vmunix.moved /stand/vmunix.prev
But server is coming up ;-)
---------------------
How can I disable the c1-Device as bootable, in ISL-mode? Command-line (with #lvlnboot I didn't find an option)
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 01:05 AM
09-07-2006 01:05 AM
Re: Disable alternate boot path / boot only from primary
setboot -b off -s off /dev/rdsk/altdisk
setboot -v
should show both are off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 01:07 AM
09-07-2006 01:07 AM
Re: Disable alternate boot path / boot only from primary
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
================================
You can check with which disk been booted ..
echo "boot_string/S" |adb /stand/vmunix /dev/mem
if it is vpar then use /dev/kmem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 01:24 AM
09-07-2006 01:24 AM
Re: Disable alternate boot path / boot only from primary
# echo "boot_string/S" |adb /stand/vmunix.moved /dev/kmem
boot_string:
boot_string: disk(0/0/2/0.2.0.0.0.0.0;0)/stand/vmunix
---------------
#lvdisplay /dev/vg00/lvol1:
LE PV1 PE1 Status 1
00000 /dev/dsk/c1t2d0 00000 current
-------------
So, what was the actuall booting device? c1 or c2 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 01:44 AM
09-07-2006 01:44 AM
Re: Disable alternate boot path / boot only from primary
# echo "boot_string/S" |adb /stand/vmunix.moved /dev/kmem
boot_string:
boot_string: disk(0/0/2/0.2.0.0.0.0.0;0)/stand/vmunix
---------------
#lvdisplay /dev/vg00/lvol1:
LE PV1 PE1 Status 1
00000 /dev/dsk/c1t2d0 00000 current
-------------
So, what was the actuall booting device? c1 or c2 ?
==================================
When you run adb command against vmunix.moved kernel above shows it booted off from c2 device. Is it really a soft link to vmunix in /stand. can you post ll /stand.
It seems this is a vpar. Am I correct? If so, then setboot won't work. You can change boot paths using parmodify command. What Priamy, alternate and HA available paths set for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 02:26 AM
09-07-2006 02:26 AM
Re: Disable alternate boot path / boot only from primary
Here is the output:
# ll /stand/vm*
-rwxr-xr-x 1 root sys 27188528 Jul 17 13:19 /stand/vmunix.moved
-rwxr-xr-x 1 root sys 27188512 Feb 7 2006 /stand/vmunix.prev
-----
After disable the autosearch and autoboot, I try and saw, only c2 is bootable.
Before I make any changes on the system. I make:
# setboot
Primary bootpath : 0/0/2/0.2.0 (c2)
Alternate bootpath : 0/0/1/1.2.0 (c1)
- Than I type #lvsplit /dev/vg00/lvol[1-7]
- Than I move the kernel to vmunix.moved
- Reboot
Now I'm wondering: It seems, that (when I start my tests) the system was running from the alternate boot path, because when I now reboot, only from c2 is vmunix accessable/bootable. I thouhgt, I move from primary path (c2) the kernel away. But c2 still works/boots.
What happens?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 03:26 AM
09-07-2006 03:26 AM