Questions tagged [lvs]

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

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
675 views

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 "...
Michuelnik's user avatar
  • 3,460
3 votes
0 answers
82 views
+100

Docker swarm routing mesh does not forward UDP traffic after container restart

I have setup a docker stack with a couple services. One of the service is publishing a UDP port that it is listening for traffic on (it happens to be a Wireguard endpoint, but I don't think this is ...
Daniel Baulig's user avatar
3 votes
1 answer
795 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 ...
Sunil's user avatar
  • 141
3 votes
1 answer
2k 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 ...
Anubhav Agarwal's user avatar
2 votes
0 answers
467 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 ...
Konstantin Boyanov's user avatar
2 votes
0 answers
1k 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 ...
Alex's user avatar
  • 31
1 vote
0 answers
9 views

Remove/Drop tracked UDP "connections" from LVS connection table (`ipvsadm -Lc`)

Is it possible to explicitly remove or drop a tracked UDP "connection" from the LVS connection table outputted by ipvsadm -Lc? I am using LVS in the context of a Docker Swarm deployment and ...
Daniel Baulig's user avatar
1 vote
0 answers
202 views

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. ...
Janmean LEE's user avatar
1 vote
0 answers
37 views

the strange value of SRE in a D-SACK packet

I'm troubleshooting a strange network issue in our production environment. The dumped pcap file comes from the full NAT mode LVS , and the toploy of the ip address in the dump file is: 172.19.132.90(...
kongyk's user avatar
  • 111
1 vote
0 answers
4k views

vgdisplay not showing free PE / Size space

I have Dell PowerEdge R730xd running Centos 6. I just added more physical disks to our raid and used open manage to increase the raid size, which is now at 67,063.50GB. I'm using xfs and have a lv (...
user460272's user avatar
1 vote
1 answer
1k views

Install Google Seesaw Load Balancer

I have been trying to setup Google Seesaw which is a load balancer based on LVS but have been unsuccessful so far following the directions [on the index.md and /doc/getting_started.md). It is stated ...
driftavalii's user avatar
1 vote
0 answers
1k views

Keepalived cant find one of my interfaces

I have just installed a new server (Ubuntu 14.04) to start testing our keepalived configurations, which work fine on (Ubuntu 12.04) We do not assign the public IP on the eth1 interface, we allow ...
Michael Curran's user avatar
1 vote
0 answers
141 views

L2TP loadbalancing

Due to need to scale, I'm setting a new l2tp server using l2tpns and trying to balance the load between my two l2tp servers using LVS LVS configuration ipvsadm -A -u 192.168.10.10:1701 -s sh ipvsadm ...
Ammar Lakis's user avatar
1 vote
0 answers
281 views

Keepliaved not loading IPv6 lvs rules on boot

When starting Keepalived manually, it correctly populates LVS tables as seen by: ipvsadm However, when I boot the machine - only IPv4 rules are added. If I restart the keepliaved server manually ...
Jon Skarpeteig's user avatar
1 vote
1 answer
667 views

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, ...
J Hoskins's user avatar
1 vote
1 answer
408 views

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 ...
garconcn's user avatar
  • 2,418
0 votes
0 answers
101 views

Linux IPVS in DR mode on vyos router/firewall not forwarding reply packets

I am setting up setup where: I use vyos as router/firewall on vyos i setup also IPVS in DR mode. It means that IPVS changes request packet MAC-address to realserver MAC-address and forwards packet ...
meelis's user avatar
  • 1
0 votes
1 answer
254 views

how to check whether the backend server in a loadbalancer has bypassed the loadbalancer in a DSR mode while replying to client?

I couldn't find much information on how to verify if DSR mode in a loadbalancer works or not. Is there a way to find whether the loadbalancer is bypassed during a reply from the backend server to the ...
Senthil A Kumar's user avatar
0 votes
0 answers
263 views

IPVS transmitting packets to incorrect backends

We are using ipvs for L4 loadbalancing which transmits packets to L7 backends on ipip tunnel mode. There are three ipvs systems configured with source hashing for persistence. Sometimes, ipvs is ...
Vignesh SP's user avatar
0 votes
0 answers
55 views

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 ...
IAmSurajBobade's user avatar
0 votes
1 answer
1k views

LVS Load Balancer Not Getting Response

I am trying to learn IPVS/LVS and am a bit stuck. The director seems to be configured properly, with packets coming in, but packets are not being forwarded to the backend servers. Any tips on what ...
smugcloud's user avatar
  • 119
0 votes
0 answers
1k views

LVS + keepalived for load balancing transparent SQUID proxies

I need to load balance a number of SQUID proxies configured in transparent mode. Below is a simple diagram with one LB and SQUID boxes. ---------- | Client | ...
faraway's user avatar
0 votes
0 answers
1k views

Ipvsadm: How can I set forward to 'masquerading'?

I follow the steps to set up load balances like: $ sudo ipvsadm -A -t 127.0.0.1:8301 -s rr $ sudo ipvsadm -a -t 127.0.0.1:8301 -r 127.0.0.1:8310 -m In Ubuntu 14.04, kernel 3.13.0-44-generic #73-...
jasonz's user avatar
  • 101
0 votes
1 answer
429 views

iptables rules for lvs using piranha gui

I am trying to bulid an lvs system, where 202.141.81.239 is the virtual IP and 202.141.81.241 and 202.141.81.242 are the lvs routers.Ths system is working fine in our intranet but is not through ...
nilutpal_sundi's user avatar
0 votes
1 answer
2k 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 ...
Hans's user avatar
  • 1
-1 votes
1 answer
1k views

LVS router stopped working after reboot

I am using RHEL 6.8 for load balancing using LVS direct routing. For some reason I had to restart my LVS router. after rebooting, LVS service was not working I have done following things, still it is ...
IAmSurajBobade's user avatar