Load balancing deal with the techniques involved on using multiple systems to deal with high demands, balancing the load between those multiple systems. Questions deal with networking and server load balancing, using dedicated hardware or not.

learn more… | top users | synonyms (2)

0
votes
0answers
7 views

Simulate load balancing on localhost using IIS and Application Request Routing

I want to simulate website load balancing on my development machine using IIS and Application Request Routing. I was able to "load balance" between two external sites, but trying to do the same with ...
-1
votes
1answer
12 views

Unexplained load average, ram and swap consumption [on hold]

My website is hosted behind a load balancer and 2 clients sharing their data through nfs. The website is running inside a docker. I currently have a huge load average and memory consumption, that ...
0
votes
0answers
8 views

Apache mod_jk LB synchronization server startup + application startup time

after a long search I can´t found a solution or path to solve my problem with synchronization startup of Apache and Backend servers. I have a Apache2 using a LoadBalancer with mod_jk that balance ...
0
votes
2answers
8 views

NGINX with “serverpool” as the LB for DIFFERENT DOMAINS on same Apache Servers?

I have nginx as a LB. And the 2 Apaches as the web servers. Lets say i got different domains: www.example.com checkout.example.com Both domains will be in same 2 Apache Servers. But ofcoz under ...
0
votes
0answers
16 views

How haproxy understand URLs, URI, HOSTs

I know that haproxy understand urls, but here when I want to test if haproxy is up I acess the machine name at browser and it redirects to the desired node.js server. This request is usually a ...
0
votes
0answers
11 views

Elastic Load Balancer connection draining causes a blank page for some web sessions

I'm running 3 EC2 instances behind an ELB with connection draining enabled (set to 300ms). When I remove an instance from it, I can see fewer and fewer web requests in the server log until eventually ...
-3
votes
0answers
26 views

control users coming in to my web servers

I have two web servers (both installed with apache with Wordpress) and a LB in front of them. let's say web A and web B. I would like to only update the code on web A and leave web B with the old ...
0
votes
1answer
53 views

HAProxy + keepalived + multiple backend farms / virtual IP addresses

we have several backend farms (HTTP, FTP, etc), basically one farm for each customer, and I am about to rebuild our load balancing infrastructure, moving from Piranha to HAProxy. Since we are using ...
0
votes
0answers
35 views

HAProxy tcp load balancing with an https check fails

I'm trying to load balance a posgres tcp connection, with a node check done via a python script residing on an https connection. conf file looks like so: global log 127.0.0.1 local2 ...
0
votes
0answers
14 views

Can a Varnish director be queried for the number of healthy backends it contains?

Specifically in Varnish 3, is there a way to check if a director has any healthy backends? My use case is that I have a load balancer that is distributing traffic to 2 varnish boxes, which in turn ...
2
votes
0answers
26 views

HAProxy switch to backup on 500 errors and/or server down

I'm setting up an HAProxy in front of only 2 backend servers, with a particular configuration: any request should go to server A; but, if server A returns a 5xx error code, all request should go to a ...
1
vote
1answer
44 views

Active/Passive Reverse Proxy with nginx

I have two Websocket servers which working with Zookeeper & Curator as Active/Passive, if one server fails then second backend comes alive. I configured it the following way: upstream backend { ...
0
votes
0answers
14 views

Multiple Subversion Servers behind a load balancer

I'd like to add a little redundancy to my subversion setup. I'd like to have multiple servers share a common NFS mount and load balance http requests to the servers (with stickiness). Is this an ...
4
votes
2answers
338 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
1answer
40 views

How to use environment variable in haproxy?

I work with haproxy 1.5.2 My haproxy.cfg has this server definitions: server HALB_ucd1 ${UCD1_END_POINT_IP}:${UCD1_END_POINT_PORT} check port 8444 I set the UCD1_END_POINT_IP and ...
1
vote
1answer
24 views

Azure Availability sets and CMS instances

We are hosting a CMS Site on Azure through a VM and IIS. To keep inline with Microsoft's SLA's we have to put the Front Ends in an availability set and then Load Balance them though an endpoint. This ...
2
votes
3answers
107 views

What's the point in redirecting users to “www2.”?

On several large-scale websites, I've seen being redirected from http://www.example.com/ to http://www2.example.com/ One of such examples is Netflix. My hypothesis is that this is used to: Either ...
2
votes
1answer
93 views

NGINX Internal Load Balancing + PHP-FPM Upstream causing random double request / submission

We are having a very serious problem where during seemingly random times, we get a duplicated request that is processed by our application. Typically, a user submits a form and occasionally will save ...
-1
votes
1answer
50 views

Load balancing not possible with Zend Framework due to MySQL Adapter Error

I recieve the following error message when I set up load balancing between two servers that are running the zendframework called "SocialEngine" As it looks there is a problem that I can't connect ...
-1
votes
1answer
40 views

Load Balancing VPN servers (Ubuntu)

I am trying to load balance two VPN servers, that are located quite far from one another. I am using Ubuntu with pptpd, is there anyway to load balance those two servers? So user connects pptp to ...
1
vote
0answers
37 views

Azure public endpoint SSL termination

In Azure, is there any way to set up an HTTPS endpoint directly on the public VIP, as opposed to joining each VM to a load balanced set, so that I can associate this endpoint with the SSL certificate ...
0
votes
1answer
40 views

HAProxy - Client Request Continuously Switching Servers

I have configured a Software Load balancer with HAProxy. Here are the details : Load Balancer 1 (Master) - 10.0.0.2 Load Balancer 2 (Slave) - 10.0.0.3 Virtual IP that load balancer shared is - ...
7
votes
2answers
616 views

How can I tell which server I've been load balanced to?

I want to test some configuration changes to one-way synchronisation between two servers that sit behind a load balancer (this is all Rackspace Cloud infrastructure FYI). The problem I have is that I ...
0
votes
3answers
70 views

Rewrite in Nginx Does not work for POST request

I have two VPS(one is for fail over), both running Nginx as a Load balancer for backend servers. Also, I have Enabled and configured SSL for my domain(registered on GoDaddy.com) on Nginx. Since I am ...
1
vote
0answers
43 views

How to get Nginx to quickly switch to backup upstream server?

I've using Nginx to load-balance a websocket app that runs in multiple Node.js instances. When there are thousands of active connections, a single message broadcast could make Node spin in place for ...
0
votes
0answers
44 views

ACL at HAProxy shows NOSRV

I have 3 backends in HAProxy 1.5.10: "WEB", "API", and "SSL" for web and api. For SSL termination I'm using ACL with SNI. Here is my config: frontend ssl mode tcp bind 0.0.0.0:443 ssl crt ...
1
vote
3answers
47 views

Does SSL need to be configured at the external load balancer if you are using one?

Using Elastic Load Balancer, it is easy enough to set up SSL at the external load balancer, and serve requests up as http to the applicaion. When running a single server, it is also possible to ...
1
vote
0answers
70 views

NGINX + NodeJS Performance Issues

I have one server running a Docker + NodeJS application and a load balancer running nginx. Before upgrading to two servers, I wanted to attempt to replicate traffic statistics for the load balancer ...
0
votes
1answer
38 views

CRUD with MySQL Master-Slave Architecture

I have setup mysql master-slave replication with 1 master and 3 slaves. Now that I have finished setting up the architecture I am curious as to the best way to make my reads. I realize all writes, ...
0
votes
1answer
43 views

squid3 FAIL with cache_peer round-robin on 127.0.0.1 different port

I have 3 tunnels end to a Debian running squid3 (ports 9001 to 9003). At start of each tunnel runs a proxy. I try to load-balance those proxies this way: http_access allow all http_port 4128 ...
0
votes
1answer
33 views

Nginx Load Balancer having two load balanced nginx+php-fpm (Primary script unknown) error

We have two web servers with nginx+php-fpm ( 10.0.0.10 and 10.0.0.20 ), which is load balanced behind another nginx server ( just nginx ), when we try to browse we get file not found error, with error ...
0
votes
1answer
22 views

Apache Load Balancing And Network traffic Flow

I am using apache load balancing to load balance web requests to various other nodes, the problem I am having is during uploads and downloads, all the traffic is also being routed through my load ...
0
votes
2answers
33 views

Haproxy: How to balance traffic within directory reached?

I want to know if there's a way to balance the traffic within directories using haproxy. I have haproxy balancing all HTTP traffic to server1 & server2. What I want is to balance all images ...
1
vote
1answer
49 views

Permit access to website with load balancer (changing IP), disable rest with iptables

I need to block access to all websites except for a couple of URLs on a group of workstations. Apparently a few of these websites are load balanced. I use iptables: iptables -P OUTPUT ACCEPT ...
1
vote
1answer
38 views

ipt_CLUSTERIP: unknown protocol 1

I am trying to create a web cluster with two load balancers and a single public ip address The command I use is the following: iptables -I INPUT -d $CLUSTERIP -i $WAN_IF -j CLUSTERIP --new ...
1
vote
2answers
51 views

Squid load balancing and reverse proxy conflicts

I'm having difficulties configuring Squid 3.3 to do both "load-balancing" over multiple WAN links (using random ACLs + tcp_outgoing_address options) and to also have a "reverse proxy". It works just ...
0
votes
0answers
49 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 | ...
1
vote
1answer
93 views

Nginx add a response header that describe the upstream server used

I'm starting to use nginx with multiple backends by using the upstream directive. I want nginx to add a response header that describe which backend server was used to serve this request. Something ...
0
votes
1answer
26 views

Three ADSLs on a single router [duplicate]

I know that my question sounds impossible, but I would go deeper into it. I have three Internet connections: ADSL from Provider 1; ADSL from Provider 2; LTE from Provider 3 (USB WiFi Box). I need ...
1
vote
1answer
65 views

How to make connections answer from the same gateway they entered in RouterOS?

I have a MikroTik RouterOS 6.23 device, and my network is as follows: Router | |-- bridge1_LAN (wlan1 + ether1) (192.168.0.210) -- LAN (192.168.0.0/24) | Here is where computers are. Those ...
0
votes
0answers
48 views

Clustering with Jboss EAP and Load balancing with Haproxy

I'm doing load balancing with HAProxy and use JBoss EAP as application servers. The Haproxy server is configured to route incoming requests to the application servers. How can I integrate Jboss EAP ...
0
votes
0answers
41 views

Direct server return loadbalancer for mariadb galera cluster with 2 networks

Is it possible to configure LVS (keepalived) loadbalancer with direct server return (DSR) for 2 leg network setup? The desired architecture is as follows: mariadb galera cluster, where each node has ...
1
vote
1answer
44 views

Default backend in haproxy

I wonder whether there is a way to configure a default backend in haproxy, so it balances requests among a pool of backend servers (three in the example below), keeping the default backend as a ...
15
votes
2answers
1k views

How is a single IP address load balanced?

I'm aware of "round robin DNS" load balancing, but how can a single IP address be load balanced? Google's DNS servers for example, 8.8.8.8 and 8.8.4.4. Wikipedia's load balancing article states: ...
0
votes
0answers
11 views

Load Balancer for web site hosted on Apache server - Linux [duplicate]

I am hosting a website on Apache2 server in Linux (Ubantu 14.01), its a PHP website. I need too create access point for around 5000 concurrent users. Can anybody help me with the Hardware which i ...
0
votes
1answer
118 views

How to AVOID getting caught in a DDOS meant for someone else (not prevent)?

So we have a load balancer and all that jazz set up with Rackspace. However, guess what, our clients' websites were down again today. It seems that Rackspace should have their load-balancer ...
0
votes
1answer
52 views

EC2 Failing Load Balancer Health Check

One of my projects is an internal web app which we are putting behind a load balancer. As of now there is only one ec2 (will be more in production) and the load balancer is not able to reach the ...
2
votes
0answers
49 views

how to prevent loadbalancer from going offline?

i plan to setup a load balancer for a webproject but there is a major issue in my head: a typical loadbalancer would be: (provided by nginx upstream) Server #1 accepts all requests and forwards them ...
0
votes
0answers
20 views

DNS UDP Load Balancer - Is there X-forward-for like options? [duplicate]

We're using the Rackspace's UDP load balancer - however its only giving us internal 10.x.x.x addresses from our clients, and not the actual "external" of the external connection. On an HTTP Server I ...
1
vote
2answers
149 views

Geographic load balancing

At a company they currently have a typical webserver setup: one webserver and one database server. Unfortunately there are often problems due to high load on the webserver and database so I was asked ...