[KLUG Members] Ultramonkey/ LVS / Network wackiness

Adam Bultman adamb at glaven.org
Fri Jun 11 10:44:55 EDT 2004


Adam Tauno WIlliams wrote:

>>I hear you ;)
>>    
>>
>>>eth0: 192.168.202.x
>>>eth1: 10.88.0.x (netmask 255.255.0.0)
>>>eth2: 10.0.0.x (netmask 255.255.255.0) (management,
>>>no wires involved)
>>>      
>>>
>>three different subnets
>>your error is on x.x.0.2?  Is there a DHCP server
>>handing out addresses on this subnet?  You might want
>>to exclude those address you don't want stolen if so.
>>    
>>
>
>Have you taken a look at your arp tables?  They should make it clear who
>has what, or at least who system A thinks has what.
>
>/sbin/arp -a
>  
>

I found my problem - that day, actually. I was lamenting my poor fate 
when someone asked me what the netmask on my lo address was.  Whoops. 
That fixed it.

There's some question as to why things work the way they work, but 
whatever - it works, and I've got a web site running on the new blade 
now, so whoop de do!

However, I've got another question about ultramonkey, which I don't 
think will have an answer here.

I'm trying to get it to load balance mysql. Here's my entry in 
ldirectord.cf:
virtual=192.168.202.162:3306
        real=192.168.204.156:3306 gate
        real=192.168.204.157:3306 gate
        service=none
        scheduler=rr
        #persistent=600
        protocol=tcp
        checktype=connect

The two load balancers will have the virtual IP addresses,  and they 
have their REAL addresses on the 192.168.202.x network.    But the mysql 
port on the balancers (when nmapping) shows up as 'filtered'... I'm 
still working on how to get it to be non-filtered. I've tried changing a 
lot of values in my virtual entry, and I don't know if I'm missing 
something on the installation, or it isn't able to balance mysql, or I'm 
not able to send traffic to the other network (which it does have a 
route to).


Adam


More information about the Members mailing list