[Freeswitch-users] HA clustering solution?

James Green james.green at stealthnet.net
Wed Aug 27 04:48:39 PDT 2008

Łukasz Zwierko wrote:
> Hi, Regarding HA, I don't suppose you'll be able to go without any
> front-end, beacuse of IP-connectivity reasons, if you plan to work in
> active-standby mode . Active box needs to have an unique IP, otherwise
> each client will have to have 2 (or more) IP addresses configured.
> As solution you can use a switch with ip routing based on heartbeat
> (which can be a icmp ping or http get or others).  The idea is you
> configure virtual ip on each of your boxes, and FS runs on this IP.
> Boxes are only connected to your IP network through the switch. the
> switch directs all traffic to only one of the boxes, checking the
> heartbeat all the time. If one machine failes, trafic starts being
> routed to the other box.

And introduces a single point of failure which defeats the objective.

Having TWO IP addresses to connect to allows software to simply try
again on the other address. It also reduces the burden of administration
as your sysadmin can simply remove a dodgy machine our of the list. Of
course, the added bonus of a proxy is that it needs few configuration
updates and usually less software to be installed; can also act as a
firewall too...

> With this solution you don't have to do any tricks to have a single IP
> address for your clients. there are of course other solutions, this
> one gives you the shortest switch time though.


> As for the transferring call states between the machines, much of call
> data is distibuted into modules. Now if we wanted to keep consistent
> states between two FS instances, we'd have to come up with some
> interfaces to firstly serialize the states and then 'revoke' them on
> second machine. No that is of course doable, but I'd require enhacing
> internal FS interfaces (especially those to endpoint modules) so that
> a call controls in not-initial states could be created. That is a huge
> amount of work, I don't suppose it's worth it.

Indeed, particularly when working with inconsistent states following
split brain unlocking.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: james_green.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080827/03a2de32/attachment-0002.vcf 

More information about the FreeSWITCH-users mailing list