LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: One Network LVS-NAT with HA

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: One Network LVS-NAT with HA
From: "Alex Kramarov" <alex@xxxxxxxxxxxxxxx>
Date: Wed, 27 Nov 2002 18:28:43 +0200
I would really suggest that people read the keepalived documentation about
using directors in active-active more - this would answer a lot of questions
of this kind .

In general, even in a active-passive setup one should have a floating vip on
the external network that the requests from clients are directed to it, and
a floating vip on the internal network, that this vip is the default gateway
to the real servers. 

from this setup  to active-active in only one step - have 2 VIPs on the
external side, and 2 on the internal, make sure that in normal situation one
pair of vip's (one external and one internal) is on one director, and the
other pair is on the second. direct clients to use the 2 vip's (for example,
set that the html of your site is retrieved through vip1, and the images
through vip2). if any of the directors fail, then all 4 ip's will be on the
same machine, thus achieving high availability, and active-active
configuration.

the documentation on keepalived's site provides very good description of
this process.

using only one network shouldn't contradict with this setup - just make the
logical adjustments.

Alex.
 
-------Original Message-------
 
From: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Date: éåí øáéòé 27 ðåáîáø 2002 18:15:23
To: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: One Network LVS-NAT with HA
 
I have set up my LVS according to the instructions in the "One Network
LVS-NAT" section of the howto
(http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.LVS-NAT.html#
one_network)
 
I want to set up HA with another server. My problem is that I have set the
default gw of my realservers to the IP of my director. So if I failover my
realservers are using the wrong director as their default gw. I tried to
use the cluster IP as the default gw but it doesn't seem to work. What can
I do to set this up?
 
 
Cass Bishop
Web/Voice Systems Engineer
ATX Technologies
972-753-6289
 
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and
confidential. Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.
 
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
 
. 


<Prev in Thread] Current Thread [Next in Thread>