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

Andrew Beekhof andrew at beekhof.net
Wed Oct 28 20:05:23 UTC 2009


On Tue, Oct 27, 2009 at 3:55 PM, gilberto migliavacca <gbmiglia at yahoo.it> wrote:
> 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?

hard to tell without logs or really any indication what state the
cluster is in...

> - Have I to remove the start up script in the /etc/init.d?

no, but you need to make sure the machine isn't running it at startup

> - How can I check the log of the pacemaker in order to understand the issue?

I prefer the 'grep' and 'less' tools.




More information about the Pacemaker mailing list