[Pacemaker] attrd_updater - how works?

Andrew Beekhof andrew at beekhof.net
Tue Jan 18 08:51:06 UTC 2011


On Thu, Jan 6, 2011 at 9:28 PM, Michael Schwartzkopff
<misch at clusterbau.com> wrote:
> Hi,
>
> I have a question about the attrd_updater. How does it work exactly? Ok, I
> understand that it uses hysteresis updating the values in the CIB. But what
> happens if the values change just a little bit.

Changed is changed.  Whether they change by a lot or a little has no
baring on the update.
I can imagine it might be a useful option though if someone wanted to
implement it.

> Lets have an example:
>
> I want to measure processor usage. The result will be a number from 0 to 100.
> In the normal case the number would be between 20 and 30, mostly 25, sometimes
> 26, sometimes 22.
>
> If I use attrd_updater to update the CIB, havind the waitung time longer than
> the measurement interval, will the values in the CIB updated at all?
>
> Greetings,
>
> --
> Dr. Michael Schwartzkopff
> Guardinistr. 63
> 81375 München
>
> Tel: (0163) 172 50 98
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list