[Pacemaker] cannot start/stop apache from the manager node

gilberto migliavacca gbmiglia at yahoo.it
Tue Oct 27 09:55:42 EDT 2009


Hi

I have 2 nodes and 1 node that I'm using just
to manage the cluster.

I started up the nodes and created the following
configuration :

node custdevc03.funambol.com
node custdevc04.funambol.com
node custdevc05.funambol.com
primitive res.ip.m63 ocf:heartbeat:IPaddr2 \
         params ip="172.16.20.63" \
         op monitor interval="2s" timeout="1s"
primitive res.ocf.apache63 ocf:heartbeat:apache \
         params configfile="/etc/httpd/conf/httpd.conf" \
         op monitor interval="30s" timeout="10s" \
         meta target-role="Started"
location lo.m63 res.ip.m63 -inf: custdevc04.funambol.com
colocation co.apache63_on_m63 -inf: res.ocf.apache63 res.ip.m63
order o.m63_before_apache63 inf: res.ip.m63 res.ocf.apache63:start
property $id="cib-bootstrap-options" \
         dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
         cluster-infrastructure="openais" \
         expected-quorum-votes="3" \
         stonith-enabled="false"



the problem is that I cannot manage the apache instance
on the machine 63.
When I run
- crm(live)resource# start res.ocf.apache63
Nothing happen on the 63 machine, the apache service is down

these are my questions
- did I take all the steps correctly?
- is my confoguration correct?
- Have I to remove the start up script in the /etc/init.d?
- How can I check the log of the pacemaker in order to understand the issue?


thanks in advance

gilberto






More information about the Pacemaker mailing list