LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS not working in suse linux

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] LVS not working in suse linux
From: "s.shannathan" <s.shannathan@xxxxxxxxx>
Date: Tue, 3 Aug 2010 21:45:24 -0700 (PDT)
The outuput in the webpage for http://192.168.1.2/test.html is 

test 

only..


Henrique Fernandes wrote:
> 
> sorry.
> 
> the correct comand is:
> 
> $ links http://192.168.1.2/test.html <http://192.168.1.2/teste.html>
> 
> 
> []'sf.rique
> 
> 
> On Tue, Aug 3, 2010 at 11:48 AM, Henrique Fernandes
> <sf.rique@xxxxxxxxx>wrote:
> 
>> From 192.168.1.1 try
>>
>> $ links http://192.168.1.2/teste.html
>>
>> Or with other browser;
>>
>> What is your response ?
>>
>> []'sf.rique
>>
>>
>> On Tue, Aug 3, 2010 at 9:14 AM, s.shannathan
>> <s.shannathan@xxxxxxxxx>wrote:
>>
>>>
>>> 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
>>>
>>
>>
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/LVS-not-working-in-suse-linux-tp29334711p29342645.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>