Hello everybody, after talking with my CTO and reading clusterlabs.org corosync 2.0 (I use 1.0x) http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/index.html I was able to solve the problem.
you can´t start a master/slave resource without master/slave rule for example pcs -f "CONFIGFILE" resource create r_drbd0 ocf:linbit:drbd drbd_resource=drbd0 drbdconf=/usr/local/etc/drbd.conf \ op monitor interval=45s timeout=60s role="Slave" \ monitor interval=15s timeout=60s role="Master" \ start interval=0 timeout=240s \ stop interval=0 timeout=240s \ meta migration-threshold=2 pcs -f "CONFIGFILE" resource master ms_drbd_fodb r_drbd0 master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true meta target-role="Stopped" After creating resources you can write it togehter pcs cluster cib "CONFIFGILE" Greetings Wolfgang _____________________________________________ Von: Wolfgang Routschka Gesendet: Mittwoch, 17. April 2013 11:48 An: 'pacemaker@oss.clusterlabs.org' Betreff: drbd resource operation monitor failed 'not configured' Hi guys, one question today about drbd resource on rhel6.x clone scientific linux 6.4 with pacemaker/cman I configure drbd resource in pcs pcs resource create drbd ocf:linbit:drbd drbd_resource="drbd0" drbdconf=/usr/local/etc/drbd.conf op monitor interval="15" meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" in errorlog drbd(drbd)[8870]: 2013/04/17_11:35:57 ERROR: meta parameter misconfigured, expected clone-max -le 2, but found unset. lrmd: notice: operation_finished: drbd_monitor_0:8870 [ 2013/04/17_11:35:57 ERROR: meta parameter misconfigured, expected clone-max -le 2, but found unset. error: unpack_rsc_op: Preventing r_test from re-starting anywhere in the cluster : operation monitor failed 'not configured' (rc=6) for debugging I found ocf-tester ocf-tester -n r_drbd /usr/lib/ocf/resource.d/linbit/drbd -o drbd_resource="drbd0" Output: * rc=6: Validation failed. Did you supply enough options with -o ? WARNING: You may be disappointed: This RA is intended for pacemaker 1.0 or better! ERROR: meta parameter misconfigured, expected clone-max -le 2, but found unset. Whats wrong in my configuration? I don´t understand the problem because options is set version-overview drbd-8.4.3 pacemaker- 1.1.8 corosync- 1.4.1 cman- 3.0.12.1 I hope anybody can help Greetings Wolfgang
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org