<div dir="ltr">I am always witnessing the fact, that administration of 3rd party HA software cost you more problems, than coding your own system which you understand deeply.<div><br></div><div>That's why I've done RPC services in python which do the job for me and works in much more flexible way, than manual editing of XML files of heartbeat (which I consider a bit pain in ...). </div>

<div><br></div><div>If I bind to non-existent IP address, than there is problem with sending OPTIONS. </div><div><br></div><div style>So i gave up this, it will run/kill kamailio while taking up/down virtual interface.</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 9:32 AM, phillman25 <span dir="ltr"><<a href="mailto:phillman25@gmail.com" target="_blank">phillman25@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Mino<br><br>I have set up this scenario using heartbeat on both hosts and it works wonderfully.<br>
<br></div><div>Regards<br>Phillip<br></div><div><br><br><br><br><br><br><br>Message: 1<br>
Date: <span><span>Fri, 14 Jun 2013 08:15:28</span></span> +0200<br>
From: Mino Haluz <<a href="mailto:mino.haluz@gmail.com" target="_blank">mino.haluz@gmail.com</a>><br>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -<br>
        Users   Mailing List" <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><div>><br>
Subject: [SR-Users] kamailio and virtual IP<br>
Message-ID:<br>
        <CAFA7yDT0xczGGU31utLoRDui=<a href="mailto:zb0wfZrTSzEw6Fy5tJHQZAjZQ@mail.gmail.com" target="_blank">zb0wfZrTSzEw6Fy5tJHQZAjZQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I want to do this:<br>
<br>
2 hosts, with 2 running kamailios, every host has 1 IP address and hostA<br>
has virtualIP assigned. kamailio should run on both hosts. I made a script<br>
which can transfer virtual IP from hostA to hostB.<br>
<br>
The problem is, I cannot tell kamailio to use virtualIP on hostB because,<br>
when I set<br>
<br>
listen=virtualIP:5060 - it cannot start because virtualIP is not present<br>
listen=<a href="http://0.0.0.0:5060" target="_blank">0.0.0.0:5060</a> and force_send_socket(virtualIP) - it does not work as<br>
virtualIP is not in the listen list<br>
<br>
Some hint? I could run kamailio automatically after chaning IP address, but<br>
it requires time to load, so it will not be as quick as I change simply the<br>
owner of virtual IP.<br>
<br>
Thanks,<br>
Mino</div><br></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>