Questions tagged [lvs]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 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 ...
user avatar
1 vote
0 answers
69 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. ...
user avatar
0 votes
0 answers
63 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 ...
user avatar
1 vote
0 answers
30 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(...
user avatar
  • 111
3 votes
1 answer
1k views

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?
user avatar
  • 233
2 votes
1 answer
2k views

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 ...
user avatar
2 votes
1 answer
452 views

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 ...
user avatar
  • 21
1 vote
0 answers
2k 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 (...
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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
12 votes
6 answers
5k views

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 ...
user avatar
-1 votes
1 answer
905 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 ...
user avatar
-1 votes
1 answer
96 views

strange behaviour while creating NFS datastore on load balanced servers

BACKGROUND vSphere client version = 5.1.0 VMWare ESXi version = 5.1.0 Server OS = RHEL version 6.8 virtualip = virtual IP server1 = ip address of server 1 server2 = ip address of server 2 lvsserver = ...
user avatar
0 votes
1 answer
428 views

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....
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 ...
user avatar
  • 119
0 votes
1 answer
54 views

What is stored on a LVM LogicalVolume

I have setup a LXC container with LVM as backingstore. On the host the command lvs --units m outputs the following: LV VG Attr LSize Pool Origin Data% Move Log Copy% ...
user avatar
  • 42
4 votes
2 answers
2k views

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 ...
user avatar
0 votes
0 answers
27 views

Is there any latest release or other option to use LVS load balancing? [duplicate]

i checked the official linux virtual server website and they havent updated or discontinued since 2014.So, i cant find documentations for 4.5.X kernels. Is squid or HA proxy better alternative to LVS ...
user avatar
0 votes
1 answer
162 views

LVS/IP_VS LoadBalancing Gateway [closed]

I'm trying to setup my 2-gateway configuration with loadbalacing with IP_VS kernel module. I need to loadbalance forwarding traffic to 2 nodes. I do: Setup ip_vs fwmark service and add 2nodes. On ...
user avatar
  • 59
1 vote
1 answer
5k views

When I run "sysctl -p" in CentOS 7, an error occurs

When I run sysctl -p in CentOS 7, I get the error: :sysctl: cannot stat /proc/sys/net/ipv4/conf/eth0/rp_filter: No such file or directory My /etc/sysctl.conf is: vm.overcommit_memory = 1 net.ipv4....
user avatar
  • 21
2 votes
1 answer
2k views

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 ...
user avatar
  • 121
1 vote
1 answer
1k views

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 ...
user avatar
  • 1,043
1 vote
1 answer
4k views

lvs output : Data% column

Following is a example of standard lvs output: LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert POOL VG twi-aotz-- 399.80g 28.12 14.75 ...
user avatar
  • 199
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 ...
user avatar
0 votes
1 answer
64 views

50% of requests failing to one host

I've encountered a weird bug and ran out of ways to troubleshoot it. I've set up 3 virtual machines: LVS, RS1 and RS2. RS1 and RS2 are running a simple php website. RS2 is an exact copy of RS1 with ...
user avatar
10 votes
3 answers
15k views

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 / ...
user avatar
  • 339
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 | ...
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-...
user avatar
  • 101
1 vote
0 answers
132 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 ...
user avatar
1 vote
0 answers
251 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 ...
user avatar
2 votes
1 answer
296 views

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 ...
user avatar
  • 3,020
3 votes
1 answer
1k views

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 ...
user avatar
  • 133
2 votes
1 answer
5k views

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 ...
user avatar
1 vote
1 answer
2k views

Load balancing Bind9 with Keepalived and LVS

How can I correctly configure LVS to masqerade/NAT packets from virtual ip to/from clients? Currently I have: UDP 10.47.1.80:domain rr -> 10.47.1.51:domain Masq 10 0 ...
user avatar
1 vote
1 answer
2k views

LVS + HA Proxy for L4 to L7 load balancing

Currently we are using HA proxy for our load balancing needs. We are planning to integrate LVS with HA proxy to create a load balancing solution that can take care of L4 to L7 load balancing and HA. ...
user avatar
  • 11
1 vote
1 answer
5k views

Keepalived sync daemon

I've enabled lvs_sync_daemon_interface option however it looks like sync daemon is not working Active node: [MASTER:~]# ipvsadm -Lnc IPVS connection entries pro expire state source ...
user avatar
  • 3,020
1 vote
1 answer
1k views

ldirectord ipvsadm not show reals ip and not work wtih pacemaker and corosync

first thanks for your time. I'm having a problem with ldirectord that I can not solve, I comment my situation: I have two nodes with pace maker and corosync and configure somes resources: root@...
user avatar
0 votes
1 answer
3k views

Keepalived + LVS not working from other hosts but working from localhost on LB

I've got a keepalived + LVS set up I'm trying to get to work Clients, LB and real servers are all on the same subnet. Keepalived config: global_defs { notification_email { admin@example....
user avatar
0 votes
1 answer
413 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 ...
user avatar
-2 votes
1 answer
330 views

Which cloud providers which let you spoof an outgoing IP address, and how? [closed]

I have a web application which is load-balanced using LVS which has been hosted within my organization's network to this point. We've used both direct and tunnel routing within LVS, which results in ...
user avatar
2 votes
1 answer
8k views

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 ...
user avatar
  • 3,020
0 votes
1 answer
441 views

lvs-tun node not connecting

I'm setting up a LVS cluster using tunneling. The goal is to have two director servers (in different datacenters), and a single real server (for the moment, more will be added later in load-balance). ...
user avatar
  • 43
1 vote
1 answer
2k views

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 ...
user avatar
  • 131
-1 votes
1 answer
3k views

LVS Keepalived connection between master and backup [closed]

I configured two lvs keepalived servers. The first is master server, ip 10.1.88.76, iptables closed. The second is backup server, ip 10.1.88.77, iptables closed. the network connection between two ...
user avatar
2 votes
2 answers
2k views

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 ...
user avatar
  • 1,709
1 vote
1 answer
1k 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 ...
user avatar
  • 792
2 votes
0 answers
450 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 ...
user avatar
4 votes
2 answers
7k 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 ...
user avatar
  • 792
0 votes
1 answer
656 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", ...
user avatar
  • 792
0 votes
2 answers
3k 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 ...
user avatar