Problem with masq option for LVS - help very much appreciated!

Torsten Jacobi tj at creative-weblogging.com
Thu Feb 15 19:59:07 GMT 2007


Roberto,

> Neither worked, so I suggest fixing this first:
> 
> ratz at laphish2:~$ telnet 80.237.155.99 81
> Trying 80.237.155.99...
> Connected to 80.237.155.99.
> Escape character is '^]'.
> GET /ldirectord.html HTTP/1.0


Hehe in ldirectord.cf I specified --ldirector.html - thsi one works all 
the time :-)

ftpuser at tjdebian:~$ telnet 80.237.155.99 81
Trying 80.237.155.99...
Connected to 80.237.155.99.
Escape character is '^]'.
GET /ldirector.html HTTP/1.0

HTTP/1.1 200 OK
Date: Thu, 15 Feb 2007 19:44:48 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18
Last-Modified: Fri, 09 Feb 2007 20:34:05 GMT
ETag: "13382a-9-45ccdabd"
Accept-Ranges: bytes
Content-Length: 9
Connection: close
Content-Type: text/html; charset=utf-8

> Important: you need to be able to connect to your RS from your director 
> and be able to perform the defined health check. This is currently not 
> possible (although I couldn't test from your director). If this is not 
> possible, ldirectord will either take your RS out or (maybe?) quiesce it.

Sure - the debugging showed that thsi was ok all the time - see above.

>> Hehe - that is the issue I guess - I'm not sure what why ldirector makes
>> this mapping at all - I'm not telling it to do so. :(
> 
> Weird, seems like a mapping bug inside ldirectord. I'll have a look at 
> it but maybe not until tomorrow, since I don't have time right now.
> 
>> I checked twice that this is the only ldirectord.cf on my system

...

> Ok, so then this is definitely weird. At first sight it looked to me as 
> if ldirectord has missing "set variable undefined" somewhere in the 
> code. I remember, when I implemented something similar to ldirectord 
> years ago, I was bit by this when writing the configuration parser. Will 
> check ...

> Is your ldirectord started via heartbeat?

Yes.

If it helps - here is the most recent log output:

[Thu Feb 15 10:30:17 2007|ldirectord] Linux Director Daemon terminated 
on signal: TERM
[Thu Feb 15 10:31:48 2007|ldirectord] Starting Linux Director v1.77.2.6 
as daemon
[Thu Feb 15 10:31:48 2007|ldirectord] Added virtual server: 
80.237.183.170:82
[Thu Feb 15 10:31:48 2007|ldirectord] Added fallback server: 
67.19.109.2:81 ( x 80.237.183.170:82) (Weight set to 1)
[Thu Feb 15 10:31:48 2007|ldirectord] Quiescent real server: 
80.237.155.99:82 mapped from 80.237.155.99:81 ( x 80.237.183.170:82) 
(Weight set to 0)
[Thu Feb 15 10:31:48 2007|ldirectord] Added real server: 
80.237.155.99:81 ( x 80.237.183.170:82) (Weight set to 1000)
[Thu Feb 15 10:31:48 2007|ldirectord] Deleted fallback server: 
67.19.109.2:81 ( x 80.237.183.170:82)


best,
Torsten

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list