This guide explains how to configure HAProxy for high‑performance TCP/HTTP load balancing and combine it with Keepalived to achieve high‑availability using VRRP, covering installation, core features, health checks, session persistence, SSL offloading, routing rules, and practical configuration examples.
This article provides a comprehensive step‑by‑step guide on configuring Nginx rewrite rules, implementing anti‑hotlink protection, separating static and dynamic resources, and setting up Keepalived for high‑availability load balancing, complete with example configurations and shell scripts.
This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and setting up Keepalived for high‑availability, complete with detailed code examples and deployment instructions.
This guide explains Keepalived’s role in Linux load‑balancing and high‑availability, covering its VRRP‑based architecture, core modules, layered operation, configuration syntax, practical deployment with Nginx, common split‑brain issues, and advanced settings such as nopreempt and multicast conflict resolution.
This guide explains the concept of high availability, why it matters for services like Nginx, and provides a step‑by‑step tutorial for configuring a two‑node keepalived failover cluster that automatically transfers a virtual IP when the master server fails.
This guide explains how to achieve high availability for Nginx by installing and configuring Keepalived with VRRP, detailing preparation steps, configuration file examples, health‑check scripts, and failover testing on two Linux servers.
This guide explains how to achieve high availability for Nginx by deploying a dual‑machine keepalived setup, covering the concepts of HA, VRRP, configuration of keepalived on master and backup nodes, a health‑check script, and step‑by‑step commands to test automatic failover.
This guide explains how to achieve high availability for Nginx using Keepalived by setting up a double‑machine hot‑standby configuration, installing necessary packages, configuring VRRP‑based failover, writing health‑check scripts, and testing automatic VIP takeover when the primary server fails.
This article walks through a practical setup of LVS DR mode load balancing on four UCloud servers, covering network configuration, ARP tweaks, ipvsadm rules, VIP assignment, troubleshooting steps, and implementing high‑availability with Keepalived, complete with command examples and visual screenshots.
This guide explains Nginx's core concepts, installation on Linux, common commands, configuration structure, reverse‑proxy and load‑balancing implementations, static‑dynamic separation, and high‑availability setup with keepalived, providing step‑by‑step examples and practical code snippets.
This comprehensive guide explains Nginx’s core concepts—including reverse and forward proxy, load balancing, static‑dynamic separation, common commands, configuration blocks, and high‑availability setup with keepalived—providing step‑by‑step examples, diagrams, and practical tips for deploying scalable, high‑performance web services.
This comprehensive guide explains what HAProxy is, its core functions and key features, then walks through installing, configuring, and running both L7 and L4 load balancers on Linux, adding logging, log rotation, monitoring, and achieving high availability with Keepalived.
This article introduces LVS, a layer‑4 load‑balancing tool, explains its advantages over layer‑7 solutions like Nginx, describes how combining LVS with Nginx and Keepalived creates a highly available, horizontally scalable architecture, and details the three scheduling modes VS/NAT, VS/TUN, and VS/DR.
This tutorial explains what HAProxy is, its core capabilities and key features, provides step‑by‑step instructions for installing and running it on CentOS 7, demonstrates how to build both L7 and L4 load balancers, details essential configuration options, and shows how to achieve high availability with Keepalived, all illustrated with practical code examples and screenshots.
This article details a practical performance and high‑availability comparison of HAProxy and Nginx as software load balancers for a MySQL 8.0 InnoDB Cluster (MGR) setup, covering environment configuration, Keepalived integration, test methodology, results, and final recommendations.
This article details a network outage caused by ARP cache state transitions, neighbor reachability detection differences between Linux 6.0/7.0, Cisco NXOS ARP timeout, and keepalived standby handling, explaining how these factors led to traffic disruption and the eventual root‑cause resolution.
This tutorial walks through preparing two servers, configuring Keepalived and Nginx on both master and backup nodes, restarting services, and testing failover to demonstrate a functional high‑availability architecture using VRRP virtual IPs.
This guide walks through creating a resilient RabbitMQ cluster using two disk nodes and one RAM node, Docker and docker‑compose for deployment, HAProxy for load balancing with VIP failover, and Keepalived for master‑backup high availability, including configuration, scripts, and testing steps.
This step‑by‑step guide shows how to prepare five CentOS 7.5+ machines, configure hostnames, SSH keys, kernel upgrades, firewall and swap settings, set up Docker and Kubernetes repositories, install Docker, kubeadm, kubelet and kubectl, configure HAProxy + Keepalived for a VIP, initialize a multi‑master cluster, apply the Flannel network plugin, and verify the deployment with an Nginx pod and the Kubernetes dashboard.
This article provides a comprehensive guide to Nginx, covering its architecture, forward and reverse proxy concepts, load‑balancing strategies, static‑dynamic separation, installation commands, configuration file structure, practical reverse‑proxy and load‑balancing examples, and high‑availability setup using Keepalived.
This guide explains Nginx’s core concepts—including reverse proxy, load balancing, static‑dynamic separation, common commands, configuration blocks, and high‑availability setup with Keepalived—providing step‑by‑step examples and practical diagrams for reliable web service deployment.
This guide walks through setting up a highly available Kubernetes cluster on five CentOS 7 machines using kubeadm, configuring keepalived and HAProxy for load balancing, disabling swap and SELinux, installing Docker, initializing the control plane, joining master and worker nodes, deploying Calico networking, and verifying the cluster’s functionality.
This tutorial explains how to solve physical‑machine shortages and achieve high availability by installing Docker, configuring Keepalived for virtual IP failover, setting up Nginx load balancing, building backend Docker images, deploying master‑slave containers, and verifying the setup with Portainer.
This guide walks through installing Erlang and RabbitMQ, configuring a mirrored RabbitMQ cluster, setting up HAProxy load balancing, and using Keepalived for automatic failover, providing a complete high‑availability solution for RabbitMQ on Linux.
This guide explains how to set up a highly available Tomcat service on CentOS 7 by installing and configuring Nginx as a reverse proxy and load balancer together with Keepalived for VRRP‑based failover, covering environment preparation, installation steps, master‑backup configuration, and Nginx upstream settings.
Keepalived, originally designed for LVS load balancing, provides VRRP-based high‑availability by managing LVS nodes, performing health checks, and offering failover for services like Nginx, HAProxy, and MySQL, while also addressing split‑brain scenarios and non‑preemptive configurations.
This guide walks through HAProxy's role as a high‑performance, layer‑4/7 load balancer, details its installation, compilation, configuration files, integration with Keepalived for failover, troubleshooting tips, and testing procedures to build a resilient web service architecture.
This guide walks through preparing the environment, installing required tools, configuring firewalls, setting up host files, deploying Nginx with Keepalived for high‑availability, installing Docker, MySQL, and finally installing K3s and Rancher using Helm, including certificate creation and troubleshooting steps.
This guide explains two high‑availability patterns—VIP failover triggered by database outage and by HAProxy status—using dual‑master MySQL, Keepalived, and HAProxy, with step‑by‑step configuration, scripts, and testing procedures to ensure seamless service continuity.
This step‑by‑step guide shows how to create a highly available Nginx load‑balancing cluster with Keepalived in both master‑slave and dual‑master configurations, covering server preparation, Nginx and Keepalived setup, VIP handling, testing, and a watchdog script to ensure service continuity.
This guide walks you through installing Keepalived via yum or source, explains the main configuration sections—including global definitions, VRRP instances, and virtual servers—and details each directive’s purpose, enabling you to set up reliable high‑availability load balancing on Linux systems.
Keepalived, a C‑based routing failover tool originally built for LVS, uses the VRRP protocol to provide high‑availability for services like Nginx, HAProxy, and MySQL, managing virtual IPs, health checks, and rapid failover within seconds.
This article explains how to install and configure Keepalived for high‑availability VRRP failover, set up master and backup configuration files, integrate with two Nginx load balancers, and test failover scenarios using scripts and command‑line tools.
This guide explains how to install Keepalived, configure VRRP‑based high‑availability for Nginx load balancers, modify master and backup configuration files, test failover scenarios, and add a Bash watchdog script to ensure seamless service continuity.
This comprehensive tutorial walks you through preparing the environment, installing and configuring OpenLDAP on CentOS, securing it with TLS/SSL, setting up phpldapadmin, defining ACLs, enabling master‑slave replication, and implementing Keepalived for VIP‑based high availability, all with ready‑to‑use scripts and configuration files.
This guide explains step‑by‑step how to configure Zabbix database high availability using MariaDB master‑master replication, GTID‑based binlog synchronization, Keepalived virtual IP failover, and associated backup and monitoring scripts for reliable production deployment.
This article explains how to achieve high‑availability software load balancing by combining the open‑source HAProxy reverse‑proxy with Keepalived, covering installation, configuration of VRRP, health checks, session persistence, SSL termination, and traffic routing on CentOS systems.
This article details the design and implementation of a high‑availability load‑balancing solution for the DBLE distributed middleware using Lvs and Keepalived, covering environment setup, configuration, experimental scenarios, performance testing, and troubleshooting tips to ensure stable and balanced traffic distribution.
This guide walks through planning server IPs, installing and configuring keepalived for high availability, crafting master and backup keepalived.conf files, creating a Tomcat health‑check script, monitoring logs, handling failover, and resolving common errors on Linux systems.
This guide walks you through setting up a highly available web service on CentOS 7 by using Vagrant to create four virtual machines, installing Keepalived and OpenResty, configuring VRRP and LVS for load balancing, binding a virtual IP, and testing failover to ensure continuous service delivery.
This guide walks through planning server and software environments, installing and configuring keepalived on Red Hat Enterprise Linux 5, creating master‑backup VRRP instances, integrating a Tomcat health‑check script, monitoring logs, testing failover, and troubleshooting common errors.
This guide walks through planning the server and software environment, installing and configuring keepalived, setting up master‑backup VRRP instances, monitoring logs, handling failover, checking virtual IPs, troubleshooting common errors, and adding a Tomcat service script for high‑availability Linux deployments.
This comprehensive tutorial walks Linux operators through the principles and practical setup of high‑concurrency load balancing using LVS, covering architecture, DR/NAT/TUN modes, kernel tuning, ipvsadm commands, Keepalived high‑availability, and detailed testing procedures to ensure robust, scalable services.
This guide walks through installing, compiling, and configuring Keepalived across multiple Linux nodes to create a VRRP‑based high‑availability web service cluster, covering prerequisites, virtual IP setup, load‑balancing rules, and monitoring tools.
This article provides a comprehensive overview of Linux Virtual Server (LVS) load‑balancing clusters, detailing core concepts, packet‑flow mechanisms, key terminology, NAT/DR/TUN modes, scheduling algorithms, step‑by‑step configuration scripts, and high‑availability setup with keepalived, all illustrated with diagrams and command examples.
This article explains the principles and practical deployment steps for high‑availability web architectures using LVS (NAT and DR modes), Keepalived clustering, and Nginx proxy, covering topology diagrams, IPVS rules, weighted scheduling, kernel tweaks, and testing procedures to ensure reliable load balancing.
This article explains the fundamentals of Keepalived, its core components, configuration file structure, and provides a detailed walkthrough of setting up a high‑availability IPVS cluster, testing failover scenarios, and verifying load‑balancing behavior.
This guide explains keepalived’s VRRP‑based high‑availability architecture, details its core components, and provides a complete configuration walkthrough with diagrams, demonstrating how to set up a resilient IPVS load‑balancing cluster and verify failover behavior.
This guide walks through installing and configuring Keepalived on two CentOS servers to provide automatic Nginx health checking, virtual IP failover, and high‑availability load balancing, including scripts, service commands, and advanced iptables techniques to avoid packet loss during maintenance.
This guide walks through setting up a high‑availability HAProxy and Keepalived dual‑master configuration, detailing the experiment environment, installation steps, keepalived scripts, and testing procedures that ensure continuous service even if one node fails.
This guide walks through configuring a Percona XtraDB Cluster on three OpenStack nodes, disabling SELinux and firewalls, installing and tuning MySQL, setting up HAProxy for load balancing, deploying Keepalived for failover, and verifying high‑availability with practical test steps.
This guide walks through constructing a Kubernetes master high‑availability environment on a private‑cloud Ubuntu 14.04 platform, covering full component containerization, external load‑balancer setup with HAProxy and Keepalived, static pod configuration, privileged mode requirements, flannel networking, common pitfalls, and future HA master developments.
This guide explains how to achieve high‑availability MySQL master‑master replication by combining LVS load balancing with Keepalived failover, covering installation, configuration, script creation, service management, testing, and a concise summary of the solution.
This article presents a practical dual‑master MySQL high‑availability solution using keepalived and custom shell scripts that reliably detect master health, perform graceful VIP failover, and safely switch back after repairs, while ensuring data consistency and minimal downtime.
This article walks through implementing web high availability and static‑dynamic content separation using HAProxy combined with Keepalived, covering load‑balancing concepts, VRRP basics, step‑by‑step configuration of time sync, hostnames, SSH trust, installing required packages, and testing failover scenarios.
This article explains how Keepalived automatically monitors web servers at the IP, TCP, and application layers, removes unhealthy nodes, and reintegrates them once recovered, thereby maintaining high availability and reducing manual maintenance in complex server clusters.
This article explains the fundamentals of load balancing, introduces Linux Virtual Server (LVS) and its architecture, and provides a step‑by‑step guide to set up a DR‑mode LVS cluster with Keepalived on CentOS, including configuration, testing, and failover verification.
This guide walks through the concepts of VRRP, the keepalived daemon, and step‑by‑step installation and configuration of a redundant LVS load‑balancing setup on Linux, including node preparation, keepalived.conf tuning, HTTP service deployment, and health‑check scripting.
This article describes a complete two‑machine high‑availability solution that uses keepalived to manage virtual IPs, Nginx for load‑balancing, MySQL GTID replication with Atlas as a proxy, and detailed configuration and fail‑over testing steps to ensure seamless service continuity.