node $id="1084811078" nebula1
node $id="1084811079" nebula2
node $id="1084811080" nebula3
node $id="1084811118" quorum \
	attributes standby="on"
node $id="1084811119" one-frontend
primitive ONE-Datastores ocf:heartbeat:Filesystem \
	params device="/dev/one-fs/datastores" directory="/var/lib/one/datastores" fstype="gfs2" \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100" \
	op monitor interval="20" timeout="40"
primitive ONE-Frontend-VM ocf:heartbeat:VirtualDomain \
	params config="/var/lib/one/datastores/one/one.xml" \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100" \
	utilization cpu="1" hv_memory="1024"
primitive ONE-vg ocf:heartbeat:LVM \
	params volgrpname="one-fs" \
	op start interval="0" timeout="30" \
	op stop interval="0" timeout="30" \
	op monitor interval="60" timeout="30"
primitive Quorum-Node-VM ocf:heartbeat:VirtualDomain \
	params config="/var/lib/libvirt/qemu/pcmk/quorum.xml" \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100" \
	utilization cpu="1" hv_memory="1024"
primitive Stonith-ONE-Frontend stonith:external/libvirt \
	params hostlist="one-frontend" hypervisor_uri="qemu:///system" pcmk_host_list="one-frontend" pcmk_host_check="static-list" \
	op monitor interval="30m"
primitive Stonith-Quorum-Node stonith:external/libvirt \
	params hostlist="quorum" hypervisor_uri="qemu:///system" pcmk_host_list="quorum" pcmk_host_check="static-list" \
	op monitor interval="30m"
primitive Stonith-nebula1-IPMILAN stonith:external/ipmi \
	params hostname="nebula1-ipmi" ipaddr="AAA.AAA.AAA.AAA" interface="lanplus" userid="USER" passwd="PASS" passwd_method="env" priv="operator" pcmk_host_list="nebula1" pcmk_host_check="static-list" \
	op monitor interval="30m" \
	meta target-role="Started"
primitive Stonith-nebula2-IPMILAN stonith:external/ipmi \
	params hostname="nebula2-ipmi" ipaddr="BBB.BBB.BBB.BBB" interface="lanplus" userid="USER" passwd="PASS" passwd_method="env" priv="operator" pcmk_host_list="nebula2" pcmk_host_check="static-list" \
	op monitor interval="30m" \
	meta target-role="Started"
primitive Stonith-nebula3-IPMILAN stonith:external/ipmi \
	params hostname="nebula3-ipmi" ipaddr="CCC.CCC.CCC.CCC" interface="lanplus" userid="USER" passwd="PASS" passwd_method="env" priv="operator" pcmk_host_list="nebula3" pcmk_host_check="static-list" \
	op monitor interval="30m" \
	meta target-role="Started"
primitive clvm ocf:lvm2:clvmd \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100" \
	op monitor interval="60" timeout="90"
primitive dlm ocf:pacemaker:controld \
	op start interval="0" timeout="90" \
	op stop interval="0" timeout="100" \
	op monitor interval="60" timeout="60"
group ONE-Frontend Stonith-ONE-Frontend ONE-Frontend-VM \
	meta target-role="Stopped"
group ONE-Storage dlm clvm ONE-vg ONE-Datastores
group Quorum-Node Stonith-Quorum-Node Quorum-Node-VM \
	meta target-role="Stopped"
clone ONE-Storage-Clone ONE-Storage \
	meta interleave="true" target-role="Started"
location Nebula1-does-not-fence-itslef Stonith-nebula1-IPMILAN \
	rule $id="Nebula1-does-not-fence-itslef-rule" 50: #uname eq nebula2 \
	rule $id="Nebula1-does-not-fence-itslef-rule-0" 40: #uname eq nebula3
location Nebula2-does-not-fence-itslef Stonith-nebula2-IPMILAN \
	rule $id="Nebula2-does-not-fence-itslef-rule" 50: #uname eq nebula3 \
	rule $id="Nebula2-does-not-fence-itslef-rule-0" 40: #uname eq nebula1
location Nebula3-does-not-fence-itslef Stonith-nebula3-IPMILAN \
	rule $id="Nebula3-does-not-fence-itslef-rule" 50: #uname eq nebula1 \
	rule $id="Nebula3-does-not-fence-itslef-rule-0" 40: #uname eq nebula2
location Nodes-with-ONE-Storage ONE-Storage-Clone \
	rule $id="Nodes-with-ONE-Storage-rule" inf: #uname eq nebula1 \
	rule $id="Nodes-with-ONE-Storage-rule-0" inf: #uname eq nebula2 \
	rule $id="Nodes-with-ONE-Storage-rule-1" inf: #uname eq nebula3 \
	rule $id="Nodes-with-ONE-Storage-rule-2" inf: #uname eq one-frontend
location ONE-Frontend-run-on-hypervisor ONE-Frontend \
	rule $id="ONE-Frontend-run-on-hypervisor-rule" 40: #uname eq nebula1 \
	rule $id="ONE-Frontend-run-on-hypervisor-rule-0" 30: #uname eq nebula3 \
	rule $id="ONE-Frontend-run-on-hypervisor-rule-1" 20: #uname eq nebula2
location Quorum-Node-runs-on-nebula2 Quorum-Node \
	rule $id="Quorum-Node-runs-on-nebula2-rule" inf: #uname eq nebula2
order Frontend-Node-after-Storage inf: ONE-Storage-Clone ONE-Frontend
property $id="cib-bootstrap-options" \
	dc-version="1.1.10-42f2063" \
	cluster-infrastructure="corosync" \
	symmetric-cluster="false" \
	stonith-enabled="true" \
	stonith-timeout="30" \
	last-lrm-refresh="1416907556"
rsc_defaults $id="rsc-options" \
	resource-stickiness="100"
