<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">&lt;<a href="mailto:sebastien.rohaut@free.fr">sebastien.rohaut@free.fr</a>&gt;</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=&quot;192.168.1.80&quot; cidr_netmask=&quot;32&quot; nic=&quot;eth0&quot; \<br>
        op monitor interval=&quot;30s&quot; \<br>
        meta target-role=&quot;Started&quot;<br>
primitive apacheServer ocf:heartbeat:apache \<br>
        params httpd=&quot;/usr/sbin/httpd&quot; configfile=&quot;/etc/httpd/conf/<u></u>httpd.conf&quot; \<br>
        op monitor interval=&quot;60s&quot; start=&quot;40s&quot; stop=&quot;60s&quot; \<br>
        meta target-role=&quot;Started&quot;<br>
group webserver apacheIP apacheServer<br>
property $id=&quot;cib-bootstrap-options&quot; \<br>
        dc-version=&quot;1.1.6-4.fc16-<u></u>89678d4947c5bd466e2f31acd58ea4<u></u>e1edb854d5&quot; \<br>
        cluster-infrastructure=&quot;<u></u>openais&quot; \<br>
        expected-quorum-votes=&quot;2&quot; \<br>
        stonith-enabled=&quot;false&quot; \<br>
        no-quorum-policy=&quot;ignore&quot; \<br>
        last-lrm-refresh=&quot;1329602712&quot;<br>
rsc_defaults $id=&quot;rsc-options&quot; \<br>
        resource-stickiness=&quot;100&quot;<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>