Hello,
<br>I`ve configured heartbeat and pacemaker with 2 nodes, all resources work
<br>well, all resources start when some of them is down, when the host is down,
<br>pacemaker moves all resources to the other one, my configuration:
<br><br>node $id=&quot;06d57c5a-3d47-4ef1-b518-7b8501f5ca9d&quot; <a href="http://premailman1.mpt.es">premailman1.mpt.es</a>
<br>node $id=&quot;9af2ea3b-b7ad-458f-b7d0-2491b72db28f&quot; <a href="http://premailman.mpt.es">premailman.mpt.es</a>
<br>primitive IP-Virtual ocf:heartbeat:IPaddr \
<br>    params ip=&quot;10.1.24.201&quot;
<br>primitive apache_mailman lsb:httpd \
<br>    op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \
<br>    meta target-role=&quot;Started&quot;
<br>primitive apache_webmail lsb:httpd \
<br>    op monitor interval=&quot;15&quot; timeout=&quot;15&quot; start-delay=&quot;15&quot; \
<br>    meta target-role=&quot;Started&quot;
<br>primitive httpd_mailman ocf:heartbeat:anything \
<br>    params binfile=&quot;/usr/local/bin/httpd_mailman&quot;
<br>primitive httpd_webmail ocf:heartbeat:anything \
<br>    params binfile=&quot;/usr/local/bin/httpd_webmail&quot;
<br>primitive mailman ocf:heartbeat:anything \
<br>    params binfile=&quot;/var/mailman/bin/mailmanctl&quot; cmdline_options=&quot;start&quot; \
<br>    op start interval=&quot;0s&quot; timeout=&quot;60s&quot; on-fail=&quot;restart&quot; \
<br>    op monitor interval=&quot;10s&quot; timeout=&quot;60s&quot; on-fail=&quot;restart&quot; \
<br>    op stop interval=&quot;0s&quot; timeout=&quot;60s&quot; on-fail=&quot;block&quot;
<br>primitive smtp_postfix ocf:heartbeat:postfix \
<br>    params binary=&quot;/etc/init.d/postfix&quot; \
<br>    op start interval=&quot;0s&quot; timeout=&quot;60s&quot; on-fail=&quot;restart&quot; \
<br>    op monitor interval=&quot;10s&quot; timeout=&quot;60s&quot; on-fail=&quot;restart&quot; \
<br>    op stop interval=&quot;0s&quot; timeout=&quot;60s&quot; on-fail=&quot;block&quot;
<br>colocation colocation-1 inf: IP-Virtual apache_mailman
<br>colocation colocation-2 inf: IP-Virtual smtp_postfix
<br>colocation colocation-3 inf: IP-Virtual mailman
<br>colocation colocation-4 inf: IP-Virtual httpd_mailman
<br>property $id=&quot;cib-bootstrap-options&quot; \
<br>    dc-version=&quot;1.1.1-b9b672590e79770afb63b9b455400d92fb6b5d9e&quot; \
<br>    cluster-infrastructure=&quot;Heartbeat&quot; \
<br>    stonith-enabled=&quot;false&quot; \
<br>    start-failure-is-fatal=&quot;false&quot; \
<br>    no-quorum-policy=&quot;ignore&quot; \
<br>    last-lrm-refresh=&quot;1306416533&quot;
<br>rsc_defaults $id=&quot;rsc-options&quot; \
<br>    resource-stickiness=&quot;INFINITY&quot;
<br><br>as I said everything works well, but i need just one thing, i have the
<br>directive &quot; resource-stickiness=&quot;INFINITY&quot;, when node1 is down, the node2
<br>starts all resources and prevent  failback again though the node1 is up,
<br> back i need move all resources to the first one when I certainly sure the
<br>node1 is runnig, is there some directive to tell pacemaker that move back
<br>again the to node1 automatically? i mean, is posibble to move back resources
<br>to node1 when It has passed certain time, maybe 1 hour or something?