node nde28 \
	attributes standby="on"
node s716 \
	attributes standby="on"
primitive apache ocf:cj:apache \
	op monitor interval="10" timeout="15" start-delay="15" \
	op start interval="0" timeout="30" \
	op stop interval="0" timeout="120"
primitive dlm ocf:pacemaker:controld \
	op monitor interval="10" \
	op start interval="0" timeout="90"
primitive drbdMysql ocf:heartbeat:drbd \
	params drbd_resource="mysql" \
	op monitor interval="10" role="Master" timeout="20" \
	op monitor interval="20" role="Slave" timeout="20" \
	op start interval="0" timeout="240" \
	op stop start-delay="0" interval="0"
primitive drbdOpencms ocf:heartbeat:drbd \
	params drbd_resource="opencms" \
	op monitor interval="10" role="Master" timeout="20" \
	op monitor interval="20" role="Slave" timeout="20" \
	op start interval="0" timeout="240" \
	op stop start-delay="0" interval="0"
primitive ldirector ocf:heartbeat:ldirectord \
	params configfile="/etc/ha.d/ldirectord.cf" ldirectord="/usr/sbin/ldirectord" \
	op monitor interval="10"
primitive ldirector-ip ocf:heartbeat:IPaddr2 \
	params lvs_support="true" ip="192.168.103.65" cidr_netmask="24" broadcast="2.255.255.255" \
	op monitor interval="5"
primitive mountMysql ocf:heartbeat:Filesystem \
	params device="/dev/drbd0" directory="/var/lib/mysql" fstype="ocfs2" \
	op monitor interval="1000" OCF_CHECK_LEVEL="10" \
	op start interval="0" timeout="60"
primitive mountOpencms ocf:heartbeat:Filesystem \
	params device="/dev/drbd1" directory="/srv/tomcat6/webapps/opencms" fstype="ocfs2" \
	op monitor interval="1000" OCF_CHECK_LEVEL="10" \
	op start interval="0" timeout="60"
primitive mysql ocf:heartbeat:mysql \
	params binary="/usr/bin/mysqld_safe" config="/var/lib/mysql/my.cnf" user="mysql" group="mysql" pid="/var/run/mysql/mysqld.pid" socket="/var/lib/mysql/mysql.sock" test_table="test.HA_checkAvailability" test_passwd="" test_user="root" \
	op monitor interval="1000" timeout="60" OCF_CHECK_LEVEL="1"
primitive mysql-ip ocf:heartbeat:IPaddr \
	params ip="192.168.103.70" cidr_netmask="24" \
	op monitor interval="2" timeout="20" \
	op start interval="0" timeout="90"
primitive o2cb ocf:ocfs2:o2cb \
	op monitor interval="1000" \
	op start interval="0" timeout="90"
primitive tomcat ocf:cj:tomcat \
	params log_level="debug" monitor_url="http://localhost:8080/opencms/opencms/test/cluster.html" \
	op monitor interval="500" timeout="23" start-delay="10" \
	op start interval="0" timeout="55" \
	op stop interval="0" timeout="120"
group grpLdirector ldirector ldirector-ip \
	meta resource-stickiness="100" target-role="Started"
group grpMysql mysql mysql-ip \
	meta resource-stickiness="100" target-role="Started" migration-threshold="3" failure-timeout="120"
ms msDrbdMysql drbdMysql \
	meta resource-stickiness="100" notify="true" master-max="2" target-role="Started"
ms msDrbdOpencms drbdOpencms \
	meta resource-stickiness="100" notify="true" master-max="2" target-role="Started"
clone cloneApache apache \
	meta is-managed="true" target-role="Started"
clone cloneDlm dlm \
	meta target-role="Started"
clone cloneMountMysql mountMysql \
	meta interleave="true" globally-unique="false" target-role="Started"
clone cloneMountOpencms mountOpencms \
	meta interleave="true" globally-unique="false" target-role="Started"
clone cloneO2cb o2cb \
	meta target-role="Started"
clone cloneTomcat tomcat \
	meta target-role="Started"
location cli-prefer-grpLdirector grpLdirector \
	rule $id="cli-prefer-rule-grpLdirector" inf: #uname eq s716
location cli-prefer-grpMysql grpMysql \
	rule $id="cli-prefer-rule-grpMysql" inf: #uname eq nde28
colocation TEST_colocO2cb inf: cloneO2cb cloneDlm
colocation colocGrpMysql inf: grpMysql cloneMountMysql
colocation colocMountMysql_drbd inf: cloneMountMysql msDrbdMysql:Master
colocation colocMountMysql_o2cb inf: cloneMountMysql cloneO2cb
colocation colocMountOpencms_drbd inf: cloneMountOpencms msDrbdOpencms:Master
colocation colocMountOpencms_o2cb inf: cloneMountOpencms cloneO2cb
colocation colocTomcat inf: cloneTomcat cloneMountOpencms:Started
order TEST_orderO2cb 0: cloneDlm cloneO2cb
order orderGrpMysql 0: cloneMountMysql:start grpMysql
order orderMountMysql_drbd 0: msDrbdMysql:promote cloneMountMysql:start
order orderMountMysql_o2cb 0: cloneO2cb cloneMountMysql
order orderMountOpencms_drbd 0: msDrbdOpencms:promote cloneMountOpencms:start
order orderMountOpencms_o2cb 0: cloneO2cb cloneMountOpencms
order orderTomcat 0: cloneMountOpencms:start cloneTomcat
property $id="cib-bootstrap-options" \
	stonith-enabled="false" \
	expected-quorum-votes="2" \
	dc-version="1.0.6-c48e3360eb18c53fd68bb7e7dbe39279ccbc0354" \
	cluster-infrastructure="openais" \
	last-lrm-refresh="1275074610" \
	maintenance-mode="false"[?1034h