node dag
node dig
primitive CTDB ocf:heartbeat:CTDB \
	params ctdb_recovery_lock="/srv/digedag1/samba/ctdb.lock" smb_private_dir="/srv/digedag1/samba/private" ctdb_debuglevel="3" \
	op monitor interval="10" timeout="160" depth="0" \
	op start interval="0" timeout="290" \
	op stop interval="0" timeout="200"
primitive ClusterIP ocf:heartbeat:IPaddr2 \
	params ip="X.X.9.206" cidr_netmask="22" clusterip_hash="sourceip-sourceport" \
	op monitor interval="60"
primitive DLM-Ocfs2 ocf:pacemaker:controld \
	op monitor interval="120" \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100"
primitive O2CB ocf:ocfs2:o2cb \
	op monitor interval="120" \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100"
primitive SbdStonith stonith:external/sbd \
	params sbd_device="/dev/mapper/sbd"
primitive digedag1 ocf:heartbeat:Filesystem \
	params device="/dev/mapper/digedag1-part1" directory="/srv/digedag1" fstype="ocfs2" options="acl" \
	op monitor interval="120" timeout="40" \
	op start interval="0" timeout="60" \
	op stop interval="0" timeout="60"
clone CTDB-clone CTDB \
	meta globally-unique="false" interleave="true"
clone DLM-Ocfs2-clone DLM-Ocfs2 \
	meta globally-unique="false" interleave="true"
clone IP-Clone ClusterIP \
	meta globally-unique="true" 
clone O2CB-clone O2CB \
	meta globally-unique="false" interleave="true" 
clone digedag1-clone digedag1 \
	meta interleave="true" ordered="true" 
colocation CTDB-with-digedag1 inf: CTDB-clone digedag1-clone
colocation IP-with-CTDB inf: IP-Clone CTDB-clone
colocation digedag1-with-O2CB inf: digedag1-clone O2CB-clone
order start-CTDB-after-digedag1 inf: digedag1-clone CTDB-clone
order start-IP-after-CTDB inf: CTDB-clone IP-Clone
order start-O2CB-after-DLM-Ocfs2 inf: DLM-Ocfs2-clone O2CB-clone
order start-digedag1-after-O2CB inf: O2CB-clone digedag1-clone
property $id="cib-bootstrap-options" \
	dc-version="1.1.2-8b9ec9ccc5060457ac761dce1de719af86895b10" \
	cluster-infrastructure="openais" \
	expected-quorum-votes="2" \
	stonith-enabled="true" \
	no-quorum-policy="ignore" \
	stonith-timeout="150s" \
	last-lrm-refresh="1299253687"
rsc_defaults $id="rsc-options" \
	resource-stickiness="100"

