[Linux-HA] Re: deadtime, warntime, and drbd

Lars Marowsky-Bree lmb at suse.de
Mon Mar 7 04:52:21 MST 2005


On 2005-03-04T23:21:28, Alan Robertson <alanr at unix.sh> wrote:

> This sounds mostly reasonable.  What kind of disks are you using, with what 
> kind of disk controller?  Do you have DMA enabled on the disks?
> 
> The DRBD deadtime needs to be shorter than the heartbeat deadtime - at 
> least slightly.

Yep, the drb script actually has a workaround like this:

    start)
        # try several times, in case heartbeat deadtime
        # was smaller than drbd ping time
        try=6
        while true; do
                $DRBDADM primary $RES && break
                let "--try" || exit 20
                sleep 1
        done

So, given the timings mentioned here, this should have worked.


Sincerely,
    Lars Marowsky-Brée <lmb at suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business




More information about the Linux-HA mailing list