On Wed, 13 Aug 2008 15:51:43 +0200, Hagen Constantin <[EMAIL PROTECTED]> wrote:
ressources and mounts the DRBD "drive" - that's as it should be. But in
the moment the rebooted node comes up again, the two nodes are loosing
their DRBD-connection due to a 'Split-Brain'. The syslog tells me that.

Do you happen to use the heartbeat packages of Ubuntu 8.04?
Then this might be because of a bashism in /etc/init.d/heartbeat which is misinterpreted by the new Ubuntu default shell /bin/dash. The script finishes immediately and does not wait for the resources to stop. As the shutdown proceeds it removes all networking, and if this happens before the DRBD resource is stopped by heartbeat, this causes a real split brain situation for DRBD. Using dopd does not help with this.

Try "#!/bin/bash" instead of "#!/bin/sh" in the first line of /etc/init.d/heartbeat and see if this helps.

See https://bugs.launchpad.net/bugs/241017 , they did not deem it necessary to patch the LTS release :-( The proposed solution there is to keep using /bin/sh and adapt the misinterpreted command to /bin/dash (posix) syntax:
This is caused by line 336 of /etc/init.d/heartbeat in function StopHA,
which is misunderstood by dash:
   $HA_BIN/heartbeat -k &> /dev/null

Remedy: replace with
   $HA_BIN/heartbeat -k >/dev/null 2>&1

Mit freundlichen Grüßen / Kind regards
 Matthias Ferdinand
--
one4vision GmbH                    Fon +49 681 96727 - 60
Residenz am Schlossgarten          Fax +49 681 96727 - 69
Talstraße 34-42                    [EMAIL PROTECTED]
D-66119 Saarbrücken                http://www.one4vision.de
HRB 11751                          verantwortl. Geschäftsführer:
Amtsgericht Saarbrücken            Christof Allmann, Christoph Harth

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to