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

Nick Khamis symack at gmail.com
Fri Sep 23 04:44:21 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 Andrew.

Thank you so much for you response, I originally got the idea from:
http://www.gossamer-threads.com/lists/linuxha/pacemaker/65195.
Before adding the mysql primitive, everything works fine (starting,
connecting and mounting DRBD). After adding the mysql stuff, I run
into problems.

Regards,

Nick.

On Thu, Sep 22, 2011 at 10:29 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
> On Fri, Sep 23, 2011 at 11:59 AM, Nick Khamis <symack at gmail.com> wrote:
>> 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"
>
> I doubt it.  Why would you want to run "start" every 15 seconds?
>
>> 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.
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list