[Freeswitch-users] HA questions.

Adam Ford lists at redbonez.net
Thu Dec 3 08:56:23 PST 2009


Have you checked out Redfone? While I haven't attempted to implement it yet,
my Redfone foneBridge2 claims to be able to handle load balancing and
failover between two Asterisk/Freeswitch servers.

-AF

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim
Uckun
Sent: Wednesday, December 02, 2009 5:50 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] HA questions.

I have read some of the archived emails about HA, loadbalancing,
failover etc and I am still a bit confused about how I could set up
some sort of resiliency with freeswitch.

My situation is much less complex than the scenarios people were
talking about and I hoping the solution is similarly much less
complex.

I have two machines. Both will run freeswitch and also an IVR
application with local databases.  I will take care of the database,
application and configuration synchronization between the two
machines.  Ideally the calls would be load balanced between the
machines and if any application falls down then the calls should go to
the other machine. Same if I take a machine down for whatever reason.

If a machine goes down I am willing to "lose" those people who were
making a call at the time. I do have a flag in the application which
will stop answering the calls while processing the existing calls for
a graceful shutdown and hopefully the load balancer would shuttle the
calls to the other machine while this is happening.

At this stage everything is done via SIP.

My questions are...

Do I have to have a sip proxy? If the answer is yes it seems like I
have to set up two sip proxies so I don't have another single point of
failure. Can I load the sip proxies on the same machine? Do I need two
more machines?

If I take load balancing out of the picture would it be possible to do
a simple linux HA or a windows built in ip failover solution? Would a
simple IP failover work over UDP or would I have to use IAX and tcp/ip
?

Is it better to go the virtualization route?

Sorry if these are dumb questions. I am just trying to get my head
wrapped around this. I don't need five nines (although that would be
awesome), I just want a reasonable degree of assurance that my app can
keep taking calls in case something weird happens.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list