A question about ldirectord.cf

Horms horms at verge.net.au
Thu Apr 15 01:37:37 BST 2004


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


More information about the lvs-users mailing list