[ofa-general] RE: [Bug 465] IPoIB CM HA fails after several hours of failures
Hal Rosenstock
halr at voltaire.com
Wed Mar 28 14:44:22 PDT 2007
On Wed, 2007-03-28 at 15:12, Michael S. Tsirkin wrote:
> > > > Not true; ibportstate can do this.
> > >
> > > I found that, yes.
> > > However, to automate this fully I need to find the lid
> > > of the switch that is connected to specific HCA ports.
> >
> > So do you have the GUID or LID or the HCA port(s) in question ?
>
> Yes, that's easy to get.
>
> > > I expect ibnetdiscover can do this, but was unable to grok
> > > the output syntax.
> >
> > I'll explain once I have the answer to the above question.
Search for "H-<GUID in hex>", where GUID in hex is the node GUID, in the
output of ibnetdiscover. [1] to the right of it indicates it is port 1.
So for example,
Switch 24 "S-005442ba00003080" # "ISR9024 Voltaire" base port 0 lid 6 lmc 0
[22] "H-0008f10403961354"[1] # "MT23108 InfiniHost Mellanox Technologies" lid 4
It is listed under the switch it is attached to and in the right hand
side is the LID of the switch which in this case is 6.
-- Hal
> > > Is it documented somewhere?
> >
> > In the man page but this may not be sufficient for your purposes.
> >
> > > Alternatively, can linkinfo be queried with saquery?
> >
> > Not currently.
>
>
More information about the general
mailing list