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
--
:wq!
====================================================================
Robert L. Harris | GPG Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems