rendered paste bodyresource drbd0 {
protocol C;
handlers {
incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";
}
startup {
degr-wfc-timeout 120; # 2 minutes.
}
disk {
on-io-error pass_on;
}
net {
# TODO: Should these timeouts be relative to some heartbeat settings?
# timeout 60; # 6 seconds (unit = 0.1 seconds)
# connect-int 10; # 10 seconds (unit = 1 second)
# ping-int 10; # 10 seconds (unit = 1 second)
on-disconnect reconnect;
}
syncer {
rate 30M;
group 1;
al-extents 257;
}
on node1 {
device /dev/drbd0;
disk /dev/sda9;
address 10.0.0.1:7788;
meta-disk /dev/sda10[0];
}
on xen-2 {
device /dev/drbd0;
disk /dev/sda9;
address 10.0.0.2:7788;
meta-disk /dev/sda10[0];
}
}