| 
 Hi, I have setup LVS-NAT with piranha according the all the info I
could find, and it doesn't seem to work at all, even nanny isn't
running, the real servers always show as down.  I am using centos 6.2,
here are my configs:  i'm trying to use 10.0.3.150 as the VIP:
serial_no = 51
primary = 10.0.3.15
service = lvs
backup = 0.0.0.0
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.0.3.150 eth1:1
nat_nmask = 255.255.255.255
debug_level = NONE
virtual HTTP {
     active = 1
     address = 192.168.2.21 eth0:1
     port = 80
     send = "get / http/1.1\r\r"
     expect = "HTTP"
     use_regex = 0
     load_monitor = none
     scheduler = lc
     protocol = tcp
     timeout = 6
     reentry = 15
     quiesce_server = 1
     server test1 {
         address = 192.168.2.40
         active = 0
         weight = 1
     }
}
eth0      Link encap:Ethernet  HWaddr 08:00:27:B7:AD:0C
          inet addr:192.168.2.20  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:feb7:ad0c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:646286 (631.1 KiB)  TX bytes:1234000 (1.1 MiB)
eth0:1    Link encap:Ethernet  HWaddr 08:00:27:B7:AD:0C
          inet addr:192.168.2.21  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
eth1      Link encap:Ethernet  HWaddr 08:00:27:46:D6:E7
          inet addr:10.0.3.15  Bcast:10.0.3.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe46:d6e7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1572 (1.5 KiB)
eth1:1    Link encap:Ethernet  HWaddr 08:00:27:46:D6:E7
          inet addr:10.0.3.150  Bcast:10.0.3.150  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
Anyone know what could be wrong?
Thanks..
_______________________________________________
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
 |