On Thu, Mar 13, 2008 at 12:24 PM, Guy <[EMAIL PROTECTED]> wrote: > On 13/03/2008, Schmidt, Florian <[EMAIL PROTECTED]> wrote: > > Here's something to read about dopd: > > > http://blogs.linbit.com/florian/2007/10/01/an-underrated-cluster-admins-companion-dopd/ > > I read that and then used the instructions from > http://www.drbd.org/users-guide/s-heartbeat-dopd.html. > > > > These are 2 differnt things: > > dopd is for outdating the secondaries DRBD-resources in case of DRBD > split-brain, which is not the same as Heartbeat split-brain. It only works, > if there are Heartbeat-lines which are different from DRBD-connection. > > > > Pingd is for checking connectivity to other ping nodes (such as routers > or switches) and maybe to switch the resources in case that other > cluster-nodes have better connectivity > > I'm using the heartbeat outdater at the moment. My setup is using two > nics. One to the local network and one with crossover cable to the > other node (the production machines will have 3 nics, 1 > external/internet, 1 internal network and one with crossover). When I > take out the network cable from node1 it fences the secondary > partition (/dev/drbd1) on node1 correctly, but the primary partition > (/dev/drbd0) on node1 becomes split-brain. Node2 in the mean time > keeps its primary partition (/dev/drbd1) and changes /dev/drbd0 to > primary just fine. So I still land up having to manually intervene to > fix the split brain of /dev/drbd0 on node1 before I can bring it back > in. After the manual intervention, node1 takes back control of > /dev/drbd0 and nfs etc switchs nodes successfully.
compare the paths of the outdate-peer handlers in your drbd.conf .... Regards, Andreas > > I need node1 to outdate both partitions since it has lost connectivity > so that they both sync from node2 when node1 returns. Then I can check > node1 and let it take back it's primary drbd partition. (I'm still not > totally sure how to do this without just restarting heartbeat on > node1.) > > I've attached my ha.cf, cib.xml and drbd.conf. If someone has a little > time to skim them and point out any errors. Besides the split brain > when network is lost the setup seems to be working nicely. > > Thanks for all the help and patience from some of you guys so far. > > Thanks for any further help. > > > Guy > > -- > Don't just do something...sit there! > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
