[Freeswitch-users] Digital Ocean Floating IP

Andrew Cassidy 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.

Kind regards,

On Wed, 2 Oct 2019 at 21:34, Ciprian Dosoftei <ciprian.dosoftei at gmail.com>
wrote:

> 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.
>
> -C
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> 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
> https://freeswitch.com



-- 
*Andrew Cassidy BSc (Hons) MBCS*
Managing Director

0330 44 55 960 <+443304455960> andrew at cassidyweb.co.uk www.cassidyweb.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191002/ad10c864/attachment.html>


More information about the FreeSWITCH-users mailing list