[openib-general] [PATCH] ib_sa_query tool

Ira Weiny weiny2 at llnl.gov
Thu Mar 2 15:23:01 PST 2006


Hal, Makia, Trent and I spoke at the workshop about ways to resolve IB nodes in
a cluster by name.  The included tool allows userspace to query the SA,
optionally by "name" or node description.  The main push for us here at LLNL was
to get the ability to do stuff like:

# odev7 /root > ibping `ib_sa_query -L odev3`
Pong from odev3.(none) (Lid 0x18): time 0.193 ms
Pong from odev3.(none) (Lid 0x18): time 0.110 ms

--- odev3.(none) (Lid 0x18) ibping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1809 ms
rtt min/avg/max = 0.110/0.151/0.193 ms

In essence use node names for the standard diag tools.  This uses the node
description field which can be set at start up by a script for each node.  We
realize this has some limitations but it seems useful here.

Ira

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ib_sa_query.patch
Type: application/octet-stream
Size: 16270 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060302/d50eecfc/attachment.obj>


More information about the general mailing list