It’s handy to be able to set various OpenBoot variables from the System Processor (ALOM or ILOM) since sometimes it isn’t possible to reach the OBP.
From the ILOM
Syntax to set any OBP variable from ILOM is as follows :
-> set /HOST/bootmode script="value"
For example, if you want to disable auto-boot because the system keeps hanging on boot:
-> set /HOST/bootmode script="setenv auto-boot? false"
If you want to change your console redirection because it was set badly:
-> set /HOST/bootmode script="setenv output-device virtual-console"
Then powercycle the system for the variables to take effect.
From the ALOM
Syntax to set any OBP variable from ALOM is as follows :
sc> bootmode bootscript="value"
To disable the auto-boot on system startup :
sc> bootmode bootscript="setenv auto-boot? false"
To change the console redirection :
sc> bootmode bootscript="setenv output-device virtual-console"
Then powercycle the system for the variables to take effect. Notice that the syntax is largely the same. This can be applied to almost all the OBP variables.