<div class="gmail_quote">On Wed, Nov 10, 2010 at 5:02 AM, Anton Zagorskiy <span dir="ltr">&lt;<a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;m trying to make HA cluster with balancing.<br>
I have 2 servers with openSIPS with load_balanicng and mysql with<br>
replication.<br>
While both servers are working second openSIPS connects to mysql-master at<br>
the first server. When the first server fails then second should uses itself<br>
mysql database. So I need to change db_url parameter through all modules.<br>
<br></blockquote><div><br></div><div>Anton,</div><div>You may want to check out db_virtual for this.</div><div><a href="http://www.opensips.org/html/docs/modules/1.6.x/db_virtual">http://www.opensips.org/html/docs/modules/1.6.x/db_virtual</a></div>

<div><br></div><div>-Brett</div><div> </div></div>