Chapter 6. Clustering


Support for Keepalived and HAProxy Load Balancer technology

Red Hat Enterprise Linux 6.6 provides support for Load Balancer technology with Keepalived and HAProxy.
Keepalived provides simple and robust facilities for load balancing and high availability. The load-balancing framework relies on the well-known and widely used Linux Virtual Server kernel module providing Layer-4 (transport layer) load balancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage a load balanced server pool according to their health. Keepalived also implements the Virtual Router Redundancy Protocol (VRRPv2) to achieve high availability with director failover.
HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. HAProxy can:
  • Route HTTP requests depending on statically assigned cookies;
  • Spread the load among several servers while assuring server persistence through the use of HTTP cookies;
  • Switch to backup servers in the event a main server fails;
  • Accept connections to special ports dedicated to service monitoring;
  • Stop accepting connections without breaking existing ones;
  • Add, modify, and delete HTTP headers in both directions;
  • Block requests matching particular patterns;
  • Persist client connections to the correct application server depending on application cookies;
  • Report detailed status as HTML pages to authenticated users from a URI intercepted from the application.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.