[pgpool-general: 2133] Re: pgpool-HA resource agent monitor not running
TAKATSUKA Haruka
harukat at sraoss.co.jp
Fri Sep 13 17:47:29 JST 2013
Hi. Michal.
Thank you for testing.
Of the following to flow, monitor fail after start can be caused by slight delay.
start pgpool -> pgpool write pid file
-> pacemaker do "monitor"
-> check pid file and pgpool process
BTW, op start's interval is an inaneness field and shuld be "0".
regards,
On Fri, 13 Sep 2013 07:19:14 +0000
Mistina Michal <Michal.Mistina at virte.sk> wrote:
> Hi Haruka.
> Do you think it would help if I the start procedure is delayed? Actually I
> tried to play with start interval before I wrote to the mailing list, but I
> ended up with the error.
> I changed it as follows:
> op start interval="5" timeout="60" \
> op stop interval="0" timeout="60" \
>
> The output:
> WARNING: pg_pool: Specified interval for start is 5, this is greater than 0
> thus invalid
>
> I didn't know in another way how to delay starting of the pgpool. The only
> way would be to change guts of the pgpool resource agent.
>
> Best regards,
> Michal Mistina
> -----Original Message-----
> From: pgpool-general-bounces at pgpool.net
> [mailto:pgpool-general-bounces at pgpool.net] On Behalf Of TAKATSUKA Haruka
> Sent: Friday, September 13, 2013 4:39 AM
> To: pgpool-general at pgpool.net
> Subject: [pgpool-general: 2130] Re: pgpool-HA resource agent monitor not
> running
>
> Hi. Michal .
>
> "Start" is usually completed immediately unlike "stop".
> It's up to timing, I think.
>
> Fix was registered to pgpool-ha HEAD.
>
>
> On Thu, 12 Sep 2013 13:01:23 +0000
> Mistina Michal <Michal.Mistina at virte.sk> wrote:
>
> > Hi Haruka.
> > Thanks for edited pgpool resource agent. It worked and solved other
> > issues with migrating resources. Thank you very much.
> > I should have mentioned that the issue I wrote about occurred only
> > while migrating. If I started resource manually on one node there were
> > no monitoring errors.
> >
> > Best regards,
> > Michal Mistina
> > -----Original Message-----
> > From: pgpool-general-bounces at pgpool.net
> > [mailto:pgpool-general-bounces at pgpool.net] On Behalf Of TAKATSUKA
> > Haruka
> > Sent: Thursday, September 12, 2013 5:25 AM
> > To: pgpool-general at pgpool.net
> > Subject: [pgpool-general: 2125] Re: pgpool-HA resource agent monitor
> > not running
> >
> > 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.
____________________________________________________________________
TAKATSUKA Haruka harukat at sraoss.co.jp SRA OSS, Inc
http://www.sraoss.co.jp
More information about the pgpool-general
mailing list