LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: A question about ldirectord.cf

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: A question about ldirectord.cf
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 15 Apr 2004 09:37:37 +0900
On Wed, Apr 14, 2004 at 12:14:58PM -0500, Randy Paries wrote:
>  Hello,
> 
> I was wondering if I could do the following (unfortunately I do not have a
> test env)

This is not possible because you cannot do port mapping using
LVS-DR (gate). However, if you used LVS-NAT (masq) this should work
fine.

-- 
Horms

> My current ldirectord.cf looks like
> 
> ##snippet## 
> virtual=66.208.187.10:80
>         real=192.168.0.203:80 gate
>         real=192.168.0.204:80 gate
>         fallback=127.0.0.1:80 gate
>         service=http
>         request="ldirectordping.html"
>         receive="Test Page"
>         scheduler=wlc
>         persistent=1800
>         netmask=255.255.255.0
>         protocol=tcp
> 
> I would like to add the following? Would this be legal?
> virtual=66.208.187.10:8888
>         real=192.168.0.203:80 gate
>         service=http
>         request="ldirectordping.html"
>         receive="Test Page"
>         scheduler=wlc
>         persistent=1800
>         netmask=255.255.255.0
>         protocol=tcp
> virtual=66.208.187.10:8889
>         real=192.168.0.204:80 gate
>         service=http
>         request="ldirectordping.html"
>         receive="Test Page"
>         scheduler=wlc
>         persistent=1800
>         netmask=255.255.255.0
>         protocol=tcp
<Prev in Thread] Current Thread [Next in Thread>