[Linux-cluster] LVS, not so fun today...
David Brieck Jr.
dbrieck at gmail.com
Thu Nov 9 20:59:46 UTC 2006
On 11/9/06, isplist at logicore.net <isplist at logicore.net> wrote:
> > Try removing that interface then starting up pulse. The netmask and
> > gateway looks really off compared to eth0. Pulse will add the
> > interface and then write back with your ifconfig output.
>
> Ok, stopped pulse;
> Nothing to remove on interface, restart pulse;
>
> # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:20:94:10:44:A5
> inet addr:192.168.1.52 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::220:94ff:fe10:44a5/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:218526 errors:0 dropped:0 overruns:0 frame:0
> TX packets:44604 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:14276764 (13.6 MiB) TX bytes:4034081 (3.8 MiB)
>
> eth0:1 Link encap:Ethernet HWaddr 00:20:94:10:44:A5
> inet addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
>
> Pulse adds VIP to interface;
>
> # tail -f /var/log/messages
>
> Nov 9 14:51:04 lb52 pulse[3487]: STARTING PULSE AS MASTER
> Nov 9 14:51:04 lb52 pulse: pulse startup succeeded
> Nov 9 14:51:22 lb52 pulse[3487]: partner dead: activating lvs
> Nov 9 14:51:22 lb52 lvs[3494]: starting virtual service HTTP active: 80
> Nov 9 14:51:22 lb52 nanny[3498]: starting LVS client monitor for
> 192.168.1.150:80
> Nov 9 14:51:22 lb52 lvs[3494]: create_monitor for HTTP/cweb92 running as pid
> 3498
> Nov 9 14:51:22 lb52 nanny[3499]: starting LVS client monitor for
> 192.168.1.150:80
> Nov 9 14:51:22 lb52 lvs[3494]: create_monitor for HTTP/cweb93 running as pid
> 3499
> Nov 9 14:51:22 lb52 nanny[3500]: starting LVS client monitor for
> 192.168.1.150:80
> Nov 9 14:51:22 lb52 lvs[3494]: create_monitor for HTTP/cweb94 running as pid
> 3500
> Nov 9 14:51:27 lb52 pulse[3501]: gratuitous lvs arps finished
> Nov 9 14:51:28 lb52 nanny[3498]: READ to 192.168.1.92:80 timed out
> Nov 9 14:51:28 lb52 nanny[3499]: READ to 192.168.1.93:80 timed out
> Nov 9 14:51:28 lb52 nanny[3500]: READ to 192.168.1.94:80 timed out
>
>
Here's another one that might help:
Your LVS reads:
send = "GET / HTTP/1.0rnrn"
It should be (at least one mine it is):
send = "GET / HTTP/1.0\r\n\r\n"
Could be a copy/paste problem but that might be your problem in
addition to the interface mentioned before.
More information about the Linux-cluster
mailing list