Inside Out Blog
How you do anything is how you do everything
  • Home
  • Technology
  • Money
  • Photography & Videography
  • Projects

Popular Tags

FusionPBX FreeSWITCH Security Clustering Linux VoIP MariaDB SEO Personal Load Balancing PHP High Availability Joomla Darktable Fail2Ban Nagios Mageia RPM DNS PowerDNS

Looking for RPMs? Set up our RHEL repo.

rpm

Works on CentOS6/7/8 & Alma/Rocky 8/9
Sponsored by OKay Inc

  1. You are here:  
  2. Home
  3. Technology

Automatic L2TP connection with the Initscripts

Details
Category: Technology
  • Linux
  • VPN
  • L2TP

So I was in a situation where; to help my friend manage his servers, I had to connect through his L2TP VPN. After a little digging, I figure out how to do that with xl2tpd. However, the situation was not ideal, it was overwhelming to start the connection plus adding manually the routes (since xl2tpd doesn't have a way to add them).

So, let's take a look at the initscripts. Initscripts are wonderful, they allow you to configure different types of interfaces and turn them up/down with an ifup/ifdown command. The only problem is that they do not support L2TP.

Here is what I did.

Read more: Automatic L2TP connection with the Initscripts

How to Configure FreeSWITCH for High Availability

Details
Category: Technology
  • FreeSWITCH
  • FusionPBX
  • High Availability
  • Clustering
  • Corosync
  • Pacemaker

In this post, I am going to talk about how to configure FreeSWITCH in a high-availability active-passive schema. The active-passive approach will share a floating IP between your VoIP switches and when one gets off-line, the passive one will take control over the IP and it will get the load. For more information about how this works, I strongly suggest you read my article about the High Availability Cluster Overview; you will understand what you are going to do.

This article will assume the following:

  • You know the basics of Corosync and Pacemaker
  • You already have installed Corosync and Pacemaker (installed, but not configured)
  • You know how to configure your database in active-active cluster schema (regardless if it is MySQL/MariaDB or PostgreSQL)
  • You know how to sync files between your FreeSWITCH servers.

Read more: How to Configure FreeSWITCH for High Availability

How to Configure MariaDB Semi-Synchronous Replication

Details
Category: Technology
  • Clustering
  • MariaDB

MariaDB comes with a very interesting way to build clusters: semi-synchronous. SS clusters are exactly in the middle of the well-known architecture; while the Galera Cluster is a synchronous multi-master cluster for MariaDB (meaning that the cluster is on hold until all the nodes report back the sync) and asynchronous (the cluster waits for no slaves); SS clusters only wait or one node to report back while the others will catch on later.

Also, you can have a master-master SS cluster.

I will talk in this article about how I did this configuration using MariaDB 10.1.x. Remember you can install MariaDB under Centos 6, 7  and 8 (Rocky as well) by using OKay's repository.

Read more: How to Configure MariaDB Semi-Synchronous Replication

How to Configure MariaDB Synchronous Replication

Details
Category: Technology
  • Clustering
  • MariaDB

MariaDB Galera Cluster is a synchronous multi-master cluster for MariaDB. It is available on Linux only and only supports the XtraDB/InnoDB storage engines (although there is experimental support for MyISAM - see the wsrep_replicate_myisam system variable).

Starting with MariaDB 10.1, the wsrep API for the Galera Cluster is included by default. This is available as a separate download for MariaDB 10.0 and MariaDB 5.5.

MariaDB has one of the best and easiest solutions to do a Master-Master replication: Galera. Galera uses WSREP, which is responsible for maintaining all the Database nodes in the cluster in sync. This means, that after changing one record on node A, it is just a matter of seconds to see the change on node B.

I will talk in this article about how I did this configuration using MariaDB 10.1.x. Remember you can install MariaDB under Centos 6 and 7 by using OKay's repository.

Read more: How to Configure MariaDB Synchronous Replication

High Availability FusionPBX Cluster Overview

Details
Category: Technology
  • FreeSWITCH
  • FusionPBX
  • High Availability
  • Clustering

I have written before about the load-balanced FusionPBX cluster I offer to the public. Now, I will write about the high availability one. In order try to answer all your possible questions, I am writing this article. I hope after reading you get a clear picture of what it is and what it is not a high availability FusonPBX cluster.

The first thing I need to clarify is that a high-availability cluster is not a load-balanced one; they both are fault tolerance related. Although both kinds of approaches are not mutually exclusive (you can combine them), their pros and cons are different and the way they work as well. I will write later a comparison between them, for now just remember it is not the same.

Read more: High Availability FusionPBX Cluster Overview

  1. Optimize the RTP Flow on your Load-Balanced FusionPBX Cluster
  2. Load-Balanced FusionPBX Cluster Overview
  3. DNS SRV Records and their Relationship to reach the High Availability in VoIP

Page 34 of 35

  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35

Latest Articles

  • Protecting your PBX against Passwords Leaks
  • Installing Unifi OS on Linux
  • Understanding the E.164
  • Basic Protection against Telemarketing and Unwanted Calls with FreeSWITCH
  • OpenID Authentication (OKTA implementation)

Do you need some FusionPBX free support? Join this FusionPBX/FreeSWITCH Support Channel.

telegram logo

To know the rules, read the pinned post

Copyright © 2026 Inside Out Blog. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
  • Sitemap