LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: 2 lvs's - 1 ip to manage

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: 2 lvs's - 1 ip to manage
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 27 Oct 2005 02:14:09 +0900
On Wed, Oct 26, 2005 at 04:43:31PM +0200, Leon Keijser wrote:
> Hi,
> 
> 
> I wanted to make the 2 LVS's a little more manageable. That is, i want
> people to be able to connect to 1 (V)IP  (ssh) so that they'll always
> connect to the active/master LVS.
> 
> So i thought i would simply create another entry in ldirectord.cf :
> 
> virtual = 192.168.51.202:22
>     protocol=tcp
>     scheduler=wlc
>     real=localhost:22 gate 1
> 
> But this doesn't work. I can't substitute 'localhost' for the IP address,
> because it's different for LVS1 and 2.
> 
> How can i solve this?

At a glance, that should be fine, what is the problem you are seeing?

-- 
Horms

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