[pgpool-general: 2125] Re: pgpool-HA resource agent monitor not running

TAKATSUKA Haruka harukat at sraoss.co.jp
Thu Sep 12 12:24:56 JST 2013


Hi.

Perhaps this is pgpool-ha's defect.
Current pgpool-ha script does not wait thet pgpool become ready at start action.

Please try the attached file. 


On Wed, 11 Sep 2013 13:42:44 +0000
Mistina Michal <Michal.Mistina at virte.sk> wrote:

> Hi to everybody.
> 
> I'm running pgpool on the top of 2-node pacemaker cluster. There are couple
> more services running on each server.
> 
> After I migrate from one node to another I am experiencing a failure of
> monitoring action on the pgpool resource agent. However pgpool service is
> running.
> 
> It looks like this:
> 
> [root at tstcaps01 ~]# crm_mon -1
snip
> Failed actions:
>     pg_pool_monitor_120000 (node=tstcaps01, call=30, rc=7, status=complete):
> not running
> 
> Configuration snippet:
> 
> [root at tstcaps01 ~]# crm configure show
> primitive pg_pool ocf:heartbeat:pgpool \
>         params pgpoolconf="/etc/pgpool-II/pgpool.conf"
> pcpconf="/etc/pgpool-II/pcp.conf" hbaconf="/etc/pgpool-II/pool_hba.conf"
> logfile="/var/log/pgpool/pgpool.log" pgpooluser="postgres" checkmethod="pid"
> checkstring="/var/run/pgpool/pgpool.pid" pgpoolcmd="/usr/bin/pgpool"
> psqlcmd="/usr/pgsql-9.2/bin/psql" pcpnccmd="/usr/bin/pcp_node_count" \
>         op monitor interval="120" timeout="130" \
>         op start interval="0" timeout="60" \
>         op stop interval="0" timeout="60" \
>         meta is-managed="true"
> 
> There are no errors in the pgpool.log.
> I'm using pgpool-ha 2.1, pacemaker 1.1.7-6.el6, corosync 1.4.1-7.el6.

______________________________________________________________________
TAKATSUKA Haruka harukat at sraoss.co.jp  SRA OSS, Inc  http://www.sraoss.co.jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool.in
Type: application/octet-stream
Size: 12091 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20130912/dc83e4d2/attachment.obj>


More information about the pgpool-general mailing list