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
1
vote
1 answer
Redirect HTTP to HTTPS with ldirectord/LVS
We're using LVS for load balancing and want to do a 301 redirect for http://example.com to https://example.com
LVS is enabling https without issue, but the http real servers are not being added to the pool (weight of 0).
Does LVS not follow 301…

Brian
- 131
- 8
1
vote
1 answer
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 distributed to different realservers.
What I see,…

shylent
- 812
- 11
- 22
1
vote
1 answer
SElinux stopping LVS from working with https
LVS/piranha is setup and trying to get it to balance https instead of http. Setup https testing with wget - idea from this link. Works when I do it at the command prompt. With SELinux enforcing, the wget fails to run due to the lack of access to…

J Hoskins
- 11
- 1
1
vote
2 answers
LVS clear persistance when need to drop a server out for maintenace
I wonder if someone can quickly help me.
I have the following for LVS.
rr persistent 3600
I need to drop a server out for maintenance. I have already dropped the weight to 0. Its taking forever for the ActiveConn to drop to 0.
I would like to ask,…

Brent
- 305
- 2
- 11
1
vote
1 answer
Why my Ldirectord check multiple times on read server every interval?
I have a Ldirectord server and two real servers. My ldirectord used to check the request page on real server once in every interval, but now I found that it check four times. I have monitored the log on both real servers, they have the same…

garconcn
- 2,388
- 8
- 35
- 46
1
vote
1 answer
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] / \/\/\/\/\/\/\/
|
…

jackweirdy
- 293
- 2
- 10
1
vote
2 answers
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, ldirectord (v. 1.0.3) for HA, squid (v.3.1.7) as a…

HUB
- 6,630
- 3
- 23
- 22
1
vote
3 answers
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): Load Balancing long running TCP connections
In this post I was directed…

TJF
- 391
- 1
- 6
- 15
1
vote
3 answers
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 works great. I would like to add another webserver…
Brian
1
vote
2 answers
arp failing after heartbeat failover occurs
I have an LVS based load balancer which has been working just fine. It runs on two servers using heartbeat to provide failover.
I've added support for a second IP range to the system, but when the failover occurs, the server which takes over cannot…

Paul Dixon
- 1,516
- 3
- 23
- 37
1
vote
2 answers
IPIP Tunnel for load balancing in Ubuntu
I have a ldirectord/heartbeat HA setup between a gentoo load balancer and gentoo real servers. Due to the limitations of my host I have the load balancing working via ipip tunnel.
I have the following settings on the gentoo real server:
(appended to…

davidsmalley
- 457
- 1
- 6
- 14
1
vote
2 answers
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?

Mickey Shine
- 939
- 4
- 17
- 33
1
vote
0 answers
LVS not working
vip:10.110.23.239
real-server:10.110.23.141
lvs:10.110.23.134
I have deployed a spring-boot application on real-server(10.110.23.141) with port 18787, it can be accessed successfully on any server.
However I can not connect my application by…

Janmean LEE
- 11
- 2
0
votes
0 answers
If cluster node acting as a load balancing router fails, can we dircet future requests to any one active real server?
For load balanced cluster that I am using, in case of router node fails, setup takes nearly 2 minutes until the VIP comes online on another running node (which earlier acted as real-server node).
All requests coming in this period are not…

IAmSurajBobade
- 109
- 7
0
votes
1 answer
can we implement IP load balancing by LVS direct routing without using VIP? is we can, How?
I am trying to implement IP Load Balancing using LVS Direct routing method. Now Ideally there is a virtual IP assigned to the Load Balancer server, but I have only 3 IP addresses.
I am using
10.209.104.6 for Load balancer node
10.209.104.5 and…

IAmSurajBobade
- 109
- 7