[Pacemaker] Question

Andreas Sinn andreas.sinn at gmx.at
Thu Mar 13 20:08:15 UTC 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="10.100.77.63" 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" \
         no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
         resource-stickiness="100"


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

What does I make not correct?

BR

Andreas




More information about the Pacemaker mailing list