Questions tagged [lvs]

LVS is the Linux Virtual Server, www.linuxvirtualserver.org. It offers persistent load balancing built ontop of the linux kernel.

http://www.linuxvirtualserver.org

94 questions
23
votes
2 answers

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 services. But I am not sure what their pros and cons…
Mickey Shine
  • 929
  • 4
  • 16
  • 33
19
votes
3 answers

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 persistant TCP connections. The amount of data is…
user122875
  • 209
  • 1
  • 2
  • 5
13
votes
6 answers

AWS ElasticBeanstalk docker-thin-pool getting full and causing re-mount of filesystem as read-only?

I can't figure out how AWS sets up their Docker 'thin pool' on ElasticBeanstalk and how it is getting filled. My docker thin pool is filling up somehow and causing my apps to crash when they try to write to disk. This is from inside the…
std''OrgnlDave
  • 359
  • 1
  • 3
  • 8
10
votes
3 answers

Load Balancing DNS Servers: UDP / TCP

I have been asked to rebuild our load balancing infrastructure in the data center. The original request was to load balance FTP servers. I tried doing that using the current load balancer (Piranha / LVS), but didn't get it up and running. Not just…
Mosh Pit
  • 339
  • 2
  • 4
  • 13
8
votes
4 answers

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

Based on this question: Widely-used load balancing solutions?, LVS may be the right solution for my problem. But when I went to its homepage http://www.linuxvirtualserver.org/, I found that LVS has been updated since Nov, 2008. The world's moving…
Vimvq1987
  • 475
  • 7
  • 18
7
votes
2 answers

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 API. We've now branched out into handling more…
dmourati
  • 24,720
  • 2
  • 40
  • 69
5
votes
1 answer

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 53 After several days, I find that I can not…
5
votes
4 answers

IPvsadm not equally balancing on wlc scheduler

For some reason, ipvsadm does not seem to be equally balancing the connections between my real servers when using the wlc or lc schedulers. One real server gets absolutely hammered with requests while the others receive relatively few…
davidsmalley
  • 457
  • 1
  • 6
  • 14
4
votes
2 answers

Software Load Balancer - Forward or Redirect to the backend servers?

I am a web developer, recently a need has been created to use Load Balancer. I am new in this area. I have chosen which LB to use, its not like it matters so much, HAProxy has all the features needed for as far as I've researched. My concern is…
4
votes
2 answers

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 a "connection" (whatever that is in terms of…
shylent
  • 792
  • 10
  • 22
4
votes
1 answer

Monitoring Linux Kernel Space Processing

I'm running two "services" that are served in linux kernel-space: Linux Netfilter Firewall ("iptables") Linux Virtual Server Loadbalancer ("IPVS", "LVS") Now I want to (performance-)monitor my "application" like any other software I am running.…
Michuelnik
  • 3,260
  • 3
  • 18
  • 24
3
votes
1 answer

keepalived: what are the `fo` and `mh` lvs scheduling algorithms?

The parameter virtual_server.lvs_sched in keepalived.conf supports two options for which I can't find an explanation: fo and md. Does anyone know their meaning?
Younes
  • 233
  • 1
  • 6
3
votes
1 answer

HTTP Ports are Filtered on New Virtual IPs in LVS (Linux Virtual Server) Load Balancer

I inherited a Linux Virutal Server (LVS) load balancer on CentOS 5.10. Its been running with no issues for quite some time with no worries. Now when I add a new virutal IP (VIP), all HTTP traffic is "filtered" to that port. For example: Here's…
Michael J
  • 133
  • 6
3
votes
2 answers

Prevent master to fall back to master after failure

I'm using keepalived to setup a virtual ip that points to a master server. When a failover happens it should point the virtual ip to the backup, and the IP should stay there until I manually enable (fix) the master. The reason this is important is…
Chrille
  • 463
  • 2
  • 5
  • 10
3
votes
1 answer

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 any other tools available for the same ?
Sunil
  • 141
  • 1
  • 2
1
2 3 4 5 6 7