LVS is the Linux Virtual Server, www.linuxvirtualserver.org. It offers persistent load balancing built ontop of the linux kernel.
0
votes
0answers
7 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 ...
1
vote
0answers
22 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
1answer
62 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
30 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
32 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
0answers
27 views
Should ICMP redirects be turned off on servers running LVS+keepalived?
Suppose I have two servers running LVS and keepalived. I read in RFC5798 that ICMP redirects can work together with VRRP, but some articles on the Internet suggest that we should turn off the sending ...
0
votes
1answer
47 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
36 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 ...
0
votes
0answers
48 views
Why keepalived --dont-fork is forking a child process?
I start my keepalived (healthchecker) with command
/usr/local/sbin/keepalived --use-file /etc/keepalived/keepalived.conf \
--dont-fork --dump-conf --check --log-console --log-detail \
--pid ...
1
vote
1answer
153 views
Why are Layer 7 TCP load balancers (e.g, haproxy) so much simpler to setup than Layer 4 (lvs)? [closed]
For haproxy TCP 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
balance ...
1
vote
0answers
126 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
0answers
89 views
Red Had Load Balancer and IPtables
Details:
Red Hat Load balancer (piranha, ipvsadm, pulse) with direct routing,
arptables and port marks (80, 443).
LB 1 - IP: 192.168.1.10
LB 2 - IP: 192.168.1.11
Floating IP: 192.168.1.100
I can ...
1
vote
0answers
141 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
0answers
110 views
keepalived does not release virtual IP
I have two servers to float a single Virtual IP (10.10.10.101)
Server1 and Server2
In the Server1, syslog
VRRP_Instance(VI_1) Received higher prio advert
VRRP_Instance(VI_1) Entering BACKUP STATE
...
0
votes
1answer
106 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
193 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
154 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
131 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
44 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 ...
0
votes
0answers
166 views
SELinux denies execute of script resulting in a complex looking custom policy
The heartbeat type polling tool nanny (part of Piranha / Linux Virtual Server / LVS / IPVS) is being denied access to my "sendprogram" scripts by SELinux. Setting the context alone is not sufficient. ...
1
vote
0answers
101 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
62 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
80 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
219 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
232 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
144 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
1answer
248 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
208 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 ...
9
votes
2answers
3k 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 ...
0
votes
0answers
252 views
Software Proxy & LB options. Must be layer 3 and redundant
Currently we have good ol' LVS running in the same subnet as our webservers. We use Piranha for automatic redundancy and take full advantage of the status check scripts to not only automatically ...
0
votes
0answers
115 views
LVS connections from nodes themselves (clients on Realservers)
Im in desperate need of help with LVS (DR)
I just have two servers, running heartbeat, LVS, and apache2.
The problem I have, is that, if I make HTTP calls to the VIP from the nodes themselves, I ...
1
vote
1answer
468 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
263 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
154 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 ...
1
vote
1answer
318 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
180 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.
...
3
votes
1answer
701 views
LVS Configuration issue (Using piranha Tool)
I have configured LVS on cent os using piranha tool .I am using vip of internal n/w as gateway for real server we have two NIC one having exteranl Ip and other for internal n/w which is on ...
1
vote
1answer
148 views
ipvs based lvs system, is there going to be very high load on the front server?
there are 4 servers with the same hardware configurations, and a ipvs based lvs system is constructed on these 4 servers using NAT.
my question is simple: will there be very high load on the front ...
0
votes
2answers
372 views
Distributing mysql connections with ldirectord
I'm using ldirectord with heartbeat for mysql load balancing. It is distributing mysql connections equally to all servers available in the pool but sometime slave remains in the pool even after ...
3
votes
4answers
319 views
Looking for a loadbalancer [closed]
I am looking for an open source loadbalancer for linux. My requirements are simple. I want One load balancer infront of multiple webservers. It should be able to split the load evenly among the ...
5
votes
2answers
2k views
Load Balancing Best Practices for Persistence
We run a web application serving up web APIs for an increasing number of clients. To start, the clients were generally home, office, or other wireless networks submitting chunked http uploads to our ...
0
votes
2answers
210 views
LVS & persistence (problem with IP)
I would like to understand the LVS persistence.
For me, all the client with the same address ip will go to the same server until the end of the timeout.
And if clients are behind a ...
0
votes
0answers
159 views
LVS persistence
I install LVS with persistence.
It's work well but I would like to understand the persistence.
For me, all the client with the same address ip will go to the same server until the end of the timeout.
...
4
votes
2answers
638 views
LVS & Apache as load balancer
I would like to do load balancing.
To do this I would like to use LVS and apache as load balancer.
My configuration will be like this :
users -> internet -> LVS load balancer -> Apache balancer -> ...
0
votes
2answers
431 views
conntrack with LVS
I'm trying to use conntrack ftp with lvs (snat), documentations say that I need to echo "1" > /proc/sys/net/ipv4/vs/conntrack but this file doesn't exist on my system, do you know why ?
I already ...
0
votes
2answers
371 views
Linux Virtual Server : Config Questions?
need some advice before i go running into LVS only to find its not what i want.
im looking to replace our current load balancing software (XR or crossroads as its also know). as we are getting a lot ...
5
votes
4answers
1k views
IPvsadm not equally balancing on wlc scheduler
For some reason, ipvsadm does not seem to be equally balancing the connections between my real servers when using the wlc or lc schedulers. One real server gets absolutely hammered with requests while ...
0
votes
3answers
481 views
How to find the real IP to which IPVS is routing a virtual IP
I'm trying to find a problem server hiding behind a virtual IP (using LVS/ipvs). I've got a test program that sends requests to the virtual IP until it gets the bad response, but how can I tell to ...
0
votes
1answer
303 views
Pacemaker monitoring mysql
I have Pacemaker+Corosync set up to manage a shared IP address between two Mysql boxes in Master-Master/Active-Passive setup (using interleaved primary keys).
I have Pacemaker set up to manage the ...
0
votes
2answers
1k views
LVS (ipvs) load balanced Squid. Problems with some sites
I'm trying to set up a two-node squid proxy cluster. It would be a normal proxy (neither reverse, nor transparent).
I'm using LVS (kernel 2.6.32, ipvsadm v.1.2.1, tunneling) for load balancing, ...
