LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: persistance dependencies??

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: persistance dependencies??
From: Jeremy Hansen <jeremy@xxxxxxxxxxxxxx>
Date: Wed, 10 Dec 2003 10:51:59 -0800 (PST)
On Wed, 10 Dec 2003, Joseph Mack wrote:

> Jeremy Hansen wrote:
> > 
> 
> > and connections to 208.37.31.234 port 110 and 25 are being refused. 
> 
> this means that there is nothing listening on those ports on the machine
> that the packets are delivered on. Your LVS may not be sending the packets
> where you think they are being sent.

Hmm, well if I simply change the :0 to the specific port :25 or :110 in 
this case, then all works fine.  Again, here is my ldirectord.cf entry:

# pop
virtual=208.37.31.234:110
        real=208.37.31.236:110 gate
        real=208.37.31.237:110 gate
        service=pop
        scheduler=wlc
        #login="test"
        #passwd="test"
        persistent=900
        protocol=tcp

# smtp
virtual=208.37.31.234:25
        real=208.37.31.236:25 gate
        real=208.37.31.237:25 gate
        service=smtp
        scheduler=wlc
        #login="test"
        #passwd="test"
        persistent=900
        protocol=tcp

all working fine.  I change this to:

# pop
virtual=208.37.31.234:0
        real=208.37.31.236:110 gate
        real=208.37.31.237:110 gate
        service=pop
        scheduler=wlc
        #login="test"
        #passwd="test"
        persistent=900
        protocol=tcp

# smtp
virtual=208.37.31.234:0
        real=208.37.31.236:25 gate
        real=208.37.31.237:25 gate
        service=smtp
        scheduler=wlc
        #login="test"
        #passwd="test"
        persistent=900
        protocol=tcp

per my interpretation of what the HOWTO says to maintain the persistence 
across services and then I can no longer contact those ports from the 
outside.

Thanks
-jeremy

> Joe
> 
> 

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