Hi Guys
Im in desperate need of help with LVS, and I would appreciate any help, that
anyone can provide.
I just have two servers, running heartbeat, LVS, and apache2.
The problem I have, is that, if I make HTTP calls to the VIP from the nodes
themselves, I experience time outs.
There is no firewall rules or anything. That is blocking ports 80 and 443.
Below is the configs of my setup.
In /etc/network/interfaces
---------------------------
auto lo:0
iface lo:0 inet static
address xyz.221.22.9
netmask 255.255.255.255
pre-up sysctl -p > /dev/null
auto lo:1
iface lo:1 inet static
address xyz.221.22.10
netmask 255.255.255.255
pre-up sysctl -p > /dev/null
In /etc/ha.d/ldirectord.cf
-----------------------------
checktimeout=10
checkinterval=2
autoreload=no
logfile="/var/log/ldirector.log"
quiescent=no
virtual=vyz.221.22.9:80
real=xyz.221.22.3:80 gate
real=xyz.221.22.6:80 gate
service=http
request="ldirector.html"
receive="Test Page"
scheduler=rr
protocol=tcp
checktype=negotiate
virtual=xyz.221.22.9:443
real=xyz.221.22.3:443 gate
real=xyz.221.22.6:443 gate
service=http
request="ldirector.html"
receive="Test Page"
scheduler=rr
protocol=tcp
checktype=connect
end of snip
In /etc/ha.d/haresources
---------------------------
host:/# cat /etc/ha.d/haresources
hostcutout.org
ldirectord::ldirectord.cf \
IPaddr2::xyz.221.22.9/27/eth0/xyz.221.22.31 \
IPaddr2::xyz.221.22.10/27/eth0/xyz.221.22.31 \
IPaddr2::xyz.221.22.23/27/eth0/xyz.221.22.31
In /etc/sysctl.conf
--------------------------------------------
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.ip_forward = 1
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.eth0.arp_ignore = 1
#net.ipv4.conf.eth1.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
net.ipv4.conf.eth0.arp_announce = 2
#net.ipv4.conf.eth1.arp_announce = 2
Heartbeat appears fine. And is doing the fail over and management of the VIPs
perfectly.
Its just appears to be a LVS issues. But I cant see where is the problem.
Unfortunately Google is of no help, in this regard.
If anyone can help, it would be appreciated.
Kind Regards
Brent Clark
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|