Scroll to navigation

opasaquery(1) IFSFFCLIRG (Man Page) opasaquery(1)

NAME

opasaquery

(All) Performs various queries of the subnet manager/subnet agent and provides detailed fabric information.

opareport and opareports from the Intel(R) Omni-Path Fabric Suite can provide a more powerful tool. In some cases, opasaquery is preferred, especially when dealing with virtual fabrics, service records, and multicast.

By default, opasaquery uses the first active port on the local system. However, if the node is connected to more than one fabric (for example, a subnet), the Intel(R) Omni-Path Host Fabric Interface (HFI) and port may be specified to select the fabric whose SA is to be queried.

Syntax

opasaquery [-v [-v] [-v]] [-I] [-h hfi|-b addr] [-p port] [--timeout]
[-x gid] [-E] [-T ssl_params] [-o type] [-l lid] [-t type] [-s guid]
[-n guid] [-g guid] [-k pkey] [-i vfIndex] [-S serviceId] [-L sl]
[-u gid] [-m gid] [-d nodeDescription] [-D dg_name] [-P 'guid guid']
[-G 'gid gid'] [-H mask]

Options

Produces full help text.

Returns verbose output. A second invocation activates openib debugging, a third invocation activates libibumad debugging.

Issues query in legacy InfiniBand* format.

Specifies the HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.

Specifies Out-of-Band address of node running the FE. Can be either hostname, IPv4, or IPv6 address. Default is "127.0.0.1".

Specifies the port.

  • In-band: numbered 1..n. Using 0 specifies first active port. Default is 0.
  • Out-of-band: Port FE is listening on. Default is 3245.

Specifies the timeout (wait time for response) in ms. Default is 1000 ms.

Specifies the source GID of the local GID (This is required for most Path and Trace Record Queries when Out-of-Band.)

Specifies the ESM FE.

Specifies the SSL/TLS parameters XML file. Default is /etc/opa/opamgt_tls.xml.

Output type for query. Default is node. See Output Types for details.

Query a specific LID.

Queries by node type. See Node Types for details.

Queries by system image GUID.

Queries by node GUID.

Queries by port GUID.

Queries a specific PKey.

Queries a specific vfindex.

Queries a specific service ID.

Queries by service level.

Queries by port GID. See GIDs for details.

Queries by multicast GID. See GIDs for details.

Queries by node name/description.

Queries by device group name/description

Queries by a pair of port GUIDs.

Queries by a pair of GIDs. See GIDs for details.

-h and -p options permit a variety of selections:

First active port in system (Default).

First active port in system.

First active port on HFI x.

First active port on HFI x.

Port y within system (no matter which ports are active).

HFI x, port y.

Node Types

Fabric Interface

Switch

GIDs

Specifies a 64-bit subnet and 64-bit interface ID in the form:

subnet:interface

NOTE: In the following example, the GID corresponds to a PortGID. In this case, the interface ID coincides with the lower 64-bits of the GUID of the card. The interface ID will be different if the GID is a MGID (that is, multicast GID). See opafm.xml for MGID examples.

0xfe80000000000000:0x00117500a0000380

Output Types

Default is node.

Specifies the classportinfo of the SA.

Lists the system image GUIDs.

Lists the node GUIDs.

Lists the port GUIDs.

Lists the LIDs.

Lists the node descriptions/names.

Lists the path records.

Lists the node records.

Lists the port info records.

Lists the SM info records.

Lists the switch info records.

Lists the link records.

Lists the SC to SC mapping table records.

Lists the SL to SC mapping table records.

Lists the SC to SL mapping table records.

Lists the SC to VLt table records.

Lists the SC to VLr table records.

Lists the SC to VLnt table records.

Lists the VL arbitration table records.

Lists the PKey table records.

Lists the service records.

Lists the multicast member records.

Lists the inform info records.

Lists the switch linear forwarding database (FDB) records.

Lists the switch multicast FDB records.

Lists the trace records.

Lists the vFabrics.

Lists the vFabrics in CSV format.

Lists the vFabrics in CSV format with enums.

Specifies the summary of fabric devices.

Lists the quarantined nodes.

Lists the Congestion Info Records.

Lists the Switch Congestion Settings.

Lists the Switch Port Congestion Settings.

Lists the HFI Congestion Settings.

Lists the HFI Congestion Control Settings.

Lists the buffer control tables.

Lists the Cable Info records.

Lists the AR Port Group records.

Lists the AR Port Group FWD records.

Lists the Device Group Names.

Lists the Device Group records.

Lists the Device Tree records.

Lists the switch cost records.

The vfinfocsv and vfinfocsv2 output formats are designed to make it easier to script vfinfo queries. One line is output per vFabric of the form:

name:index:pkey:sl:mtu:rate:optionflag::mcastSl

The only difference between these two formats is how the MTU and rate are output. vfinfocsv outputs MTU and rate in human/text readable format. vfinfocsv2 outputs MTU and rate as enumerations defined for the SMA protocol. The opagetvf command is based on this capability of opasaquery. For more information, see opagetvf

Example

opasaquery -o desc -t fi

Input Options vs. Output Permitted

The following list shows the input (assorted query by options) and outputs (-o) that are permitted.

-o output permitted systemguid, nodeguid, portguid, lid, desc, path, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, vfinfo, vfinfocsv, vfinfocsv2, scsc, slsc, scvlt, scnlmt, linfdb, classportinfo, fabricinfo, quarantine, conginfo, swcongset, swportcong, hficongset, hficongcon, bfrctl, cableinfo, portgroup, portgroupfdb, dglist, dgmember, dtree

-o output not permitted trace

-o output permitted systemguid, nodeguid, portguid, lid, desc, node, dglist, dgmember, dtree

-o output not permitted portinfo, sminfo, swinfo, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, trace, vfinfo, vfinfocsv, vfinfocsv2

-o output permitted systemguid, nodeguid, portguid, lid, desc, path, node, portinfo, swinfo, slvl, vlarb, pkey, mcmember, linfdb, mcfdb, dgmember, dtree

-o output not permitted sminfo, link, inform, service, trace, vfinfo, vfinfocsv, vfinfocsv2, dglist

-o output permitted mcmember, path, vfinfo, vfinfocsv, vfinfocsv2

-o output not permitted systemimageguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

vfindex

-o output permitted vfinfo, vfinfocsv, vfinfocsv2

-o output not permitted systemimageguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

-o output permitted systemguid, nodeguid, portguid, lid, desc, node

-o output not permitted portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, trace, vfinfo, vfinfocsv, vfinfocsv2, dglist, dgmember, dtree

-o output permitted systemguid, nodeguid, portguid, lid, desc, node

-o output not permitted portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, trace, vfinfo, vfinfocsv, vfinfocsv2, dglist, dgmember, dtree

-o output permitted systemguid, nodeguid, portguid, lid, desc, path, node, trace, dgmember

-o output not permitted portinfo, sminfo, swinfo, link, vlarb, pkey, linfdb, mcfdb, vfinfo, vfinfocsv, vfinfocsv2, dglist, dtree, service, mcmember, inform

-o output permitted path, service, mcmember, inform, trace

-o output not permitted systemguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, linfdb, mcfdb, vfinfo, vfinfocsv, vfinfocsv2, dglist, dgmember, dtree

-o output permitted mcmember, vfinfo, vfinfocsv, vfinfocsv2

-o output not permitted systemguid, nodeguid, portguid, lid, desc, path, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, inform, linfdb, mcfdb, trace, dglist, dgmember, dtree

-o output permitted systemguid, nodeguid, portguid, lid, desc, node, dgmember

-o output not permitted trace, dglist, dtree

-o output permitted dgmember

-o output not permitted systemguid, nodeguid, portguid, lid, desc, path, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, inform, linfdb, mcfdb, trace, dglist, dtree

-o output permitted path, trace

-o output not permitted systemguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

-o output permitted path, vfinfo, vfinfocsv, vfinfocsv2, service

-o output not permitted systemimageguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

-o output permitted path, vfinfo, vfinfocsv, vfinfocsv2

-o output not permitted systemimageguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

-o output permitted path, trace

-o output not permitted systemguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, dglist, dgmember, dtree

-o output permitted path

-o output not permitted systemguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, trace, dglist, dgmember, dtree

-o output permitted path

-o output not permitted systemguid, nodeguid, portguid, lid, desc, node, portinfo, sminfo, swinfo, link, vlarb, pkey, service, mcmember, inform, linfdb, mcfdb, trace, dglist, dgmember, dtree

Intel Corporation Copyright(C) 2015-2019