[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: MySQL Clustering; Load balancing is not working.



Trying my post again. The formatting came out all weird for some unknown
reason.

> From: Jeff D [mailto:fixedored@gmail.com]
> Sent: Thursday, February 19, 2009 10:43 PM
> Subject: Re: MySQL Clustering; Load balancing is not working.
>
[snip]
> your config looks ok.  The one other thing I would check is the
entries in
> your /etc/sysctl.conf to turn off arp.  That sounds like that may be
the
> main issue here
I used the entries that were in the tutorial[1] for arp. I just did a
straight cut and paste. Is there something else I should have done?
____________________________________________________
# Enable configuration of arp_ignore option
net.ipv4.conf.all.arp_ignore = 1

# When an arp request is received on eth0, only respond if that address
is
# configured on eth0. In particular, do not respond if the address is
# configured on lo
net.ipv4.conf.eth0.arp_ignore = 1

# Ditto for eth1, add for all ARPing interfaces
#net.ipv4.conf.eth1.arp_ignore = 1

# Enable configuration of arp_announce option
net.ipv4.conf.all.arp_announce = 2

# When making an ARP request sent through eth0 Always use an address
that
# is configured on eth0 as the source address of the ARP request.  If
this
# is not set, and packets are being sent out eth0 for an address that is
on
# lo, and an arp request is required, then the address on lo will be
used.
# As the source IP address of arp requests is entered into the ARP cache
on
# the destination, it has the effect of announcing this address.  This
is
# not desirable in this case as adresses on lo on the real-servers
should
# be announced only by the linux-director.
net.ipv4.conf.eth0.arp_announce = 2

# Ditto for eth1, add for all ARPing interfaces
#net.ipv4.conf.eth1.arp_announce = 2
____________________________________________________

Thanks for the help!
~Stack~

[1]
http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-m
ysql5.1-p3


Reply to: