HP XC System Software Administration Guide Version 3.0
# 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
The qsnet2_drain_test Diagnostic Tool
This tool runs up to six tests for the Quadrics switches in an HP XC system:
• Runs the qsctrl utility to verify that the system interconnects are running within the proper environmental
parameters for operation.
• Runs qsnet2_level_test at level 1.
• Runs qsnet2_level_test at level 2.
• Runs qsnet2_level_test at level 3.
• Runs qsportmap on federated systems to test the link cable connectivity.
• Runs qsnet2_level_test at level 4 on federated systems.
156 Using Diagnostic Tools