Intel MPCMM0001 Network Card User Manual


 
MPCMM0001 Chassis Management Module Software Technical Product Specification 167
CMM Scripting
The Running bit is used to be sure the Active/Standby election has taken place and the remaining
status bits are valid. All bits are initialized to 0 on CMM startup and bRUNNING is set to 1 by the
election process.
When the active election has taken place, the CMM will transition to active or to standby mode.
These will set or clear bACTIVE and log either CMM_Active or CMM_Standby in the SEL. The
SEL events will trigger the SNMP traps and launch any attached EventAction scripts.
bENUMERATION will be set either by the initial powerup scan of the FRUs, or by a Re-
Enumeration. The firmware will start checking the startup of the WrapperProcesses; bWRAPPERS
is set when the WPs are up. Once they are up, the SNMPD is watched for its report on the tables
being filled out, and bSNMP will then be set. If a timeout value has been set and this process takes
longer then that timeout, bTIMEOUT will be set; it is cleared again once all the others are set and
the CMM is fully ready.
These bits, except for bRUNNING, will be cleared when CMM goes to standby.
18.4.2 Retrieving the Value of the Data Sensor Bits
To retrieve the state of the CMM status sensor bits, the following CLI command is used:
cmmget –l cmm –t “cmm status” –d current
Output of the CLI command is in the form:
The current value is 0xNNNN
CMM is [Active/Standby]
CMM enumeration is completed
CMM is [Read/Not Ready, waiting for bladeY]
Where:
NNNN: Is the hex representation of the CMM status sensor bits.
Y: The number of the blade whose wrapper process has not started.
These strings will be driven directly by the value of the identified status bits in the sensor. In
addition, when in the Not Ready state, information about which blades are not yet running will also
be printed. As with other CMM sensor data, this item is queryable in the Standby CMM.
Table 79. CMM Status Sensor Data Bits
Bit Bit Name Explanation
0 RUNNING
Set when the Active/Standby election has taken place, and reset at a
restart of the CMM.
1 ACTIVE Set when CMM is Active
2 bENUMERATION Set when the initial blade discovery is finished
3 WRAPPERS Set when the WrapperProcesses are running
4 SNMP Set when SNMP daemon’s tables are initially populated
14 TIMEOUT Set when CMM exceeds a timeout waiting to become ready