opafabricanalysis(8)
π NAME π
opafabricanalysis β bestie, this is the "(All)" girlie that does a whole analysis of the fabric. Like, she looks at your Omni-Path fabric and tells you what's up π
β¨ Syntax β¨
opafabricanalysis [-b|-e] [-s] [-d dir] [-c file] [-t portsfile]
[-p ports] [-T topology_input]
π Options π
--helpβ drops the full help text, no cap. Ask and she answers π«Ά-bβ baseline mode, on. The default vibe is compare/check mode, jsyk.-eβ evaluates health only. Again, default is compare/check mode.-sβ saves the history of failures (errors/differences). She's keeping receipts π-ddir β the top-level directory where baselines and the history of failed checks get saved. Default is/var/usr/lib/opa/analysis.-cfile β the error thresholds config file. Default is/etc/opa/opamon.conf.-tportsfile β the file holding the list of local HFI ports used to access fabric(s) for analysis. Default is/etc/opa/ports.-pports β the list of local HFI ports used to access fabrics for analysis.
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:
0:0β first active port in system.0:yβ port y within system.x:0β first active port on HFI x.x:yβ HFI x, port y.
-Ttopology_input β the name of the topology input file to use. Any%Pmarkers in this filename are replaced with theHFI:portbeing operated on (such as0:0or1:2). Default is/etc/opa/topology.%P.xml. If-T NONEis specified, no topology input file is used. Peep Details andopareportfor more info.
πΈ Example πΈ
opafabricanalysis
opafabricanalysis -p '1:1 1:2 2:1 2:2'
The fabric analysis tool checks the following:
- Fabric links (both internal to switch chassis and external cables)
- Fabric components (nodes, links, SMs, systems, and their SMA configuration)
- Fabric PMA error counters and link speed mismatches
NOTE: The comparison includes components on the fabric. Therefore, operations such as shutting down a server cause the server to no longer appear on the fabric and are flagged as a fabric change or failure by opafabricanalysis. π She will notice.
π¦ Environment Variables π¦
The following environment variables are also used by this command:
PORTSβ list of ports, used in absence of-tand-p.PORTS_FILEβ file containing list of ports, used in absence of-tand-p.FF_TOPOLOGY_FILEβ file containing topology_input (may have a%Pmarker in the filename), used in absence of-T.FF_ANALYSIS_DIRβ top-level directory for baselines and failed health checks.
π Details π
For simple fabrics, the Intel(R) Omni-Path Fabric Suite FastFabric Toolset host is connected to a single fabric. By default, the first active port on the FastFabric Toolset host is used to analyze the fabric. However, in more complex fabrics, the FastFabric Toolset host may be connected to more than one fabric or subnet. In this case, you can specify the ports or HFIs to use with one of the following methods:
- On the command line using the
-poption. - In a file specified using the
-toption. - Through the environment variables
PORTSorPORTS_FILE. - Using the
PORTS_FILEconfiguration option inopafastfabric.conf.
If the specified port does not exist or is empty, the first active port on the local system is used. In more complex configurations, you must specify the exact ports to use for all fabrics to be analyzed.
You can specify the topology_input file to be used with one of the following methods:
- On the command line using the
-Toption. - In a file specified through the environment variable
FF_TOPOLOGY_FILE. - Using the
ff_topology_fileconfiguration option inopafastfabric.conf.
If the specified file does not exist, no topology_input file is used. Alternately the filename can be specified as NONE to prevent use of an input file.
For more information on topology_input, refer to opareport.
By default, the error analysis includes PMA counters and slow links (that is, links running below enabled speeds). You can change this using the FF_FABRIC_HEALTH configuration parameter in opafastfabric.conf. This parameter specifies the opareport options and reports to be used for the health analysis. It also can specify the PMA counter clearing behavior (-I seconds, -C, or none at all).
When a topology_input file is used, it can also be useful to extend FF_FABRIC_HEALTH to include fabric topology verification options such as -o verifylinks.
The thresholds for PMA counter analysis default to /etc/opa/opamon.conf. However, you can specify an alternate configuration file for thresholds using the -c option. The opamon.si.conf file can also be used to check for any non-zero values for signal integrity (SI) counters.
All files generated by opafabricanalysis start with fabric in their file name. This is followed by the port selection option identifying the port used for the analysis. Default is 0:0.
The opafabricanalysis tool generates files such as the following within FF_ANALYSIS_DIR:
π©Ί Health Check π©Ί
latest/fabric.0:0.errorsβ stdout ofopareportfor errors encountered during fabric error analysis.latest/fabric.0.0.errors.stderrβ stderr ofopareportduring fabric error analysis.
πΈ Baseline πΈ
During a baseline run, the following files are also created in FF_ANALYSIS_DIR/latest.
baseline/fabric.0:0.snapshot.xmlβopareportsnapshot of complete fabric components and SMA configuration.baseline/fabric.0:0.compsβopareportsummary of fabric components and basic SMA configuration.baseline/fabric.0.0.linksβopareportsummary of internal and external links.
π Full Analysis π
latest/fabric.0:0.snapshot.xmlβopareportsnapshot of complete fabric components and SMA configuration.latest/fabric.0:0.snapshot.stderrβ stderr ofopareportduring snapshot.latest/fabric.0:0.errorsβ stdout ofopareportfor errors encountered during fabric error analysis.latest/fabric.0.0.errors.stderrβ stderr ofopareportduring fabric error analysis.latest/fabric.0:0.compsβ stdout ofopareportfor fabric components and SMA configuration.latest/fabric.0:0.comps.stderrβ stderr ofopareportfor fabric components.latest/fabric.0:0.comps.diffβ diff of baseline and latest fabric components.latest/fabric.0:0.linksβ stdout ofopareportsummary of internal and external links.latest/fabric.0:0.links.stderrβ stderr ofopareportsummary of internal and external links.latest/fabric.0:0.links.diffβ diff of baseline and latest fabric internal and external links.latest/fabric.0:0.links.changes.stderrβ stderr ofopareportcomparison of links.latest/fabric.0:0.links.changesβopareportcomparison of links against baseline. This is typically easier to read than thelinks.difffile and contains the same information.latest/fabric.0:0.comps.changes.stderrβ stderr ofopareportcomparison of components.latest/fabric.0:0.comps.changesβopareportcomparison of components against baseline. This is typically easier to read than thecomps.difffile and contains the same information.
The .diff and .changes files are only created if differences are detected.
If the -s option is used and failures are detected, files related to the checks that failed are also copied to the time-stamped directory name under FF_ANALYSIS_DIR.
π Fabric Items Checked Against the Baseline π
Based on opareport -o links:
- Unconnected/down/missing cables
- Added/moved cables
- Changes in link width and speed
- Changes to Node GUIDs in fabric (replacement of HFI or Switch hardware)
- Adding/Removing Nodes [FI, Virtual FIs, Virtual Switches, Physical Switches, Physical Switch internal switching cards (leaf/spine)]
- Changes to server or switch names
Based on opareport -o comps:
- Overlap with items from links report
- Changes in port MTU, LMC, number of VLs
- Changes in port speed/width enabled or supported
- Changes in HFI or switch device IDs/revisions/VendorID (for example, ASIC hardware changes)
- Changes in port Capability mask (which features/agents run on port/server)
- Changes to ErrorLimits and PKey enforcement per port
- Changes to IOUs/IOCs/IOC Services provided
Location (port, node) and number of SMs in fabric. Includes:
- Primary and backups
- Configured priority for SM
π Fabric Items Also Checked During Health Check π
Based on opareport -s -C -o errors -o slowlinks:
- PMA error counters on all Intel(R) Omni-Path Fabric ports (HFI, switch external and switch internal) checked against configurable thresholds.
- Counters are cleared each time a health check is run. Each health check reflects a counter delta since last health check.
- Typically identifies potential fabric errors, such as symbol errors.
- May also identify transient congestion, depending on the counters that are monitored.
- Link active speed/width as compared to Enabled speed.
- Identifies links whose active speed/width is < min (enabled speed/width on each side of link).
- This typically reflects bad cables or bad ports or poor connections.
- Side effect is the verification of SA health.
okay that's the whole page, bestie π«Ά this one's from the IFSFFCLIRG (Man Page) set, and the copyright situation is Copyright(C) 2015-2019 Intel Corporation β so when you cite her, cite her right, periodt π β¨
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-fastfabric 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-fastfabric 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-fastfabric 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-fastfabric 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-fastfabric 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-fastfabric 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-fastfabric 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms