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

1
vote
0answers
18 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
7 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
66 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 ...
1
vote
1answer
55 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 ...
0
votes
0answers
47 views

IPv6 SNAT on Ubuntu 14.04

I have set up LVS for load balancing DNS. My problem is that I don't want to set up the load balancer as default gateway for the DNS nodes. This results in the clients seeing: dig fqdn @fe80::80 ;; ...
2
votes
1answer
176 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
195 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 ...
0
votes
0answers
33 views

LVS load balancer machine can't query DNS on remote vIP

Server 1: Real ip: 10.0.0.11 Virtual ip: 10.0.0.10 (as seen by ip addr) DNS server listening on 10.0.0.11 LVS setup: IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler ...
1
vote
0answers
134 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
269 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 ...
0
votes
0answers
54 views

Linux Virtual Server or Mod_Proxy to get Sticky clients?

I am researching the loadbalancing subject and have tested two solutions: LVS (linux virtual server) with ipvsadm, ldirectord apache with mod_proxy Both solutions offer a way to "stick" a client ...
1
vote
1answer
216 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
186 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
0answers
43 views

floating ip issues redhat

my public floating ip is not accessable through internet.I am buliding an lvs system where 202.141.81.242 is the floating ip and 202.141.81.241 is the real ip of the machine.I can ping 202.141.81.241 ...
0
votes
1answer
92 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 ...
-3
votes
1answer
97 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
512 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
145 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
438 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
622 views

LVS Keepalived connection between master and backup [SOLVED] [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
844 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
129 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
193 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 ...
1
vote
2answers
1k 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
0answers
256 views

Strange Keepalived VRRP email notification

I have a 3 nodes keepalived (K1 to K3) installed and receiving email notification. The setup of keepalived is K1 VI_50, priority 100 VI_51, priority 98 VI_52, priority 99 K2 VI_50, priority 99 ...
0
votes
1answer
96 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
420 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
189 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
700 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
424 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 ...
1
vote
0answers
892 views

Why are iptables rules needed for IPVS Load balancer to work?

I have setup a basic load balancer for http and https based on IPVS and linux virtual server. I start and configure ldirectord with the following configuration: virtual = 172.22.9.100:80 real ...
0
votes
1answer
660 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
678 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
428 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
289 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
82 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
145 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
173 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
165 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
517 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
291 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 ...
2
votes
0answers
220 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 ...
2
votes
2answers
655 views

Prevent master to fall back to master after failure

I'm using keepalived to setup a virtual ip that points to a master server. When a failover happens it should point the virtual ip to the backup, and the IP should stay there until I manually enable ...
2
votes
1answer
671 views

Using LVS (Linux Virtual Server) for doing DNS HA

I have been trying to create an LVS DNS HA using CentOS 6.x: Piranha GUI to configure the DNS Pulse is the HA heart of CentOS LB IPTables to configure marks on the packets since DNS uses TCP and UDP ...
13
votes
3answers
11k views

When using TCP load balancing with HAProxy, does all outbound traffic flow through the LB?

I am setting up an app to be hosted using VMs(probably amazon, but that is not set in stone) which will require both HTTP load balancing and load balancing a large number(50k or so if possible) of ...
1
vote
1answer
765 views

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] / ...
0
votes
1answer
575 views

Is there a way to tell keepalived to make a health check immediately?

We have a high-availability setup in which lvs distributes requests between a set of backend servers ('realservers' in LVS-speak). LVS is managed by keepalived. Each realserver exposes a health check ...
3
votes
1answer
256 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 ...
2
votes
1answer
573 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 ...
0
votes
1answer
206 views

Lvs Load balancer VIP

I have created an alias IP address of my computer using sudo ifconfig eth0:0 172.17.10.173 netmask 255.255.240.0 broadcast 172.17.15.255 My orignal IP is 172.17.6.111 and netmask is 255.255.240.0. ...