Thanks Iņaki,<br><br><div class="gmail_quote">2011/1/27 Iņaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/1/27 Danny Dias &lt;<a href="mailto:ing.diasdanny@gmail.com">ing.diasdanny@gmail.com</a>&gt;:<br>
<div class="im">&gt; Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server?<br>
&gt; and the clients will register in the 2 machines? and also they will bind to<br>
&gt; the ip of the HA? sorry my friend but i do not understand very well, i&#39;m<br>
&gt; quite new with redundant systems, could you please explain a little please?<br>
<br>
</div>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></blockquote><div><br></div><div>So, the heartbeat cluster shall manage that both are ok and also check that the virtual ip and the kamailio service in the primary server is OK....if something fails it will activate the virtual IP address and the kamailio process in the other server? so this heartbeat cluster is installed in both kamailio servers? </div>
<div><br></div><div>which HA software do you recommend?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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></blockquote><div><br></div><div>So, the database of the kamailios should be dedicated and externalised server?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Another option without using realtime DB storage is replicating the<br>
REGISTER from one Kamailio to the other (t_replicate method) but it<br>
requires both kamailios being running at the same time (so<br>
net.ipv4.ip_nonlocal_bind must be 1) and kamailios must NOT be managed<br>
by HA. Also it requires some other considerations.<br>
<div><div></div><div class="h5"><br>
--<br>
Iņaki Baz Castillo<br>
&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ing. Danny Dias<br><a href="http://www.DannTEL.net" target="_blank">www.DannTEL.net</a><br>