LVS is the Linux Virtual Server, www.linuxvirtualserver.org. It offers persistent load balancing built ontop of the linux kernel.
Questions tagged [lvs]
96 questions
3
votes
1 answer
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 director IP is 172.17.6.111
Real Server1 is…

Anubhav Agarwal
- 1,603
- 2
- 10
- 6
3
votes
1 answer
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 192.168.3.0/24 network.
But I am not able to connect from…

Rancho
- 83
- 8
3
votes
4 answers
Looking for a loadbalancer
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 webserver using a round robin fashion. Easy to install…

sethu
- 371
- 3
- 16
3
votes
2 answers
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 -> Real servers
Do you think it's possible?
In this…

tranen
- 31
- 2
2
votes
1 answer
IPVS (keepalived) doesn't balance UDP connections
I have two load balancer with Debian 8 and three Graylog server with Debian 9.
Every server in my network sends logs via rsyslog to a virtual server configured on the LB. The connection is UDP.
The problem is that the packets are not balanced. (all…

mirobertod
- 131
- 1
- 3
2
votes
1 answer
Corosync cluster will not bind vips to loopback, so apache fails to start in CentOS 7
I have a problem getting apache to work in a corosync cluster.
I probably sifted through more than hundred web pages and a couple of dozen Google Searches, and was not able to find any matching answer on my issue.
root@hh1web03t ~# uname -a
Linux…

Rudy
- 21
- 1
2
votes
1 answer
LVS DNS load balancing on machine with only 1 NIC
First of all let me clarify that I am just a software developer not an admin, thus I have some knowledge (let's say a basic understanding of the concepts) regarding networking configuration as well as these types of setup, but I'm no ace, so please…

Morfic
- 121
- 5
2
votes
1 answer
Linux Virtual Server: NAT return path
I'm trying to set up a LVS load balancer in front of my Kubernetes: Calico is used as container network, so every pod has its own network interface in it's host. External IPs, routes and routing rules are manager using keepalived.
Every subnet…

Wienczny
- 1,123
- 10
- 13
2
votes
1 answer
Keepalived (LVS) + SPDY
I've got Keepalived configured with LVS to spread the load between four Nginx web servers (RR mode, no persistence connections). I was planning to enable SPDY however it seems that SPDY sets up a single TCP connection per host so when a web node is…

HTF
- 3,148
- 14
- 52
- 82
2
votes
1 answer
Setting up a LVS on CentOS
I have a 3 node(dedicated servers from a provider) CentOS 7.x cluster. I am trying to set up LVS using the link here.
Each of my machines already has 3 extra alias IP addresses assigned to it. I want to set up the LVS on one of these machines. My…

user1965449
- 123
- 1
- 5
2
votes
1 answer
ipvsadm - TCP time-out
Could you please advise what's this 'expire' time in the connections table:
# ipvsadm -lnc | head
IPVS connection entries
pro expire state source virtual destination
TCP 07:17 ESTABLISHED CLIENT_IP:54799 VIP:443 …

HTF
- 3,148
- 14
- 52
- 82
2
votes
3 answers
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 round-robin.
A client connects to the server…

Jon Topper
- 802
- 9
- 17
2
votes
2 answers
Piranha/Pulse, lvs.cf with persistence and server failure
We have the following setup:
RedHat 6
LVS set up to fail between two webservers
Connection persistence of 900 seconds
It's a pretty simple setup however when a server is marked as failed the piranha/pulse/nanny process marks the weight of the…

Antitribu
- 1,719
- 3
- 23
- 37
2
votes
0 answers
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 using persistent connections to the backend…

Konstantin Boyanov
- 153
- 2
- 9
2
votes
1 answer
Why do Layer 7 load balancers configuration not require any client configuration changes?
For example, for haproxy (layer 7) 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 roundrobin
server smtp1…

Belmin Fernandez
- 10,799
- 27
- 84
- 148