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