Tag

Keepalived

0 views collected around this technical thread.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 9, 2025 · Operations

How Nginx Master‑Slave Architecture Ensures High Availability

This article explains how Nginx's master‑slave (primary‑backup) setup, combined with Keepalived and a virtual IP, provides high‑availability for web and API services by automatically detecting failures, shifting the VIP, and allowing the backup server to take over without service interruption.

FailoverHigh AvailabilityKeepalived
0 likes · 4 min read
How Nginx Master‑Slave Architecture Ensures High Availability
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
May 28, 2025 · Operations

Designing a Million‑Level Load Balancing Architecture with LVS, Nginx, and Keepalived

This article explains how to build a high‑availability, million‑level concurrent architecture by combining Linux Virtual Server (LVS) for layer‑4 load balancing, Nginx for layer‑7 reverse proxy and caching, and Keepalived for VIP failover, including configuration examples and deployment modes.

High AvailabilityKeepalivedLVS
0 likes · 6 min read
Designing a Million‑Level Load Balancing Architecture with LVS, Nginx, and Keepalived
Linux Ops Smart Journey
Linux Ops Smart Journey
Nov 27, 2024 · Operations

Boost Service Reliability: Deploy Keepalived Exporter with Prometheus & Grafana

Learn how to enhance network service high availability by installing Keepalived Exporter, configuring Prometheus to collect its metrics, and adding a Grafana dashboard, with step‑by‑step commands and tips for a robust monitoring solution suitable for enterprises of any size.

GrafanaHigh AvailabilityKeepalived
0 likes · 5 min read
Boost Service Reliability: Deploy Keepalived Exporter with Prometheus & Grafana
Linux Ops Smart Journey
Linux Ops Smart Journey
Aug 4, 2024 · Cloud Native

How to Build a High-Performance, Highly-Available Production Kubernetes Cluster

This guide walks you through planning, configuring, and deploying a production‑grade Kubernetes cluster with high performance and availability, covering host planning, HA load balancing with keepalived and HAProxy, Harbor setup, node initialization, and essential system tweaks, all illustrated with ready‑to‑run code snippets.

DockerHAHarbor
0 likes · 12 min read
How to Build a High-Performance, Highly-Available Production Kubernetes Cluster
Architect's Guide
Architect's Guide
Nov 15, 2023 · Databases

Smooth 2N Database Scaling and High Availability with MariaDB, Keepalived, and Sharding

This article presents five expansion strategies—shutdown, write‑stop, log‑based, dual‑write, and smooth 2N—detailing step‑by‑step procedures for MariaDB installation, master‑master replication, dynamic data‑source configuration, and Keepalived high‑availability setup, enabling seamless horizontal scaling and minimal service disruption for large‑scale databases.

Database ScalingHigh AvailabilityKeepalived
0 likes · 30 min read
Smooth 2N Database Scaling and High Availability with MariaDB, Keepalived, and Sharding
Architecture & Thinking
Architecture & Thinking
Jun 2, 2023 · Databases

Mastering Database High Availability: From Basic Replication to Seamless Scaling

This article examines the evolution of database high‑availability architectures in large‑scale internet environments, covering basic direct‑connect setups, scale‑up/scale‑out sharding, master‑slave/master‑master with Keepalived, and advanced solutions such as MHA, Percona XtraDB Cluster, and MySQL Group Replication, plus smooth scaling steps.

High AvailabilityKeepalivedMaster‑Slave
0 likes · 7 min read
Mastering Database High Availability: From Basic Replication to Seamless Scaling
IT Architects Alliance
IT Architects Alliance
Apr 14, 2023 · Databases

Comprehensive Guide to Database Horizontal Scaling, Smooth 2N Expansion, and Keepalived High‑Availability Configuration

This technical guide explains how to scale a sharded database horizontally by introducing five expansion schemes—including shutdown, write‑stop, log‑based, dual‑write, and smooth 2N approaches—covers MariaDB installation, master‑master replication setup, dynamic data‑source configuration with ShardingJDBC, and detailed Keepalived high‑availability configuration for seamless service continuity.

Database ScalingDual‑WriteDynamic Data Source
0 likes · 31 min read
Comprehensive Guide to Database Horizontal Scaling, Smooth 2N Expansion, and Keepalived High‑Availability Configuration
Code Ape Tech Column
Code Ape Tech Column
Mar 27, 2023 · Databases

Horizontal Database Scaling Strategies and Practical Implementation with MariaDB, Keepalived, and ShardingJDBC

This article explains how to expand a sharded database from three to four nodes, compares five migration schemes—including stop‑service, stop‑write, log‑based, dual‑write, and smooth 2N approaches—and provides step‑by‑step instructions for MariaDB installation, master‑slave configuration, Keepalived high‑availability setup, and dynamic data‑source integration using ShardingJDBC.

High AvailabilityKeepalivedMariaDB
0 likes · 33 min read
Horizontal Database Scaling Strategies and Practical Implementation with MariaDB, Keepalived, and ShardingJDBC
Architect's Guide
Architect's Guide
Mar 22, 2023 · Backend Development

Comprehensive Guide to Nginx: Installation, Configuration, and Performance Optimization

This extensive tutorial walks through Nginx concepts, environment setup, reverse‑proxy load balancing, static‑dynamic separation, resource compression, buffering, caching, IP whitelist/blacklist, CORS handling, anti‑hotlinking, large‑file configuration, SSL certificate setup, high‑availability with Keepalived, and key performance optimizations.

CachingKeepalivedNginx
0 likes · 41 min read
Comprehensive Guide to Nginx: Installation, Configuration, and Performance Optimization
Top Architect
Top Architect
Mar 10, 2023 · Operations

Implementing Nginx High Availability with Keepalived on Two Virtual Machines

This article explains how to set up a high‑availability Nginx service using Keepalived on two CentOS virtual machines, covering installation, configuration of keepalived, health‑check scripts, virtual IP management, and failover testing to ensure continuous service availability.

HAHigh AvailabilityKeepalived
0 likes · 9 min read
Implementing Nginx High Availability with Keepalived on Two Virtual Machines
Wukong Talks Architecture
Wukong Talks Architecture
Mar 7, 2023 · Databases

Ensuring MySQL Slave Node Availability with Keepalived and Read/Write Splitting

This article documents a MySQL read‑write splitting architecture, investigates an unexpected slave‑node crash, and provides a step‑by‑step guide to using Keepalived for monitoring and automatically restarting the MySQL container to achieve high availability of the replica.

DockerHigh AvailabilityKeepalived
0 likes · 7 min read
Ensuring MySQL Slave Node Availability with Keepalived and Read/Write Splitting
Laravel Tech Community
Laravel Tech Community
Mar 1, 2023 · Operations

Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, SSL, and High‑Availability with Keepalived and LVS

This article provides a step‑by‑step tutorial on installing Nginx, setting up reverse proxy and various load‑balancing methods, configuring upstream directives, enabling SSL, and building high‑availability clusters using Keepalived and LVS with detailed command examples and configuration snippets.

High AvailabilityKeepalivedLVS
0 likes · 21 min read
Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, SSL, and High‑Availability with Keepalived and LVS
Top Architect
Top Architect
Jan 12, 2023 · Operations

Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, and High Availability with Keepalived and LVS

This article provides a step‑by‑step tutorial on installing Nginx, setting up reverse proxy and various load‑balancing methods, configuring upstream directives, deploying Keepalived for high‑availability failover, and building an LVS‑DR cluster to achieve robust, production‑grade traffic distribution.

High AvailabilityKeepalivedLVS
0 likes · 25 min read
Comprehensive Guide to Installing Nginx, Configuring Reverse Proxy, Load Balancing, and High Availability with Keepalived and LVS
Top Architect
Top Architect
Dec 16, 2022 · Databases

Comprehensive Guide to Database Horizontal Scaling, Sharding, and High Availability with MariaDB and Keepalived

This article presents a detailed analysis and step‑by‑step implementation of horizontal database scaling, including sharding strategies, shutdown and stop‑write plans, log‑based migration, dual‑write approaches, and a smooth 2N expansion method, while also covering MariaDB master‑master configuration, dynamic data source addition, and Keepalived high‑availability setup.

High AvailabilityKeepalivedMariaDB
0 likes · 37 min read
Comprehensive Guide to Database Horizontal Scaling, Sharding, and High Availability with MariaDB and Keepalived
Top Architect
Top Architect
Nov 7, 2022 · Cloud Native

Step‑by‑Step Deployment of a Highly Available Kubernetes Cluster with Nginx/Keepalived Load Balancer, Flannel CNI, IPVS, Dashboard, and Harbor Registry

This comprehensive guide walks you through installing Docker and containerd, configuring yum repositories, setting up kubeadm/kubelet/kubectl, initializing a multi‑master Kubernetes cluster, enabling Flannel CNI and IPVS, building a Nginx‑Keepalived HA load balancer, deploying the Kubernetes dashboard, configuring NFS storage with a dynamic provisioner, and installing a secure Harbor image registry for private images.

HarborHigh AvailabilityKeepalived
0 likes · 44 min read
Step‑by‑Step Deployment of a Highly Available Kubernetes Cluster with Nginx/Keepalived Load Balancer, Flannel CNI, IPVS, Dashboard, and Harbor Registry
Architect
Architect
Nov 3, 2022 · Cloud Native

Step-by-Step Guide to Deploying a High‑Availability Kubernetes Cluster with Dashboard and Harbor

This comprehensive tutorial walks through preparing multiple Linux nodes, installing Docker and containerd, setting up kubeadm, kubelet and kubectl, initializing a HA Kubernetes control plane, configuring Flannel networking, deploying the Kubernetes dashboard, installing Nginx + Keepalived for load balancing, setting up NFS with rsync, provisioning storage via Helm, and finally installing a secure Harbor image registry, all with detailed commands and configuration snippets.

DashboardHAHarbor
0 likes · 39 min read
Step-by-Step Guide to Deploying a High‑Availability Kubernetes Cluster with Dashboard and Harbor
Top Architect
Top Architect
Aug 26, 2022 · Operations

Comprehensive Guide to Nginx Rewrite, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration

This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and building a high‑availability architecture using Keepalived with detailed code examples and deployment instructions.

ConfigurationHigh AvailabilityKeepalived
0 likes · 23 min read
Comprehensive Guide to Nginx Rewrite, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration
Wukong Talks Architecture
Wukong Talks Architecture
Jul 21, 2022 · Operations

Understanding Keepalived Routing Principles: NAT, TUN, and DR Modes Explained

This article uses a restaurant analogy to demystify Keepalived's routing mechanisms, detailing the NAT, TUN, and Direct Routing (DR) modes, their configurations, underlying LVS architecture, performance trade‑offs, and practical deployment considerations for high‑availability load balancing.

DRHigh AvailabilityKeepalived
0 likes · 14 min read
Understanding Keepalived Routing Principles: NAT, TUN, and DR Modes Explained
Wukong Talks Architecture
Wukong Talks Architecture
Jul 19, 2022 · Operations

Understanding Keepalived Routing Principles: NAT, TUN, and Direct Routing (DR) Explained

This article uses a restaurant analogy to demystify Keepalived’s routing mechanisms, detailing the three routing modes—NAT, TUN, and Direct Routing (DR)—their configurations, underlying principles, advantages, limitations, and practical deployment considerations within load‑balancing environments.

Direct RoutingKeepalivedNAT
0 likes · 15 min read
Understanding Keepalived Routing Principles: NAT, TUN, and Direct Routing (DR) Explained
IT Services Circle
IT Services Circle
Jul 18, 2022 · Databases

Migrating MySQL Dual-Master High Availability to Master‑Slave Architecture: Lessons Learned and Simple Conversion Steps

After a month of testing a MySQL dual‑master high‑availability setup, the author details the numerous pitfalls encountered—including primary key collisions, sync failures, and data inconsistencies—and explains why they switched to a simpler master‑slave configuration, providing step‑by‑step instructions for the conversion.

High AvailabilityKeepalivedMaster‑Slave
0 likes · 8 min read
Migrating MySQL Dual-Master High Availability to Master‑Slave Architecture: Lessons Learned and Simple Conversion Steps