Hmm. Well you configured a monitor operation, so it should work.
Do the logs not show the mysql monitor operation being called every 5s?

On Fri, Apr 9, 2010 at 10:35 AM, Zausel <zau...@deltaknoten.de> wrote:
> oh, sorry
>
> node mysqlhost1 \
>        attributes standby="off"
> node mysqlhost2 \
>        attributes standby="off"
> primitive drbd_mysql ocf:heartbeat:drbd \
>        params drbd_resource="mysql" \
>        op monitor interval="59s" role="Master" timeout="30s" \
>        op monitor interval="60s" role="Slave" timeout="30s"
> primitive filesysmysql ocf:heartbeat:Filesystem \
>        params fstype="ext3" directory="/var/lib/mysql" device="/dev/drbd0" 
> options="" \
>        meta target-role="Started"
> primitive ipmy ocf:heartbeat:IPaddr2 \
>        params ip="192.168.1.23" broadcast="192.168.1.255" nic="eth0:0" \
>        meta target-role="Started"
> primitive mysqld ocf:heartbeat:mysql \
>        params binary="/usr/sbin/mysqld" pid="/var/lib/mysql/mysql.pid" 
> log="/var/log/mysqld.log" \
>        op monitor interval="5s" \
>        meta target-role="Started" is-managed="true"
> group res_mysql filesysmysql ipmy mysqld
> ms ms-drbd_mysql drbd_mysql \
>        meta clone-max="2" notify="true" globally-unique="false" 
> target-role="Started"
> colocation res-on-ms-mysql inf: res_mysql ms-drbd_mysql:Master
> order ms-drbd_mysql-before-res_mysql inf: ms-drbd_mysql:promote 
> res_mysql:start
> property $id="cib-bootstrap-options" \
>        dc-version="1.0.6-c48" \
>        expected-quorum-votes="2" \
>        no-quorum-policy="ignore" \
>        stonith-enabled="false" \
>        cluster-infrastructure="openais" \
>        last-lrm-refresh="1270796478"
>
>
>
> Am 09.04.2010 um 10:22 schrieb Andrew Beekhof:
>
>> Configuration?
>>
>> On Fri, Apr 9, 2010 at 9:18 AM, Zausel <zau...@deltaknoten.de> wrote:
>>> Hi,
>>>
>>> I updated my pacemaker on my SLES 11 system. after that my op monitor for 
>>> the ocf:heartbeat:mysql resource works only at the first time. after some 
>>> minutes the monitor dosen't check the daemon anymore. for example you can 
>>> kill the process and the crm_mon shows that the RA is started. Any 
>>> solutions?
>>>
>>> Current DC: mysqlhost1 - partition with quorum
>>> Version: 1.0.6-c48
>>> 2 Nodes configured, 2 expected votes
>>> 2 Resources configured.
>>> _______________________________________________
>>> 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
>
_______________________________________________
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

Reply via email to