[Openais] Proposed change to default nodeid generation

Andrew Beekhof abeekhof at suse.de
Thu Aug 21 11:26:44 PDT 2008


On Aug 21, 2008, at 7:31 PM, Joel Becker wrote:

>
>>> 	So, first, Andrew, does pacemaker have a method for querying
>>> membership and nodeids?  Forget ocfs2_controld/dlm_controld.  I just
>>> write a random application, and I want it to use pacemaker.  Are  
>>> there
>>> functions for "what is my nodeid?" and "what nodeids exist in the
>>> cluster?"?  What do those functions look like?  I'm assuming they  
>>> work
>>> in the absence of cpg, so it isn't just cpg here.
>>
>> Right.  Pacemaker has such functions but they all use uint32_t.
>
> 	I guess my question was: do they use cpg to find out the
> information, or do they ask the corosync daemon?  I'm betting those
> functions don't use cpg, and thus wouldn't be fooled by a cpg hack.

correct



More information about the Openais mailing list