the key to this type of configuration is starting the openser process on the machine that takes over the ip, AFTER it has taken over the ip, or it will not be available to openser at start time. keepalive allows for some simple script execution at times of failover to slave, and reacquition of the ip by the master when it comes back up<br>
<br><div class="gmail_quote">On Tue, Nov 11, 2008 at 11:57 AM, sergejf <span dir="ltr"><<a href="mailto:serge@elasticall.com">serge@elasticall.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;">
<br>
We would like to set up two OpenSER 1.4.x servers in a failover<br>
configuration. The active (primary) server has two main roles: 1) load<br>
balancing SIP INVITEs between SBCs from various carriers using the<br>
CarrierRoute module 2) collecting CDRs from all these PSTN calls using the<br>
Acc module and storing them in a MySQL database for later billing<br>
reconciliation.<br>
<br>
Right now we're using a F5 Big-IP load balancer to handle the pool of two<br>
SIP proxies which receives the SIP INVITEs from our Media Servers and<br>
dispatches them to the SBCs. However, should the primary proxy fail, the<br>
secondary proxy would never receive (for example) the SIP BYE from an SBC.<br>
<br>
Solving that issue with the Big-IP seems complicated and a simpler<br>
vrrp/ucarp solution looks attractive. Any (hands-on) advice on how to set up<br>
vrrp/ucarp to advertise a single virtual IP address, then detect that the<br>
active SIP proxy has gone down and switch to the secondary IP, would be most<br>
welcome. We're using Centos 5.x (64 bit) on our servers.<br>
<br>
Thanks a lot.<br>
<br>
Serge<br>
<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/OpenSER-HA-example-with-vrrp-ucarp--tp20443679p20443679.html" target="_blank">http://www.nabble.com/OpenSER-HA-example-with-vrrp-ucarp--tp20443679p20443679.html</a><br>
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>