[ClusterLabs] Antw: Re: Fwd: Postgres pacemaker cluster failure

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Jul 10 08:36:10 EDT 2019


>>> Jehan-Guillaume de Rorthais <jgdr at dalibo.com> schrieb am 10.07.2019 um
13:14 in
Nachricht <20190710131427.3876ea36 at firost>:
> 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?

Why not temporarily edit the RA script and put the parameter there?

> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> 
> ClusterLabs home: https://www.clusterlabs.org/ 





More information about the Users mailing list