Am Dienstag, 4. August 2009 16:09:59 schrieb Robert L. Harris:
> I am trying to get a 2 node DRBD setup running. I thought I had it as I
> was able to drop
> a file on the first node, grandpa, and it was visible on both. A power
> cycle later, there's
> no two way syncing and when it boots says it's waiting for the other
> node to come up
> and will wait forever.
>
> Here's what I have currently:
> r...@grandpa:/etc/rc2.d# cat /proc/drbd
> version: 8.3.0 (api:88/proto:86-89)
> GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by
> iv...@ubuntu, 2009-01-17 07:49:56
> 0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r---
> ns:792080589 nr:84 dw:204 dr:792080718 al:6 bm:48345 lo:0 pe:0 ua:0
> ap:0 ep:1 wo:d oos:0
>
> r...@grandma:~# cat /proc/drbd
> version: 8.3.0 (api:88/proto:86-89)
> GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by
> iv...@ubuntu, 2009-01-17 07:49:56
> 0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r---
> ns:0 nr:0 dw:0 dr:0 al:0 bm:2 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:12288
>
>
> r...@grandpa:/etc/rc2.d# cat /etc/drbd.conf
> common {
> syncer { rate 60M; }
> }
>
> resource r0 {
>
> protocol C;
> handlers {
> pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";
> }
>
> net {
> allow-two-primaries;
> }
>
> startup {
> become-primary-on both;
> }
>
> on grandpa { # ** EDIT ** the hostname of server 1
> device /dev/drbd0; #
> disk /dev/mapper/isw_dfeijegdcg_Volume04; # ** EDIT **
> data partition on server 1
> address 192.168.0.20:7788; # ** EDIT ** IP address on server 1
> meta-disk /dev/mapper/isw_dfeijegdcg_Volume03[0]; # ** EDIT **
> 128MB partition for DRBD on server 1
> }
>
> on grandma { # ** EDIT ** the hostname of server 2
> device /dev/drbd0; #
> disk /dev/mapper/isw_eafchajabg_Volume04; # ** EDIT **
> data partition on server 2
> address 192.168.0.21:7788; # ** EDIT ** IP address on server 2
> meta-disk /dev/mapper/isw_eafchajabg_Volume03[0]; # ** EDIT **
> 128MB partition for DRBD on server 2
> }
> }
>
>
> Anyone see anything or have any ideas? I need to have this live Monday.
>
> Robert
Recovery. See:
http://www.drbd.org/docs/working/
chapter "manual split brain recovery"
I have seen this often during the cluster setup but it shold not happen during
operation afterwards, when nobody is playing around with the cluster.
Also be sure you read
http://www.drbd.org/docs/install/
section "Automatic split brain recovery policies"
Did you install everything accordingly?
Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: [email protected]
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems