1753432 Members
4650 Online
108793 Solutions
New Discussion юеВ

Re: set autoboot

 
SOLVED
Go to solution
Leah Chow
Frequent Advisor

set autoboot

We had a power outage that occured last week. The power switched on and off several times, which damanged the servers.

I would like to set the autoboot off on my server. Once I do that, can I still use shutdown -ry 0 to boot the machine or do I have to use Console to boot the server?

Please help

Thanks
Leah
6 REPLIES 6
melvyn burnard
Honored Contributor

Re: set autoboot

You can set thisoff, and a shutdown would stil work.
However, if the system were to power off and then on again, you would need to manually boot the server from the console
use setboot -b to turn it off/on without first shutting down the server.
man setboot
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
freddy_21
Respected Contributor
Solution

Re: set autoboot

when your autoboot is off, its means you will come at BCH ( boot control handler)

when you come at BCH its means you need your console to boot your OS

Main Menu> Bo
interact with IPL : n

and your server will be boot.

using shutdown -ry 0 you can used it, but your system stop at BCH.

thanks
freddy

DCE
Honored Contributor

Re: set autoboot


Use setboot by itself to see your current settings

Once you disable setboot, your system will stop at the BCH and wait for instructions before procedeeding with the boot.

Yes, shutdown -ry 0 will continue to work as in the past.

HTH
Dave
Torsten.
Acclaimed Contributor

Re: set autoboot

The parameter autoboot=off does what it means, it prevents the server from booting automatically and will stop at the boot menu.


Some of the servers have a possibility to set the "Power Restore Policy Config" in the MP/ILO.

Maybe this is what you are looking for.

MP:CM> PR

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: set autoboot

more info about the command:

PR: Power restore policy configuration
Use this command to configure the power restore policy. The power restore policy determines how the system
or chassis behaves when AC power returns after an AC power loss.
If PR is set to On, the system powers on after AC is applied. If PR is set to Off, the system stays powered off
after AC is applied. You must first push the system power switch or execute a PC command to power on the
system.
If PR is set to Previous, the power is restored to the state that was in effect when AC was removed or lost.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Leah Chow
Frequent Advisor

Re: set autoboot

Thank you all very much, really appreciate your quick responses.

Leah