Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, But reboot is not an (good) option, there must be a way that these servers should sync automatically after a failure (system shutdown or network failure). The primary when comes back assumes the primary/unknown role and standalone state, whereas the secondary takes the role secondary/unknown and standalone state, they must be connected (synced) and know the state of each other as well. Does somebody know how to achieve this? -- Usman On 9/15/06, Fabio Silva <fssilva at gmail.com> wrote: > > Hi, i was with the same problem, and anwsered me that when have a network > failure or anybody unplug the network cable, drbd on node1 still stay in > primary mode, and the node1 assume primary too, and when you plug the > network cable or, your network returns, drbd dont sync. > I dont know how to fix it too. but in my server when i have a network > failure (i didnt have yet) i will reboot the primary server and the node2 > and node1 will sync ok. > > Im using the latest version of drbd 0.7.21 . > > []s > > > On 9/15/06, Usman Ahmad <usmanamalik at gmail.com> wrote: > > > I posted a similar question yesterday, but no one has answered it yet... > > -- > Usman > > > On 9/15/06, Christophe Zwecker < doc at zwecker.de> wrote: > > > > Hi, > > > > we use heartbeat and drbd on two nodes > > > > > > node1 is primary with mounted fs > > node2 is secondary > > > > nod1 goes down (only network failure), heartbeat unmounts the drbd fs on > > node1. node 2 takes over and mounts the drbd volume. I change things on > > the fs on node2 > > > > node1 comes backup, mounts drbd volume and the change aint there > > because: > > > > Sep 15 13:47:03 mw-test-n2 kernel: drbd0: Current Primary shall become > > sync TARGET! Aborting to prevent data corruption. > > Sep 15 13:47:03 mw-test-n2 kernel: drbd0: drbd0_receiver [22293]: cstate > > WFReportParams --> StandAlone > > > > HOW do I address this issue ? > > > > thx for hints ! > > > > -- > > Christophe Zwecker mail: doc at zwecker.de > > Hamburg, Germany fon: +49 179 3994867 > > http://www.zwecker.de > > > > "Reality is that which, when you stop believing in it, doesn't go away" > > > > > > _______________________________________________ > > drbd-user mailing list > > drbd-user at lists.linbit.com > > http://lists.linbit.com/mailman/listinfo/drbd-user > > > > > > -- > Usman Ahmad Malik > > _______________________________________________ > > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > > > > > > -- > Fabio S. Silva > LPIC-1 Linux Professional Institute Certified > -- Usman Ahmad Malik -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060915/c2334c7e/attachment.htm>