[Linux-HA] getting the current generation dynamic value

Alan Robertson alanr at unix.sh
Fri Sep 1 15:57:21 MDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oren Nechushtan wrote:
> Otherwise, when replacing a passive node I may get the following errors:
> 
> #heartbeat[..]: .. ERROR: should_drop_message: attempted replay attack [haha-2]? [gen = 1, curgen = 6]
> 
> Oren.
> 
> -----Original Message-----
> From: linux-ha-bounces at lists.linux-ha.org [mailto:linux-ha-bounces at lists.linux-ha.org]On Behalf Of Lars Marowsky-Bree
> Sent: Tuesday, August 29, 2006 8:53 PM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] getting the current generation dynamic value
> 
> 
> On 2006-08-29T17:43:36, Oren Nechushtan <oren at forescout.com> wrote:
> 
>> Hi,
>> I am using heartbeat 2.0.7 with crm enabled.
>> How do I get the current generation value ?
>> The value in /var/lib/heartbeat/hb_generation is not updated often enough.

It is updated every time you start heartbeat - which is the only time it
changes.  And, it goes to great trouble to make sure the number on disk
matches what it's using (read the code, it's extremely paranoid).



- --
    Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFE+KzBNkLhYXF6ZA4RAl0iAJ4sXKRrGvpRBqoohq3Xj3OmGHSnRQCeNmU6
Wi+j1v1R5JCMy2Ct2KfZvjI=
=1Z0X
-----END PGP SIGNATURE-----


More information about the Linux-HA mailing list