[DRBD-user] Question about the 'ping' mechanism

Lars Ellenberg lars.ellenberg at linbit.com
Tue Mar 17 10:15:36 CET 2009

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, Mar 17, 2009 at 09:57:48AM +0100, Iustin Pop wrote:
> Hi,
> 
> I've searched the docs (and slightly the sources) but I can't find a
> definitive answer about the following. Note that I'm using DRBD 8.0.12,
> not latest version.
> 
> The man page for drbdsetup makes it sound like both ends of a drbd pair
> will ping the other in case of no activity. However, in practice on an
> unused device, only one of the two TCP connections that is used by the
> DRBD pair sees pings; the other one sees no traffic at all.

right.
"DRBD Pings" are only send via the "meta connection",
not the "data connetion".

> (This would not usually be a problem, except that if one has iptables
> and conntrack enabled on the machine, and the device is not used for
> long enough time, the second TCP connection will be forgotten by the
> conntrack module)

Ouch.

hm. are there tcp keepalive packets?
or should be do our in DRBD protocol keepalive as well?

-- 
: Lars Ellenberg                
: LINBIT HA-Solutions GmbH
: DRBD®/HA support and consulting    http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list