[ClusterLabs] Fwd: Postgres pacemaker cluster failure

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Wed Jul 10 07:14:27 EDT 2019


On Wed, 10 Jul 2019 12:53:59 +0300
Andrei Borzenkov <arvidjaar at gmail.com> wrote:

> On Wed, Jul 10, 2019 at 12:42 PM Jehan-Guillaume de Rorthais
> <jgdr at dalibo.com> wrote:
> 
> >  
> > > > Jul 09 09:16:32 [2679] postgres1       lrmd:    debug:
> > > > child_kill_helper:  Kill pid 12735's group Jul 09 09:16:34 [2679]
> > > > postgres1       lrmd:  warning: child_timeout_callback:
> > > > PGSQL_monitor_15000 process (PID 12735) timed out  
> > >
> > > You probably want to enable debug output in resource agent. As far as I
> > > can tell, this requires HA_debug=1 in environment of resource agent, but
> > > for the life of me I cannot find where it is possible to set it.
> > >
> > > Probably setting it directly in resource agent for debugging is the most
> > > simple way.  
> >
> > I usually set this in "/etc/sysconfig/pacemaker". Never tried to add it
> > to pgsqlms, interesting.  
> 
> As far as I understand it will set it for every process spawned by
> pacemaker which may be too much (it would enable debug output in every
> resource agent for every resource).

Indeed, it does.

> Some generic mean to set it for
> specific resource only may be useful for targeted troubleshooting.

This would be useful.

I had a quick look in resource-agents and seen no RA setting HA_debug
themselves based on some reloadable parameters. Is it possible?


More information about the Users mailing list