(Switch) Encapsulates the capabilities for link analysis. Additionally, this tool includes cable and fabric topology verification capabilities. This tool is built on top of opareport (and its analysis capabilities), and accepts the same syntax for input topology and snapshot files.
In addition to being able to run assorted opareport link analysis reports, and generate human-readable output, this tool additionally analyzes the results and appends a concise summary of issues found to the FF_RESULT_DIR/punchlist.csv file.
opalinkanalysis [-U] [-t portsfile] [-p ports] [-T topology_input] [-X snapshot_input] [-x snapshot_suffix] [-c file] reports ...
or
opalinkanalysis --help
Produces full help text.
Omits unexpected devices and links in punchlist file from verify reports.
File with list of local HFI ports used to access fabric(s) for analysis, default is /etc/sysconfig/opa/ports.
List of local HFI ports used to access fabric(s) for analysis. The default is the first active port. The first HFI in the system is 1. The first port on an HFI is 1.
Uses the format hfi:port, for example:
First active port in system.
Port y within system.
First active port on HFI x.
HFI x, port y.
Name of a topology input file to use. Any %P markers in this filename are replaced with the hfi:port being operated on (such as 0:0 or 1:2). Default is /etc/sysconfig/opa/topology.%P.xml. If NONE is specified, does not use any topology_input files. See opareport for more information on topology_input files.
Performs analysis using data in snapshot_input. snapshot_input must have been generated via a previous opareport -o snapshot run. If an errors report is specified, snapshot must have been generated with the opareport -s option. When this option is used, only one port may be specified to select a topology_input file (unless -T specified). When this option is used, clearerrors and clearhwerrors reports are not permitted.
Creates a snapshot file per selected port. The files are created in FF_RESULT_DIR with names of the form: snapshotSUFFIX.HFI:PORT.xml.
Error thresholds configuration file. The default is /etc/sysconfig/opa/opamon.si.conf.
Link error analysis.
Links running slower than expected.
Links configured to run slower than supported.
Links connected with mismatched speed potential.
Includes all reports above. (errors, slowlinks, misconfiglinks, and misconnlinks)
Verifies links against topology input.
Verifies links against topology input. Limit analysis to links external to systems.
Verifies FIs against topology input.
Verifies routers against topology input.
Verifies FIs, switches, and routers against topology input.
Verifies SMs against topology input.
Verifies links, FIs, switches, routers, and SMs against topology input.
Clears error counters, uses PM if available.
Clears hardware error counters, bypasses PM.
Includes clearerrors and clearhwerrors.
A punchlist of bad links is also appended to the file: FF_RESULT_DIR/punchlist.csv