[SR-Users] db_cluster configuration

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 6 13:33:38 CET 2012


Hello,

how many queries you did for these observations?

The round robin is per process, not per instance (kamailio start many 
processes).

Cheers,
Daniel

On 12/5/12 5:17 PM, Juan José Ivars wrote:
> Hello, i am configuring db_cluster module in kamailio 3.3
> I have configured in roun-robin read between two MySQL servers but the 
> load is not distributed equally
> My configuration is that:
> modparam("db_cluster", "connection", 
> "con1=>mysql://USER1:PASS1@1.1.1.1/DB <http://USER1:PASS1@1.1.1.1/DB>")
> modparam("db_cluster", "connection", 
> "con2=>mysql://USER2:PASS2@2.2.2.2/DB <http://USER2:PASS2@2.2.2.2/DB>")
> modparam("db_cluster", "cluster", "cls1=>con1=9r9p;con2=9r9p")
> And the auth module with:
> modparam("auth_db", "db_url", "cluster://cls1")
>
> But i have enabled the mysql logs and the major part of the querys are 
> targeted to the second server
> Is there any cache by peer?
> What am i doing wrong?
>
>
> Thanks in advance.
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121206/7179eee6/attachment.htm>


More information about the sr-users mailing list