[DRBD-user] drbd pacemaker

Stefan stefan at fuhrmann.homedns.org
Wed Sep 9 13:03:19 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Thanks Florian!

Am Dienstag 08 September 2009 14:00:24 schrieb Florian Haas:

> > Can someone help?
>
> That's an error in the docs. The constraints referred to a primitive
> (fs_mysql), rather than to the group (mysql). This has been fixed; the
> docs are now updated. Thanks.

okay I followed new instractions and its also not working:

Sep  9 12:49:40 bart lrmd: [8056]: ERROR: (raexecocf.c:execra:178) execl 
failed for /usr/lib/ocf/resource.d//linibit/drbd: No such file or directory

during restarting I found wrong pathes, like above. One time its linibit and 
another time its linbid.

I rename the directory so drbd can start. after that I get

info: RA output: (fs_mysql:monitor:stderr) 2009/09/09_12:55:01 WARNING: 
Couldn't find device [/dev/drbd0]. Expected /dev/??? to exist

cat /proc/drbd   no such file...  driver unloaded!


using lsb:
primitive drbd_mysql lsb:drbd \
        params drbd_resource="r0" \
        op monitor interval="15s"

gives in log:
bart:~# tail -f /var/log/syslog |grep drbd
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for fail-count-drbd
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for fail-count-drbd_mysql:0
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for last-failure-drbd
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for fail-count-drbd_mysql:1
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for last-failure-drbd_mysql:0
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for master-drbd_mysql:0
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for master-drbd_mysql:1
Sep  9 12:38:29 bart attrd: [7863]: info: find_hash_entry: Creating hash entry 
for last-failure-drbd_mysql:1
Sep  9 12:38:29 bart crmd: [7865]: info: do_lrm_rsc_op: Performing 
key=5:369:7:3682be57-dd77-4188-8bad-4473b32393d7 op=drbd_mysql:0_monitor_0 )
Sep  9 12:38:29 bart lrmd: [7862]: info: rsc:drbd_mysql:0:2: monitor
Sep  9 12:38:29 bart lrmd: [7862]: info: RA output: 
(drbd_mysql:0:monitor:stderr) drbd not loaded
Sep  9 12:38:29 bart crmd: [7865]: info: process_lrm_event: LRM operation 
drbd_mysql:0_monitor_0 (call=2, rc=7, cib-update=8, confirmed=true) complete 
not running
Sep  9 12:38:29 bart lrmd: [7862]: info: RA output: (fs_mysql:monitor:stderr) 
2009/09/09_12:38:29 WARNING: Couldn't find device [/dev/drbd0]. Expected 
/dev/??? to exist

and the drbd driver is unloaded.

What is wrong?

can someone help?

tia
stefan




More information about the drbd-user mailing list