Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I'm trying to build an active passive cluster with drbd / corosync / pacemaker on debian lenny. I followed the doc Cluster from Scratch, my pacemaker configuration is ok with an ocf:heartbeat:IPaddr2 : Drbd 8.3.7 is ok : version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at debian1, 2010-02-24 23:24:09 0: cs:VerifyS ro:Primary/Secondary ds:UpToDate/UpToDate C r---- ns:1048508 nr:0 dw:0 dr:1188552 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 13% 34944/262127 But when I run a crm_verify -L -V : crm_verify[3693]: 2010/03/16_22:33:49 WARN: process_orphan_resource: Nothing known about resource drbd1 running on debian1 crm_verify[3693]: 2010/03/16_22:33:49 ERROR: unpack_rsc_op: Hard error - drbd1_monitor_0 failed with rc=6: Preventing drbd1 from re-starting anywhere in the cluster crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:1_monitor_30000 on debian1: not running (7) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:0_monitor_30000 on debian1: not running (7) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:0_start_0 on debian1: unknown exec error (-2) crm_verify[3693]: 2010/03/16_22:33:49 ERROR: unpack_rsc_op: Hard error - drbd1_monitor_0 failed with rc=6: Preventing drbd1 from re-starting anywhere in the cluster crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:0_demote_0 on debian2: unknown error (1) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Forcing drbd1:0 to stop after a failed demote action crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:0_start_0 on debian2: unknown exec error (-2) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:1_monitor_60000 on debian2: not running (7) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Processing failed op drbd1:1_demote_0 on debian2: unknown error (1) crm_verify[3693]: 2010/03/16_22:33:49 WARN: unpack_rsc_op: Forcing drbd1:1 to stop after a failed demote action crm_verify[3693]: 2010/03/16_22:33:49 WARN: common_apply_stickiness: Forcing drbd1c away from debian1 after 1000000 failures (max=1000000) crm_verify[3693]: 2010/03/16_22:33:49 WARN: common_apply_stickiness: Forcing drbd1c away from debian2 after 1000000 failures (max=1000000) crm_verify[3693]: 2010/03/16_22:33:49 WARN: native_color: Resource drbd1:0 cannot run anywhere crm_verify[3693]: 2010/03/16_22:33:49 WARN: native_color: Resource drbd1:1 cannot run anywhere crm configure show : node debian1 node debian2 primitive Web ocf:heartbeat:apache \ params configfile="/etc/apache2/apache2.conf" \ op monitor interval="1min" primitive drbd1 ocf:linbit:drbd \ params drbd_resource="r1" drbdconf="/etc/drbd.conf" \ op monitor interval="60s" role="Master" timeout="30s" \ op monitor interval="30s" role="Slave" timeout="30s" \ meta target-role="Started" primitive ip ocf:heartbeat:IPaddr2 \ params ip="192.168.5.20" cidr_netmask="32" \ op monitor interval="30s" ms drbd1c drbd1 \ meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" colocation website-with-ip inf: Web ip order apache-apres-ip inf: ip Web property $id="cib-bootstrap-options" \ dc-version="1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe" \ cluster-infrastructure="openais" \ stonith-enabled="false" \ no-quorum-policy="ignore" \ expected-quorum-votes="2" Don't know what is wrong with the drbd resource, apache works on the ip resource, any ideas ? Thanks, Olivier