Hi all,<div><br></div><div>I removed apache from the init-process but still having the same behavior. When a node rejoins the cluster, all resources are restarted again. Is there any way to avoid that??</div><div><br></div>
<div>Best regards,</div><div><br></div><div>Jose<br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 2:53 PM, Arnold Krille <span dir="ltr"><<a href="mailto:arnold@arnoldarts.de">arnold@arnoldarts.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On Monday 05 March 2012 12:58:16 José Alonso wrote:<br>
> I have 2 Debian nodes with heartbeat and pacemaker 1.1.6 installed, and<br>
> almost everything is working fine, I have only apache configured for<br>
> testing, when a node goes down the failover is done correctly, but there's<br>
> a problem when a node failbacks.<br>
><br>
> For example, let's say that Node1 has the lead on apache resource, then I<br>> reboot Node1, so Pacemaker detect it goes down, then apache is promoted to<br>
> the Node2 and it keeps there running fine, that's fine, but when Node1<br>
> recovers and joins the cluster again, apache is restarted on Node2 again.<br>
><br>
> Anyone knows, why resources are restarted when a node rejoins a cluster ?<br>
<br>
</div>Just a quick guess: Your node1 is starting apache from the init-process,<br>
pacemaker detects that. Since running two instances is not what pacemaker<br>
wants, it stops all of them and restarts the one it wants to see up.<br>
<br>
Have fun,<br>
<br>
Arnold<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>