[Pacemaker] pengine self-maintenance

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Mon May 17 08:32:52 UTC 2010


On 05/17/2010 08:52 AM, Andrew Beekhof wrote:
> On Sun, May 16, 2010 at 1:09 AM, Vadym Chepkov <vchepkov at gmail.com> wrote:
>> Hi
>>
>> I noticed pengine (pacemaker-1.0.8-6.el5) creates quite a lot of files in
>> /var/lib/pengine,
>> especially when cluster-recheck-interval is set to enable failure-timeout
>> checks.
> 
> pengine metadata | grep series-max
> 
>> /var/lib/heartbeat/crm/ seems also growing unattended.
> 
> Unless there is a bug somewhere, it should be storing only the last
> 100 configurations.

when chaning this value at runtime, how long will pacemaker take to
honor the new value?

as for one of my clusters, i changed pe-error-series-max,
pe-warn-series-max and pe-input-series-max from -1 too 100 and
am already waiting a couple of minutes for the files to disappear:

> root at wc01 ~ # grep pe-error-series-max /var/log/syslog
> May 17 10:29:15 wc01 cib: [9954]: info: log_data_element: cib:diff: -         <nvpair value="-1" id="pe-error-series-max" />
> May 17 10:29:15 wc01 cib: [9954]: info: log_data_element: cib:diff: +         <nvpair value="100" id="pe-error-series-max" />
> root at wc01 ~ # find /var/lib/pengine -type f|wc -l
> 128435
> root at wc01 ~ # date
> Mon May 17 10:32:06 CEST 2010

thanks,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list