• 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 RSC commands (Cheat sheet)

by admin

Connecting console and logging out

RSC> console
RSC> logout

Use “~.” to come out of the OS login, back to RSC. In case the escape character ~. doesn’t work check for the escape character from OS :

# /usr/platform/`uname -i`/sbin/rscadm show escape_char
escape_char=”#.”

If the console is busy fire either of the command from RSC and OS respectively :

RSC> resetrsc
# /usr/platform/`uname -i`/sbin/rscadm resetrsc

User Administration

RSC> usershow  user_name                   --- shows characteristics of user
RSC> useradd user_name                     --- Add RSC user
RSC> userpassword user_name                --- Set/change user password
RSC> userdel user_name                     --- Delete a RSC user
RSC> userperm user_name                    --- Set authorization for a user
RSC> password                              --- changes your password

Poweron/Poweroff/Break/Reset Commands

RSC> poweron          --- Power on the server
RSC> poweroff         --- Power off the server
RSC> break            --- Sends break signal to OS
RSC>resetrsc          --- Resets RSC immediately
RSC>reset             --- resets server immediately

Network related Commands

To set RSC IP address from OS rscadm command

# ./rscadm set ip_mode config
# ./rscadm set ip_addr 192.168.1.10
# ./rscadm set ip_netmask 255.255.255.0
# ./rscadm set ip_gateway 192.168.1.1
# ./rscadm resetrsc

We can also use the rsc-config script ( # /usr/platform/`uname -i`/rsc/rsc-config ) to configure the IP address. To set the RSC IP address from RSC cli :

RSC> set ip_addr 192.168.1.10
RSC> set ip_netmask 255.255.255.0
RSC> set ip_gateway 192.168.1.1
RSC> resetrsc

Errors/logs capturing commands

RSC> help
RSC> showenvironment
RSC> consolehistory
RSC> consolehistory boot  -- most recent POST and boot messages
RSC> consolehistory run  ---> most recent data received fro server OS
RSC> loghistory
RSC> show
RSC> showsc

Other Commands

RSC> showlocator        --- shows locator LED status (V480 only)
RSC> setlocator         --- Turn the system locator LED on or off (V480 only)
RSC> shownetwork        --- shows current RSC network configuration
RSC> date               --- Display/set current date and time 
RSC> showdate           --- shows current date and time
RSC> version            --- Reports the RSC version

OS commands to manage RSC

Solaris rscadm subcommands: (path = # /usr/platform/`uname -i`/sbin/rscadm)

help               --- Displays a list of rscadm commands
date               --- Displays/sets the current time and date
set                --- Sets a configuration variable
show               --- Displays configuration variables
shownetwork        --- Shows current RSC network configuration
loghistory         --- shows log history
resetrsc           --- Resets RSC immediately
useradd            --- Adds an RSC user account
userdel            --- Deletes an RSC user account
usershow           --- Shows characteristics of an RSC user account
userpassword       --- Sets/changes a user's password
userperm           --- Sets the authorization for a user
version            --- Reports the RSC version on the host
status             --- Same as the version -v command

OBP commands

ok> rsc-hard-reset      --- perform a hard RSC reset
ok> rsc-soft-reset      --- perform a soft RSC reset
ok> .rsc                --- displays RSC info
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. Solaris : How to unconfigure and configure a cpu/memory board using cfgadm
  2. Complete Hardware Reference : SPARC T7-1 / T7-2 / T7-4
  3. How to setup RSC console on Sun Fire 280R, V480, V490, V880, V890 servers
  4. Most commonly used XSCF commands (Cheat Sheet)
  5. Most Commonly used ALOM commands (Cheat Sheet)
  6. Complete hardware reference : T1000 / T2000 / T5120 / T5140 / T5220 / T5240 / T5440
  7. How to set OBP Variables from the ALOM/ILOM
  8. Complete Hardware Reference : SPARC T4-1 / T4-2 / T4-4
  9. Complete Hardware Reference : SPARC T5-2 / T5-4 / T5-8
  10. Most Commonly used ILOM commands (Cheat Sheet)

You May Also Like

Primary Sidebar

Recent Posts

  • “aws sqs” Command Examples
  • “aws ses” Command Examples
  • “aws secretsmanager” Command Examples
  • “aws s3api” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright