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

learn more… | top users | synonyms

0
votes
0answers
20 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
56 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 ...
0
votes
1answer
88 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 ...
2
votes
1answer
46 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 ...
0
votes
0answers
17 views

adding new virtual server to existing lvs

My company already setup a lvs some time ago which is running in the direct routing mode. And now I'm asked to add a new virtual server to the production server. However, the real servers are ...
1
vote
1answer
56 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 ...
0
votes
0answers
18 views

Cannot establish a connection to a virtual IP from the same host

I have a load balancer using LVS on my Ubuntu machine that has a virtual IP. Now I want to connect to this virtual IP from the same Ubuntu machine, but the connection establishment fails (the real ...
0
votes
1answer
122 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 ...
0
votes
0answers
273 views

net::ERR_EMPTY_RESPONSE occurs but server gets multiple requests

One of the URLs in my website doesn't response normally. Every time the browser sends an HTTP POST request to this URL (by $resource in AngularJS), I get the following error message in Chrome console: ...
1
vote
0answers
72 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
0answers
19 views

Piranha (LVS) reload issue

OS Version: CentOS release 6.6 (Final) Software version: piranha-0.8.6-4.el6_5.2.x86_64 I install piranha in my office. It can work properly. Sometime I need to update my lvs.conf configuration, I ...
0
votes
1answer
45 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 ...
5
votes
2answers
5k 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
353 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
293 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 ...
1
vote
0answers
44 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
97 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
169 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 ...
2
votes
1answer
431 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
2k 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 ...
0
votes
1answer
552 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
301 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
1k 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
546 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: ...
0
votes
1answer
755 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 { ...
0
votes
1answer
230 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
179 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 ...
1
vote
1answer
2k 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
293 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
785 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
1k 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
1k 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
257 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
280 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
3k 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
254 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
1k 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
327 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
858 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 ...
2
votes
1answer
753 views

Why is LVS dropping packets?

I am currently trying to get down to the core of a problem where my LVS-director seems to drop a packet coming from a client from time to time. We have this problem on our production systems and can ...
0
votes
1answer
1k views

Keepalived in ring architecture, or other better approach

I have three load balancer (LB1, LB2, LB3) and plan to use ring architecture for active-active setup, e.g. LB1 LB2 LB3 IP1 IP2 IP3 Idea as below: If LB1 failed, IP1 will be floated to ...
-2
votes
1answer
1k views

How to make a tun interface with ifconfig in OSX? [closed]

If I try to do this I get the following: bash-3.2# ifconfig tun0 10.140.1.40 ifconfig: ioctl (SIOCAIFADDR): Destination address required It sounds like this doesn't happen in Linux (probably this ...
2
votes
0answers
595 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 ...
2
votes
1answer
417 views

ipvsadm lists a few hosts by IP only, rest by name

We use keepalived to manage our Linux Virtual Server (LVS) load balancer. The LVS VIPs are setup to use a FWMARK as configured in iptables. virtual_server fwmark 300000 { delay_loop 10 ...
0
votes
1answer
91 views

KVM-LVMs from the VMs appears on the host system

I'm experiencing a strange issue, after I extended the HP RAID array This server acts as a hypervisor (CentOS - KVM) and I'm using logical volumes for the KVM guests. When I check the physical ...
1
vote
0answers
167 views

LVS does not route to other node

i have an Debian Server with IPVS and ldirectord and two nodes. When i kick one node my IPVS (checked with ipvsadm) set the weight for this note to 0. But when i'm using traceroute the virtual ip ...
1
vote
1answer
279 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, ...
1
vote
2answers
268 views

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 ...
0
votes
1answer
795 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 ...
1
vote
1answer
349 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 ...