[ofa-general] ibnetdiscover

Bernd Schubert bs at q-leap.de
Wed Aug 8 10:20:08 PDT 2007


On Wednesday 08 August 2007 13:50:36 Hal Rosenstock wrote:
> > Sorry, but I have no idea how the output of smpquery should help me.
>
> I was asking for smpquery nodedesc rather than switchinfo but I can
> see from the ibnetdiscover output what the answer is. It is what I
> originally said: that the NodeDescriptions of both those switches are
> the same.

I see.


[...]

> > Unfortunately I have no idea. The system is not located near to us and
> > its rather difficult to ask our customer, since ibnetdiscover shows the
> > wrong switch names. I will try anyway later on this day.
>
> Names are not the only alternative. There are several ways to deal with
> this.

I have patched ibnetdiscover now. One can now create a file /etc/ib.id (e.g. 
by adding the value of /sys/class/infiniband/*/node_guid to it and 
ibnetdiscover will then also output the corresponding hostname (or whatever 
the admin wishes to assign to this id).

So the output will now read 

#
# Topology file: generated on Wed Aug  8 19:01:22 2007
#
# Max of 5 hops discovered
# Initiated from node 0002c90200401338 port 0002c90200401339

vendid=0x2c9
devid=0xb924
sysimgguid=0xb8cffff0024ef
switchguid=0xb8cffff0024ef
Switch  24 "S-000b8cffff0024ef"         # "MT47396 Infiniscale-III Mellanox Technologies (mts2400)" base port 0 lid 154 lmc
 0
[24]    "S-0002c9010befe970"[2]         # "MT47396 Infiniscale-III Mellanox Technologies (mts14400-1-master)" lid 138
[23]    "S-0002c9010befe970"[1]         # "MT47396 Infiniscale-III Mellanox Technologies (mts14400-1-master)" lid 138
[22]    "H-0002c902004013c0"[1]         # "MT23108 InfiniHost Mellanox Technologies (ha-beo-1)" lid 4


and an example ib.id file

mts2400  000b8cffff0024ef
mts14400-1-master 0002c9010befe970
mts14400-2-master 000b8cffff002456
mts-1   0002c9010befaae0
mts-2   0002c9010c7341f0

I will post the patch shortly (still need to add an optional different 
filename then /etc/ib.id). Anyway, do already wish to have something 
differently when you look on the new output?


Cheers,
Bernd


-- 
Bernd Schubert
Q-Leap Networks GmbH



More information about the general mailing list