Fan Control and Monitoring

16.11.2Structure of /etc/cmm/fantray.cfg

All default values will persist in the /etc/cmm/fantray.cfg file. These will be stored in key=value pairings. These are the formats of those entries in the /etc/cmm/fantray.cfg file.

Example 2. Sample /etc/cmm/fantray.cfg file

0157.870.minorlevel=76

0157.870.normallevel=72

0157.870.control=fantray

16.11.3Code Defaults

The code defaults are determined using a simple algorithm and values gathered by issuing the Get Fan Speed Properties command to the fan tray. Using the returned Maximum Speed Level, Minimum Speed Level and Normal Operating Level the Cooling Manager makes the following assignments. The code defaults are determined as follows:

Normallevel = Normal Operating Level

Criticallevel, majorlevel = Maximum Speed Level

Minorlevel = [(Maximum Speed Level – Normal Operating Level) / 2] + Minimum Speed Level

If there aren’t any user or vendor specified defaults configured then the Cooling Manager will put all fantrays into CMM Control Mode and it will use this algorithm to populate the cooling table.

16.11.4Restoring Defaults

Aside from using defaults during fantray insertion defaults can be used by the user to reset the cooling table. The user can use the command.

cmmset –l fantrayN -d restoredefaults –v true

N:The number of the fan tray being addressed.

This command will use the vendor defaults if possible, or the code default if not, to reset the cooling table. In addition to restoring the cooling table, all saved user defaults will be cleared.

The same command will reset the control mode. If there is a specified vendor control mode it will be used, if not the CMM Control Mode will be used to set the current control mode. The user specified default control mode will also be cleared.

16.12Firmware Upgrade/Downgrade

When a fan tray’s firmware is upgraded or downgraded the user who is changing the firmware should update the vendor defaults in the /etc/cmm/fantray.cfg file on both CMMs and then upgrade/downgrade the firmware. When the firmware is upgraded/downgraded the fan tray will go through its M-states and when it returns to the M4 state the Cooling Manager will re-read the /etc/ cmm/fantray.cfg file and determine the values to be used in the cooling table. If the new firmware on the fan tray has a different minimum cooling level or a different maximum cooling level the Cooling Manager can no longer trust the user defaults in the /etc/cmm/fantray.cfg file.

The Cooling Manager keeps track of a fan tray’s properties in the /etc/cmm/fantray.cfg file so that

138MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 138
Image 138
Intel MPCMM0001 manual Structure of /etc/cmm/fantray.cfg, Code Defaults, Restoring Defaults, Firmware Upgrade/Downgrade