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
0answers
14 views

Best strategy for keep-alives on LVS load balancer

We have Linux Virtual Server load balancers distributing about 300 requests per second to 2 pools of 4 Windows servers running IIS. These requests are mostly for server-rendered content (ASPX), ...
1
vote
0answers
27 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(...
3
votes
1answer
402 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?
2
votes
0answers
735 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 ...
1
vote
1answer
216 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 ...
1
vote
0answers
722 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 (...
1
vote
1answer
921 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 ...
0
votes
0answers
32 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 ...
10
votes
6answers
2k 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 ...
-1
votes
1answer
621 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 ...
-1
votes
1answer
70 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 = ...
0
votes
1answer
345 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....
0
votes
1answer
703 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 ...
0
votes
1answer
46 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% ...
4
votes
2answers
1k 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 ...
0
votes
0answers
26 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 ...
0
votes
1answer
149 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 ...
1
vote
1answer
4k 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....
2
votes
1answer
1k 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 ...
1
vote
1answer
835 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 ...
1
vote
1answer
3k 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 ...
1
vote
0answers
777 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 ...
0
votes
1answer
54 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 ...
10
votes
3answers
12k 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 / ...
0
votes
0answers
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 | ...
0
votes
0answers
869 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-...
1
vote
0answers
111 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 ...
1
vote
0answers
238 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 ...
2
votes
1answer
234 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 ...
3
votes
1answer
861 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 ...
2
votes
1answer
4k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k 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. ...
1
vote
1answer
4k 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 ...
1
vote
1answer
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@...
0
votes
1answer
2k 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....
0
votes
1answer
355 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 ...
-2
votes
1answer
278 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 ...
2
votes
1answer
5k 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 ...
0
votes
1answer
417 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). ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
2k 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 ...
2
votes
2answers
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 ...
1
vote
1answer
813 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 ...
2
votes
0answers
355 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 ...
4
votes
2answers
6k 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 ...
0
votes
1answer
601 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", ...
0
votes
2answers
2k 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 ...
0
votes
1answer
586 views

ldirectord NAT load balancing does not work with negotiate checks

I am using ldirectord for loadbalancing two HTTP servers. On the load balancer box i have the following network configuration: eth0 is used for internal purposes and does not take part in load ...
2
votes
1answer
1k views

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 ...