clustering is really the way to go. Replication has too many downfalls. <br><br><div class="gmail_quote">On Sat, Nov 22, 2008 at 11:40 AM, Pablo Hernan Saro <span dir="ltr"><<a href="mailto:pablosaro@gmail.com">pablosaro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Krunal,<br><br>As far as I know, the db_mysql module does not support fail-over. But you can do it out OpenSIPS.<br>
Search for MySQL proxy (it is what you need, but it stills alpha). Other possibility is to consider a MySQL cluster and a local replication in the same machine where OpenSIPS runs -with a secondary configuration file-, but you have to take care of switching to the local db.<br>
Hope it helps.<br><br>Pablo<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Sat, Nov 22, 2008 at 3:37 AM, Krunal Patel <span dir="ltr"><<a href="mailto:krunal.lists@gmail.com" target="_blank">krunal.lists@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi,<br><br>Here is what I would like to implement:<br><ul><li>I am having 2 MySql servers. Lets say <a href="http://192.168.1.5" target="_blank">192.168.1.5</a> & <a href="http://192.168.1.6" target="_blank">192.168.1.6</a></li>
<li>Opensips is at <a href="http://192.168.1.4" target="_blank">192.168.1.4</a>.</li>
<li>I would like to use <a href="http://192.168.1.6" target="_blank">192.168.1.6</a> mysql server for failover.</li><li>I mean to say if <a href="http://192.168.1.5" target="_blank">192.168.1.5</a> goes down then opensips should start to use <a href="http://192.168.1.6" target="_blank">192.168.1.6</a> mysql server.</li>
</ul>Please let me know is it possible?<br>If it is possible then how to do it?<br><br>Thanks in advance!!<br><br>--<br><font color="#888888">Krunal Patel<br><br>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>