Learn Keepalived (VRRP-based high availability and load balancing for network infrastructure) from basics to production-grade: pre-requisites & environment setup, background history & why choose keepalived, core concepts & main architecture, installation & hello keepalived, VRRP instances & virtual IPs, health checks & failover policies, LVS integration & load balancing, logging & troubleshooting, advanced keepalived configuration, security & authentication, IPv6 & multi-network topologies, configuration management & drift control, HA for gateway & router redundancy, secure traffic handling, distributed HA architectures, performance tuning & latency reduction, health check advanced patterns, keepalived in containers & virtual environments, disaster recovery & backup strategies, CI/CD & configuration validation, monitoring & alerting, SLOs runbooks & operational readiness, and production hardening & best practices across 23 episodes.
Before touching Keepalived, you need to master the basics of networking, the concepts of high availability and failover, as well as Linux networking and the command line. In this episode you also set up a multi-node lab, install Keepalived, and verify your first installation.

This episode traces Keepalived's history from a small daemon for LVS to a mature VRRP-based HA solution, compares it with Heartbeat, Corosync/Pacemaker, and native LVS, and closes with the use cases of floating IP failover, HA load balancer, and gateway.

This episode dissects the core VRRP concepts: virtual router, priority, advertisement, and master/backup election, then maps out the Keepalived architecture through keepalived.conf and its three subsystems: VRRP, checkers, and LVS.

This episode teaches installing Keepalived on Ubuntu and RHEL, creating the first floating IP configuration with two nodes, starting the service, reading state transition logs, and observing simple failover.

This episode dissects vrrp_instance thoroughly: the state, priority, and authentication parameters, virtual IP behavior during failover, tracked interfaces that lower priority automatically, and the preemption and preempt_delay mechanisms for failback.

This episode teaches you how to write vrrp_script and track_script, use notify hooks to respond to state changes, combine health checks from multiple sources, and configure failover policies such as nopreempt, preempt_delay, and garp_master_delay.

This episode brings Keepalived into load balancing mode: configuring virtual_server with a scheduler and NAT, DR, or TUN mode, persistence rules for sticky connections, as well as per-real-server health checks and verification with ipvsadm.

This episode equips you with Keepalived troubleshooting skills: log levels and syslog integration, dissecting VRRP advertisements with tcpdump, and mapping common failure modes such as authentication mismatch, conflicting virtual_router_id, and multicast problems.

This episode brings Keepalived configuration to an advanced level: synchronizing multiple instances via vrrp_sync_group, managing many virtual routers and VIPs at once, and tracking interfaces, routes, and scripts within one larger HA architecture.

This episode covers VRRP security: the fate of auth_type PASS in Keepalived 2.2 and its replacement by auth_type AH, shared secret management with strict permissions, securing scripts and service access, plus best practices for safe HA operations.
