Sun E10K Cheat Sheet

E10K Commands

The tables below provide a summary of all E10K commands

Platform Commands
Reset and reboot hung domain

cb_reset
        [-p <platform name>]   send packets to cb of E10K 
        [control_board_name]   send packets to specified ctrlboard
        [-v]                   Verbose

upgrade the prom
cb_prom
Create new domain or recreate old domain

domain_create
        -d                     domain_name
        -b                     systemboard list
        -o                     Operating system version
        -p                     Platform
        -t                     platform type

Display or remove domain history

domain_history
        -d <domain name>       Display domain information
        -r                     Remove domain history

Remove an existin domain

domain_remove
        -d <domain name>
Rename an existing domain

domain_rename
        -d <domain name>
        -n <new domain name>
        -o <new o/s version>

Display domain status

domain_status
        -d <domain name>
        -m                     dynamic reconfig model running

Send a command to EDD daemon
edd_cmd_x
        -e                     Display event monitoring
        -x [start|stop|rc]     Stop/start or reread config
Display or control fan power and speed

fan
        -p[on|off]             Power on/off a fan
        -l[rear|front]         Select rear or front fans
        -t[fan tray]           Select a specific fan tray 
        -s[nominal|fast]       Select fast or slow

Display, change and set system clock freqencies
sys_clock
Configure SSP IP or control boards
ssp_config
        [cb]                   Configure control board setup
        [float]                Configure floating SSP IP address
Deconfigure the SSP
ssp_unconfig
scantool and interconnect auto config
autoconfig
Read or write board ID values
board_id
Remote emulation debugger, used to debug record stops
redx


Domain Specific

Configure and boot a domain
bringup
        -f                     Force execution
        -A[on|off]             bringup domain (on = boot domain)
        -l[level]              level of hpost testing
        -X <file>              specify blacklist file
determine whether the domain is up
check_host
Display system information

hostinfo
        -F                     fan configuration
        -S                     CPU signature block
        -h                     state and signature for each CPU
        -p                     power configuration
        -t                     temperature configuration

Control and sequence POST through JTAG
hpost
Network console GUI
netcontool
Control Power

power
        -on
        -off
        -all
        -p[list]         Power supplies (0-4)
        -sb[list]        System boards (0-15)
        -cb[list]        Control boards (0-1)
        -csb[list]       Centerplane support boards(0(rear)1(front))
        -B               Turn off breakers

Send commands from SSP to domain
sigbcmd
Display, set and change system clock frequencies
sys_clock
Display or change system ID in SSP IDProm
sys_id
        -d                     Display all fields
        -k <key>               Change the system ID
        -s <serial number>     Change the serial number
        -h <host>              Change the host ID
        -x                     Display the serial number in HEX
panic a hung domain resulting in a reboot

hostint
        -p <proc>              send an interrupt to a CPU
        -f                     force 
        -v                     verbose

Reset a hung host
hostreset
Display SSP failover status
showfailover
Set failover to on or off

setfailover [on|off]

failover SSP
setfailover force
switch active control board
setfailover -t cb force


DR Commands

Reset a hung host
hostreset
DR GUI
drview
Network console server
netcon_server
DR shell
dr
initiate a DR attach operation
init_attach
complete a DR attach operation
complete_attach
abort a DR attach operation
abort_attach
start a memory drain
drain
        [sb] System board (0-15)
initiate a DR detach operation
init_detach
complete a DR detach operation
complete_detach
abort a DR detach operation
abort_detach
initiate auto-configuration sequence, reconfigure devices
reconfig


File Listing

Blacklist File
/var/opt/SUNWssp/etc/<platform_name>/blacklist
eeprom image
/var/opt/SUNWssp/etc/<platform_name>/<domain_name>/eeprom.image
boot processor ID
/var/opt/SUNWssp/etc/<platform_name>/<domain_name>/bootproc
event configuration file
/var/opt/SUNWssp/etc/<platform_name>/<domain_name>/edd.erc
domain messages files
/var/opt/SUNWssp/adm/<domain_name>/messages
/var/opt/SUNWssp/adm/messages


Netcon Commands

STOP-A a domain
  ~#
Display all netcon sessions
  ~?
swiatch between private LAN and JTAG
  ~=
Private netcon session mode
  ~*
Locked write mode
  ~&
Unlocked write mode
  ~@
Read-only mode
  ~^
exit current netcon session
  ~.

SSP Daemons

cbs The control board server (cbs) provides central access to the E10K control board for client programs running on the SSP
edd Event detector daemon uploads event detection scripts to control boards. When one of these scripts detects an event, edd executes response action script
netcon_server connection point for all netcon clients
fad File access daemon provides file access services to SSP clients that need to monitor, read and write to the SSP configuration files
machine_server This daemon services the TCP port registration requests from netcon_server and ensures that error messages are routed to the proper message file.
obp_helper During execution obp_helper provides services to OBP such as nvram simulation, IDprom simulation and time of day
fod Fail-over daemon monitors SSP to control board comms
datasyncd This daemon keeps files in sync between main and spare SSP