Questions tagged [lvs]

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

http://www.linuxvirtualserver.org

94 questions
0
votes
1 answer

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 is missing? I was under the impression a load…
smugcloud
  • 119
  • 5
0
votes
1 answer

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% Convert vm dvg -wi-a---- 1000.00m When…
J. Pee
  • 42
  • 6
0
votes
0 answers

Is there any latest release or other option to use LVS load balancing?

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 TUN/DR and APACHE mod_proxy? IS there any other…
SnowmanOnFire
  • 163
  • 1
  • 1
  • 6
0
votes
1 answer

LVS/IP_VS LoadBalancing Gateway

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 each node setup network firewall rules to set FWMARK…
Dcow
  • 59
  • 3
0
votes
1 answer

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 only the ip address changed. All of the machines…
Kuba Orlik
  • 651
  • 1
  • 5
  • 9
0
votes
0 answers

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 | ---------- | *.1.100 …
faraway
  • 1
  • 3
0
votes
0 answers

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-Ubuntu, ipvsadm v1.2.6 2008/5/15: $ sudo ipvsadm Prot…
jasonz
  • 101
  • 4
0
votes
1 answer

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.com } notification_email_from…
Tom Taylor
  • 41
  • 1
  • 4
0
votes
1 answer

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 internet. The following is my iptables…
0
votes
1 answer

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). The real server is accessed over ports 80, 443…
eTiMaGo
  • 43
  • 1
  • 5
0
votes
1 answer

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", while the realservers are in the private…
shylent
  • 792
  • 10
  • 22
0
votes
2 answers

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 implemented in the ldirectord, or should I look for…
0
votes
1 answer

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 balancing at all. On eth1 I have configured the public…
0
votes
1 answer

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 IP2 If LB2 failed, IP2 will be floated to IP3 If…
Howard
  • 2,005
  • 11
  • 47
  • 70
0
votes
1 answer

How to make a tun interface with ifconfig in OSX?

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 is a BSD thing). The problem is I need to have a…
Doug
  • 371
  • 2
  • 5
  • 15