Hello again!
hi Adrian
Using your config with the drbd official script in the slave node the
drbd isn't started but the monitor said that it is started. A
improvement is drbd script supports the two resources, with my config I
can't make it works with two resources. With my script all is running
OK, I don't know why but I am not implementing notify action in my
script, and official script seems to fail at this action.
Have anyone else tried official script with two resources ?
I have some light of my problem. I have made some tests and I have found
some differences between versions of drbd and Heartbeat.
Official Script:
Heartbeat 2.1.4 + DRBD 8.0.13 -> Master node is OK, Slave node is shown
as started but I hadn't moduled loaded
Heartbeat 2.1.4 + DRBD 8.1.27~rc1 -> Master node is OK, Slave node is
shown as started but I hadn't moduled loaded
Heartbeat 2.99.1 + DRBD 8.0.13 -> Master node is OK and Slave is OK
Heartbeat 2.99.1 + DRBD 8.1.27~rc1 -> Master node is OK and Slave is OK
It could be a problem on drbd OCF script of old versions, but Heartbeat
2.1.4 is a stable version. If you want to use Hearbeat 2.1.4 with 2 DRBD
resources, you should do a new OCF script or use my script.
My script, is OK always.
yep, i just set up a 2 nodes with 2 drbd resources (one on each node).
using debian etch, pacemaker 1.0/heartbeat 2.99, drbd 8.2.6.
the drbd-stuff i had to backport from "expermintal"*. the 8.0.13 version
vom backports.org had problems in failover. often the resources gone to
"Consistent" state on failover (AKA it didn't work). Problems gone away
with 8.2.6 version.
node1: DRBD, Filesystem, IPAddr2, Mysql
node2: DRBD, Filesystem, IPAddr2, Apache
the drbd connection goes over a cross-over cable between the 2 servers.
- Thomas
* http://packages.debian.org/search?
suite=experimental§ion=all&arch=any&searchon=names&keywords=drbd8
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems