LVS is the Linux Virtual Server, www.linuxvirtualserver.org. It offers persistent load balancing built ontop of the linux kernel.
Questions tagged [lvs]
94 questions
2
votes
1 answer
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
lb_algo wrr
lb_kind NAT
persistence_timeout…
![](../../users/profiles/76707.webp)
dmourati
- 24,720
- 2
- 40
- 69
2
votes
1 answer
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 director IP is 172.17.6.111
Real Server1 is…
![](../../users/profiles/115714.webp)
Anubhav Agarwal
- 1,453
- 2
- 9
- 6
1
vote
0 answers
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(client)-> 172.52.0.3, 172.16.246.46 ->…
![](../../users/profiles/525947.webp)
kongyk
- 111
- 2
1
vote
0 answers
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 (lv_vol1a) that I would like to extend using…
![](../../users/profiles/460272.webp)
user460272
- 11
- 3
1
vote
1 answer
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 quite clearly there is no support so I understand…
![](../../users/profiles/276578.webp)
driftavalii
- 121
- 4
1
vote
1 answer
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.tcp_max_syn_backlog =…
![](../../users/profiles/343489.webp)
MeRyan
- 21
- 1
- 3
1
vote
1 answer
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 are manager using keepalived.
Every subnet…
![](../../users/profiles/10225.webp)
Wienczny
- 1,043
- 10
- 13
1
vote
1 answer
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
The
Data%
field specifies…
![](../../users/profiles/311684.webp)
gudge
- 199
- 1
- 10
1
vote
0 answers
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 keepalived to do that to preserve public IP's in our…
![](../../users/profiles/316240.webp)
Michael Curran
- 11
- 2
1
vote
0 answers
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 -A -u 192.168.10.10:1701 -r 10.10.10.2 -m
ipvsadm…
![](../../users/profiles/117483.webp)
Ammar Lakis
- 176
- 1
- 1
- 9
1
vote
0 answers
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 after the machine has booted, the IPv6 rules is added…
![](../../users/profiles/74300.webp)
Jon Skarpeteig
- 941
- 2
- 14
- 28
1
vote
1 answer
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 5
-> 10.47.1.52:domain Masq 10 0 …
![](../../users/profiles/74300.webp)
Jon Skarpeteig
- 941
- 2
- 14
- 28
1
vote
1 answer
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.
The reasons behind going for LVS are
Better L4…
![](../../users/profiles/232959.webp)
Andy
- 11
- 2
1
vote
1 answer
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 virtual destination
TCP 00:37 SYN_RECV…
![](../../users/profiles/120102.webp)
HTF
- 3,050
- 14
- 49
- 78
1
vote
1 answer
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@ldap1:/home/mamartin# crm status
Last updated: Tue Jun …
![](../../users/profiles/223697.webp)
miguer27
- 11
- 2