Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
I'm testing the drbd 0.8 rc1 with the option active/active. I use the
software bonnie++ to stress a lot the hard disk and the sync between my
two nodes. At this time I use drbd 0.8rc1 with heartbeat to load balance
two IP, one for a nfs share and the other for sharedance. In the future,
I will use GFS to share the drdb disk. All work good if the two nodes
are alive, but when I make a test to cut one node (I stop heartbeat),
the system become unstable and the two nodes reboot in loop.
This is my setup :
drbd.conf :
global { usage-count yes; }
common { syncer { rate 100M; }}
resource sharedance {
protocol C;
disk { on-io-error detach;}
#handlers { incon-degr-cmd "halt -f";}
net {
cram-hmac-alg sha1;
shared-secret "FooFunFactory";
allow-two-primaries;
}
on node1 {
device /dev/drbd0;
disk /dev/md3;
address 10.0.0.1:7789;
meta-disk internal;
}
on node2 {
device /dev/drbd0;
disk /dev/md3;
address 10.0.0.2:7789;
meta-disk internal;
}
}
resource webcontent {
protocol C;
disk { on-io-error detach;}
net {
cram-hmac-alg sha1;
shared-secret "FooFunFactory";
allow-two-primaries;
}
on node1 {
device /dev/drbd1;
disk /dev/md4;
address 10.0.0.1:7790;
meta-disk internal;
}
on node2 {
device /dev/drbd1;
disk /dev/md4;
address 10.0.0.2:7790;
meta-disk internal;
}
}
haresources :
node1 \
Filesystem::/dev/drbd1::/share/spool1::xfs \
Delay::3::0 \
nfs-common \
nfs-kernel-server \
Delay::3::0 \
IPaddr2::192.168.200.151/24/eth0
node2 \
Filesystem::/dev/drbd0::/share/spool0::ext3 \
Delay::3::0 \
IPaddr2::192.168.200.152/24/eth0
It is a bug of drbd 0.8 rc1 or my setup is not good configured ?
Thank you in advance
Regards
Jean