On 07/12/2010 02:16 AM, Sampathkumar, Kishore wrote:
> Hi,
>
> I was looking through the following in include/cpg.h:
>
> typedef enum {
>          CPG_REASON_JOIN = 1,
>          CPG_REASON_LEAVE = 2,
>          CPG_REASON_NODEDOWN = 3,
>          CPG_REASON_NODEUP = 4,
>          CPG_REASON_PROCDOWN = 5
> } cpg_reason_t;
>
> Through test code, I have been able to observe the first 3 types in the 
> corresponding configuration change notification messages. However, I have not 
> observed the last two (i.e., NODEUP and PROCDOWN). When do these get 
> triggered? Can someone list a sequence of operations that I can try to hit 
> these?
>

REASON_JOIN (app did cpg_join)
REASON_LEAVE (app did cpg_leave)
REASON_NODEDOWN (app that had cpg member left the membership, meaning 
the app is either failed or partitioned)
REASON_NODEUP (app that had cpg member joined the membership, meaning 
the node was partitioned with this cpg already registered)
REASON_PROCDOWN (the application failed or exited without calling cpg_leave)

Regards
-steve

> Thanks,
> - Kishore
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to