• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to set OBP Variables from the ALOM/ILOM

by admin

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.

Filed Under: Hardware, Solaris

Some more articles you might also be interested in …

  1. How to login into console from ILOM, ALOM, LOM, ELOM, XSCF, RSC
  2. How to configure passwordless ssh in Solaris
  3. SVM : How to Use Metadevadm to Maintain Device Relocation Information After Disk Replacement
  4. Solaris : Troubleshooting startup (rc init) scripts
  5. Solaris ZFS : How to Offline / Online / Detach / Replace device in a storage pool
  6. 17 Examples of using Solaris boot command
  7. How to force a crash dump on T1000/T2000 servers from ALOM
  8. Solaris Snoop : 15 Awesome practical examples for packet sniffing
  9. LDOMs troubleshooting : guest and control domains can not talk to each other but can talk with anyone else on the network
  10. Resolving File System Full Situations in Solaris

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright