[DRBD-user] Invalid recurring action when trying to op start...

Nick Khamis symack at gmail.com
Fri Sep 23 03:59:24 CEST 2011

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


Hello Everyone,

When trying to load the folloing RA configuration:

node mydrbd1 \
       attributes standby="off"
node mydrbd2 \
       attributes standby="off"
primitive ip1 ocf:heartbeat:IPaddr2 \
        params ip="192.168.2.5" cidr_netmask=24 \
	nic="eth1"
primitive drbd_mysql ocf:linbit:drbd \
	params drbd_resource="r0.res" \
	op start interval="15" timeout="60" \
        op stop interval="0" timeout="120"
ms ms_drbd_mysql drbd_mysql \
	meta master-max="1" master-node-max="1" \
	clone-max="2" clone-node-max="1" \
	notify="true"
primitive fs_mysql ocf:heartbeat:Filesystem \
	params device="/dev/drbd0" directory="/service" fstype="ext3" \
        op start interval="15" timeout="60" \
        op stop interval="0" timeout="120" \
        meta target-role="Started"
primitive mysql ocf:heartbeat:mysql \
	params binary="/usr/local/mysql/bin/mysqld_safe" \
	config="/etc/my.cnf" datadir="/service/data" \
	socket="/tmp/mysql.sock" pid="/service/data/mydrbd2.pid" \
	op start interval="0" timeout="120" \
	op stop interval="0" timeout="120" \
	op monitor interval="60" timeout="30" depth="0" \
	meta target-role="Started"
group HAServices ip1 fs_mysql mysql \
	meta target-role="Started"
colocation mysql_on_drbd \
                      inf: mysql ms_drbd_mysql:Master HAServices
order mysql_after_drbd \
                      inf: ms_drbd_mysql:promote mysql:start
property $id="cib-bootstrap-options" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        expected-quorum-votes="2" \
        dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
        cluster-recheck-interval="0" \
        cluster-infrastructure="openais"
	rsc_defaults $id="rsc-options" \
	resource-stickiness="100"

I am recieving the follwing crm_valid -L

crm_verify[1743]: 2011/09/22_21:56:19 ERROR: RecurringOp: Invalid
recurring action drbd_mysql-start-15 wth name: 'start'
crm_verify[1743]: 2011/09/22_21:56:19 ERROR: RecurringOp: Invalid
recurring action drbd_mysql-start-15 wth name: 'start'
crm_verify[1743]: 2011/09/22_21:56:19 ERROR: RecurringOp: Invalid
recurring action drbd_mysql-start-15 wth name: 'start'
crm_verify[1743]: 2011/09/22_21:56:19 ERROR: RecurringOp: Invalid
recurring action drbd_mysql-start-15 wth name: 'start'


I need to include the following:

op start interval="15" timeout="60" \
op stop interval="0" timeout="120"

To allow DRBD enough time to connect and mount. The example provided
on the site keeps both DRBD node as secondary:secondary....

Please Help,

Nick.



More information about the drbd-user mailing list