<br><a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html</a><br>
<br><br><div class="gmail_quote">On Sat, Feb 18, 2012 at 3:21 PM, Sébastien ROHAUT <span dir="ltr"><<a href="mailto:sebastien.rohaut@free.fr">sebastien.rohaut@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
I have a very basic pacemaker conf, with two resources (ipaddr2 and apache) in the same group.<br>
<br>
If I kill my httpd process, the cluster respawn it on the same node :<br>
<br>
Feb 18 23:06:15 node1 pengine: [1173]: notice: common_apply_stickiness: apacheServer can fail 999999 more times on node2 before being forced off<br>
...<br>
Feb 18 23:06:16 node1 crmd: [1174]: info: match_graph_event: Action apacheServer_start_0 (10) confirmed on node2 (rc=0)<br>
<br>
Is it possible to make the resource automatically move to the other node when process is killed ? How ?<br>
<br>
My conf :<br>
node node1<br>
node node2<br>
primitive apacheIP ocf:heartbeat:IPaddr \<br>
params ip="192.168.1.80" cidr_netmask="32" nic="eth0" \<br>
op monitor interval="30s" \<br>
meta target-role="Started"<br>
primitive apacheServer ocf:heartbeat:apache \<br>
params httpd="/usr/sbin/httpd" configfile="/etc/httpd/conf/<u></u>httpd.conf" \<br>
op monitor interval="60s" start="40s" stop="60s" \<br>
meta target-role="Started"<br>
group webserver apacheIP apacheServer<br>
property $id="cib-bootstrap-options" \<br>
dc-version="1.1.6-4.fc16-<u></u>89678d4947c5bd466e2f31acd58ea4<u></u>e1edb854d5" \<br>
cluster-infrastructure="<u></u>openais" \<br>
expected-quorum-votes="2" \<br>
stonith-enabled="false" \<br>
no-quorum-policy="ignore" \<br>
last-lrm-refresh="1329602712"<br>
rsc_defaults $id="rsc-options" \<br>
resource-stickiness="100"<br>
<br>
Thanks for your help.<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>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/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Serge Dubrouski.<br>