[openib-general] ib_gid lookup

amit byron amit_byron at yahoo.com
Tue Jun 20 09:27:50 PDT 2006


> Hal Rosenstock <halr <at> voltaire.com> writes:
>
> 
> Hi Amit,
> 
> On Mon, 2006-06-19 at 20:36, Amit Byron wrote:
> > hello,
> >   i'm trying to find whether i can do a lookup of ib_gid by either
> > node name or node's ip address. is this information available from
> > the subnet manager?
> 
> The SM doesn't know the node name but you might be able to do this by
> NodeDescription depending on how the subnet was setup (the
> NodeDescriptions would need to be made unique on each node; a script for
> this was supplied for mthca; there is also a current standards issue
> with the SM detecting that these had changed which is being worked on).
> If that were to be done, the SA could be queried by NodeDescription
> which would return a NodeRecord which would obtain the NodeInfo which
> includes the NodeGUID and PortGUID. Note it also returns the base LID as
> well.

hi Hal,
 thank you very much for your suggestions.

 do you mean to say setting up subnet through the topology file? are
there any examples on how to setup the topology file? also, where can
i find the mthca script that you mention above.

> 
> The SM does not know the IP addresses unless they are registered by DAPL
> (via ServiceRecords) but I'm not sure that is done anymore or whether
> DAPL runs in your environment.
> 

if i run DAPL in my environment will it work or this is already made
obsolete?

thanks again,
Amit








More information about the general mailing list