Hi,
I've 2 xen server setup using DRBD. The VM is run on the DRBD partition.
Both server running on Centos 5.6 with 2 NIC, 1 NIC is use by DRBD direct
connect to another server using cross over cable. One run on Primary mode and
another run on Secondary Mode.
Everything work fine so far, but we just found that when the VM is running and
if we remove the cross over cable, the primary host will get reboot.
Is it something to do to DRBD setup?
here is my drbd.conf
global {
usage-count no;
}
common {
protocol C;
startup {
#become-primary-on both;
degr-wfc-timeout 60;
wfc-timeout 30;
}
net {
allow-two-primaries;
cram-hmac-alg sha1;
shared-secret "123456";
after-sb-0pri discard-zero-changes;
#after-sb-1pri violently-as0p;
after-sb-1pri discard-secondary;
#after-sb-2pri violently-as0p;
after-sb-2pri disconnect;
}
syncer {
rate 24M;
verify-alg sha1;
}
}
resource vm1 {
disk /dev/vmVg/vm1;
device /dev/drbd1;
meta-disk internal;
on primary.host.com {
address 172.16.66.1:7789;
}
on secondary.host.com {
address 172.16.66.2:7789;
}
}
Regards
Louis
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user