[ofa-general] opensm master determination
Nicolas Morey Chaisemartin
nicolas.morey-chaisemartin at ext.bull.net
Thu Jan 15 23:09:53 PST 2009
For the same priority level, the lowest GUID take control:
in osm_sminfo_rcv.c:
/**********************************************************************
Return TRUE if the remote sm given (by ib_sm_info_t) is higher,
return FALSE otherwise.
By higher - we mean: SM with higher priority or with same priority
and lower GUID.
**********************************************************************/
static inline boolean_t
__osm_sminfo_rcv_remote_sm_is_higher(IN osm_sm_t * sm,
IN const ib_sm_info_t * p_remote_smi)
Chevalier, David (GE Healthcare) wrote:
> Hi -
> What is the algorithm that opensm uses to determine who is master among
> multiple opensm's?
>
> My scenario is that I have 2 nodes, each is running opensmd.
> In some test hardware, node A is always the master no matter which one
> starts opensmd first.
> In other test hardware, node B is always the master, again regardless of
> opensmd start order.
>
> I'm running OFED 1.3 with mthca driver on MT25208 based HCA.
>
> Thanks,
> Dave
>
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>
>
More information about the general
mailing list