This tutorial will help you to Setup IP Failover on Ubuntu and Debian operating systems with the KeepAlived service. Keepalived Setup on Ubuntu and Debian to manage multiple Load Balancers.
Posted by1 month ago
OpenLDAP with KeepaliveD
Hi all,
I have following setup:
Now, I would like to set keepalived on VM1 and VM2 such that when HTTP request on port 80 (or HTTPS on 443) arrives - to redirect it to either VM3 or VM4 on port 80/443 and same goes for LDAP - to redirect ports 389/636 to either VM3 or VM4.
Now, I am just a hobby admin but I guess it qualified me to get such a task at my company and what I did is to set keepalived properly, but failed to redirect traffic. Eventually, what I did is to move keepalived to VM3 and VM4 so when IP floats, we get access over VirtualIP, but I frankly don't like this. Do I have to use some NATting or keepalived is capable, but I failed to configure it?
Here is the keepalived from VM1.
Thank you in advance
81% Upvoted
The main goal of this project is to provide simple and robust facilitiesfor loadbalancing and high-availability to Linux system and Linux basedinfrastructures. Loadbalancing framework relies on well-known and widelyused Linux Virtual Server (IPVS) kernel module providing Layer4 loadbalancing.Keepalived implements a set of checkers to dynamically and adaptively maintainand manage loadbalanced server pool according their health. On the other handhigh-availability is achieved by VRRP protocol. VRRP is a fundamental brick forrouter failover. In addition, Keepalived implements a set of hooks to the VRRPfinite state machine providing low-level and high-speed protocol interactions.In order to offer fastest network failure detection, Keepalived implements BFDprotocol. VRRP state transition can take into account BFD hint to drive faststate transition. Keepalived frameworks can be used independently or alltogether to provide resilient infrastructures.
Keepalived implementation is based on an I/O multiplexer to handle astrong multi-threading framework. All the events process use this I/Omultiplexer.
To build keepalived from the git source tree, you will need to haveautoconf, automake and various libraries installed. See the INSTALLfile for details of what needs to be installed and what needs to beexecuted before building keepalived.
Keepalived is free software, Copyright (C) Alexandre Cassen.See the file COPYING for copying conditions.
OPENSSL TOOLKIT LICENCE EXCEPTION
In addition, as the copyright holder of Keepalived,I, Alexandre Cassen, [email protected],grant the following special exception:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |