That will not work. Try DNS SRV. Take a look at this link <a href="http://www.zytrax.com/books/dns/ch8/srv.html">http://www.zytrax.com/books/dns/ch8/srv.html</a><br>Hope it helps.<br><br>Pablo<br><br><div class="gmail_quote">
On Tue, Nov 25, 2008 at 2:51 AM, Krunal Patel <span dir="ltr"><<a href="mailto:krunal.lists@gmail.com">krunal.lists@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,<br><br>is it fine if I use DSN resolver?<br>Let me explain in detail:<br>I setup a DSN resolver & add A record for mysql servers.<br>mysql A <a href="http://192.168.1.5" target="_blank">192.168.1.5</a><br>
mysql A <a href="http://192.168.1.6" target="_blank">192.168.1.6</a><br>
<br>where <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> are mysql cluster nodes.<br><br>So <a href="http://mysql.somedomain.com" target="_blank">mysql.somedomain.com</a> will point to both servers.<br>
It will do load balance & failover both.<br><br>Please confirm that it will not create any issue.<br><br>Thanks,<br><font color="#888888">Krunal Patel</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">
On Tue, Nov 25, 2008 at 1:35 AM, Geoffrey Mina <span dir="ltr"><<a href="mailto:geoffreymina@gmail.com" target="_blank">geoffreymina@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;">This problem has been solved many times. The absolute most bomb-proof<br>
MySQL failover solution involves a combination of DRBD and Linux HA<br>
(Heart Beat). The replication model has too many issues IMO.<br>
<div><div></div><div><br>
<br>
<br>
<br>
On Sun, Nov 23, 2008 at 9:10 AM, Uwe Kastens <<a href="mailto:kiste@kiste.org" target="_blank">kiste@kiste.org</a>> wrote:<br>
> Hi Krunal,<br>
>> * I am having 2 MySql servers. Lets say <a href="http://192.168.1.5" target="_blank">192.168.1.5</a><br>
>> <<a href="http://192.168.1.5" target="_blank">http://192.168.1.5</a>> & <a href="http://192.168.1.6" target="_blank">192.168.1.6</a> <<a href="http://192.168.1.6" target="_blank">http://192.168.1.6</a>><br>
>> * Opensips is at <a href="http://192.168.1.4" target="_blank">192.168.1.4</a> <<a href="http://192.168.1.4" target="_blank">http://192.168.1.4</a>>.<br>
>> * I would like to use <a href="http://192.168.1.6" target="_blank">192.168.1.6</a> <<a href="http://192.168.1.6" target="_blank">http://192.168.1.6</a>> mysql server<br>
>> for failover.<br>
>> * I mean to say if <a href="http://192.168.1.5" target="_blank">192.168.1.5</a> <<a href="http://192.168.1.5" target="_blank">http://192.168.1.5</a>> goes down then<br>
>> opensips should start to use <a href="http://192.168.1.6" target="_blank">192.168.1.6</a> <<a href="http://192.168.1.6" target="_blank">http://192.168.1.6</a>><br>
>> mysql server.<br>
>><br>
><br>
> I am just on my way to implement the same. At the moment I am planing a<br>
> kind of Mysql Master - Master together with one VIP for<br>
> Mysql-opensips-communication. So for your example you will have to<br>
> mysql-servers. opensips is connection to lets say to <a href="http://192.168.1.4" target="_blank">192.168.1.4</a> which<br>
> points on one of your mysql-servers. You will need active-active for<br>
> mysql since opensips will write some information in the database as well.<br>
><br>
><br>
> I am working with mysql-5 and heartbeat-2 in mode 1. Its nearly working.<br>
><br>
> BR<br>
><br>
> Kiste<br>
><br>
> --<br>
><br>
> kiste lat: 54.322684, lon: 10.13586<br>
><br>
</div></div><div><div></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>
<br>
_______________________________________________<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>
</div></div></blockquote></div><br>
</div></div><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>