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
10 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
7 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
24 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
28 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
24 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
12 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
22 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
40 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 ...
3
votes
2answers
307 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
35 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
21 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
103 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
78 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
47 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
36 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
32 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
39 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 - ...
6
votes
2answers
613 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
68 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
41 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
37 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
45 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
67 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
37 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
39 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
30 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
21 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
31 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
49 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
45 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
86 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
57 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
43 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
40 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
42 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
112 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
49 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
148 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 ...
0
votes
0answers
13 views

Simple way to test my load balancer from behind (inside) its LAN

I have a 3 DSL load balancer with, say, 1MB/seg download speed. In order to check its correct behavior from any of the computers connected to this load balancer and see if traffic (download, at least) ...
1
vote
1answer
121 views

How would you set up multiple SSL terminating Haproxy instances, which are themselves load balanced?

I've been doing a great deal of research and experimentation on this, and I'm really running into a wall: I'm trying to set up HAProxy as the reverse proxy for a high-availability environment. All ...
0
votes
1answer
27 views

What is the request flow in BIG-IP load balancers for NONE preference?

I would like to know to which member does the request will be first directed to when NONE preference is set in the BIG-IP load balancers. From this link, there are three ways to set the redundancy ...
0
votes
1answer
96 views

Load balancing iptables

I am trying to use iptable for load balancing. I'm working with virtualbox. All vm (debian)are in internal networking and IPs are static. I want to route requests coming to my web server(apache2) with ...