[Pacemaker] Question

Andreas Sinn andreas.sinn at gmx.at
Thu Mar 13 16:08:15 EDT 2014

Hello all,

I have configured an active/active cluster like the description and with 
the pacemaker configuration like:

[root at rci-web-hp01 httpd]# crm configure show
node rci-web-node1
node rci-web-node2
primitive ClusterIP ocf:heartbeat:IPaddr2 \
         params ip="" cidr_netmask="32" 
clusterip_hash="sourceip" \
         op monitor interval="30s"
primitive WebData ocf:linbit:drbd \
         params drbd_resource="wwwdata" \
         op monitor interval="60s"
primitive WebFS ocf:heartbeat:Filesystem \
         params device="/dev/drbd0" directory="/webdata" fstype="gfs2"
primitive WebSite ocf:heartbeat:apache \
         params configfile="/etc/httpd/conf/httpd.conf" \
         op monitor interval="20s"
ms WebDataClone WebData \
         meta master-max="2" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
clone WebFSClone WebFS
clone WebIP ClusterIP \
         meta globally-unique="true" clone-max="2" clone-node-max="2"
clone WebSiteClone WebSite
colocation WebSite-with-WebFS inf: WebSiteClone WebFSClone
colocation fs_on_drbd inf: WebFSClone WebDataClone:Master
colocation website-with-ip inf: WebSiteClone WebIP
order WebFS-after-WebData inf: WebDataClone:promote WebFSClone:start
order WebSite-after-WebFS inf: WebFSClone WebSiteClone
order apache-after-ip inf: WebIP WebSiteClone
property $id="cib-bootstrap-options" \
         dc-version="1.1.10-14.el6-368c726" \
         cluster-infrastructure="cman" \
         expected-quorum-votes="2" \
         stonith-enabled="false" \
rsc_defaults $id="rsc-options" \

My problem is that the apache process only start on one node.

What does I make not correct?



More information about the Pacemaker mailing list