LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS Clarification

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS Clarification
From: "Subramanian, ChithiraiVadivu (IE10)" <ChithiraiVadivu.Subramanian@xxxxxxxxxxxxx>
Date: Fri, 24 Jul 2009 15:31:18 +0530
Configured LVS-NAT with reference to RealServer as LVS Client as per
section 12.2. in HOWTO. 

Followed Julian's solution for one Network LVS-NAT. Able to connect from
one RS1 to other RS2 but not from RS1 to the same RS1 through VIP.

 

Configuration is as: 
Load Balancer has 2 NICs one is connected to external network (VIP) and
the other to the internal network to which Real Server 1 & 2 is
connected. 
The gateway for Real server 1 and 2 are configured to be the Load
Balancer's internal network. 
 
Virtual Service Configuration: 
LoadBalancer VIP:80 rr    Weight 
RealServer1  RS1:80         1 
RealServer2  RS2:80         1 
 
The internal routing in RealServer is removed and  
 
netstat -r shows  
 
link-local      *               255.255.0.0     U         0 0          0
eth0 
default         director        0.0.0.0         UG        0 0          0
eth0 
 
 
Testing scenario: 
 
When external client is accessing VIP:80 it works perfectly. First it is
routed to RS1 and then to RS2 and again to RS1 .... 
 
>From RS1 - 
      Trying to access http://VIP:80 and tcpdump is used for debugging 
      1. When VIP routes the call to RS2:80, RS1 is getting ack and
works fine. 
      2. When VIP routes the call to RS1:80 no ack signal is received
and keeps sending the request. 
     tcpdump in LoadBalancer at this stage: 
            RS1->VIP  
            RS1->RS1 
            RS1->VIP 
            RS1->RS1 
         and this goes on... 
          
Is anything needs to be done apart from these setup?       

 

Thanks & Regards,

Chithra.S

 

 

_______________________________________________
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>