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

Roberto Nibali ratz at drugphish.ch
Fri Feb 16 11:00:04 GMT 2007


>> 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 :-)

Darn, my apologies for this oversight. Must be the medications fighting 
my cold :). You are of course correct.

>> 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.

What happens if you disable the check method in your ldirectord 
configuration?

>> 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)

I don't have time right now to have a deeper look, but could you please 
compare your version of ldirectord with the following (or send me your 
version in private), and if this one is newer, try it on your setup?

http://www.vergenet.net/linux/ldirectord/download/ldirectord.1.186

Best regards,
Roberto Nibali, ratz
-- 
echo 
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

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

More information about the lvs-users mailing list