HP XC System Software Administration Guide Version 3.2

The gm_prodmode_mon diagnostic tool searches /etc/hosts for entries whose name matches
the regular expression “MR0[NT][09][09]”.
This command uses the links -dump command to obtain the current values and parses the
output. The gm_prodmode_mon diagnostic tool generates an alert if any errors are found. All
alerts are logged in the /var/log/messages file.
The format of this command is:
gm_prodmode_mon-[-help]-[-verbose]-[-d directory-name]
The output from the gm_prodmode_mon is logged to
/var/log/diag/myrinet/gm_prodmode_mon/links.log by default, but you can specify
another directory with the -d option. Output is displayed to the stdout to show the progress
of the diagnostic test.
This command is configured to run once each hour by a crontab file in the /etc/cron.hourly
directory.
20.4.1.2 The gm_drain_test Diagnostic Tool
This diagnostic tool runs five tests for the Myricom® switches in an HP XC system. You must
launch it from the head node and run it only during allocated preventive maintenance.
The five tests are as follows:
gm_prodmode_mon
Examines environmental operating parameters.
gm_allsize
Tests network links.
gm_debug
Tests PCI bandwidth.
gm_board_info
Tests host detection.
gm_stress
Exercises the network; it might potentially detect workload problems.
If the mute files exist, they are also gathered.
Note:
Run this test from the head node and only at a time when it will not interfere with productivity.
The output from the gm_drain_test, as well as output from the individual tests, is gathered
in a tar file, which is compressed with the gzip utility. You can use the -d option to specify
the directory where this file will be located; if you do not specify a directory, it is placed in
/var/log/diag/myrinet/gm_drain_test/ by default.
This command has the following format:
gm_drain_test-[-help]-[-d directory-name]
20.4.2 Using Diagnostic Tools for the Quadrics System Interconnect
This section describes tools that were developed specifically for diagnosing the Quadrics system
interconnect (from Quadrics, Ltd.) on the HP XC system. In addition, these tools include the
swmlogger daemon, provided by Quadrics, which can be configured to log errors to a database
along with tools to access the information in this database. See your system's hardware installation
and operation guide for information about vendor-specific diagnostic tools.
20.4.2.1 The swmlogger Daemon
The swmlogger daemon is a Quadrics system interconnect tool that monitors the state of each
switch. It updates the database for changes in the status of fans, power supplies, temperature,
and link errors. It also handles alerts from the monitoring daemons on each node that generate
messages.
The swmlogger daemon provides a service to enable switch management daemons (swmserver)
running on embedded QNX modules in QsNet
II
® network switches to log messages about switch
20.4 Using the System Interconnect Diagnostic Tools 239