Name
opareports — The front end to opareport that provides many of the same options and capabilities.
Syntax
opareports [-t portsfile] [-p ports] [-T topology_input] [opareport arguments]
Description
opareports can run a report against multiple fabrics or subnets (for example, local host SuperNIC ports). It can use an input file to augment the reports using additional details from the topology_input file.
Options
--helpProduces full help text.
-tportsfileSpecifies the file with the list of local SuperNIC ports used to access fabric for analysis. Default is
/etc/opa/portsfile.-pportsSpecifies the list of local SuperNIC ports used to access fabric(s) for analysis. Default is the first active port. Specified as
HFI:portas follows:Note
The first port on a SuperNIC is 1.
0:0First active port in the system.
0:yPort
within the system.yx:0First active port on SuperNIC
.xx:ySuperNIC
, portx.y
-Ttopology_inputSpecifies the name of a topology input file to use. The filename may have
%Pas a marker which is replaced with thehfi:portbeing operated on, such as 0:0 or 1:2. The default filename is specified byFF_TOPOLOGY_FILEas/etc/opa/topology.%P.xml. If-T NONEis specified, no topology input file is used.opareportargumentsOptions are passed to
opareport. Seefor the full set of options.Note
When using opareport arguments, regard the following:
The
-hand-Xoptions are not available.The meaning of
-pis different foropareportsthanopareport.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 1:2 2:1 2:2'
Environment Variables
The following environment variables are also used by this command:
PORTSList of ports, used in absence of
-tand-p.PORTS_FILEFile containing the list of ports, used in absence of
-tand-p.FF_TOPOLOGY_FILEFile containing
topology_input(may have %P marker in filename), used in absence of-T.
Details
For simple fabrics, the 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 SuperNICs 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 in/etc/opa/opafastfabric.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. Alternatively the filename can be specified as NONE to prevent the use of an input file.