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 />

ibhosts<br />

ibstatus<br />

Examples:<br />

Query by LID and SID:<br />

iba_opp_query -s 0x31 -d 0x75 -i 0x107<br />

iba_opp_query --slid 0x31 --dlid 0x75 --sid 0x107<br />

Queries using octal or decimal numbers:<br />

iba_opp_query --slid 061 --dlid 0165 --sid 0407 (using octal<br />

numbers)<br />

iba_opp_query –slid 49 –dlid 113 –sid 263 (using decimal<br />

numbers)<br />

Note that these queries are the same as the first two, only the base of the<br />

numbers has changed.<br />

Query by LID and PKEY:<br />

iba_opp_query --slid 0x31 --dlid 0x75 –pkey 0x8002<br />

Query by GID:<br />

iba_opp_query -S fe80::11:7500:79:e416 -D<br />

fe80::11:7500:79:e54a --sid 0x107<br />

iba_opp_query -S 0xfe80000000000000:0x001175000079e416 -D<br />

0xfe80000000000000:0x001175000079e394 --sid 0x107<br />

As before, these queries are identical to the first two queries – they are just<br />

using the GIDs instead of the LIDs to specify the ports involved.<br />

This tool determines if all the hosts in your InfiniBand fabric are up and visible to<br />

the subnet manager and to each other. It is installed from the openib-diag<br />

RPM. Running ibhosts (as a root user) produces output similar to this when run<br />

from a node on the InfiniBand fabric:<br />

# ibhosts<br />

Ca : 0x0008f10001280000 ports 2 "Voltaire InfiniBand<br />

Fiber-Channel Router"<br />

Ca : 0x0011750000ff9869 ports 1 "idev-11"<br />

Ca : 0x0011750000ff9878 ports 1 "idev-05"<br />

Ca : 0x0011750000ff985c ports 1 "idev-06"<br />

Ca : 0x0011750000ff9873 ports 1 "idev-04"<br />

This program displays basic information on the status of InfiniBand devices that<br />

are currently in use when OpenFabrics RPMs are installed. It is installed from the<br />

openib-diag RPM.<br />

D000046-005 B I-7

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

Saved successfully!

Ooh no, something went wrong!