Hello, i am configuring db_cluster module in kamailio 3.3<br>I have configured in roun-robin read between two MySQL servers but the load is not distributed equally<br>My configuration is that:<br>modparam("db_cluster", "connection", "con1=>mysql://<a href="http://USER1:PASS1@1.1.1.1/DB">USER1:PASS1@1.1.1.1/DB</a>")<br>
modparam("db_cluster", "connection", "con2=>mysql://<a href="http://USER2:PASS2@2.2.2.2/DB">USER2:PASS2@2.2.2.2/DB</a>")<br>modparam("db_cluster", "cluster", "cls1=>con1=9r9p;con2=9r9p")<br>
And the auth module with:<br>modparam("auth_db", "db_url", "cluster://cls1")<br><br>But i have enabled the mysql logs and the major part of the querys are targeted to the second server<br>Is there any cache by peer?<br>
What am i doing wrong?<br><br><br>Thanks in advance.<br>