• 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. 17 Examples of using Solaris boot command
  2. Script to reset the iostat errors counters (hard/soft/trn) without reboot
  3. How to Import Zpool and Mount of BE When Booted From Alternate Device in Solaris 11
  4. How to configure Solaris 10 Link Based IPMP
  5. Solaris : how to truncate the wtmpx file
  6. Solaris Volume Manager (SVM) : How to Use Mirrors to Roll Back System Changes
  7. Solaris ZFS : How to replace a failed disk in rpool (x86)
  8. Solaris 10 zones troubleshooting : Unable to Share NFS File Systems From a Non-global Zone
  9. How to set up cron for automatic data collection from the system activity reporter (SAR) in Solaris 10 and 11
  10. How To Read And Clear SCSI Reservations in Solaris 11 (sg3_utils)

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright