Hi 
 
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.
 
[r...@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="192.168.200.1" cidr_netmask="255.255.255.0"
primitive res_pingd ocf:pacemaker:pingd \
        operations $id="res_pingd-operations" \
        op monitor interval="10" timeout="20" start-delay="1m" \
        params host_list="192.168.200.7"
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" \
        stonith-action="poweroff"
[r...@host1 ~]#   
 
Best regards,
 
Gerry kernan
Infinity Integration technology
Suite 17 The mall Beacon Court
Sandyford 
Dublin 18
 
www.infinityit.ie
 
P. +35312930090
F. +35312930137
 
 
 
 

<<image002.jpg>>

_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to