[Freeswitch-users] Digital Ocean Floating IP
andrew at cassidywebservices.co.uk
Wed Oct 2 21:14:32 UTC 2019
Set up net.ipv4.ip_nonlocal_bind = 1 in /etc/sysctl.conf so FreeSWITCH can
still set up a binding even if the IP address isn't on the box
I've previously used OVH with the failover IP addresses. There are a few
nice things you can do.
Using pacemaker / corosync, you can create the floating IP as a custom
resource with scripts to automatically move the IP address using API calls.
Couple this with the standard IP address resource to make the IP active on
one server at a time.
Configure session storage in a shared database such, then use a pacemaker
resource to perform a "sofia recover" loading in all active sessions from
the failed server, maintaining any active calls.
On Wed, 2 Oct 2019 at 21:34, Ciprian Dosoftei <ciprian.dosoftei at gmail.com>
> Sean --
> You can enable an arbitrary number of IP:Port combinations, essentially
> each Sofia profile is represents a listener.
> However, if the IP address is not available (say the floating IP is
> pointing to server A whereas server B acts as a live standby), the profile
> will likely refuse to start, so you may need some additional automation to
> make it work as expected.
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
*Andrew Cassidy BSc (Hons) MBCS*
0330 44 55 960 <+443304455960> andrew at cassidyweb.co.uk www.cassidyweb.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users