[Linux-HA] load balancing

Ben Carlson Bcarlson at DennisKirk.com
Tue Feb 28 09:30:59 MST 2006


To expand upon this, I have apache running on each node, and can access it with a browser via 10.20.110.101 or 10.20.110.102, or on each of the machines (without heartbeat, et al running) via 10.20.110.100, since it is part of the loopback interface.
 
When I manually run the following:
 
/usr/sbin/ldirectord ldirectord.cf start
/etc/ha.d/resource.d/LVSSyncDaemonSwap master start
/etc/ha.d/resource.d/IPaddr2 10.20.110.100/24/eth0/10.20.110.255
 
then I see this when I run "ip addr sh":

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:43:ae:ce:a8 brd ff:ff:ff:ff:ff:ff
    inet 10.20.110.101/24 brd 10.20.110.255 scope global eth0
    inet 10.20.110.100/24 brd 10.20.110.255 scope global secondary eth0
    inet6 fe80::211:43ff:feae:cea8/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
 
It sure looks like 10.20.110.100 should respond to requests now, but it doesn't. The browser gives me a "The server at 10.20.110.100 is taking too long to respond." error.


When I stop these three services, I see:
 
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet 10.20.110.100/32 brd 255.255.255.255 scope global lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:43:ae:ce:a8 brd ff:ff:ff:ff:ff:ff
    inet 10.20.110.101/24 brd 10.20.110.255 scope global eth0
    inet6 fe80::211:43ff:feae:cea8/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
 
but now, I get an error: "Firefox can't establish a connection to the server at 10.20.110.100." on the local machine.
 
Anyways, I am thinking that I have a network/arptables/IPaddr2 config issue... any ideas?
 
Thanks,
 
Ben

 
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20060228/b7eacc4f/attachment.html>


More information about the Linux-HA mailing list