LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LVS not working in suse linux

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] LVS not working in suse linux
From: "s.shannathan" <s.shannathan@xxxxxxxxx>
Date: Tue, 3 Aug 2010 05:14:53 -0700 (PDT)
Hi i bit new to LVS and today i tried to configure LVS to load balance my two
web servers. But i could not make it to work.

This is my configuration. 

LVS Load balancer Real    ip - 192.168.1.1 
LVS Load balancer Virtual ip - 10.1.1.1 ( configured as eth0:1 )

Web Server-1 Real IP - 192.168.1.2
Web Server-2 Real IP - 192.168.1.3

# cat /etc/sysctl.conf

net.ipv4.ip_forward = 1

# cat /etc/ha.d/ldirectord.cf
checktimeout=3
checkinterval=5
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes
virtual=10.1.1.1:80
        fallback=127.0.0.1:80
        real=192.168.1.2:80 gate
        real=192.168.1.3:80 gate
        service=http
        request="test.html"
        receive="test"
        scheduler=wlc
        protocol=tcp
        checktype=negotiate


This is my ipvsadm -L output.. 

 # ipvsadm -L
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  10.1.1.1:http wlc
  -> 192.168.1.2:http            Route   1      0          0
  -> 192.168.1.3:http            Route   1      0          0

Can some one tell what mistake i done. because i did not getting the web
page. my network is 192.168.1.0/24 network only. also i added 10 series ip
in client machine but still not got the web page. 


-- 
View this message in context: 
http://old.nabble.com/LVS-not-working-in-suse-linux-tp29334711p29334711.html
Sent from the LVS mailing list archive at Nabble.com.


_______________________________________________
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

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