[Pacemaker] Trouble with ocf:Squid resource agent

Julien Cornuwel cornuwel at gmail.com
Wed Jul 18 08:06:55 UTC 2012


Hi,

I'm setting up a proxy cluster on OpenSuSE 12.1. Squid starts OK on
both servers when called from the lsb script. I stopped it and here is
the configuration I set up :

# crm configure show
node corsen-a
node corsen-b
primitive Proxy ocf:heartbeat:Squid \
        params squid_exe="/usr/sbin/squid"
squid_conf="/etc/squid/squid.conf" squid_pidfile="/tmp/squid.pid"
squid_port="3128" squid_stop_timeout="30" \
        op start interval="0" timeout="60s" \
        op stop interval="0" timeout="120s" \
        op monitor interval="20s" timeout="30s"
property $id="cib-bootstrap-options" \
        dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"

# crm_mon -1
============
Last updated: Tue Jul 17 16:51:30 2012
Last change: Tue Jul 17 16:46:32 2012 by root via cibadmin on corsen-a
Stack: openais
Current DC: corsen-a - partition with quorum
Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ corsen-a corsen-b ]


Failed actions:
    Proxy_start_0 (node=corsen-a, call=3, rc=-2, status=Timed Out):
unknown exec error
    Proxy_start_0 (node=corsen-b, call=3, rc=-2, status=Timed Out):
unknown exec error


Not much in the logs. Any idea what I missed ?

Thanks in advance,




More information about the Pacemaker mailing list