Skip to main content

Cornelis Technical Documentation

7.2.6. Subnet Manager Monitoring

This section provides information on the subnet manager monitoring and debug capabilities.

7.2.6.1. SM Logging and Debug

When nodes appear or disappear from the fabric, a message is logged. The SM Logging/Debug section defines how many messages are logged, and if additional SM sweep and SA query debug information is logged. The following is a sample of the SM Logging/Debug section of the Fabric Manager configuration file.

<!-- **************** SM Logging/Debug **************************** -->
<!-- When nodes appear or disappear from the fabric, a message is logged -->
<!-- This can set a threshold on how many such messages to output per -->
<!-- sweep.  Once NodeAppearanceMsgThreshold messages are logged in a -->
<!-- given sweep, the remainder are output at a lower log level (INFO) -->
<!-- Hence avoiding excessive log messages when significant -->
<!-- fabric changes occur.  0 means no limit. -->
<NodeAppearanceMsgThreshold>100</NodeAppearanceMsgThreshold>
<SmPerfDebug>0</SmPerfDebug> <!-- log additional SM sweep info -->
<SaPerfDebug>0</SaPerfDebug> <!-- log additional SA query info -->

The parameters in the following table control SM Logging.

Table 39. SM Logging and Debug Parameters

Parameter

Default Value

Description

NodeAppearanceMsgThreshold

100

This can set a threshold on how many log messages to output per sweep. Once NodeAppearanceMsgThreshold messages are logged in a given sweep, the remainder are output at a lower log level (INFO) therefore avoiding excessive log messages when significant fabric changes occur.

0 means no limit.

SmPerfDebug

0

If 1, then log additional SM sweep info.

SaPerfDebug

0

If 1, then log additional SA query info.

Log additional SA query info SM_0_sa_debug_perf:dec

  • <Debug>0</Debug> – #SM_0_debug:dec

  • <RmppDebug>0</RmppDebug> – #SM_0_sa_debug_rmpp:dec



7.2.6.2. SM Overrides of the Common.Shared Parameters

The Common.Shared parameters can be overridden in the SM using the parameters described in the following table.

Table 40. Additional SM Parameters

Parameter

Default Value

Description

Priority

0

0 to 15, higher wins.

ElevatedPriority

0 to 15, higher wins.

LogLevel

2

NOTE: Overrides the Common.Shared LogLevel Settings.

Sets log level option for SM:

  • 0 = disable the vast majority of logging output.

  • 1 = fatal, error, warn (syslog CRIT, ERR, WARN).

  • 2 = +notice, progress (syslog NOTICE, INFO).

  • 3 = +INFO (syslog DEBUG).

  • 4 = +VERBOSE and some packet data (syslog DEBUG).

  • 5 = +debug trace info (syslog DEBUG). This parameter is ignored for the Embedded Fabric Manager. Refer to the CN5000 Commands Guide for information on configuring chassis logging options.

LogFile

NOTE: Overrides Common.Shared settings.

Sets log output location for SM. By default (or if this parameter is empty) log output is accomplished using syslog. However, if a LogFile is specified, logging will be done to the given file. LogMode further controls logging.

SyslogFacility

Local6

NOTE: Overrides Common.Shared settings.

For the Host Fabric Manager, controls what syslog facility code is used for log messages. Allowed values are: auth, authpriv, cron, daemon, ftp, kern, local0-local7, lpr, mail, news, syslog, user, or uucp.

ConfigConsistencyCheckLevel

2

Controls the Configuration Consistency Check for SM. If specified for an individual instance of SM, overrides Shared settings. Checking can be completely disabled or can be set to take action by deactivating Standby SM if the configuration does not pass the consistency check criteria.

  • 0 = disable Configuration Consistency Checking

  • 1 = enable Configuration Consistency Checking without taking action (only log a message)

  • 2= enable Configuration Consistency Checking and take action (log message and move standby to inactive state)



7.2.6.3. LID

LID can be set for this SM as shown in the following table.

Note

If you change the default, and you are using multiple Fabric Managers in a fabric, it is recommended that you use the same SM LID setting on all Fabric Managers in the fabric.

Table 41. Additional SM LID Parameter

Parameter

Default Value

Description

LID

0

LID for this SM, 0=pick any available.

0 is recommended.