[Pacemaker] error in the pacemaker log

Andrew Beekhof andrew at beekhof.net
Wed Oct 28 06:48:41 EDT 2009


Please read Tables B.3 and B.4 of
   http://www.clusterlabs.org/doc/pacemaker-explained/s-ocf-return-codes.html



On Wed, Oct 28, 2009 at 10:18 AM, gilberto migliavacca
<gbmiglia at yahoo.it> wrote:
> Hi
>
> my first purpose is to manage an apache service
> on a specific machine with IP 172.16.20.63
>
> this is my configuration
>
> node custdevc03.funambol.com
> node custdevc04.funambol.com
> node custdevc05.funambol.com
> primitive res.ip.m63 ocf:heartbeat:IPsrcaddr \
>        params ip="172.16.20.63" \
>        op monitor interval="2s" timeout="1s" \
>        meta target-role="Started"
> 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"
>
>
> when in the crm interface I type:
> crm(live)resource# list
>
> I can see in the /var/log/messages this error
>
> Oct 28 01:15:42 custdevc03 crm_resource: [26330]: info: Invoked:
> crm_resource -L
> Oct 28 01:15:42 custdevc03 crm_resource: [26330]: ERROR: unpack_rsc_op: Hard
> error - res.ip.m63_monitor_0 failed with rc
> =2: Preventing res.ip.m63 from re-starting on custdevc04.funambol.com
> Oct 28 01:15:42 custdevc03 crm_resource: [26330]: ERROR: unpack_rsc_op: Hard
> error - res.ip.m63_monitor_0 failed with rc
> =2: Preventing res.ip.m63 from re-starting on custdevc05.funambol.com
> Oct 28 01:15:42 custdevc03 crm_resource: [26330]: ERROR: unpack_rsc_op: Hard
> error - res.ip.m63_monitor_0 failed with rc
> =2: Preventing res.ip.m63 from re-starting on custdevc03.funambol.com
>
>
> Obviously I cannot run command like
>
> crm(live)resource# start res.ocf.apache63
>
> that is my purpose
>
>
> Could anyone know why I have this problem?
>
> thanks in advance
>
> gilberto
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list