Intel MPCMM0001 Network Card User Manual


 
168 MPCMM0001 Chassis Management Module Software Technical Product Specification
CMM Scripting
18.4.3 CMMReadyTimeout Value
The CMMReadyTimeout value is a 16 bit unsigned value signifying the number of seconds in
which the CMM should become Ready after becoming Active. If the CMM takes longer than this
amount of time, a CMM Ready timed out event will be asserted. This is a health related event.
The CMMReadyTimeout value will be set and queryable from the CLI using the “CMM Status”
target and CMMReadyTimeout data item. By default the CMMReadyTimeout is set to 0, or no
timeout (infinite). A default timeout in CMM will be set to infinite timeout.
This value will be stored in the file /etc/cmm.cfg with the string “CMMReadyTimeout = n”, thus
made permanent and copied to the redundant CMM. When an infinite timeout is set, the
CMMReadyTimeout entry in CMM.CFG file is removed.
The new value will be applied to the next Ready/Not Read cycle. It will not affect the current ready
timeout scan. This is, the timeout value will be read when a “Not Ready” is triggered.
18.4.3.1 Setting the CMMReadyTimeout Value
The CMMReadyTimeout value can be set using the CLI command:
cmmset -l cmm -t “CMM Status” -d CMMReadyTimeout -v [Number of Seconds to
Timeout]
18.4.3.2 Retrieving the CMMReadyTimeout Value
The CMMReadyTimeout value can be retrieved using the CLI command:
cmmget -l cmm -t “CMM Status” -d CMMReadyTimeout
The output of the command will be in the form:
CMMReadyTimeout is NN seconds.
Where NN is the number of seconds the timeout value is set for.
Note: Triggering a user script off of CMMReadyTimeout may not occur in the amount of time reflected
in the CMMReadyTimeout value. There may be a gap between when the CMMReadyTimeout
occurs and the actual script runs.
18.4.4 CMM State Transition Model
The following diagram illustrates the state transitions for the CMM Status.