[Pacemaker] Pacemaker restart resources when node joins cluster after failback

Arnold Krille arnold at arnoldarts.de
Mon Mar 5 16:53:48 EST 2012


Hi,

On Monday 05 March 2012 12:58:16 José Alonso wrote:
> I have 2 Debian nodes with heartbeat and pacemaker 1.1.6 installed, and
> almost everything is working fine, I have only apache configured for
> testing, when a node goes down the failover is done correctly, but there's
> a problem when a node failbacks.
> 
> For example, let's say that Node1 has the lead on apache resource, then I
> reboot Node1, so Pacemaker detect it goes down, then apache is promoted to
> the Node2 and it keeps there running fine, that's fine, but when Node1
> recovers and joins the cluster again, apache is restarted on Node2 again.
> 
> Anyone knows, why resources are restarted when a node rejoins a cluster ?

Just a quick guess: Your node1 is starting apache from the init-process, 
pacemaker detects that. Since running two instances is not what pacemaker 
wants, it stops all of them and restarts the one it wants to see up.

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120305/59552cdc/attachment-0003.sig>


More information about the Pacemaker mailing list