Chassis Management Module (CMM) CLI
The Chassis Management Module (CMM) monitors and controls hardware modules in the Chassis. Communication with a CMM occurs by SNMP requests from a dedicated SGM. If a hardware sensor reports a problem, the CMM automatically takes action or sends a report. CMMs also have a Command Line Interface.
There are two procedures to connect to a CMM CLI:
- Connect to the serial port on the front panel of the CMM
- In your terminal emulation program, set the baud rate to 9600
- Enter admin for the user name and password
- Open a telnet or SSH session from one of the SGMs
- First make sure that you have connectivity to the CMMs by pinging both addresses:
- 198.51.100.33 (routed via SSM1)
- 198.51.100.233 (routed from SSM2)
- Telnet or SSH from the SGM to the CMM
- Enter admin for the user name and password
When connected:
- Modify the Chassis configuration, including the Chassis ID (1 or 2) by editing
/etc/shmm.cfg - Useful commands: (Should be run after entering CLI shell, via
clia command) - Show the full list of commands:
CLI> help - Show alerts
CLI> alarm - Reset alerts
CLI> alarm 0 - Show power consumption information
CLI> shelf pd - Retrieve event logs
CLI> sel - Reboot the CMM
CLI> reboot Note: reboot initiates a failover to the standby CMM - Make sure that a board is recognized in its slot
CLI> board - Reset the specified board
CLI> boardreset <slot number> - Display FRU information
61000 slot information
Physical slot
|
IPMB
|
SGM/SSM
|
1
|
9a
|
SGM1
|
2
|
96
|
SGM2
|
3
|
92
|
SGM3
|
4
|
8e
|
SGM4
|
5
|
8a
|
SGM5
|
6
|
86
|
SGM6
|
7
|
82
|
SSM1
|
8
|
84
|
SSM2
|
9
|
88
|
SGM7
|
10
|
8c
|
SGM8
|
11
|
90
|
SGM9
|
12
|
94
|
SGM10
|
13
|
98
|
SGM11
|
14
|
9c
|
SGM12
|
41000 Security System slot information
Physical slot
|
IPMB
|
SGM/SSM
|
Upper most Slot
|
8C
|
SGM1
|
|
8A
|
SGM2
|
|
88
|
SGM3
|
|
86
|
SGM4
|
|
84
|
SSM2
|
Lowest Slot
|
82
|
SSM1
|
CMM debug commands – How to activate the log function:
- Log into the active CMM
- Run
/etc/summary can take several minutes - Run
cat /tmp/debug.log prints debug log with all basic information - Run
i2c_test tests the internal CMM I2C and prints all devices connected on the I2C - Run
cat /etc/shmm.cfg prints ShMM’s custom configuration - Run
clia fruinfo 20 x on the 61000: Where x is between 0 to 16on the 41000 Security System: Where x is between 0 to 9
- Run
clia fruinfo y 0 16 times where y is 10,12,82,84,86,88,8a,8c,8e,90,92,94,96,98,9a,9c - Close your terminal program.
/tmp/debug.log file will hold the debug information.
|
|