mysql is running ,and crm status output is<br><br>============<br>Last updated: Sat Jun  5 09:48:58 2010<br>Stack: openais<br>Current DC: PRIM - partition with quorum<br>Version: 1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7<br>
2 Nodes configured, 2 expected votes<br>2 Resources configured.<br>============<br><br>Online: [ PRIM SEC ]<br><br> Resource Group: mysql<br>     fs_mysql   (ocf::heartbeat:Filesystem):    Started PRIM<br>     ip_mysql   (ocf::heartbeat:IPaddr2):       Started PRIM<br>
     mysqld     (lsb:mysqld):   Started PRIM<br> Master/Slave Set: ms_drbd_mysql<br>     Masters: [ PRIM ]<br>     Slaves: [ SEC ]<br><br>and i finished the mysql by <br><br>#service mysqld stop<br>Stopping MySQL:                                            [  OK  ]<br>
# service mysqld status<br>mysqld is stopped<br><br>but in the crm status output , mysql still in running ,i do not understand why?<br><br>============<br>Last updated: Sat Jun  5 09:48:58 2010<br>Stack: openais<br>Current DC: PRIM - partition with quorum<br>
Version: 1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7<br>2 Nodes configured, 2 expected votes<br>2 Resources configured.<br>============<br><br>Online: [ PRIM SEC ]<br><br> Resource Group: mysql<br>     fs_mysql   (ocf::heartbeat:Filesystem):    Started PRIM<br>
     ip_mysql   (ocf::heartbeat:IPaddr2):       Started PRIM<br>     mysqld     (lsb:mysqld):   Started PRIM<br> Master/Slave Set: ms_drbd_mysql<br>     Masters: [ PRIM ]<br>     Slaves: [ SEC ]<br><br>and here is my configure<br>
<br># crm<br>crm(live)# configure<br>crm(live)configure# show<br>node PRIM<br>node SEC<br>primitive drbd_mysql ocf:linbit:drbd \<br>        params drbd_resource=&quot;r1&quot; \<br>        op monitor interval=&quot;15s&quot;<br>
primitive fs_mysql ocf:heartbeat:Filesystem \<br>        params device=&quot;/dev/drbd/by-res/r1&quot; directory=&quot;/drbddata/&quot; fstype=&quot;ext3&quot;<br>primitive ip_mysql ocf:heartbeat:IPaddr2 \<br>        params ip=&quot;192.168.76.227&quot; nic=&quot;eth0&quot;<br>
primitive mysqld lsb:mysqld<br>group mysql fs_mysql ip_mysql 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>
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>        no-quorum-policy=&quot;ignore&quot; \<br>
        stonith-enabled=&quot;false&quot; \<br>        expected-quorum-votes=&quot;2&quot; \<br>        dc-version=&quot;1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7&quot; \<br>        cluster-infrastructure=&quot;openais&quot; \<br>
        default-action-timeout=&quot;240s&quot;<br><br>