Difference between revisions of "Building Two-Node Directors/Real Servers using LVS and Keepalived"

From LVSKB
Jump to: navigation, search
m (Architecture)
m
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
This guide is a brief explanation on getting a two node director/real server setup going using LVS and keepalived.
+
This guide is a brief explanation on getting a two node director/[[real server]] setup going using [[LVS]] and [[keepalived]].
  
This is an adaptation of the information at [http://www.ultramonkey.org/2.0.1/topologies/sl-ha-lb-eg.html Ultra Monkey: Streamline High Availablility and Load Balancing] to work with keepalived.
+
This is an adaptation of the information at [http://www.ultramonkey.org/2.0.1/topologies/sl-ha-lb-eg.html Ultra Monkey: Streamline High Availablility and Load Balancing] to work with [[keepalived]].
  
 
It is primarily targeted at RHEL3/4 (RedHat Enterprise Linux).
 
It is primarily targeted at RHEL3/4 (RedHat Enterprise Linux).
  
 
== Goals ==
 
== Goals ==
Setup a two node LVS cluster with Apache as the virtualised services, with both nodes operating as both directors and real servers.<br>
+
Setup a two node [[LVS]] cluster with Apache as the virtualised services, with both nodes operating as both directors and [[real server]]s.<br>
 
Setup healthchecking of services (httpd).<br>
 
Setup healthchecking of services (httpd).<br>
 
Setup lvs-syncing of connections (ipvsadm sync daemon).<br>
 
Setup lvs-syncing of connections (ipvsadm sync daemon).<br>
Line 13: Line 13:
 
== Knowledge Required ==
 
== Knowledge Required ==
  
Understanding of Layer 3 load balancing.<br>
+
Understanding of Layer 3 [[load balancing]].<br>
 
Understanding of Linux LVS.<br>
 
Understanding of Linux LVS.<br>
 
Understanding of Apache configuration.<br>
 
Understanding of Apache configuration.<br>
Line 21: Line 21:
 
Base installation of RHEL3/4.<br>
 
Base installation of RHEL3/4.<br>
 
RPM Packages for httpd.<br>
 
RPM Packages for httpd.<br>
RPM Packages for keepalived.<br>
+
RPM Packages for [[keepalived]].<br>
RPM Packages for ipvsadm.<br>
+
RPM Packages for [[ipvsadm]].<br>
  
 
== Instructions ==
 
== Instructions ==

Revision as of 15:53, 18 June 2006

Introduction

This guide is a brief explanation on getting a two node director/real server setup going using LVS and keepalived.

This is an adaptation of the information at Ultra Monkey: Streamline High Availablility and Load Balancing to work with keepalived.

It is primarily targeted at RHEL3/4 (RedHat Enterprise Linux).

Goals

Setup a two node LVS cluster with Apache as the virtualised services, with both nodes operating as both directors and real servers.
Setup healthchecking of services (httpd).
Setup lvs-syncing of connections (ipvsadm sync daemon).

Knowledge Required

Understanding of Layer 3 load balancing.
Understanding of Linux LVS.
Understanding of Apache configuration.

Components Required

Base installation of RHEL3/4.
RPM Packages for httpd.
RPM Packages for keepalived.
RPM Packages for ipvsadm.

Instructions

Architecture

Sl-ha-lb-eg.jpg


LVS.png "Building Two-Node Directors/Real Servers using LVS and Keepalived" is an LVS Example related stub. You can help LVSKB by expanding it