node node1 \ attributes standby="off" node node2 \ attributes standby="off" primitive resAPACHE ocf:heartbeat:apache \ params configfile="/usr/local/apache/conf/httpd.conf" \ op monitor interval="1min" \ op start interval="0" timeout="40" \ op stop interval="0" timeout="60" primitive resDLM ocf:pacemaker:controld \ op monitor interval="120s" primitive resDRBD ocf:linbit:drbd \ params drbd_resource="repdata" \ operations $id="resDRBD-operations" \ op monitor interval="20s" role="Master" timeout="120s" \ op monitor interval="30s" role="Slave" timeout="120s" primitive resFS ocf:heartbeat:Filesystem \ params device="/dev/drbd/by-res/repdata" directory="/data" fstype="ocfs2" \ op monitor interval="120s" primitive resO2CB ocf:pacemaker:o2cb \ op monitor interval="120s" primitive resPHP ocf:heartbeat:anything \ params binfile="/usr/local/sbin/php-fpm" cmdline_options="--fpm-config /usr/local/etc/php-fpm.conf" pidfile="/var/run/php-fpm.pid" \ op start interval="0" timeout="20" \ op stop interval="0" timeout="30" \ op monitor interval="20" \ meta target-role="Started" primitive resPROXY ocf:heartbeat:nginx \ params conffile="/etc/nginx/nginx.conf" \ op monitor interval="60s" \ op start interval="0" timeout="40" \ op stop interval="0" timeout="60" primitive resST-NULL stonith:null \ params hostlist="node1 node2" ms msDRBD resDRBD \ meta resource-stickines="100" notify="true" master-max="2" interleave="true" clone cloneDLM resDLM \ meta globally-unique="false" interleave="true" clone cloneFS resFS \ meta interleave="true" ordered="true" target-role="Started" clone cloneHTTPD resAPACHE \ meta globally-unique="false" interleave="true" ordered="true" target-role="Started" clone cloneO2CB resO2CB \ meta globally-unique="false" interleave="true" clone clonePHP resPHP \ meta globally-unique="false" interleave="true" ordered="true" target-role="Started" clone clonePROXY resPROXY \ meta globally-unique="false" interleave="true" ordered="true" target-role="Started" clone fencing resST-NULL colocation colDLMDRBD inf: cloneDLM msDRBD:Master colocation colFSO2CB inf: cloneFS cloneO2CB colocation colO2CBDLM inf: cloneO2CB cloneDLM order ordDLMO2CB inf: cloneDLM cloneO2CB order ordDRBDDLM inf: msDRBD:promote cloneDLM order ordO2CBFS inf: cloneO2CB cloneFS order ordPHP inf: cloneFS clonePHP order ordPROXY inf: clonePHP clonePROXY order ordWEB inf: cloneFS cloneHTTPD property $id="cib-bootstrap-options" \ dc-version="1.0.9-unknown" \ cluster-infrastructure="openais" \ stonith-enabled="true" \ no-quorum-policy="ignore" \ expected-quorum-votes="2"