[openib-general] ib_gid lookup

Hal Rosenstock halr at voltaire.com
Tue Jun 20 09:50:01 PDT 2006


Hi again Amit,

On Tue, 2006-06-20 at 12:27, amit byron wrote:
> > 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?

No (although the topology file does display this information).

>  are
> there any examples on how to setup the topology file? also, where can
> i find the mthca script that you mention above.

management/diags/scripts/set_mthca_nodedesc.sh

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

I don't know. James or maybe Arlin would be the ones to answer. You
could also look at the code to figure this out.

-- Hal

> thanks again,
> Amit
> 
> 
> 
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 





More information about the general mailing list