[Freeswitch-users] FreeSWITCH in cluster

Dmitry Mordovin d.mordovin at dwide.com
Sun Apr 10 11:51:28 MSD 2016


Hi,

I want configure two FreeSWITCH servers as cluster.

As I understand, I need:
  - Configure one core DB (PostgreSQL) for each FreeSWITCH instances.
  - Add two A records in DNS to resolve domain name and load balancing.

*Scheme, 2 FS servers and one DB.*

FS-1 server  192.168.0.1
        Core-DB server  192.168.0.100
FS-2 server  192.168.0.2

*Add two A records in DNS*

mydomain.com.  43200 IN A       192.168.0.1
mydomain.com.  43200 IN A       192.168.0.2


I expect, FreeSWITCH instances will mirror each other in this configuration.

So, if Bob register on 192.168.0.1 server, and Alice register on 
192.168.0.2, they can call each other like local users.
Also, in this case, SIP messages from Bob during the call session will 
sending to any of nodes, depend on DNS resolve.

Am I right?
Is this correct way to build cluster?

Please direct me in right way.

BR, Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160410/6b5fa0bb/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list