Hello,<br><br>I have a question about mysql service monitoring into a MySQL HA cluster with pacemaker and DRBD, <br>I have set up a configuration to allow a failover between two nodes, it work fine when a node is offline (or standby), <span id="result_box" class="" lang="en"><span class="hps">but i want to know if it is</span> <span class="hps">possible to monitor</span> <span class="hps">the mysql service</span> <span class="hps"></span></span>to perform a failover if mysql is stopped or unavailable?<br>

<br>Thank you in advance for any response.<br><br>My crm configuration:<br><br>node node1 \<br>        attributes standby=&quot;off&quot;<br>node node2 \<br>        attributes standby=&quot;off&quot;<br>primitive Cluster-VIP ocf:heartbeat:IPaddr2 \<br>

        params ip=&quot;x.x.x.x&quot; broadcast=&quot;x.x.x.x&quot; nic=&quot;eth0&quot; cidr_netmask=&quot;21&quot; iflabel=&quot;VIP1&quot; \<br>        op monitor interval=&quot;10s&quot; timeout=&quot;20s&quot; \<br>
        meta is-managed=&quot;true&quot;<br>
primitive datavg ocf:heartbeat:LVM \<br>        params volgrpname=&quot;datavg&quot; exclusive=&quot;true&quot; \<br>        op start interval=&quot;0&quot; timeout=&quot;30&quot; \<br>        op stop interval=&quot;0&quot; timeout=&quot;30&quot;<br>

primitive drbd_mysql ocf:linbit:drbd \<br>        params drbd_resource=&quot;drbd-mysql&quot; \<br>        op monitor interval=&quot;15s&quot;<br>primitive fs_mysql ocf:heartbeat:Filesystem \<br>        params device=&quot;/dev/datavg/data&quot; directory=&quot;/data&quot; fstype=&quot;ext3&quot;<br>

primitive mysqld lsb:mysqld<br>group mysql datavg fs_mysql Cluster-VIP mysqld<br>ms ms_drbd_mysql drbd_mysql \<br>        meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>

location master-prefer-node-1 Cluster-VIP 25: node1<br>colocation mysql_on_drbd inf: mysql ms_drbd_mysql:Master<br>order mysql_after_drbd inf: ms_drbd_mysql:promote mysql:start<br>property $id=&quot;cib-bootstrap-options&quot; \<br>

        dc-version=&quot;1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f&quot; \<br>        cluster-infrastructure=&quot;openais&quot; \<br>        expected-quorum-votes=&quot;2&quot; \<br>        stonith-enabled=&quot;false&quot; \<br>

        no-quorum-policy=&quot;ignore&quot; \<br>        last-lrm-refresh=&quot;1332254494&quot;<br>rsc_defaults $id=&quot;rsc-options&quot; \<br>        resource-stickiness=&quot;100&quot;<br><br>