opareports(8)
π opareports β the IFSFFCLIRG era, bestie π
okay so this is the page for opareports(8), straight outta the IFSFFCLIRG man page set. buckle up, it's a long one, but it's SO worth it.
β¨ NAME β¨
opareports
(All) opareports is a front end to opareport that gives you many of the same options and capabilities. it can also run a report against multiple fabrics or subnets (like, local host HFI ports, hello π). and it can use an input file to augment the reports with extra details from the topology_input file. it's giving glow-up. π
π Syntax π
opareports [-t portsfile] [-p ports] [-T topology_input] [opareport
arguments]
π¦ Options π¦
--helpβ produces the full help text. bestie behaviour, honestly.-tportsfile β specifies the file with a list of local HFI ports used to access the fabric for analysis. default is the/etc/opa/portsfile.-pports β specifies the list of local HFI ports used to access the fabric for counter clear.
default is the first active port. the first HFI in the system is 1, and the first port on an HFI is 1. format is 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 β specifies the name of a topology input file to use. the filename may have%Pas a marker, which gets replaced with thehfi:portbeing operated on, like0:0or1:2. the default filename is specified byFF_TOPOLOGY_FILEas/etc/opa/topology.%P.xml. if you pass-T NONE, no topology input file is used at all. periodt.- opareport arguments β options are passed to
opareport.
specifies any of the other opareport arguments listed below (see opareport Options):
opareport [-v][-q] [-h hfi] [-p
port] [--timeout]
[-o report][-d detail] [-P|-H] [-N] [-x]
[-X snapshot_input][-T topology_input] [-s] [-r] [-V]
[-i seconds][-b date_time] [-e date_time] [-C] [-a]
[-m] [-M] [-A][-c file] [-L] [-F point] [-S point]
[-D point] [-Q]
NOTE: when usingopareportarguments, regard the following: - the-hand-Xoptions are not available. - the meaning of-pis different foropareportsthan foropareport. ikyk π - when run against multiple fabrics, the-xand-o snapshotoptions are not available. - when run against multiple fabrics, the-Foption is applied to all fabrics.
πΈ Examples πΈ
opareports
opareports -p '1:1 2:1'
π 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 containingtopology_input(may have a%Pmarker in the filename), used in absence of-T.
π opareport Options π
for reference, babes:
--helpβ produces the full help text.-v/--verboseβ returns verbose output.-q/--quietβ disables progress reports. silence, slay.-h/--hfihfi β specifies the HFI, numbered1..n. using0specifies that the-pport port is a system-wide port number. default is0.-p/--portport β specifies the port, numbered1..n. using0specifies the first active port. default is0.--timeoutβ specifies the timeout (wait time for response) in ms. default is1000 ms.-o/--outputreport β specifies the report type for output. refer to opareport Report Types for the deets.-d/--detaillevel β specifies the level of detail0-nfor output. default is2.-P/--persistβ only includes data persistent across reboots.-H/--hardβ only includes permanent hardware data.-N/--nonameβ omits node and IOC names.-x/--xmlβ produces output in XML.-X/--infilesnapshot_input β generates a report using the data in the snapshot_input file. snapshot_input must have been generated during a previous-o snapshotrun. when used, the-s,-i,-C, and-aoptions are ignored.-may be used as the snapshot_input to specify stdin.-T/--topologytopology_input β uses the topology_input file to augment and verify fabric information. when used, various reports can be augmented with info that just isn't available electronically (cable labels, hello π ).-may be used to specify stdin.-s/--statsβ gets performance statistics for all ports.-i/--intervalseconds β obtains performance statistics over interval seconds. clears all statistics, waits interval seconds, then generates the report. implies-soption.-b/--begindate_time β obtains performance stats beginning at date_time. implies-soption.- if
-b/--beginand-e/--endare specified, the performance stats are provided over the specified interval. - if only
-b/--beginis specified, the absolute value of the performance stats at the specified time is provided.
- if
date_time may be a time entered as HH:MM[:SS] or a date as mm/dd/YYYY, dd.mm.YYYY, YYYY-mm-dd, or a date followed by time; for example, "2016-07-04 14:40". relative times are taken as "x [second|minute|hour|day](s) ago.
-e/--enddate_time β obtains performance stats ending at date_time. implies-soption.- if
-b/--beginand-e/--endare specified, the performance stats are provided over the specified interval. - if only
-e/--endis specified, the absolute value of the performance stats at the specified time is provided.
- if
date_time may be a time entered as HH:MM[:SS] or a date as mm/dd/YYYY, dd.mm.YYYY, YYYY-mm-dd, or a date followed by time; for example, "2016-07-04 14:40". relative times are taken as "x [second|minute|hour|day](s) ago.
-C/--clearβ clears performance statistics for all ports. only statistics with error thresholds are cleared. a clear happens after generating the report.-a/--clearallβ clears all performance statistics for all ports.-m/--smadirectβ accesses fabric information directly from SMA.-M/--pmadirectβ accesses performance statistics using direct PMA.-A/--allportsβ gets PortInfo for down switch ports. uses direct SMA to get this data. if used with-M, also gets PMA stats for down switch ports.-c/--configfile β specifies the error thresholds configuration file. default is the/etc/opa/opamon.conffile.-L/--limitβ limits operation to the exact specified focus with-Ffor port error counters check (-o errors) and port counters clear (-Cor-i). normally, the neighbor of each selected port is also checked/cleared. does not affect other reports.-F/--focuspoint β specifies the focus area for the report.
limits output to reflect a subsection of the fabric. may not work with all reports. (for example, route, mcgroups, and the verify* reports may ignore the option or not generate useful results. π)
-S/--srcpoint β specifies the source for trace route. default is local port.-D/--destpoint β specifies the destination for trace route.-Q/--quietfocusβ excludes focus description from the report.
π§ opareport Snapshot-Specific Options π§
for reference, again:
-r/--routesβ gets routing tables for all switches.-V/--vltablesβ gets the P-Key tables for all nodes and the QoS VL-related tables for all ports.
π opareports Report Types π
okay so this is the master list of every report you can ask for, and honestly? it's giving β¨menu of dreamsβ¨. here's the whole thing, no gatekeeping:
compsβ a summary of every single system and SM chillin' in the fabric. the whole squad, accounted for πbrcompsβ same vibe ascompsbut brief. the tl;dr version, for when you're in a rush πnodesβ summary of all the node types and SMs in the fabric.brnodesβ the brief version ofnodes. short and sweet, periodt.iousβ summary of all the IO units in the fabric π¦lidsβ summary of all the LIDs in the fabric.linkinfoβ summary of all the links with LIDs in the fabric. the links, but make it identifiable πlinksβ summary of all links.extlinksβ summary of links that live external to systems.filinksβ summary of links to FIs.islinksβ summary of inter-switch links (ISLs, bestie, the switch-to-switch besties).extislinksβ summary of inter-switch links external to systems.slowlinksβ summary of links running slower than expected π (we've all been there)slowconfiglinksβ summary of links configured to run slower than supported β and yes, it includesslowlinks.slowconnlinksβ summary of links connected with mismatched speed potential β and this one includesslowconfiglinks.misconfiglinksβ summary of links configured to run slower than supported.misconnlinksβ summary of links connected with mismatched speed potential.errorsβ summary of links whose errors exceed the counts in the configuration file π¨otherportsβ summary of ports that are not connected to the fabric. the wallflowers π₯Ίlinearβ summary of the linear forwarding data base (FDB) for each switch.mcastβ summary of the multicast FDB for each switch in the fabric.mcgroupsβ summary of multicast groups.
when you pair it with -d, you unlock extra levels of detail:
-d0: Shows the number of multicast groups-d1: Shows a list of multicast groups-d2: Shows a list of members per multicast group
This report can be used with option -X.
portusageβ summary of ports referenced in linear FDB for each switch, broken down by NodeType of DLID.pathusageβ summary of the number of FI to FI paths routed through each switch port.treepathusageβ analysis of the number of FI to FI paths routed through each switch port for a FAT tree π³portgroupsβ summary of adaptive routing port groups for each switch.quarantinednodesβ summary of quarantined nodes π¦ (they're in timeout, fr)validateroutesβ validates all routes in the fabric.validatevlroutesβ validates all routes in the fabric using SLSC, SCSC, and SCVL tables.validatepgsβ validates all port groups in the fabric.validatecreditloopsβ validates topology configuration of the fabric to identify any existing credit loops πvalidatevlcreditloopsβ validates topology configuration of the fabric including SLSC, SCSC, and SCVL tables to identify any existing credit loops.validatemcroutesβ validates multicast routes of the fabric to identify loops in multicast forwarding tables and detect MFT-multicast membership inconsistencies.vfinfoβ summary of virtual fabric (vFabric) information.vfmemberβ summary of vFabric membership information.dgmemberβ summary of DeviceGroup membership information.verifyfisβ compares fabric (or snapshot) FIs to supplied topology and identifies differences and omissions.verifyswsβ compares fabric (or snapshot) switches to supplied topology and identifies differences and omissions.verifynodesβ returnsverifyfisandverifyswsreports. two for one, we love a bundle π«Άverifysmsβ compares fabric (or snapshot) SMs to supplied topology and identifies differences and omissions.verifylinksβ compares fabric (or snapshot) links to supplied topology and identifies differences and omissions.verifyextlinksβ compares fabric (or snapshot) links to supplied topology and identifies differences and omissions. Limits analysis to links external to systems.verifyfilinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to links to FIs.verifyislinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to inter-switch links.verifyextislinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to inter-switch links external to systems.verifyallβ returnsverifyfis,verifysws,verifysms, andverifylinksreports. the full verification bundle πallβ returnscomps,nodes,ious,links,extlinks,slowconnlinks, anderrorsreports. everything, all at once, main character energy πrouteβ traces route between-Sand-Dpoints.bfrctrlβ reports Buffer Control Tables for all ports.snapshotβ outputs snapshot of the fabric state for later use assnapshot_input. This implies-x. May not be combined with other reports. When selected,-F,-P,-H, and-Noptions are ignored.
ngl bestie, that "may not be combined with other reports" is not a suggestion. it's the rules. don't fight it π
topologyβ outputs the topology of the fabric for later use astopology_input. This implies-x. May not be combined with other reports. Use with detail level 3 or more to get Port element under Node in output xml.noneβ no report, useful to clear statistics. yes, the "do nothing" option. iconic honestly π
π¦ opareport Point Syntax π¦
and now, the β¨point syntaxβ¨ β this is how you point at exactly which thing in the fabric you're talking about. bestie, this is your address book for ports and nodes:
gid:valueβ value is numeric port GID of form:subnet:guid.lid:valueβ value is numeric LID.lid:value:nodeβ value is numeric LID, selects entire node with given LID.lid:value:port:value2β value is numeric LID of node, value2 is port number.portguid:valueβ value is numeric port GUID.nodeguid:valueβ value is numeric node GUID.nodeguid:value1:port:value2β value1 is numeric node GUID, value2 is port number.iocguid:valueβ value is numeric IOC GUID.iocguid:value1:port:value2β value1 is numeric IOC GUID, value2 is port number.systemguid:valueβ value is numeric system image GUID.systemguid:value1:port:value2β value1 is the numeric system image GUID, value2 is port number.ioc:valueβ value is IOC Profile ID String (IOC Name).ioc:value1:port:value2β value1 is IOC Profile ID String (IOC Name), value2 is port number.iocpat:valueβ value is glob pattern for IOC Profile ID String (IOC Name).iocpat:value1:port:value2β value1 is glob pattern for IOC Profile ID String (IOC Name), value2 is port number.ioctype:valueβ value is IOC type (SRPorOTHER).ioctype:value1:port:value2β value1 is IOC type (SRPorOTHER); value2 is port number.node:valueβ value is node description (node name).node:value1:port:value2β value1 is node description (node name), value2 is port number.nodepat:valueβ value is glob pattern for node description (node name).nodepat:value1:port:value2β value1 is the glob pattern for the node description (node name), value2 is port number.nodedetpat:valueβ value is glob pattern for node details.nodedetpat:value1:port:value2β value1 is the glob pattern for the node details, value2 is port number.nodetype:valueβ value is node type (SWorFI).nodetype:value1:port:value2β value1 is node type (SWorFI), value2 is port number.rate:valueβ value is string for rate (25g,50g,75g,100g), omits switch mgmt port 0.portstate:valueβ value is a string for state (down,init,armed,active,notactive,initarmed).portphysstate:valueβ value is a string for PHYs state (polling,disabled,training,linkup,recovery,offline,test)mtucap:valueβ value is MTU size (2048,4096,8192,10240), omits switch mgmt port 0.labelpat:valueβ value is glob pattern for cable label.lengthpat:valueβ value is glob pattern for cable length.cabledetpat:valueβ value is glob pattern for cable details.cabinflenpat:valueβ value is glob pattern for cable info length.cabinfvendnamepat:valueβ value is glob pattern for cable info vendor name.cabinfvendpnpat:valueβ value is glob pattern for cable info vendor part number.cabinfvendrevpat:valueβ value is glob pattern for cable info vendor revision.cabinfvendsnpat:valueβ value is glob pattern for cable info vendor serial number.cabinftype:valueβ value is eitheroptical,passive_copper,active_copper, orunknown.linkdetpat:valueβ value is glob pattern for link details.portdetpat:valueβ value is glob pattern for port details.smβ Specifies the master subnet manager (SM). πsmdetpat:valueβ value is glob pattern for SM details.route:point1:point2β Specifies all ports along the routes between the two given points. π£οΈled:valueβ value is eitheronorofffor LED port beacon. π‘linkqual:valueβ Specifies the ports with a link quality equal to value.linkqualLE:valueβ Specifies the ports with a link quality less than or equal to value.linkqualGE:valueβ Specifies the ports with a link quality greater than or equal to value.nodepatfile:FILENAMEβ Specifies the name of file with the list of nodepats or node descriptions.nodepairpatfile:FILENAMEβ Specifies the name of file with the list of node pairs, separated by a colon.ldrβ Specifies the ports with a non-zero link down reason or neighbor link down reason.ldr:valueβ Specifies the ports with a link down reason or neighbor link down reason equal to value.
π¦ opareport Examples π¦
for reference, bestie β opareport can generate hundreds of different reports. HUNDREDS. the ones people actually generate all the time look like this π
opareport -o comps -d 3
opareport -o errors -o slowlinks
and then the node filter era begins π every single one of these is a real invocation, no cap:
opareport -o nodes -F portguid:0x00117500a000447b
opareport -o nodes -F nodeguid:0x001175009800447b:port:1
opareport -o nodes -F nodeguid:0x001175009800447b
opareport -o nodes -F 'node:duster hfi1_0'
opareport -o nodes -F 'node:duster hfi1_0:port:1'
opareport -o nodes -F 'nodepat:d*'
opareport -o nodes -F 'nodepat:d*:port:1'
opareport -o nodes -F 'nodedetpat:compute*'
opareport -o nodes -F 'nodedetpat:compute*:port:1'
opareport -o nodes -F nodetype:FI
opareport -o nodes -F nodetype:FI:port:1
opareport -o nodes -F lid:1
opareport -o nodes -F led:on
opareport -o nodes -F led:off
opareport -o nodes -F lid:1:node
opareport -o nodes -F lid:1:port:2
opareport -o nodes -F gid:0xfe80000000000000:0x00117500a000447b
opareport -o nodes -F systemguid:0x001175009800447b
opareport -o nodes -F systemguid:0x001175009800447b:port:1
opareport -o nodes -F iocguid:0x00117501300001e0
opareport -o nodes -F iocguid:0x00117501300001e0:port:2
opareport -o nodes -F 'ioc:Chassis 0x001175005000010C, Slot 2, IOC 1'
opareport -o nodes -F 'ioc:Chassis 0x001175005000010C, Slot 2, IOC
1:port:2'
opareport -o nodes -F 'iocpat:*Slot 2*'
opareport -o nodes -F 'iocpat:*Slot 2*:port:2'
opareport -o nodes -F ioctype:SRP
opareport -o nodes -F ioctype:SRP:port:2
now the cable-girlie corner π plus links, sm and route filters, and the pathusage duo:
opareport -o extlinks -F rate:100g
opareport -o extlinks -F portstate:armed
opareport -o extlinks -F portphysstate:linkup
opareport -o extlinks -F 'labelpat:S1345*'
opareport -o extlinks -F 'lengthpat:11m'
opareport -o extlinks -F 'cabledetpat:*hitachi*'
opareport -o extlinks -F 'linkdetpat:*core ISL*'
opareport -o extlinks -F 'portdetpat:*mgmt*'
opareport -o links -F mtucap:2048
opareport -o nodes -F sm
opareport -o nodes -F 'smdetpat:primary*'
opareport -o nodes -F 'route:node:duster hfi1_0:node:cuda hfi1_0'
opareport -o nodes -F 'route:node:duster hfi1_0:port:1:node:cuda
hfi1_0:port:2'
opareport -o treepathusage -F nodepairpatfile:FILENAME
opareport -o pathusage -F nodepatfile:FILENAME
and finally, the snapshot / export girlies πΈ (redirect that output, you deserve it):
opareport -s -o snapshot > file
opareport -o topology > topology.xml
opareport -o errors -X file
opareport -s --begin "2 days ago"
opareport -s --begin "12:30" --end "14:00"
opareport -o linkinfo -x > file
okay that was a LOT of options but every single one of them ate, periodt π
π Details π
ok so picture this: a simple fabric. the Intel(R) Omni-Path Fabric Suite FastFabric Toolset host is connected to a single fabric, one fabric, that's the whole situation. and by default? the first active port on the FastFabric Toolset host is what gets used to analyze the fabric. easy. iconic. no notes. β¨
but however π in more complex fabrics, the FastFabric Toolset host might be connected to more than one fabric or subnet. and in that case you can specify the ports or HFIs to use with one of these 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 in/etc/opa/opafastfabric.conf.
and if the specified port does not exist or is empty, the first active port on the local system is used instead. but heads up bestie π«Ά in more complex configurations, you must specify the exact ports to use for all fabrics to be analyzed.
same energy for the topology_input file πΊοΈ you can specify the one to be used with one of these 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.
and 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. sneaky but valid π
π that's the whole page, bestie!! this wasopareports(8)βCopyright(C) 2015-2019 Intel Corporationβ go forth and analyze your fabrics, you main character πβ¨π
π¦ 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