<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi to everybody.<o:p></o:p></p><p class=MsoNormal>I&#8217;m running pgpool on the top of 2-node pacemaker cluster. There are couple more services running on each server.<o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal>It looks like this:<o:p></o:p></p><p class=MsoNormal>[root@tstcaps01 ~]# crm_mon -1<o:p></o:p></p><p class=MsoNormal>============<o:p></o:p></p><p class=MsoNormal>Last updated: Wed Sep 11 13:21:09 2013<o:p></o:p></p><p class=MsoNormal>Last change: Wed Sep 11 13:16:37 2013 via cibadmin on tstcaps02<o:p></o:p></p><p class=MsoNormal>Stack: openais<o:p></o:p></p><p class=MsoNormal>Current DC: tstcaps01 - partition WITHOUT quorum<o:p></o:p></p><p class=MsoNormal>Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14<o:p></o:p></p><p class=MsoNormal>2 Nodes configured, 4 expected votes<o:p></o:p></p><p class=MsoNormal>9 Resources configured.<o:p></o:p></p><p class=MsoNormal>============<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Online: [ tstcaps01 tstcaps02 ]<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal> Resource Group: PGServer<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; pg_lvm&nbsp;&nbsp;&nbsp;&nbsp; (ocf::heartbeat:LVM):&nbsp;&nbsp; Started tstcaps01<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; pg_fs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ocf::heartbeat:Filesystem):&nbsp;&nbsp;&nbsp; Started tstcaps01<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; pg_vip&nbsp;&nbsp;&nbsp;&nbsp; (ocf::heartbeat:IPaddr2):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Started tstcaps01<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; pg_lsb&nbsp;&nbsp;&nbsp;&nbsp; (lsb:postgresql-9.2):&nbsp;&nbsp; Started tstcaps01<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; pg_pool&nbsp;&nbsp;&nbsp; (ocf::heartbeat:pgpool):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Started tstcaps01<o:p></o:p></p><p class=MsoNormal> Master/Slave Set: ms_drbd_pg [drbd_pg]<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; Masters: [ tstcaps01 ]<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; Slaves: [ tstcaps02 ]<o:p></o:p></p><p class=MsoNormal> Clone Set: pingclone [pg_ping]<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; Started: [ tstcaps02 tstcaps01 ]<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Failed actions:<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; pg_pool_monitor_120000 (node=tstcaps01, call=30, rc=7, status=complete): not running<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Configuration snippet:<o:p></o:p></p><p class=MsoNormal>[root@tstcaps01 ~]# crm configure show<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive pg_pool ocf:heartbeat:pgpool \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params pgpoolconf=&quot;/etc/pgpool-II/pgpool.conf&quot; pcpconf=&quot;/etc/pgpool-II/pcp.conf&quot; hbaconf=&quot;/etc/pgpool-II/pool_hba.conf&quot; logfile=&quot;/var/log/pgpool/pgpool.log&quot; pgpooluser=&quot;postgres&quot; checkmethod=&quot;pid&quot; checkstring=&quot;/var/run/pgpool/pgpool.pid&quot; pgpoolcmd=&quot;/usr/bin/pgpool&quot; psqlcmd=&quot;/usr/pgsql-9.2/bin/psql&quot; pcpnccmd=&quot;/usr/bin/pcp_node_count&quot; \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval=&quot;120&quot; timeout=&quot;130&quot; \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op start interval=&quot;0&quot; timeout=&quot;60&quot; \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op stop interval=&quot;0&quot; timeout=&quot;60&quot; \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta is-managed=&quot;true&quot;<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>There are no errors in the pgpool.log.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>I&#8217;m using pgpool-ha 2.1, pacemaker 1.1.7-6.el6, corosync 1.4.1-7.el6.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Thank you.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Michal Mistina<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>