[Pacemaker] problem when i reboot a node

Gerry kernan gerry.kernan at infinityit.ie
Thu Aug 20 12:14:38 EDT 2009

I have a 2 node cluster using openais & pacemaker,
If I reboot the standby node when the node comes back up all resources migrate automatically to that node from the node they where running on. Is this normal behavior or how do I stop this happening.
[root at host1 ~]# crm configure show
node host1.localdomain
node host2.localdomain \
        attributes standby="off"
primitive res_drbd_credit heartbeat:drbddisk \
        operations $id="res_drbd_credit-operations" \
        op monitor interval="59" role="Master" timeout="30" start-delay="15" \
        op monitor interval="60" role="Slave" timeout="30" start-delay="15" \
        params 1="credit" \
        meta $id="res_drbd_credit-meta_attributes"
primitive res_filesystem_credit ocf:heartbeat:Filesystem \
        meta target-role="started" \
        operations $id="res_filesystem_credit-operations" \
        op monitor interval="20" timeout="40" start-delay="10" \
        params device="/dev/drbd0" directory="/credit" fstype="ext3"
primitive res_icobol_credit lsb:icobol \
        meta is-managed="true" \
        operations $id="res_icobol_credit-operations" \
        op monitor interval="15" timeout="15" start-delay="15"
primitive res_ip_credit ocf:heartbeat:IPaddr2 \
        meta $id="res_ip_credit-meta_attributes" \
        operations $id="res_ip_credit-operations" \
        op monitor interval="10s" timeout="20s" start-delay="5s" \
        params ip="" cidr_netmask=""
primitive res_pingd ocf:pacemaker:pingd \
        operations $id="res_pingd-operations" \
        op monitor interval="10" timeout="20" start-delay="1m" \
        params host_list=""
group grp_credit res_drbd_credit res_filesystem_credit res_ip_credit res_icobol_                                                                             credit res_pingd \
        meta target-role="started"
location cli-prefer-grp_credit grp_credit \
        rule $id="cli-prefer-rule-grp_credit" inf: #uname eq host2.localdomain
location res_creditfs grp_credit inf: host2.localdomain
property $id="cib-bootstrap-options" \
        dc-version="1.0.4-6dede86d6105786af3a5321ccf66b44b6914f0aa" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        last-lrm-refresh="1250783233" \
        node-health-red="0" \
        stonith-enabled="false" \
        default-resource-stickiness="1000" \
        no-quorum-policy="ignore" \
[root at host1 ~]#   
Best regards,
Gerry kernan
Infinity Integration technology
Suite 17 The mall Beacon Court
Dublin 18
P. +35312930090
F. +35312930137
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090820/88001aa1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 4477 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090820/88001aa1/attachment.jpg>

More information about the Pacemaker mailing list