Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi all...
Do I need to upgrade drbd from 8.0.4 (the one shipped with Debian Etch) for
making my handlers getting fired? If so, is there an official deb (a public
one, unprotected by a password)? Or is there a way to bring this stuff to
work in that version (firing the incon-degr-cmd handler and the others)?
Thanks for help && Greetings,
Fabiano
-------------- next part --------------
global {
usage-count no;
}
common {
protocol C;
disk {
on-io-error call-local-io-error;
fencing resource-only;
}
net {
ko-count 10;
#cram-hmac-alg "sha1";
#shared-secret "secret";
after-sb-0pri disconnect;
after-sb-1pri call-pri-lost-after-sb;
after-sb-2pri call-pri-lost-after-sb;
always-asbp;
rr-conflict call-pri-lost;
#timeout 60; #.1
#connect-int 10; #1
#ping-timeout 5; #.1
#max-epoch-size 2048;
}
startup {
degr-wfc-timeout 30;
}
syncer {}
}
resource mail {
on nikko-mail {
device /dev/drbd1;
disk /dev/sda6;
address 192.168.0.3:8899;
meta-disk internal;
}
on nikko-web {
device /dev/drbd1;
disk /dev/sda6;
address 192.168.0.2:8899;
meta-disk internal;
}
handlers {
local-io-error "/root/bin/drbd/local-io-error mail";
outdate-peer "/root/bin/drbd/outdate-peer mail";
pri-lost "/root/bin/drbd/pri-lost mail";
pri-lost-after-sb "/root/bin/drbd/pri-lost-after-sb mail";
pri-on-incon-degr "/root/bin/drbd/pri-on-incon-degr mail";
}
}
resource web {
on nikko-mail {
device /dev/drbd0;
disk /dev/sda5;
address 192.168.0.3:7788;
meta-disk internal;
}
on nikko-web {
device /dev/drbd0;
disk /dev/sda5;
address 192.168.0.2:7788;
meta-disk internal;
}
handlers {
local-io-error "/root/bin/drbd/local-io-error web";
outdate-peer "/root/bin/drbd/outdate-peer web";
pri-lost "/root/bin/drbd/pri-lost web";
pri-lost-after-sb "/root/bin/drbd/pri-lost-after-sb web";
pri-on-incon-degr "/root/bin/drbd/pri-on-incon-degr web";
}
}
# vim:ts=2: