Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Invalid recurring action when trying to op start...

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


symack at gmail

Sep 22, 2011, 6:59 PM

Post #1 of 2 (213 views)
Permalink
Invalid recurring action when trying to op start...

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.
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 22, 2011, 7:29 PM

Post #2 of 2 (211 views)
Permalink
Re: Invalid recurring action when trying to op start... [In reply to]

On Fri, Sep 23, 2011 at 11:59 AM, Nick Khamis <symack [at] gmail> 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
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.