[DRBD-user] DRPD + DOPD Not Recovering from Replication Link Failure

Florian Haas florian.haas at linbit.com
Mon Jul 14 08:48:16 CEST 2008

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


Art Age Software wrote:
> I have set up drbd + dopd according to the User's Guide and am
> attempting to test according to the instructions as follows:
> 
> 
> 1. "To test whether your dopd setup is working correctly, interrupt
> the replication link of a configured and connected resource while
> Heartbeat services are running normally. You may do this by either
> physically unplugging the network link, or by running ifconfig
> interface down on the interface used for DRBD replication."
> 
> OK, I successfullly bring down the replication interface (via ifconfig).

Wrong approach. :-)

If you do ifconfig down; DRBD will terminate its networking threads,
putting the resource in StandAlone mode. You won't get it out of
StandAlone until you do "drbdadm connect".

If, conversely, you pull the cable, or insert an iptables rule to drop
incoming DRBD packets, DRBD's networking threads will continue to run
and the resource will remain in WFConnection on both ends. The resource
will then return to Connected mode as soon as you re-plug the cable or
remove the iptables rule.

Florian

-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria

When replying, there is no need to CC my personal address.
I monitor the list on a daily basis. Thank you.



More information about the drbd-user mailing list