LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Setup Problem

To: "Steverding, Kai" <steverding@xxxxxx>
Subject: Re: Setup Problem
Cc: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 7 Sep 2001 09:21:46 +0000 (GMT)
        Hello,

On Fri, 7 Sep 2001, Steverding, Kai wrote:

> Hi !
> I have the following network-setup:
>
>
>   <ROUTER>
>       |
>       | IP:172.30.10.1
>       |
>       |
>
> |-----------------------------------------------------------------------|---
> -------------------------------------------------------- |
>                                                       |
> |
>                                                       |
> |
>                                                       | IP:172.30.10.2
> |  IP:172.30.10.3
>                                                       |
> |
>                                                   <SERVER-1>
> <SERVER-2>
>                                                       |
> |
>                                                       | IP:192.168.1.1
> |  IP:192.168.1.2
>                                                       |
> |
>
> |-----------------------------------------------------------|
>
> I would like to load-balance the mail-service (smtp) between SERVER-1 and
> SERVER-2. The director must not run on the router , so i would like to run
> the director on SERVER-1 (on 172.30.10.2) and the real servers would be
> 192.168.1.1 and 192.168.1.2.

ipvsadm -A -t 172.30.10.2:25 -s wlc
ipvsadm -a -t 172.30.10.2:25 -r 127.0.0.1
ipvsadm -a -t 172.30.10.2:25 -r 192.168.1.2

> My main problem is, that SERVER-2 must remain reachable on it`s IP-Adresse
> 172.30.10.3 for other services.

        This is not a problem, it should work

> Any suggestions how i can get this setup running ? Or is it impossible. One
> problem i had is, that when i install a dummy interface on SERVER-2 with
> NO-ARP and IP-Adress 172.30.10.2 (for VS-DR or VS-TUN), i can`t reach

        What is "NO-ARP", some utility? You know that ifconfig ... -arp
is not enough!

> SERVER-1 from SERVER-2, because SERVER-2 answers the requests from SERVER-2
> to SERVER-1 himself, because of the interface.

        OK, if 172.30.10.2 and .3 are RIPs, you need a different IP
to use as VIP (VIP!=DIP) if you want the real server(s) to reach the DIP.
May be you can select 172.30.10.4 as VIP? Else you have to reach
the director through 192.168.1.1.

> Thanks in Advance
>
> Kai


Regards

--
Julian Anastasov <ja@xxxxxx>



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