Operating System - HP-UX
1834786 Members
2756 Online
110070 Solutions
New Discussion

Re: What bootdevice will be used?

 
dark-sun
Frequent Advisor

What bootdevice will be used?

Hello,
maybe a simply question:

If I start my server without any interaction, will be allways the primary boot device used for booting or is it also possible, that the alternate boot-device (mirrored boot-disk) is sometimes used?
(both devices are accessable at boot time etc.)

# setboot -v
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/1.2.0
Autoboot is ON (enabled)
Autosearch is OFF (disabled

Background: On one server I saw, the bootdevice is 2/1.2 (should be alt.bootdevice.)
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: What bootdevice will be used?

The primary should always be used, unless it is not available, then the alternate will be used.
sajeer_2
Regular Advisor

Re: What bootdevice will be used?


As patrick mentioned,it will try to boot from Primary bootpath.If it fails then it will tryAlternate bootpath.
JIJ_1
Frequent Advisor

Re: What bootdevice will be used?

Hi ,
When a server boots it looks for a bootable device , which is normally the disk which is connected at the primary boot path, If the primary is not available then only it wil boot from the alternate disk (but it should be a bootable disk).

Regards !
Jijeesh
Sp4admin
Trusted Contributor

Re: What bootdevice will be used?

Hello,
At boot time the primary boot path should be used. They only time that I can think of is if the primary boot disk is bad.

sp,
nanan
Trusted Contributor

Re: What bootdevice will be used?

Hi
If there isn't any problem the primary disk
Always the system boot with primary disk, as you set to primary by setboot command

Alternate boot disk is only used when primary path is not respond.


Regards
nanan
Fabian Briseño
Esteemed Contributor

Re: What bootdevice will be used?

Yes that is correct it will start from the primary path unless there is trouble or you instruct it to boot from the alternate path

Here's the command to boot from an alternate path

BO alternate_patch or
BO alt





Knowledge is power.
A. Clay Stephenson
Acclaimed Contributor

Re: What bootdevice will be used?

It depends upon the model and to some extent upon the firmware version. Some will automatically attempt a "boot alternate" if the primary boot disk is unavailable but others will just sit at the firmware monitor and wait for an explicit "boot alt" command.

In any event the way to answer YOUR question on YOUR hardware/firmware is to remove the primary boot disk and see what happens. That is a far more reliable answer than relying upon what people tell you.


If it ain't broke, I can fix that.
Ivan Krastev
Honored Contributor

Re: What bootdevice will be used?

Another good point is to view/set file /stand/bootconf. For examles see "man bootconf".

Normal server will boot from PRIMARY path if no errors. In case of errors if path is not listed in bootconf file server will not boot automaticaly from ALT path and you should log to console and boot manually.

regards,
ivan