HP XC System Software Administration Guide Version 3.1

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.
19.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]
19.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.
19.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 health to the
network, either to a log file for generic usage or through a MySQL database (as is the case in HP XC
systems). In addition to logging errors in the QsNet database, the swmlogger daemon also logs all errors
to the /var/log/messages file. See the diagnostics section of the installation and operation guide for
your model of HP cluster platform for additional information on the generic use of swmlogger.
The MySQL database for qsnet is created automatically during the configuration phase of the HP XC
system installation and the swmlogger daemon is configured to run on the head node.
Use the qsdiagadm and the qsneterr utilities to report information from the qsnet database.
The qsdiagadm Utility
A useful function of the Quadrics qsdiagadm utility is to display a diagnostic history for the HP XC
system, as shown in the following example:
The qsdiagadm Utility 223