Service High Availability with Keepalived

Keepalived Overview Keepalived is an open-source software initially designed for managing LVS clusters, providing health monitoring for service nodes. It latter incorporated VRRP functionality to enable high availability solutions for various services like Nginx, HAProxy, and MySQL. Core Functionality LVS load balancer management Health monito ...

Posted on Mon, 31 Aug 2026 16:21:33 +0000 by leewad

Deploying a Kubernetes 1.16.4 HA Cluster on CentOS 7.6 with Keepalived

Environment Overview Hostname OS Version IP Address Components Hardware Role master01 CentOS 7.6.1810 172.27.34.3 Docker 18.09.9, Flannel v0.11.0, Keepalived v1.3.5 4C4G control plane master02 CentOS 7.6.1810 172.27.34.4 Docker 18.09.9, Flannel v0.11.0, Keepalived v1.3.5 4C4G control plane master03 CentOS 7.6.1810 172.27.34.5 Docker ...

Posted on Mon, 24 Aug 2026 16:08:17 +0000 by Saethyr

Building a High-Availability Load Balancer with HAProxy and Keepalived

Environment Overview 1.1 System Requirements This guide covers the deployment of a high-availability load balancing solution using HAProxy and Keepalived on CentOS 6.8 64-bit. The solution ensures that client requests are distributed across backend servers while providing automatic failover capability when the primary load balancer becomes u ...

Posted on Wed, 29 Jul 2026 17:09:52 +0000 by rotarypot

Implementing High-Availability MySQL Master-Master Replication with Keepalived

Introduction In traditional MySQL master-slave replication architectures, the slave database primarily serves as a backup of the master data. When the master database fails, the entire system becomes unavailable until manual failover procedure are completed. To address this limitation, we can implement a MySQL dual-master configuration where on ...

Posted on Mon, 27 Jul 2026 16:35:36 +0000 by alecodonnell

Building a High Availability Cluster with HAProxy and Keepalived

Setting up a highly available load balancing cluster requires two primary components: HAProxy for traffic distribution and Keepalived for failover management. This setup uses two virtual machines running CentOS 7.Environment PreparationInstall the EPEL repository and required packages on both nodes:yum install -y epel-release yum install -y hap ...

Posted on Sat, 27 Jun 2026 16:14:40 +0000 by xenoalien

Linux Infrastructure Architecture Overview for Small-Medium Websites

Components of a Small-Medium Scale Website Architecture Customers/Users Visitors accessing the website Security Guard - Firewall (firewalld) Implements access control policies Receptionist - Load Balancer (nginx) Schedules and distributes incoming user requests Waiter - Web Server (nginx) Processes user requests Chef - Database Server ...

Posted on Wed, 24 Jun 2026 16:36:56 +0000 by nmohamm

Keepalived VIP Loss Due to systemd-networkd Restart

In a test environment using Ubuntu 18.04 with Keepalived v1.3.9 (installed via apt-get) in a Master-Backup configuration alongside Nginx, an unexpected loss of the Virtual IP (VIP) on the Master node was observed. The service became unreachable, yet no failover occurred—both nodes showed no Keepalived transition logs. Restarting Keepalived on t ...

Posted on Sun, 21 Jun 2026 17:06:19 +0000 by mlla2

High-Availability MySQL Dual-Master Replication with Keepalived

This guide outlines the implementation of a highly available MySQL dual-master replication cluster protected by Keepalived for automatic VIP failover. The setup ensures continuous database service despite node failures. Prerequisites Two Linux servers: 192.168.199.49 (Node A) and 192.168.199.50 (Node B) Shared virtual IP (VIP): 192.168.199.52 ...

Posted on Sat, 20 Jun 2026 16:44:53 +0000 by thefollower

Configuring Keepalived for High Availability Load Balancing

Starting the Service and Enabling Auto-Start On lb01: [root@lb01 nginx]# systemctl start keepalived.service [root@lb01 nginx]# systemctl enable keepalived.service On lb02: [root@lb02 ~]# systemctl start keepalived.service [root@lb02 ~]# systemctl enable keepalived.service Packet Capture Analysis with Wireshark Once the service is running, cap ...

Posted on Sat, 13 Jun 2026 17:03:11 +0000 by mbuckley2000

Deploying Nginx High Availability with Keepalived on Huawei Cloud

Keepalived Fundamentals Keepalived is an open-source software solution designed to monitor server health and manage failover scenarios. When a web node encounters downtime or errors, Keepalived automatically removes the affected node from the cluster and redistributes traffic to healthy servers. Once repairs are completed, the original node rej ...

Posted on Sat, 06 Jun 2026 17:23:54 +0000 by axman505