LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Looking for Simple Instructions

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Looking for Simple Instructions
From: Matthew <matthew@xxxxxxxxxxxxxxxx>
Date: Tue, 14 Nov 2006 16:02:24 -0600
Hey Roberto,

Director:
 net.ipv4.conf.all.arp_ignore = 1
 net.ipv4.conf.all.arp_announce = 2

Should not be a problem, but I'd rather you disabled those as well.

        Done. Set both to 0.

And eth.log_martians is 1 as well, correct?

        No. But has now been set.

Could you also send us following information for all nodes:

ip addr show
ip rule show
ip route show

--- Director #1
[root@lb1 linux]# ip addr show
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 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:13:72:f8:7e:1c brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:13:72:f8:7e:1a brd ff:ff:ff:ff:ff:ff
    inet 74.52.166.34/28 brd 74.52.166.47 scope global eth1
    inet 74.52.166.35/32 brd 74.52.166.35 scope global eth1:35
    inet6 fe80::213:72ff:fef8:7e1a/64 scope link
       valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
5: tunl0: <NOARP> mtu 1480 qdisc noop
    link/ipip 0.0.0.0 brd 0.0.0.0

[root@lb1 linux]# ip rule show
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

[root@lb1 linux]# ip route show
74.52.166.35 dev eth1  scope link  src 74.52.166.35
74.52.166.32/28 dev eth1  proto kernel  scope link  src 74.52.166.34
169.254.0.0/16 dev eth1  scope link
default via 74.52.166.33 dev eth1

---- Slave #1:
[root@wwwdb1 ~]# ip addr show
1: lo: <LOOPBACK,NOARP,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 brd 127.255.255.255 scope host lo
    inet 74.52.166.35/32 brd 74.52.166.35 scope global lo:35
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:13:72:f8:7e:09 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:13:72:f8:7e:07 brd ff:ff:ff:ff:ff:ff
    inet 74.52.166.50/28 brd 74.52.166.63 scope global eth1
    inet6 fe80::213:72ff:fef8:7e07/64 scope link
       valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
5: tunl0: <NOARP> mtu 1480 qdisc noop
    link/ipip 0.0.0.0 brd 0.0.0.0

[root@wwwdb1 ~]# ip rule show
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

[root@wwwdb1 ~]# ip route show
74.52.166.48/28 dev eth1  proto kernel  scope link  src 74.52.166.50
169.254.0.0/16 dev eth1  scope link
default via 74.52.166.49 dev eth1

---- Slave #2
[root@wwwdb2 ~]# ip addr show
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 brd 127.255.255.255 scope host lo
    inet 74.52.166.35/32 brd 74.52.166.35 scope global lo:35
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:13:72:f8:80:63 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:13:72:f8:80:61 brd ff:ff:ff:ff:ff:ff
    inet 74.52.166.130/28 brd 74.52.166.143 scope global eth1
    inet6 fe80::213:72ff:fef8:8061/64 scope link
       valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
5: tunl0: <NOARP> mtu 1480 qdisc noop
    link/ipip 0.0.0.0 brd 0.0.0.0

[root@wwwdb2 ~]# ip rule show
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

[root@wwwdb2 ~]# ip route show
74.52.166.128/28 dev eth1  proto kernel  scope link  src 74.52.166.130
169.254.0.0/16 dev lo  scope link
default via 74.52.166.129 dev eth1

Only on the director:

for i in filter nat mangle; do
  iptables -t $i -L -n;
done

  All chains on all three tables are completely empty.

70.241.143.240 is a machine outside or inside of this cluster setup?

        Outside machine. My office/home comp to be exact.

Anything else I can try?

echo 42 > /proc/sys/net/ipv4/vs/debug_level

I don't have /vs/debug_level I'm guessing I need to recompile something? I'm running RHEL4 and the IPVS modules were already compiled in /lib/modules

Thanks again,
Matthew

<Prev in Thread] Current Thread [Next in Thread>