LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS Active-Active, two instances ipvsadm

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: LVS Active-Active, two instances ipvsadm
From: David Manchado <david.manchado@xxxxxxxxxxxx>
Date: Tue, 4 May 2004 08:58:05 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello there,

I'm configuring a LVS system but I'd like to make it work in active-active 
mode non active-failover.

I want to do this scenario because behind the LVS server will lay different 
LAN services (same services can be accessed by different public IP) so LVS1 
would be the active load-balancer (+firewall) for one network and LVS2 the 
active for the other network.

                 INET
                  |
                  |
               BACKBONE
              /        \
           LVS1 <-ha-> LVS2 
             \___________/   (Direct Routing)
               | | | | | 
              REAL SERVERS

I already know to get this work with active-active configuration for 
heartbeat, but ipvsadm (as far as I know) can't handle two instances on each 
server so LVS1 is master for one instance (and LVS2 works as backup) and LVS 
is backup for the instance running on LVS2 as master.

I can configure my startup script for ipvsadm the rules file and many other 
things but the connections are stored 
at /proc/net/ip_vs,ip_vs_app,ip_vs_conn,ip_vs_stats so I think it can't 
handle more than one instance for ipvsadm ¿?

Has ever someone configured this scenario? 

Thanks in advance!
- -- 
David Manchado
System Administrator EUROCIBER
e: david.manchado@xxxxxxxxxxxx
t: +34 902 902 997
f: +34 91 338 1616conf
Public PGP key available at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAlz8CMYU15PsVbX0RAkv0AJ0Xlez3VfgcCtrC5aaySnDlvSR51gCbBCxe
OASNqTGOmOL2RR/QGvGueNw=
=QwOc
-----END PGP SIGNATURE-----
<Prev in Thread] Current Thread [Next in Thread>