[Openais] list of cluster members (physical nodes)
Steven Dake
sdake at redhat.com
Wed Mar 23 08:56:39 PDT 2011
On 03/23/2011 01:53 AM, Ramesh Random wrote:
> Hi,
> when a coroipcc client registers with a service engine/corosync
> how can it get the list of current cluster member (physical) nodes ??.
> after it registers with service engine..the service engine can listen
> for .confchg_fn callback to know which member has joined/left.
>
> i am using corosync version 1.2.7.
> i went through struct "corosync_api_v1" but couldn't find any api
> which gives this? alteast from their function names
>
> i went through these
>
> http://marc.info/?l=openais&m=126654597303120&w=2
> <http://marc.info/?l=openais&m=126654597303120&w=2>
>
> http://marc.info/?l=openais&m=126654387301209&w=2
> <http://marc.info/?l=openais&m=126654387301209&w=2>
>
>
>
> is modifying exec/main.c only option? are these fixes part of any
> particular corosync release??
>
>
>
> how can i use CLM/OPENAIS service to get these information, i guess i
> need to change compatibility from "none" ? so far i didnt need to use
> any OPENAIS services... how much overhead i will be introducing adding
> openais services onto corosync?
>
>
>
The membership information is in the confdb and available via callback
notifications.
Regards
-steve
> please suggest if there's any other way of knowing list of cluster
> members (physical nodes) active right now? even if its a commandline tool
>
>
>
>
>
> Thanks
>
>
>
>
>
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
More information about the Openais
mailing list