SMASH-CLP
SMASH (Systems Management Architecture for Server Hardware) is a set of standards and protocols used for managing server hardware. It is designed to provide a common management interface for servers, regardless of their make or model. This allows IT administrators to manage servers from different vendors using the same tools and procedures.
One of the protocols supported by SMASH is the Command Line Protocol (referred to as SMASH-CLP).
Common tasks
Reboot a server
On the SMASH-CLP shell, go to the root of the interface with cd /
and navigate to the system (it's either /system
or /system1
). From there, you should see 'reset
' as one of the verbs which you can run to reset the system.
-> cd /
-> [TAB]
cd
exit
help
show
version
system
-> cd /system
COMMAND COMPLETED : cd /system
ufip=/system
->show
COMMAND COMPLETED :
show
ufip=/system1
Targets:
...
tempsensor47/
tempsensor48/
Properties:
CurrentPowerStatus=ON
SysIdSupported=SUPPORTED
SysIdentification=OFF
TimeOutValue=INVALID
identity=host
Verbs:
cd
exit
help
reset
set
show
version
-> reset
ufip=/system
COMMAND COMPLETED : reset
Reset: Target reset successful
Shutdown / Start a server
On systems that support this feature, you should see 'start' and 'stop' as an available verb under the /system or /system1 target.
-> show
COMMAND COMPLETED :
show
ufip=/system1
Targets:
cpu1/
...
tempsensor48/
Properties:
CurrentPowerStatus=ON
SysIdSupported=SUPPORTED
SysIdentification=OFF
TimeOutValue=INVALID
identity=host
Verbs:
cd
exit
help
reset
set
show
start
stop
version
-> start
COMMAND COMPLETED :
start
ufip=/system1
Start: Target started successfully
Connect to serial console
On systems that support this feature, you should be able to navigate to the /system1/sol1
target and run 'start
' to connect to the serial console.
Hit the ^.
escape characters to exit.
You must enable serial over lan for this feature to work. If it isn't enabled, you will get the following error message:
->cd /system1/sol1
COMMAND COMPLETED :
cd /system1/sol1
ufip=/system1/sol1
->start
COMMAND COMPLETED :
start
ufip=/system1/sol1
Enter ^. to exit from SOL
setting the MUX for SOL
SOL not enabled for BMC LAN channel 1.
SMASH SOL Stopped. Resetting the MUX.
->
You can enable SOL using ipmitool. For instructions, see my page about enabling SOL.
Troubleshooting
Low CPU clock speeds
A server was running at reduced clock speeds (1.2GHz when it should be at 3.4GHz). Resetting the power management target seemed to fix the issue.
->cd /system1/pwrmanagement1
COMMAND COMPLETED :
cd /system1/pwrmanagement1
ufip=/system1/pwrmanagement1
->reset
COMMAND COMPLETED :
reset
ufip=/system1/pwrmanagement1
Reset: Target reset successful