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)

5
votes
1answer
4k views

HAProxy: Display a “BADREQ” | BADREQ's by the thousands

My HAProxy Configuration. #HA-Proxy version 1.3.22 2009/10/14 Copyright 2000-2009 Willy Tarreau <w@1wt.eu> global maxconn 10000 spread-checks 50 user haproxy group haproxy ...
1
vote
0answers
6 views

Autoscaling containers through consul and registrator

I am using an infrastructure platform consisting of docker containers running on centOS host. Scaling multiple containers through docker compose. Consul for service discovery. Registrator for ...
0
votes
2answers
32 views

How to setup failover with rabbitmq cluster with a loadbalancer like f5

I have been trying to find information on f5 developer central and internet regarding the following setup with no luck. We want to have a rabbitmq cluster with 3 nodes. 1 node will always be primary/...
1
vote
4answers
13k views

ESXi 5.5 NIC teaming for Load balancing using Cisco Etherchannel

I am using Cisco 3750G stacked switch configured with etherchannel and connected to ESXi Server configured with NIC teaming; Load balancing as router based on IP Hash. Cisco Switch configuration: ( ...
-1
votes
0answers
13 views

How do I load balance between my dedicated servers? [closed]

I'm renting three dedicated servers in a data center. The data center does not offer any load balancing services, so I need to look elsewhere for that. My need is simple; I'm running a website and I ...
-4
votes
1answer
32 views

Why is X_FORWARDED_FOR preferred over REMOTE_ADDR when fetching the user's IP? [on hold]

Since X_FORWARDED_FOR can be easily spoofed, I think the normal way to get the user IP is using REMOTE_ADDR. I have heard that in case of using the last one, you can't have access to IP of people ...
2
votes
1answer
3k views

301 redirect Rule For Load Balance F5 BigIp

I have a load balancer F5 Big ip for my website. Currently, I am having 302 redirect in place; however, I wanted to apply 301 but dont know how. For example: My website (abc.com) when typed 302 ...
0
votes
1answer
14 views

HaProxy Listen for both MySQL and HTTP

I realise that using HAPROXY for databases and servers works better if the database servers are external and separate but is it possible to have 2 servers replicating database and files to each other ...
1
vote
1answer
28 views

Security of SSL certs on AWS ELBs / SSL offloading

I have some concerns about security and am wondering how AWS will store an SSL certificate deployed to an ELB. I have a wildcard SSL cert for my domain that I want to make sure doesn't persist ...
3
votes
1answer
1k views

How to not redirect when cookie is set in haproxy?

On my site I redirect users with mobile devices to a mobile site using my Haproxy loadbalancer. I got some complaints about that and want to offer the users a link back to the "classic" portal. As not ...
0
votes
1answer
29 views

Reducing HTTPS handshake by http-keepalive behind a load balancer - possible?

I have an api into which ill get quite a few requests in https. Since its restful, each time the api is sent , it requires a full ssl handshake. On enabling http-keepalive , the latency of the request ...
0
votes
1answer
33 views

How can I configure an HAProxy server running behind a firewall?

I am having trouble with the following: I am setting up an HAProxy load balancer on CentOS 7 behind a firewall. The firewall on the HAProxy server as well as the outside firewall are configured so ...
2
votes
2answers
11k views

Load Balancing and Clustering using mod_proxy_ajp on Apache HTTP Server 2.2.21 and Tomcat 7.0.23

I've been struggling to make load balancing and clustering working using these combination: Apache HTTP Server 2.2.21 (httpd-2.2.21-win32-x86-openssl-0.9.8r) using mod_proxy_ajp with sticky session ...
2
votes
1answer
4k views

Use acl in backend / shrink my config

In my scenario I must switch servers based on an containing url string &mode=edit or &mode=create between my servers to balance the load. My config is created via script from about 100 ...
2
votes
2answers
317 views

Can Haproxy work with SSL if I use only roundrobin?

I've been reading about load-balancing with HaProxy and was wondering if you can use this load balancer if I don't do any layer 7 processing? I suppose that using only roundrobin at TCP level load-...
1
vote
2answers
37 views

Scalable way to install SSL certificates without downtime

We have a SaaS application that allows customers to use their own domain – pretty typical. At its core, the architecture has a simple catch-all virtual host (apache) and the software does the work of ...
0
votes
0answers
7 views

What happens to user sessions in ASPState DB when SQL Server Cluster DB is failed over from one box to another

One of our customers have a Production Cluster SQL Server architecture with two nodes. Our customer have an ASP.NET based web application which uses ASPState database to manage sessions. We need to ...
1
vote
1answer
6k views

Cisco dual static default routes to WAN

I am trying to setup Dual WAN in our office because our single VDSL modem couldnt handle our web traffic any longer. So we now have two VDSL modems (Sagecom FAST2864) they cant go into bridge mode ...
0
votes
0answers
14 views

How can I control GCE LB to create max N TCP connections with my backend instance?

For each request that a client makes through a load balancer, the load balancer maintains two TCP connections. One connection is with the client and the other connection is to a back-end instance. GCE ...
1
vote
0answers
77 views

google load balancer + nginx + symfony2

i'm trying to configure a scalable symfony2 app, so i read this page https://cloud.google.com/compute/docs/load-balancing/http/cross-region-example i did every thing like they said, is working with a ...
2
votes
2answers
557 views

Why don't load balancer algorithm's allow selection of worker machines based on current CPU or memory usage

I'm currently investigating load balancing with Apache mod_load_balancer and mod_proxy. I will also be looking at other load balancers later but one thing has become clear. Why do hardly any of the ...
3
votes
1answer
1k 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 ...
0
votes
0answers
25 views

Google Cloud LoadBalancer is unable to map tcp connection between client and LB with tcp connection between LB and backed instance

I am seeing an issue during performance testing of our application. The issue is LoadBalancer is unable to map tcp connection between client and LB with tcp connection between LB and backed instance. ...
2
votes
1answer
1k 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 ...
1
vote
2answers
2k views

Unable to configure haproxy with ssl

I want to make my server ssl protected, it has two parts one for website and another for application. to balance them we have used haproxy. Now we want to secure this haproxy. I have installed the ...
0
votes
0answers
28 views

Apache LoadBalancer goes into 302 infinite loop

I do see thousandths posts on Apache LoadBancer and quite a few on infinite loop with 302, but so far could not be able to fix my issue and would appreciate a comment/suggestion. I have installed ...
0
votes
2answers
41 views

Load Balancing & High Availability Network Limitations

I'm in the process of coming up with a highly available Apache / MySql group of virtual servers using HAProxy Reverse Proxy & Keepalive. I'm aware that I'm going to be using a floating public ip, ...
1
vote
2answers
3k views

Pfsense: Inbound Load Balancing https with sticky connection

first of all I'm very sorry for my English... This is my scenario: Internet Firewall+LB: pfsense_1(Active) + pfsense_2(Passive) in CARP Pool servers: 3 x nginx(PHP5+HTTP+HTTPS) Pfsense 1 and 2 ...
0
votes
0answers
8 views

litespeed webserver files and database replication

we are going to switch our webservers into litespeed...So now we have tried in trial version. Now, we have configured litespeed load balancer and two litespeed webservers with database replication ...
2
votes
3answers
2k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...
0
votes
0answers
5 views

In LVS with keepalived, should different virtual servers have different virtual routers?

I have LVS with Keepalived in a master/backup configuration, used as a load balancer for several virtual IPs. Currently the Keepalived configuration has a separate vrrp_instance for each VIP. Each ...
0
votes
1answer
2k views

HAProxy pgsql-check error

I use HAProxy 1.5-dev21 to load balance PostgreSQL connections over some read-only Postgresql 9.2 servers. Version 1.5 of HAProxy implements a pgsql-check option, similar to mysql-check. Here is my ...
1
vote
1answer
1k views

RTMP Proxy Server

I have an application which uses both HTTP (content data) and RTMP (video streams) for communications. An nginx server is configured for load balancing and proxying incoming client requests. It works ...
1
vote
0answers
37 views

Bizspark Azure - How to enable load balancer to see instance from multiple accounts

We have recently gained access to bizspark and want to create a load balancer which would use instances from all 5 accounts. I’ve tried several approaches, but could not figure out how to get the load ...
0
votes
1answer
53 views

Nginx upstream block nondefault port

experts. I am trying to configure nginx/1.10.0 for upstream to 2 https web servers on non standart port with ssl termination. Here is my current website setup in sites-available/ upstream backend {...
1
vote
1answer
55 views

Keepalive setting for Gunicorn behind ELB without Nginx

Our app's REST API is served by Gunicorn (not behind Nginx) running on AWS EC2 instances with a typical auto-scaling/load balancing setup. The load balancer's idle timeout is 60 seconds, and Gunicorn'...
0
votes
0answers
20 views

Monitoring HAProxy to determine need to scale

I'm learning about load-balancing and auto scaling at the moment. I have a VM running HAproxy with 3 nodes under it to distribute traffic. My endgoal is to spam it to overload number of requests it ...
0
votes
0answers
77 views

Nginx web server not displaying web content. Only showing the Default Nginx Page in my browser

This is the page appears when I call my webpage I configured two Nginx web server nodes with a Nignx load balancer. 192.168.0.100 - Nginx loadbalancer 192.168.0.101 - Nginx webserver1 192.168.0.102 - ...
1
vote
0answers
19 views

ProxyPass on Amazon EC2 behind a load-balancer

I am using ProxyPass on my local machine with following directive in apache conf and it works fine: ProxyPass /v2/ http://localhost:1337/ I need to do the same on Amazon EC2 instances which are ...
0
votes
2answers
48 views

Is it possible to point an IP address to a domain name?

Normally you point a domain name to an IP address(A record), but I want to do the opposite. There's a firm that needs to call my API at www.example.com but the firm says it can't call a domain name, ...
1
vote
1answer
1k views

403 forbidden error going through aws load balancer

I am running a IIS 7 Server behind an aws load balancer. I am using a Verisign SSL certificate which is installed properly but whenever I put in the URL, or the DNS name of the load balancer I get a ...
0
votes
1answer
40 views

Nginx upstream never flagged as down in vts status

We have 2 physical server which are basically identical (for load balancing and failover) One physical server consist of a bunch of docker containers including 1 x NginX 2 x WebSphere 8.5.5.8 ...
0
votes
2answers
48 views

How can I distribute clients to servers evenly with hash_ip in Nginx as loadbalancer?

I know Nginx can use hash_ip to tie specific clients to a server. My question is when Nginx is hashing with client IP, does it distribute clients to servers evenly regardless of whatever client IP is ...
0
votes
3answers
2k views

Zero downtime deployment (Tomcat), Nginx or HAProxy, behind hardware LB - how to “starve” old server?

Currently we have the following setup. Hardware Load Balancer (LB) Box A running Tomcat on 8080 (TA) Box B running Tomcat on 8080 (TB) TA and TB are running behind LB. For now it's pretty ...
-1
votes
0answers
17 views

DSR on a DNS Cache Server… How

I have a doubt/problem. I have to set a DNS Cache Server that is behind a LB F5, i was asked to set 2 types of IPs, 1 IP is on 10.xx.xx.xx and its used to listen and reply all the cache store queries, ...
1
vote
1answer
40 views

pacemaker virtual ip loadbalancing with clone and clusterip

I am trying to make a loadbalanced gateway for a group of natted machines. I have 3 centos nodes. Initially only one node was supposed to have the internal gateway ip and that works well. Traffic ...
0
votes
1answer
126 views

Load Balanced SFTP Server

we have 2 Load Balanced web servers on Azure and I am trying to set up a load balanced SFTP connection for my client. I have tried doing this using a load balanced end-point on azure for SFTP but the ...
0
votes
1answer
63 views

How to config nginx as sticky loadbalancer for both http and https

I have the config below. However, when user switch from http to https, the session doesn't stick no more. Eg. homepage http but payment page is https. How do I solve this? upstream backend { ...
0
votes
1answer
19 views

Application Gateway Load balancing mode

I have read in the docs (https://azure.microsoft.com/en-us/documentation/articles/application-gateway-introduction/) that the Load Balancers support sticky sessions where the client will always be ...
2
votes
4answers
10k views

Maximizing TCP connections on HAProxy load balancer

I am currently using HAProxy in order to load balance tcp connections from clients to my Erlang app server. The connection is persistent, which means I'm limited to roughly 64K clients on an optimized ...