[Pacemaker] [RFC] Automatic nodelist synchronization between corosync and pacemaker

Andrew Beekhof andrew at beekhof.net
Tue Feb 26 09:10:52 CET 2013


On Mon, Feb 18, 2013 at 6:18 PM, Vladislav Bogdanov
<bubble at hoster-ok.com> wrote:
> Hi Andrew, all,
>
> I had an idea last night, that it may be worth implementing
> fully-dynamic cluster resize support in pacemaker,

We already support nodes being added on the fly.  As soon as they show
up in the membership we add them to the cib.
For node removal we do require crm_node --remove.

Is this not sufficient?

> utilizing
> possibilities CMAP and votequorum provide.
>
> Idea is to:
> * Do not add nodes from nodelist to CIB if their join-count in cmap is
> zero (but do not touch CIB nodes which exist in a nodelist and have zero
> join-count in cmap).
> * Install watches on a cmap nodelist.node and
> runtime.totem.pg.mrp.srp.members subtrees (cmap_track_add).
> * Add missing nodes to CIB as soon as they are both
> ** defined in a nodelist
> ** their join count becomes non-zero.
> * Remove nodes from CIB when they are removed from a nodelist.



More information about the Pacemaker mailing list