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 have DRBD 8.2.6 up and working on my two CentOS 32-bit servers. Now I
am trying to add a second resource on the machines, I am getting this error:
/etc/drbd.conf:57: conflicting use of IP 'a.b.c.d:7789' ...
/etc/drbd.conf:31: IP 'a.b.c.d:7789' first used here.
Here is my (sanitized) config file:
resource datavol {
handlers {
pri-on-incon-degr "echo 'DRBD: primary requested but inconsistent!' |
wall; /etc/init.d/heartbeat stop";
pri-lost-after-sb "echo 'DRBD: primary requested but lost!' | wall;
/etc/init.d/heartbeat stop";
}
on host1 {
device /dev/drbd1;
disk /dev/sda5;
address a.b.c.d:7789;
meta-disk internal;
}
on host2 {
device /dev/drbd1;
disk /dev/sda5;
address a.b.c.e:7789;
}
startup {
degr-wfc-timeout 30; #2m timeout
}
disk {
on-io-error detach;
}
}
resource datavol {
handlers {
pri-on-incon-degr "echo 'DRBD: primary requested but inconsistent!' |
wall; /etc/init.d/heartbeat stop";
pri-lost-after-sb "echo 'DRBD: primary requested but lost!' | wall;
/etc/init.d/heartbeat stop";
}
on host1 {
device /dev/drbd5;
disk /dev/loop1;
address a.b.c.d:7789;
meta-disk internal;
}
on host2 {
device /dev/drbd5;
disk /dev/loop1;
address a.b.c.e:7789;
meta-disk internal;
}
}
If I leave the 'address' lines off the second resource, I get a 'missing
address' error. Any thoughts?
Regards,
Jeff Orr
Attributor Corporation