[DRBD-user] drbd peer outdated plugin

Lars Ellenberg lars.ellenberg at linbit.com
Wed Oct 17 18:42:32 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tue, Oct 16, 2007 at 09:35:54AM +0200, Matteo Campana wrote:
> Thank you for the answer Lars, but yesterday I solved without the outdate peer
> handler but adding in my drbd.conf "after-sb-1pri discard-secondary;"
> directive.

just in case someone finds this "solution", and tries to copy it:
the problem is that now you do not avoid split brain,
but you do automatic cleanup afterwards.

the moment you lose connectivity,
your current primary will still
update its disk/database/whatever.

now heartbeat will migrate the services to the other node that
supposedly still hase outside connection.

but it does not have these latest updates,
as the outside connectivity was also the replication link.
when the services come back online on the other node,
your data jumped back in time to before the connectivity loss.

once the (replication/network) link is established again,
you discard those latest updates.

just so you are aware of that:

   _you_ configured it to **discard transactions**

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list