Link to home
Start Free TrialLog in
Avatar of Mohammed Hamada
Mohammed HamadaFlag for Portugal

asked on

FreePBX Failover/Load Balance over two different datacenters

Dear Experts,

I have two FreePBX virtual machines distributed over two different data centers but both are for the same company, I am planning to use sip trunk on those two VMs and seeking to get them to work in failover/load balance mode.

I know that some sip trunk provider provide the capabilities of failover in case my primary Public IP is not responsive however I would like to extend the failover and load balance to the level of the VM as well.

Have anyone tried to do the load balance/failover method on a VM level between two datacenters ? How would VoIP traffic react in case of primary VM down? how about end points configuration ? Can I direct end points to a single FQDN where both IPs can resolve and if one of the VMs are down still the end point would get register and act like nothing is happening ?

I would appreciate any person's comment that have had an experience with such scenario.

Thank you
SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mohammed Hamada

ASKER

Hi David,

Thank you for the advise, my major concern here is that in case of failover I don't want to switch IPs ..etc thats why I asked this question.

Is this achievable in anyway? I have tried to do it with Microsoft Skype for Business on two different pools in different datacenters with pool pairing but unfortunately it requires manual failover. I know it can be done using branch server or appliance but not all functionalities will be there.

So I am trying it with FreePBX in order to maintain multiple sites without doing much work or down time.

I thought of using cloudflare's DNS load balancing capabilities but not sure if it would work properly with VoIP. I would appreciate if you can tell me whether you tried it or not?

Thank you
Avatar of noci
noci

The bigest hurdle would be the failover of IP addresses, if those don't migrate from one DC to the other then all connections on the failing equipment will be lost. after reregistration by the phones (phone should be able to register on both systems)  and of the PBX to the ISP a retry by the endusers can be attempted.

The RTP links will fail (They use barebones IP addresses determined using stun etc.) No DNS help here.
Hi Noci,

Do you think it depends on the phone of how regularly it checks whether the phone is registered/not and re-register ? how would it be possible to do this on an end point ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you both,