I have built a cluster with two nodes on pacemacker 1.0.4 + DRBD (8.0.14). If 
one machine is restarted after returning pacemacker trying to switch all 
services to this server. How to prevent it?


node test-storage-1
node test-storage-2
primitive drbd0 ocf:heartbeat:drbd \
        params drbd_resource="r0" \
        op monitor interval="59s" role="Master" timeout="30s" \
        op monitor interval="60s" role="Slave" timeout="30s" \
        op start interval="0" timeout="20s" \
        op stop interval="0" timeout="20s"
primitive fs0 ocf:heartbeat:Filesystem \
        params fstype="xfs" directory="/mnt/drbd0" device="/dev/drbd0" \
        params options="rw,nosuid,noatime" \
        op monitor interval="21s" timeout="20s" \
        op start interval="0" timeout="60s" \
        op stop interval="0" timeout="20s"
primitive ip ocf:heartbeat:IPaddr2 \
        params ip="10.1.x.x" nic="eth1" cidr_netmask="24" \
        op monitor interval="21s" timeout="5s"
primitive nfs-common lsb:nfs-common \
        op monitor interval="21s" timeout="5s"
primitive nfs-kernel-server lsb:nfs-kernel-server \
        op monitor interval="21s" timeout="5s" \
        op start interval="0" timeout="180s"
group storage fs0 nfs-kernel-server ip nfs-common
ms ms-drbd0 drbd0 \
        meta clone-max="2" notify="true" globally-unique="false" 
target-role="Started"
colocation storage-on-ms-drbd0 inf: storage ms-drbd0:Master
order ms-drbd0-before-storage inf: ms-drbd0:promote storage:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        default-resource-stickiness="200"

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to