- Details
- Category: Technology
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.
- Details
- Category: Technology
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
- Details
- Category: Technology
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
- Details
- Category: Technology
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.
- Details
- Category: Technology
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.

