0
votes
0answers
8 views

One packet scheduling in LVS and source address of outgoing packets

I am using LVS (ipvsadm) in NAT mode to load balance UDP traffic for a number of "realservers". I am using one-packet-scheduling so that traffic originating from a single source port on the client is ...
1
vote
0answers
23 views

Apache as Load balancer - forcing a break in persistent connection

I have setup a load balancer with Apache 2.2 via mod_proxy and mod_proxy_balancer. The load balancing works just fine, but there is one case I cannot find any configuration options for, namely, while ...
1
vote
2answers
71 views

Per-packet round-robin load balancing for UDP

I need to load-balance UDP traffic between a number of "realservers" and do it in a truly round-robin fashion. I've started with keepalived, but unexpectedly discovered, that LVS treats UDP traffic as ...
0
votes
1answer
33 views

IP-based load balancing on external and internal interface

I have a certain distributed (as in, multiple components on multiple machines) service, that should be made available from the outside world. So, in LVS terminology, the clients are "on the internet", ...
0
votes
0answers
27 views

Should ICMP redirects be turned off on servers running LVS+keepalived?

Suppose I have two servers running LVS and keepalived. I read in RFC5798 that ICMP redirects can work together with VRRP, but some articles on the Internet suggest that we should turn off the sending ...
0
votes
1answer
47 views

Does LVS ldirectord Load Balancer support SSL termination / offloading?

I use a ldirectord setup for load balancing a couple of real servers and for the HTTPS conenctions I am considering using some offloading mechanism on the LB - is there some functionality already ...
1
vote
1answer
154 views

Why are Layer 7 TCP load balancers (e.g, haproxy) so much simpler to setup than Layer 4 (lvs)? [closed]

For haproxy TCP load balancing, you only need to configure the "real servers" or "backends" behind the VIP (i.e., cluster IP). E.g.: listen smtp 192.168.3.10:25 mode tcp balance ...
0
votes
0answers
90 views

Red Had Load Balancer and IPtables

Details: Red Hat Load balancer (piranha, ipvsadm, pulse) with direct routing, arptables and port marks (80, 443). LB 1 - IP: 192.168.1.10 LB 2 - IP: 192.168.1.11 Floating IP: 192.168.1.100 I can ...
0
votes
1answer
107 views

Keepalived in ring architecture, or other better approach

I have three load balancer (LB1, LB2, LB3) and plan to use ring architecture for active-active setup, e.g. LB1 LB2 LB3 IP1 IP2 IP3 Idea as below: If LB1 failed, IP1 will be floated to ...
-2
votes
1answer
197 views

How to make a tun interface with ifconfig in OSX? [closed]

If I try to do this I get the following: bash-3.2# ifconfig tun0 10.140.1.40 ifconfig: ioctl (SIOCAIFADDR): Destination address required It sounds like this doesn't happen in Linux (probably this ...
2
votes
0answers
156 views

lvs with NAT routing - horrible performance to one real server

I have an LVS setup with NAT routing and two real servers (as an FYI, we're only routing http on tcp port 80). Currently requests to real server A respond just fine, with page load times of 3-4 ...
0
votes
1answer
221 views

LVS / IPVS difference in ActiveConn since upgrading

I've recently migrated from an old version of LVS / ldirectord (Ultra Monkey) to a new Debian install with ldirectord. Now the amount of Active Connections is usually higher than the amount of ...
2
votes
1answer
210 views

Using LVS (Linux Virtual Server) for doing DNS HA

I have been trying to create an LVS DNS HA using CentOS 6.x: Piranha GUI to configure the DNS Pulse is the HA heart of CentOS LB IPTables to configure marks on the packets since DNS uses TCP and UDP ...
9
votes
2answers
3k views

When using TCP load balancing with HAProxy, does all outbound traffic flow through the LB?

I am setting up an app to be hosted using VMs(probably amazon, but that is not set in stone) which will require both HTTP load balancing and load balancing a large number(50k or so if possible) of ...
0
votes
0answers
252 views

Software Proxy & LB options. Must be layer 3 and redundant

Currently we have good ol' LVS running in the same subnet as our webservers. We use Piranha for automatic redundancy and take full advantage of the status check scripts to not only automatically ...
1
vote
1answer
470 views

Load Balancing, Active-Active config and dynamic server addition

Right. I'm looking into setting up a system something like this: / [Load Balancer] \ /\/\/\/\/\/\/\ [LAN1] - ----- | Server Pool | \ [Load Balancer] / ...
3
votes
1answer
154 views

Active Active failover

I have an application which is handling UDP traffic. Need to run the setup in active-active mode with two machines and only one IP exposed to external world. Will LVS be helpful in this scenario or ...
1
vote
1answer
318 views

Direct Routing in Load Balancer

I wish to set up an load balancer via direct routing switching technique.I installed ipvsadm via $ sudo apt-get install ipvsadm Setup Virtual IP is 172.17.10.173 subnet mask 255.255.240.0 linux ...
3
votes
1answer
702 views

LVS Configuration issue (Using piranha Tool)

I have configured LVS on cent os using piranha tool .I am using vip of internal n/w as gateway for real server we have two NIC one having exteranl Ip and other for internal n/w which is on ...
1
vote
1answer
148 views

ipvs based lvs system, is there going to be very high load on the front server?

there are 4 servers with the same hardware configurations, and a ipvs based lvs system is constructed on these 4 servers using NAT. my question is simple: will there be very high load on the front ...
3
votes
4answers
319 views

Looking for a loadbalancer [closed]

I am looking for an open source loadbalancer for linux. My requirements are simple. I want One load balancer infront of multiple webservers. It should be able to split the load evenly among the ...
5
votes
2answers
2k views

Load Balancing Best Practices for Persistence

We run a web application serving up web APIs for an increasing number of clients. To start, the clients were generally home, office, or other wireless networks submitting chunked http uploads to our ...
4
votes
2answers
642 views

LVS & Apache as load balancer

I would like to do load balancing. To do this I would like to use LVS and apache as load balancer. My configuration will be like this : users -> internet -> LVS load balancer -> Apache balancer -> ...
0
votes
2answers
371 views

Linux Virtual Server : Config Questions?

need some advice before i go running into LVS only to find its not what i want. im looking to replace our current load balancing software (XR or crossroads as its also know). as we are getting a lot ...
0
votes
2answers
1k views

LVS (ipvs) load balanced Squid. Problems with some sites

I'm trying to set up a two-node squid proxy cluster. It would be a normal proxy (neither reverse, nor transparent). I'm using LVS (kernel 2.6.32, ipvsadm v.1.2.1, tunneling) for load balancing, ...
1
vote
3answers
630 views

LVS - source IP

I've recently asked a question about my options for load balancing multiple servers (TCP non http traffic, very long running connections with very consistent bandwidth rates): ...
1
vote
3answers
851 views

nginx proxy pass redirect through load balancer

I have several backend webservers that are load-balanced using LVS. These machines have only internal non-routable IPs on them. The load-balancer is the only machine with an external IP. This setup ...
8
votes
2answers
4k views

LVS vs HAProxy, which should I choose?

I am looking for a solution to load balancing and failover strategy, mainly for big web applications. We have many services to be balanced, such as web, MySQL, and many other HTTP or TCP based ...
2
votes
3answers
317 views

Is Linux Virtual Server old, or is it standing still?

Based on this question: http://serverfault.com/questions/124905/widely-used-load-balancing-solutions, LVS may be the right solution for my problem. But when I went to its homepage ...
1
vote
2answers
130 views

How to store all static media files of a website with heavy traffic?

I heard of some distributed file systems like Gluster and Moose. Are there any better ideas out there that I am not aware of?
2
votes
2answers
1k views

LVS TCP connection timeouts - lingering connections

I'm using keepalived to load-balance connections between a number of TCP servers. I don't expect it matters, but the service in this case is rabbitmq. I'm using NAT type balancing with weighted ...