LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems recognizing director

To: Jason Wies <jason@xxxxxx>
Subject: Re: Problems recognizing director
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 5 Jan 2002 02:20:01 +0000 (GMT)
        Hello,

On Fri, 4 Jan 2002, Jason Wies wrote:

> Alright.   I haven't been as brave with testing as I should because I've
> been remote admining.  However these questions will help me when
> debugging locally:
>
> - Does is matter what order the hidden flags get set (all then dummy0,
> or dummy0 then all)?

        Does not matter

> - Does it matter what order the servers are brought up (director then
> real servers)?

        The preferred way is to start the real servers first.

> - Does it matter what order the interfaces are brought up?

        May be

> - Does it matter what order the IP addresses are assigned to the interfaces?

        May be

> I have been using Debian's standard /etc/network/interfaces, and not
> adding the addresses with 'ip'.
>
> I did have DR working with a test IP.  In that case, the director only
> had one IP, on eth0, which was being used as the VIP but also served as
> the DIP.  I didn't see any setups like that in the docs, but it's the

        Works for DR and NAT but not for TUN. TUN requires DIP!=VIP

> only one that has worked for me at all so far.  Is that an acceptable
> solution assuming that there are no ports I need to access on the
> director and need to load balance as well?
>
> Is there any harm in using the VIP as eth0 on the director, and adding
> the DIP on another interface?

        It depends on your routing, conf/*/rp_filter, etc. There are
many variants for settings but you have to check the routing by
using ip route get commands, both for the in and out traffic.

> Thanks,
> Jason

Regards

--
Julian Anastasov <ja@xxxxxx>



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