Wednesday, 22 February 2012

Setting auto-boot in the OpenBoot environment

From my, limited experience, by default the Oracle/Sun servers boot into the NVRAM OpenBoot environment or more commonly known as the <ok> prompt.
If the hardware gets restarted the Solaris OS will not, by default, boot up. The NVRAM OpenBoot environment auto-boot variable is set to false.

To view the OpenBoot environmental variables currently set type:
printenv

To specifically search for the auto-boot OpenBoot environmental variable type:
printenv auto-boot?

To change the auto-boot OpenBoot environmental variable to true type:
setenv auto-boot? true

The system will now automatically boot into Solaris.

No comments:

Post a Comment