While copying your settings my resource came online, so you gave me the solution. It is either of two things: the interval set to 0 in the start and stop operation of the DRBD primitive, or all the extra parameters I set for the master/slave resource.
Thanks anyway! BC On 05 Jun 2014, at 15:07, "Hoffmann, Matthias" <matthias.hoffm...@schlemmerblock.de> wrote: > Hello, > > its been a while i configured this, but reading you meta data you must be > having a "Master/Slave" drbd. > So maybe you need some more configuration: > > My (working) drbd primitives look like this: > > primitive prim_Drbd_r0 ocf:linbit:drbd \ > params drbd_resource="r0" \ > op monitor interval="15s" role="Master" timeout="20" \ > op monitor interval="20s" role="Slave" timeout="20" \ > op start interval="0" timeout="240" \ > op stop interval="0" timeout="100" > > ms ms_Drbd_r0 prim_Drbd_r0 \ > meta notify="true" target-role="Started" > > hope this helps! > mho > > > -----Ursprüngliche Nachricht----- > Von: linux-ha-boun...@lists.linux-ha.org > [mailto:linux-ha-boun...@lists.linux-ha.org] Im Auftrag von Bart Coninckx > Gesendet: Donnerstag, 5. Juni 2014 14:57 > An: General Linux-HA mailing list > Betreff: [Linux-HA] troublesome DRBD resources on CentOS 6.5 > > Hi all, > > I have some DRBD resources on CentoOS 6.5 which refuse to start. A message I > get in Hawk and in /var/log/messages is: > > > Failed op: node=storage3, resource=p_drbd_ws021, call-id=73, > operation=monitor, rc-code=6 > > > I am able to start the DRBD resources manually. > I figured out that code "6" means configuration error, but I don't see where. > DRBD and it's resource agent are installed from source (drbd-8.4.4). > > This is the relevant cluster configuration, which I took from the "Clusters > from Scratch" document: > > > primitive p_drbd_ws021 ocf:linbit:drbd \ > params drbd_resource=ws021 drbdconf="/etc/drbd.conf" \ > op monitor interval=60 timeout=20 > ms ms_drbd_ws021 p_drbd_ws021 \ > meta master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 > notify=true target-role=Started > > > Any tips or hints are most welcome, because I have been looking at this thing > for two days and still no progress, > > thanks! > > BC > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems