• 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

Most Commonly used ALOM commands (Cheat Sheet)

by admin

The ALOM (advanced light-outs manager) command shell enables you to administer, diagnose, or control the host server. Below are some of the most commonly used ALOM commands.

To check all the available commands :

sc> help
Available commands
------------------
poweron [-c] {FRU}
poweroff [-y] [-f]
removefru [-y] {FRU}
reset [-y] [-x] [-c]
break [-y] [-c]
bootmode [normal|reset_nvram|diag|skip_diag|bootscript="string"]
console [-f]
consolehistory [-b lines|-e lines] [-g lines] [-v] [boot|run]
showlogs [-b lines|-e lines] [-g lines] [-v]
setlocator [on|off]
showlocator
showenvironment
showfru
showplatform [-v]
showsc [-v] [param]
shownetwork [-v]
setsc [param] [value]
setupsc
showdate
setdate [[mmdd]HHMM | mmddHHMM[cc]yy][.SS]
resetsc [-y]
flashupdate [-s IPaddr -f pathname] [-v]
setdefaults [-y] [-a]
useradd 
userdel [-y] 
usershow [username]
userpassword 
userperm  [c][u][a][r]
password
showusers [-g lines]
logout
help [command]

Connecting console

To login into the console from ALOM

SC> console

To take the console forcefully if already someone else has logged into console.

SC> console -f

To come out of the console use the escape character set. For example :

#.

To set the escape character to #.

sc> setsc sc_escapechars #.

To logout from the ALOM

SC> logout

Show commands to gather system info

To check the sensor values

SC> showenvironment

To check the hardware model and domain status

SC> showplatform

To print the FRU-ID data stored in the FRU PROM

SC> showfru

To display the details of the SC software configuration

SC> showsc

Network commands

There are 2 ways to set the ALOM IP address. Using the setupsc to set all the network configuration variables or using the setsc command to set the network configuration variables separately.

To setup the ALOM IP address manually using setsc

sc> setsc set if_network true
sc> setsc netsc_dhcp false
sc> setsc netsc_ipaddr 192.168.1.10
sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipgateway 192.168.1.1
sc> resetsc
Are you sure you want to reset the SC [y/n]?  y

To display current network configuration

SC> shownetwork -v

User administration

Below are the commands used for adminstrating user accounts on system controller (SC).

SC> usershow user_name             -- shows configuration details of a user
SC> useradd user_name              -- add new user
SC> userdel user_name              -- delete the user
SC> userpassword user_name         -- set/reset user password
SC> userperm user_name             -- Sets the permissions
SC> password                       -- change your own password
SC> showusers                      -- Displays currently logged in users

Poweron/poweroff/break Commands

To poweron the system

SC> poweron

To poweroff the system

SC> poweroff

To reset the system

SC> reset

To send break signal to solaris OS

SC> break

To set the bootmode to [ normal|reset_nvram|diag|skip_diag ]

SC> bootmode boot_mode

Logs and history

SC> showlogs -v
SC> consolehistory

Locator commands

To Display the locator indicator current state and to set it on/off

SC> showlocator
SC> setlocator [on|off]

OS commands to view ALOM info (sun4u system only)

# cd /usr/platform/`uname -i`/sbin/scadm         (path of scadm command)
# scadm resetrsc [-s]       [ -s for soft reset ]
# scadm set [variable] [value]
# scadm show [variable]
# scadm useradd user_name
# scadm userdel user_name
# scadm usershow user_name
# scadm userpassword user_name
# scadm userperm user_name
# scadm shownetwork
# scadm consolehistory -a
# scadm loghistory -a
# scadm version -v
Most Commonly used ALOM commands (Cheat Sheet)
Most Commonly used LOM commands (Cheat Sheet)
Most Commonly used ILOM commands (Cheat Sheet)
Most commonly used XSCF commands (Cheat Sheet)
Most Commonly used RSC commands (Cheat sheet)

Hardware consoles Oracle

Filed Under: Hardware

Some more articles you might also be interested in …

  1. Complete Hardware Reference : SPARC T5-2 / T5-4 / T5-8
  2. SF3800/SF4800/SF4810/SF6800 – E4900/E6900 : connecting to a domain shell console which is already in use
  3. How to force a crash dump on T1000/T2000 servers from ALOM
  4. Most commonly used XSCF commands (Cheat Sheet)
  5. How to collect XSCF snapshot on M-series servers (M3000 / M4000 / M5000 / M8000 / M9000)
  6. Most Commonly used RSC commands (Cheat sheet)
  7. How to set OBP Variables from the ALOM/ILOM
  8. Complete Hardware Reference : SPARC T3-1 / T3-2 / T3-4
  9. Complete hardware reference : M3000 / M4000 / M5000 / M8000 / M9000
  10. Complete Hardware Reference : SPARC T4-1 / T4-2 / T4-4

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3 mv” Command Examples
  • “aws s3 mb” Command Examples
  • “aws s3 ls” Command Examples
  • “aws s3 cp” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright