HP XC System Software Administration Guide Version 3.1

Level3 of the qsnet2_dmatest tests the links between the QM502 card and the QM501 rear switch
cards through the midplane. If the QM502 cards are not installed, the test spawns across the nodes, then
waits for the timeout period and reports all the nodes as "failed to complete".
Example 1
The following example tests level1. All the nodes write their log files to the directory named level1,
which is a subdirectory of the global directory /hptc_cluster/adm/logs/diag/quadrics. The -r
0 option specifies that the test is run on rail 0; if there is only one Quadrics adapter in each node, then rail
0 is the only allowable option. The -clean option is specified so that the qsnet2_level_test utility
deletes the contents of the level1 directory to ensure that data from previous tests is removed. The -v
option ensures verbose output.
# qsnet2_level_test level1 -d \
/hptc_cluster/adm/logs/diag/quadrics -r 0 -clean -v
Example 2
The following example tests level3. Both nodes specified, n1 and n2, save their log files to the global
directory /hptc_cluster/adm/logs/diag/quadrics in the directory named level3. Running the
qsnet2_level_test diagnostic tool on only two nodes is useful because you can verify that a failing
route has been repaired without affecting the use of the rest of the system. The timeout value is 180 seconds
and is specified with the -t option; if a node does not complete within 180 seconds, the
qsnet2_level_test diagnostic tool indicates it is a broken link. Also, the corresponding processes are
terminated. As in the preceding example, the test is run on rail 0 with the -clean option, to remove data
from a previous test that can corrupt the test results.
# qsnet2_level_test level3 -d \
/hptc_cluster/adm/logs/diag/quadrics \
-N n1,n2 -r 0 -clean -v -t 180
Example 3
The following example displays the output of this diagnostic test, run on three nodes, when the timeout
expires.
# qsnet2_level_test level3 -d \
/hptc_cluster/adm/logs/diag/quadrics/ \
-c -N n1,n2,n3 -t 180
Starting Level 3 Test
Testing on: n1,n2,n3
Warning: timelimit expired
Killed
Test ran on: n1,n2,n3
Parsing output
level3: n1 - (NodeId = 4)
ERROR: Test incomplete
level3: n2 - (NodeId = 3)
ERROR: Test incomplete
level3: n3 - (NodeId = 2)
ERROR: Test incomplete
Parsing complete
Example 4
The following example parses the output files created from a previous run of this command. This example
specifies the log file directory created after unzipping and extracting the qsnet2_drain_test log file,
which is described in the next section.
# qsnet2_level_test level1 -d \
/var/log/diag/quadrics/qsnet2_drain_test/qsnet2_drain_test \
-parse
226 Using Diagnostic Tools