27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

I–Useful Programs and Files<br />

Summary and Descriptions of Useful Programs<br />

iba_opp_query<br />

This command retrieves path records from the Distributed SA and is somewhat<br />

similar to iba_saquery. It is intended for testing the Distributed SA<br />

(qlogic_sa) and for verifying connectivity between nodes in the fabric. For<br />

information on configuring and using the Distributed SA, refer to “<strong>QLogic</strong><br />

Distributed Subnet Administration” on page 3-13.<br />

iba_opp_query does not access the SM when doing queries, it only accesses<br />

the local Distributed SA database. For that reason, the kinds of queries that can<br />

be done are much more limited than with iba_saquery. In particular, it can only<br />

find paths that start on the machine where the command is run. (In other words,<br />

the source LID or source GID must be on the local node.) In addition, queries<br />

must supply either a source and destination LID, or a source and destination GID.<br />

They cannot be mixed. In addition, you will usually need to provide either a SID<br />

that was specified in Distributed SA configuration file, or a pkey that matches such<br />

a SID.<br />

Usage<br />

iba_opp_query [-v level] [-hca hca] [-p port] [-s LID] [-d<br />

LID] [-S GID] [-D GID] [-k pkey] [-i sid] [-H]<br />

Options<br />

-v/--verbose level — Debug level. Should be a number between 1<br />

and 7. Default is 5.<br />

-s/--slid LID — Source LID. Can be in decimal, hex (0x##) or octal<br />

(0##)<br />

-d/--dlid LID — Destination LID. Can be in decimal, hex (0x##) or octal<br />

(0##)<br />

-S/--sgid GID — Source GID. (Can be in GID<br />

("0x########:0x########") or inet6 format ("##:##:##:##:##:##:##:##"))<br />

-D/--dgid GID — Destination GID. (Can be in GID<br />

("0x########:0x########") or inet6 format ("##:##:##:##:##:##:##:##"))<br />

-k/--pkey pkey — Partition Key<br />

-i/--sid sid — Service ID<br />

-h/--hca hca — The <strong>Host</strong> Channel Adapter to use. (Defaults to the first<br />

<strong>Host</strong> Channel Adapter.) The <strong>Host</strong> Channel Adapter can be identified by<br />

name ("mthca0", “qib1”, et cetera) or by number (1, 2, 3, et cetera).<br />

-p/--port port — The port to use. (Defaults to the first port)<br />

-H/--help — Provides this help text.<br />

All arguments are optional, but ill-formed queries can be expected to fail. You<br />

must provide at least a pair of LIDs, or a pair of GIDs.<br />

I-4 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!