Hi Kiste,<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">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.</blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div>
</div></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div> I am working with mysql-5 and heartbeat-2 in mode 1. Its nearly working.</div>
</blockquote><div><br>Would you please explain it somewhat in detail?<br><br>Thanks,<br>Krunal Patel<br></div><br><div class="gmail_quote">On Sun, Nov 23, 2008 at 7:40 PM, Uwe Kastens <span dir="ltr"><<a href="mailto:kiste@kiste.org">kiste@kiste.org</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>
> * 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>
<font color="#888888"><br>
--<br>
<br>
kiste lat: 54.322684, lon: 10.13586<br>
</font></blockquote></div><br>