<font size="2"><font face="tahoma,sans-serif">Hello, </font></font><div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif">I was thinking that if i store the contacts that are registered into my proxy in a database, like this:</font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif">.</font></font></div><div><font size="2"><font face="tahoma,sans-serif">.</font></font></div><div>
<font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><div># ----- usrloc params -----</div><div>modparam("usrloc", "db_mode", 3)</div>
<div>.</div></font></font></div><div><font size="2"><font face="tahoma,sans-serif">.</font></font></div><div><font size="2"><font face="tahoma,sans-serif"><div>if (is_method("REGISTER"))</div><div>{</div><div><div>
if (!save("location"))</div><div> sl_reply_error();</div><div> exit;</div><div> }</div><div>.</div></div><div>.</div><div><br></div><div>This way i would store the contacts in table "location", and then i could make a backup of the DB and restore on the other server...is that ok? or i'm missing something?</div>
<div><br></div><div>Thanks in advance for your help! </div><div><br></div></font></font></div><div><font class="Apple-style-span" face="tahoma, sans-serif"><br></font></div><div><br><div class="gmail_quote">2011/1/27 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">2011/1/27 Danny Dias <<a href="mailto:ing.diasdanny@gmail.com">ing.diasdanny@gmail.com</a>>:<br>
</div><div class="im">>> Two Kamailios in a HeartBeat cluster which manages the kamailio<br>
>> service along with a virtual IP in which kamailios are supposed to<br>
>> listen. Just one kamailio is running (HA manages them).<br>
>><br>
><br>
> So, the heartbeat cluster shall manage that both are ok and also check that<br>
> the virtual ip and the kamailio service in the primary server is OK....if<br>
> something fails it will activate the virtual IP address and the kamailio<br>
> process in the other server? so this heartbeat cluster is installed in both<br>
> kamailio servers?<br>
> which HA software do you recommend?<br>
<br>
</div>As I said at the top of my previous mail: HeartBeat (as it is the only<br>
I'm used to).<br>
<div class="im"><br>
<br>
>> Regsitration can be done in a shared database with db_mode=3 (or 2) so<br>
>> no locations are lost when HA stops the running instance of kamailio<br>
>> (or the server is down) and starts kamailio in the other cluster node.<br>
>><br>
><br>
> So, the database of the kamailios should be dedicated and externalised<br>
> server?<br>
<br>
</div>Could be, or not. It doesn't matter too much.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Iñaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</div></div></blockquote></div><br></div>