Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Good Morning together,
today a question about drbd and pacemaker cluster on rhel6 clone (scientific linux 6.4).
Installed pacemaker and corosync/cman cluster after reading clusterlabs.org quickstart documentation http://clusterlabs.org/quickstart-redhat.html.
First everything seems to be OK and I can configured resources
Now I configured a drbd resource and it fails - logfile says:
"error: unpack_rsc_op: Preventing m_r_fodb_drbd from re-starting anywhere in the cluster : operation monitor failed 'not configured' (rc=6"
For creating resource I used pcs
pcs resource create r_fodb_drbd ocf:linbit:drbd params drbd_resource=drbd0 drbdconf=/etc/drbd.conf op monitor depth="0" timeout="20" interval="20" role="Slave" op monitor depth="0" timeout="20" interval="10" role="Master"
pcs resource master m_r_fodb_drbd r_fodb_drbd meta master-max="11" master-node-max="1" clone-max="2" clonde-node-max="1" notfiy="true"
DRBD is installed on /usr/local and config-file is /ur/local/etc/drbd.conf - configfile for resource fodb is /usr/local/etc/drbd.d/fodb.conf
drbd.conf
# You can find an example in /usr/share/doc/drbd.../drbd.conf.example
include "drbd.d/global_common.conf";
include "drbd.d/*.res";
include "drbd.d/drbd0.conf";
drbd0
resource drbd0 {
protocol C;
disk {
on-io-error detach;
}
syncer {
rate 100M;
}
on db05-test {
device /dev/drbd0;
disk /dev/vg_system/lvdrbd;
address 172.28.0.1:7789;
meta-disk internal;
}
on db06-test {
device /dev/drbd0;
disk /dev/vg_system/lvdrbd;
address 172.28.0.2:7789;
meta-disk internal;
}
}
DRBD-Version 8.4.3
When I started drbd manually it´s always OK but not in pacemaker resource. I cannot find more eventlogs for drbd
Whats wrong in my configuration and how can I debug drbd?
greetings Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130417/bed99f42/attachment.htm>