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)

1
vote
1answer
1k 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 ...
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 ...
1
vote
0answers
23 views

Could HAProxy disable the Apache Instance on the same node it is running?

I have a setup with three VMs that are running on a core i74xx. The machines form a LAMP cluster with HAProxy doing the loadbalancing. After running multiple load tests I found out, that throughput ...
3
votes
4answers
3k views

Need help troubleshooting intermittant TCP timeout in HAProxy

I have an application where the client connects to a server via a simple TCP based protocol over TLS/SSL. In development, this has worked great for many months while we were building our application ...
-1
votes
0answers
6 views

Lot of Haproxy Frontend Request Errors

I have a haproxy setup with two backends. The backends are pure pub sub streaming servers using websockets with fallback to plain http for older browsers. I am seeing 4-5% of all requests on the ...
0
votes
0answers
25 views

Server becomes unresponsive while under load

We have a server setup containing 2 webservers, a RDS MySQL cluster and a loadbalancer, on AWS. The webservers are running PHP and Nginx, and contains multiple services each. We have a service ...
4
votes
3answers
2k views

How do big companies like Youtube load balances traffic with only one IP [duplicate]

Examining the A records for youtube.com (for example), I see only one IP address. How can this be possible, given the volume of traffic they handle? Do they use anycast with load balancers behind ...
1
vote
2answers
38 views

HAProxy - Health check of multiple microservices for one server

We have 2 web servers that we want to load balance. Each server has a main web application that is hit by the public. Each server also has number of dependent microservices that are used internally by ...
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
1answer
18 views

HAProxy “option redispatch” not working when I put into maintenance mode

I'm having an issue with HAProxy not redispatching connections to servers. When I put a server into maintenance mode none of the active connections are being disconnected/transferred to other active ...
0
votes
1answer
1k views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
0
votes
2answers
25 views

HAProxy mysql configuration

I tried few times, but I cannot figure it out why my mariadb load balancer with haproxy is not working. I have : 1 HAProxy (CentOS) : 10.181.102.249 1 Master (CentOS) : 10.183.241.150 2 Slaves ...
0
votes
1answer
26 views

when to use NFS for web app

I am currently building a simple webapp architecture on AWS, as follow: Elastic Load Balancer - multiple front ends - RDS database. I have also set up an NFS server to store all images uploaded by ...
2
votes
1answer
32 views

IIS Load Balance with 2 servers

I have two servers that I would like to use to load balance an application. Ideally, but not a requirement, I could load balance based on URL. But based on my research, that is not something that is ...
2
votes
0answers
82 views

HaProxy giving - 503 Service Unavailable

I am using below configuring for performing loadbalancing for two Tomcat servers. And I configured HAProxy to perform SSL/TLS bridging/re-encryption. ...
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
2answers
1k views

HAProxy + Percona XtraDB Cluster

I am attempting to setup HAproxy in conjunction with Percona XtraDB Cluster on a series of 3 EC2 instances. I have found a few tutorials online dealing with this specific issue, but I am a bit stuck. ...
-1
votes
1answer
105 views

How does a load-balancer manages end user http sessions? [duplicate]

I don not have experience with Load balancer. But I know what is load balancer i.e. balancing the load of user requests to multiple servers. OR Distributes workloads across multiple computing ...
1
vote
2answers
2k views

What IP does nginx use for ip_hash sticky sessions?

Does nginx use the direct client's IP for ip_hash, or does it also observe X-forwarded-for HTTP header to use as the IP address to ip_hash? For example, in a situation where some clients using a ...
0
votes
1answer
15 views

Nginx Load Balance / Proxy to Upstream with Path / Rewrite

Basically I have a API farm as 192.168.1.1, 192.168.1.2, 192.168.1.3 However the endpoints have different folder structure (3rd parties which i can't amend!) So basically I want to have a nginx ...
1
vote
0answers
16 views

Loadbalancing and HA with SolrCloud?

I have a LAMP Application running with solr 3.x on one server for several years now. Now I am migrating due to heavy load to a setup with two dedicated machines where all services are loadbalanced via ...
2
votes
1answer
943 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
953 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
0
votes
1answer
359 views

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 ...
1
vote
1answer
2k 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
18 views

HA Proxy should continue with backup till all sessions are alive when main server up

I have two servers say MainServer and BackupServer. From this MainServer is main server and BackupServer is my backup sever which I have configured with HA Proxy. Here is my HA configuration server ...
3
votes
2answers
3k views

Force DHCP Reservation Updates to Secondary DHCP Server in Windows Server 2012 R2

I have setup and configured two DHCP servers on my private network in load balancing mode as outlined in the following technet article: http://technet.microsoft.com/en-us/library/dn338979.aspx Both ...
0
votes
0answers
197 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 | ...
-2
votes
4answers
802 views

Get AWS ELB name from an attached instance

I created one ELB and attached a few instances to this ELB. So when I login into one of these attached instance, I would like to type a command or run a nodejs script that can return me the its ELB ...
2
votes
1answer
407 views

Reloading New Nginx Configuration With No Downtime

I have a Nginx server which constantly deals with high loads of requests. I want to be able to alter the configuration file of the server and reload it dynamically with zero downtime. I am running ...
1
vote
1answer
27 views

Can apache proxy/load balancer redirect requests to other available balancer member when it gets timeout from a hanging server?

I am using apache2.4.6 and tomcat8 to implement a load balance solution. I'd like to know whether apache balancer will redirect requests to another balancer member if it gets timeout error from one ...
2
votes
3answers
2k views

How can I synchronize 2 web server files with load balance?

I need to setup a website with load balance to accommodate more visitors, I've seen on forums that varnish(balance)->apache(web1&2)->mysql(dbserver) is the way to go. I know how to setup ...
3
votes
1answer
3k 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 ...
0
votes
2answers
248 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 ...
0
votes
1answer
21 views

Why hostname got truncated from the HAProxy syslog messages

This is a slice from my haproxy logging, where I target the sysloga and remotely log to papertrail, using the log-send-hostname option to pront the hostname in the log message instead of the ...
-1
votes
3answers
88 views

load balance across several SSDs in a server

I would like to have a volume spanning several SSDs or HDDs in my server. When I write a file to this volume, the file is written in whole to one of those drives chosen randomly or in round robin ...
3
votes
1answer
934 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 ...
1
vote
1answer
11 views

ldirectord balancing internal traffic doesnt work

Here is my ldirectord.cf file checktimeout=10 checkinterval=2 autoreload=no logfile="local0" quiescent=yes virtual=192.168.1.4:7777 real=192.168.1.52:7777 gate scheduler=wlc ...
0
votes
0answers
92 views

Transparent Proxy Issues w/ HAProxy Centos 7

Having issues following steps to transparent proxy outlined here: Howto transparent proxying and binding with HAProxy and ALOHA Load-Balancer | HAProxy Technologies – Aloha Load Balancer Believe to ...
-1
votes
1answer
42 views

Nginx load balancer returns bad gateway error

I have three servers; two web servers running nginx and a load balancer also running nginx. I can ping/telnet/curl between the load balancer and web servers but when I try to go to the load balancer ...
0
votes
0answers
13 views

Sonicwall NSA240 - Route all traffic from one WAN connection direct to VLAN

We are wanting to setup a Sonicwall NSA 240 as a PPPoE 'gateway' for several internet connections, each of these internet connections need to be put onto a separate VLAN. This will then be sent via ...
0
votes
1answer
23 views

Load Balance Virtual Host and Amazon/DO Server using HAProxy

I am stuck with an issue and im hoping someone can point me in the right direction. I have a server that hosts multiple sites using Apache Virtual hosts (shared IP's). A few months ago my server ...
-1
votes
1answer
50 views

How do load balance servers handle all the traffic? [closed]

I'm trying to understand how load balancing works. I have read the basics however I don't understand how a load balancer doesn't go down because of all the traffic. Lets say I have 1 load balance ...
1
vote
1answer
942 views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
1
vote
0answers
15 views

Apache and long runnig servlets

I have an webapp deployed on 4 jboss instances and there is an apache 2.2.15 (mod_proxy, libs: DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_jk/1.2.31) webserver doing the load balancing. The ...
0
votes
1answer
1k 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
2answers
2k views

Loadbalancing JBoss with haproxy AND mod_jk

I've been tasked to explore ways of building a very fail-resistant configuration for a professional application developed for JBoss. I have a somewhat fixed hardware configuration (servers have ...
1
vote
2answers
27 views

SSL Cert for one domain and multiple IPs

I have a question about SSL certs and multiple servers. Question: I have one cert, one domain name and I have many servers that hold my website code. Example.com can point to IPs 192.168.1.1, ...
1
vote
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
0
votes
0answers
16 views

local port forwarding with failover

There is a number of similar though not identical processes (worker processes) running on the localhost and listening each on its own TCP port, let's say process1 is listening on port 10001 process2 ...