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="06d57c5a-3d47-4ef1-b518-7b8501f5ca9d" <a href="http://premailman1.mpt.es">premailman1.mpt.es</a>
<br>node $id="9af2ea3b-b7ad-458f-b7d0-2491b72db28f" <a href="http://premailman.mpt.es">premailman.mpt.es</a>
<br>primitive IP-Virtual ocf:heartbeat:IPaddr \
<br>    params ip="10.1.24.201"
<br>primitive apache_mailman lsb:httpd \
<br>    op monitor interval="15" timeout="15" start-delay="15" \
<br>    meta target-role="Started"
<br>primitive apache_webmail lsb:httpd \
<br>    op monitor interval="15" timeout="15" start-delay="15" \
<br>    meta target-role="Started"
<br>primitive httpd_mailman ocf:heartbeat:anything \
<br>    params binfile="/usr/local/bin/httpd_mailman"
<br>primitive httpd_webmail ocf:heartbeat:anything \
<br>    params binfile="/usr/local/bin/httpd_webmail"
<br>primitive mailman ocf:heartbeat:anything \
<br>    params binfile="/var/mailman/bin/mailmanctl" cmdline_options="start" \
<br>    op start interval="0s" timeout="60s" on-fail="restart" \
<br>    op monitor interval="10s" timeout="60s" on-fail="restart" \
<br>    op stop interval="0s" timeout="60s" on-fail="block"
<br>primitive smtp_postfix ocf:heartbeat:postfix \
<br>    params binary="/etc/init.d/postfix" \
<br>    op start interval="0s" timeout="60s" on-fail="restart" \
<br>    op monitor interval="10s" timeout="60s" on-fail="restart" \
<br>    op stop interval="0s" timeout="60s" on-fail="block"
<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="cib-bootstrap-options" \
<br>    dc-version="1.1.1-b9b672590e79770afb63b9b455400d92fb6b5d9e" \
<br>    cluster-infrastructure="Heartbeat" \
<br>    stonith-enabled="false" \
<br>    start-failure-is-fatal="false" \
<br>    no-quorum-policy="ignore" \
<br>    last-lrm-refresh="1306416533"
<br>rsc_defaults $id="rsc-options" \
<br>    resource-stickiness="INFINITY"
<br><br>as I said everything works well, but i need just one thing, i have the
<br>directive " resource-stickiness="INFINITY", 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?