<div dir="ltr"><div><div><div><div>Hi all,<br></div>now I am trying to configure a dual DRBD with mysql <br>i wanna use active/active mode without any loadbalance.<br></div>so my drbd is primary/primary on node1 and node2.<br>
</div>the mount point is /mysql <br></div><div>and i configure everything for mysql <br></div><div>then when I start the pacemaker service <br>the mysql can only be active on one node.<br></div><div>and another server show mysql startup error.<br>
<br></div><div>I tried few times...so here is my question,<br></div><div>whether because of I set primay/primary drbd so actually the two nodes hold the same shared storage (/mysql folder on two nodes)<br></div><div>so if one node start mysql that means it locks the folder /mysql <br>
and another node can not continue use this shared storage.<br><br></div><div>does mysql active/active mode must use loadblance or something else?<br><br></div><div>hope my description is fine to understand. <br><br></div>
<div>here is my crm status...I dont think my CIB configuration is wrong...<br>but mysql can not be alive on both nodes..which is strange...<br><br><br>Online: [ <a href="http://node1.test.com">node1.test.com</a> <a href="http://node2.test.com">node2.test.com</a> ]<br>
<br> Clone Set: mysqlFS_clone [mysqlFS]<br>     Started: [ <a href="http://node1.test.com">node1.test.com</a> ]<br>     Stopped: [ mysqlFS:1 ]<br> Clone Set: mysqld_clone [mysqld]<br>     Started: [ <a href="http://node1.test.com">node1.test.com</a> ]<br>
     Stopped: [ mysqld:1 ]<br> Master/Slave Set: mysqldrbd_clone [mysqldrbd]<br>     Masters: [ <a href="http://node1.test.com">node1.test.com</a> ]<br>     Slaves: [ <a href="http://node2.test.com">node2.test.com</a> ]<br>
 Clone Set: WebIP [ClusterIP] (unique)<br>     ClusterIP:0        (ocf::heartbeat:IPaddr2):       Started <a href="http://node1.test.com">node1.test.com</a><br>     ClusterIP:1        (ocf::heartbeat:IPaddr2):       Started <a href="http://node2.test.com">node2.test.com</a><br>
<br>Failed actions:<br>    mysqldrbd_monitor_30000 (node=<a href="http://node1.test.com">node1.test.com</a>, call=49, rc=8, status=complete): master<br></div></div>