LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS and Nat question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS and Nat question
From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
Date: Fri, 9 Nov 2012 08:47:26 +0000
LVS does not bind to a port, so netstat will not show it.
Piranha is a RedHat product based on LVS you may not get support on this list.
You also didn't answer the previous sensible questions.

Why not try following the excellent documentation on the site to set
up LVS + Ldirectord or LVS + Keepalived?
Or if you just need a simple load balancing proxy try HAProxy.






On 9 November 2012 08:29,  <gary.gardner@xxxxxxxxxxxxxxxxxx> wrote:
> Ok I had to take a break from trying to configure Piranha so I could work
> on other things. But now I am back to it.
>
> Ok here's the problem.  The Piranha is successfully pinging the real
> servers and I can see that in the http logs.
>
> The Piranha side that is talking to the Internet doesn't seem to be
> answering on Port 80.  The firewall ports are open for 3636, 80 and 539.
>
> If I do a tcpdump for eth0, which is the front facing/internet side, I see
> that I am getting traffic on that interface.
>
> However, it doesn't appear that Piranha is doing anything with it.
>
> What would you like me to attempt and what dump/log/trace should I send to
> help troubleshoot?
>
> I have tried using the Direct Method and the NAT method.  It just doesn't
> seem to be listening on Port 80.
>
>  netstat -an | grep 80
> tcp        1      0 98.190.148.186:36757        174.76.227.75:80
>  CLOSE_WAIT
>
>
>>
>> On 10/26/12 1:03 AM, gary.gardner@xxxxxxxxxxxxxxxxxx wrote:
>>>> The VIP is an external IP that I can ping.  The real web servers are on
>>>> a
>>>> 192.168.0.xxx subnet.  The VIP machine has eth1 that is on the
>>>> 192.168.0.xxx subnet and I can see the pulse getting to those servers.
>>>> What I cannot get is anything responding on 80.  It's as if the
>>>> firewall
>>>> isn't letting traffic in or nothing is listening on 80.
>> If you run tcpdump on your real servers, do they see any port 80
>> traffic? Do they have the VIP configured on their loopback, or a
>> iptables REDIRECT rule in place to handle the traffic?
>>
>> Do you see iptables or ipvsadm counters incrementing when you are
>> connecting? Are you connecting from inside or outside network?
>>
>> _______________________________________________
>> 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



-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

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