3
votes
2answers
49 views

How to get name of server that has served request in fronted section?

I need to add server name in response HTTP headers X-Servedby. Is there any way to replace [server] with name of server that has served request? frontend front x.x.x.x:80 default_backend balancing ...
1
vote
1answer
62 views

HAProxy max out at ~10,700 connections

I am stress testing ejabberd with Tsung. My EC2 instances setup as follows: Tsung : c3.xlarge ejabberd : c3.2xlarge HAProxy : t1.mirco When I let Tsung talk to the ejabberd instance directly, I ...
0
votes
1answer
31 views

Direct several subdomains to a single backend with haproxy

I'm using haproxy to direct route for several applications running on a single server. For one of the domains in use there are several dozens of subdomains that should be directed to one of a few ...
1
vote
1answer
56 views

Replicate data across loadbalanced apache nodes

I am using haproxy that is pointing on 5 apache nodes, the problem is that I want to replicate apache data between those nodes. I have installed DRBD and it worked but on 2 nodes only The rsync is not ...
0
votes
0answers
349 views

HAProxy configuration for RabbitMQ

I have an API that sends messages to RabbitMQ. I have a high availability RabbitMQ cluster behind HAProxy. When I load test my API I start seeing lots of this: Recovering from a network failure... ...
1
vote
1answer
62 views

haproxy - 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 ...
1
vote
1answer
102 views

HAProxy returns error if server goes down before health check has occured

Let's say I have web01 in my list of backend servers, and web01 goes down. It will take a few seconds for HAProxy to notice the server is down (depending on the health check interval and how long the ...
1
vote
1answer
202 views

Any problems with having an active/active HAProxy setup with Keepalived

Apologies if this has been asked before, but I can't seem to find much on it. We're going to be using HAProxy to load balance our MariaDB Galera Cluster. All the articles/tutorials I have seen on ...
0
votes
0answers
18 views

“API” to halt server with HAProxy (by loadbalancer.org) [duplicate]

I have a HAProxy load balancer by loadbalancer.org. I have 3 servers in the cluster and have to halt a server once in a while, for example when I release new code on the server. I would like to be ...
0
votes
1answer
282 views

How to configure HAProxy to route by port without using multiple frontend or listeners

I am trying to configure Haproxy v1.5 for Jabber connections which run on several ports on the same IP. To keep the configuration as simple as possible, I would like to use a single frontend and one ...
0
votes
1answer
92 views

Simple Load Balancing Questions for 2 Web and 1 DB server

We currently have one web server and one DB server to serve our websites. Things have been fine but slowly getting worse as the sites consume more and more CPU on the web server. We've reached the ...
0
votes
1answer
278 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 ...
2
votes
1answer
117 views

HAProxy: routing by Basic Auth credentials

I have many requests coming in from a single IP with credentials supplied in the HTTP Header in Basic Auth format. Even though the origin is the same, the credentials vary frequently across requests. ...
0
votes
0answers
94 views

HAProxy halts after ~8000 benchmarks

I'm running 1.4.24 on OS X 10.9 in front of 3 local servers, which work together to formulate a response, and thus HAProxy has no speed advantage over just hitting one of them, but handles node ...
0
votes
2answers
620 views

HAProxy Url pattern forwarding

I am using HAProxy for load balancing a couple of web servers (HTTP mode). The web servers are strictly dynamic, ie, there isnt any static content, only web services. The URLs of the type (analogous) ...
0
votes
0answers
148 views

haproxy stick on src doesn't work

I've following setup: HA-Proxy version 1.4.24 2013/06/17 I am using it to balance load on my Windows terminal services, with following configuration: global log 127.0.0.1 local2 ...
1
vote
2answers
252 views

HAproxy for postfix

I want to setup HA postfix mail servers with 2 postfix instances. I have two postfix servers and I configured two postfix instances on these servers. Now I want to know how to configure HAproxy ...
1
vote
1answer
169 views

How does HAProxy loadbalancing forward the request?

I'm trying to understand how the loadbalancing in HAProxy works so that I can do some capacity planning. So which one is the right way the HAProxy load balancing works? Scenario A: Request from ...
0
votes
1answer
2k views

HAproxy 503 Service Unavailable No server is available to handle this request

I'm new to this load balancing scenario and I'm being tasked to figure out how to make this load balancing works. My environment: Centos 6.4 64 Bit Webserver: Lighttpd All running in ESXI virtual ...
0
votes
0answers
76 views

Drop in HAproxy traffic with increase in connections

We have an intermittent issue that involves a severe drop in network traffic (both IN and OUT) on our HAProxy load balancer. It happens a couple times a day. HAProxy is configured to limit requests ...
0
votes
0answers
107 views

Can keepalived use a dedicated NIC for VRRP traffic only?

I have a pair of Linux load balancers for a single VIP, 10.13.10.227. They run keepalived and haproxy. They are connected directly to each other (no switch between them) on each other's eth3 and have ...
0
votes
0answers
65 views

Consume a soap webservice with Login / Ip authentication behind a loadbalancer

Currently we have 2 haproxy load balancer (active/passive) with a failover ip, and behind some apache servers. These apache servers need to consume a "soap" webservice of a client. Actually, the ...
0
votes
1answer
98 views

Load balance by header prefix

I need to balance an OAuth application. By using the Authorization header, I can redirect the same client to the same machine - however - I want to redirect each user to the same machine, regardless ...
2
votes
3answers
156 views

Is there a way to redirect an IP to another IP on Amazon EC2?

We're migrating our deployment from regular EC2 into a VPC, we have two load balancers in the public cloud that we have a number of domain "A" records pointed at, however I didn't realize that a ...
0
votes
0answers
410 views

High availability squid farm

I'm trying to configure a high availability squid farm on CentOs 6.4 with haproxy1.5 for load balancing and ucarp1.5.2 for ip failover alongside squid3.1.10, running on each server these are my ...
5
votes
2answers
149 views

HAProxy not balancing server load fairly

HAProxy doesn't seem to keep the connections to the servers balanced. Keep this in mind: using HAProxy v1.3.26 5 equally balanced server specs algorithm is round robin, but no weights are applied ...
5
votes
2answers
135 views

Heartbeat Aware Load balancing

I am using Haproxy for load balance my web servers. Not all of them has same resources. Typical loadbalancing algorithms caused some low end servers to overload as LB isn't hearbeat aware. Is the a ...
0
votes
1answer
216 views

HAProxy and streaming server bottleneck concern

I am investigating into HAProxy to use as a load balancer for a number of nginx servers. Each server is streaming a static file (audio file) from it. Nginx will be using a symfony2 framework. In ...
0
votes
1answer
80 views

Loadbalancing download server with nginx + haproxy

I need some info. I have been looking for this solution all over the google, but could not find it. I am trying to setup HAProxy to balance the downloaders in one server not send them to other servers ...
0
votes
0answers
71 views

Blocked insecure content chrome

I am working with haproxy to configure ssl. in ha.cfg i am writing frontend https bind *:443 ssl crt /etc/ssl/ssl.key/myserver.crt acl hari path_beg /customers acl css path_beg ...
0
votes
1answer
352 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
0answers
99 views

Any way to route MSMQ messages based on label?

I have a system with one MSMQ sender (generates about 10k messages/sec) and one MSMQ receiver (2k messages/sec). Generating and sending messages is fast, reading and processing is slow. Hence I want ...
2
votes
1answer
376 views

What is the best way to load balance multiple sock5 proxys on seperate VM's in the same datacenter?

I am currently trying to figure out the best way to load balance multiple sock 5 proxy servers for my new project. I was looking into programs like HA proxy, but it seems to only load balance HTTP ...
3
votes
1answer
153 views

Is there a backend-aware load balancer for Rails/Passenger?

We have 3 Ruby on Rails applications (A, B and C) installed on a number of application servers. Our front end is HAProxy, backend is Apache + Phusion Passenger. Originally we had all 3 Rails apps ...
0
votes
1answer
199 views

HAProxy loadbalanced backend - behaviour when one server down

My understanding was that with two server backends load-balanced by HAProxy , if one goes down, HAProxy should be able to direct all traffic to the other. I have two loadbalaced webservers, with ...
0
votes
1answer
535 views

HAProxy load balancing based on source ip (IP subnet)

I have x cluster. This cluster look like Cluster 1 192.168.1. (Server type 1) 192.168.2. (Server type 2) 192.168.3.1 (Server type 3) <Redis server> Cluster 2 192.167.1. (Server type 1) ...
0
votes
1answer
136 views

Connecting HAproxy load-balancer to WAN and LAN

I'm setting up a load balancer with failover and I'm confused on how to properly set it up. The load-balancer is balancing web traffic to web-servers on a LAN network. My setup is the following: I ...
3
votes
1answer
6k views

How to horizontally scale SSL termination behind HAProxy load balancing?

I've been looking around and no one seems to be trying to scale SSL termination the way I am and I'm curious as to why my approach seems so uncommon. Here's what I want to do followed by why: ...
0
votes
1answer
381 views

Do AWS ELB, HAProxy or nginx drop the connection if a backend servers is down?

I wonder which ones of the following load balancers is able to detect an unavailable backend machine, and redirect the connection to another server without dropping the request: nginx AWS Elastic ...
2
votes
1answer
596 views

Why do Layer 7 load balancers configuration not require any client configuration changes?

For example, for haproxy (layer 7) load balancing, you only need to configure the "real servers" or "backends" behind the VIP (i.e., cluster IP). E.g.: listen smtp 192.168.3.10:25 mode tcp ...
0
votes
1answer
184 views

HA proxy and keepalived with Splunk search heads

Is anyone using haproxy/keepaliveD as their software load balancer in a HA search head environment? I am configuring my haproxy.cfg and having some trouble getting sticky sessions and proper load ...
3
votes
1answer
102 views

Group web sessions with HAProxy

I want to load balance web requests with HAProxy. The catch is that I want particular groups of users to always go to the same server. (This is a multiplayer system, and users in the same group need ...
3
votes
1answer
195 views

Idea for taking down half of the servers vs rolling restart?

We're setting up HAProxy to balance our application (ASP.NET MVC 3 running on IIS). We want our process to be without scheduled maintenance for deployment. I'm trying to figure out the correct way to ...
0
votes
2answers
260 views

What steps i need to configure ssl on haproxy/iis

I have two web server and one haproxy load balancer in front of them. I want to setup ssl connection for my login page. Can someone give me life cycle steps what i need to do? Can i make this with ...
0
votes
2answers
274 views

Can HAProxy work asynchronously with backend servers?

I need a TCP load-balancer in front of some servers. I need it to: Receive a request from client Open a connection to one of servers (based on load balancing, being alive and so on) Send the request ...
1
vote
1answer
578 views

haproxy status reporting

I've just started using haproxy, so excuse me if I sound silly. haproxy itsekf is working fine and this is the config file that's in use: # This file managed by Puppet global chroot ...
1
vote
2answers
488 views

HAProxy switch only in case of server down

Let's say I have 2 servers - SA and SB. Is it possible to configure HAProxy to work like this: All connections goes to SA -> SA goes down -> HAProxy switches all connections to SB -> until SB is not ...
0
votes
2answers
125 views

HAProxy live injection

I would ask you if HAProxy load balancer can be live injectioned (reconfigured without restarting the balancer) without losing connections.
0
votes
1answer
677 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
vote
1answer
788 views

HA Proxy - roundrobin vs leastconn

Are there any suggestion on when should I use roundrobin & when should I use leastconn? I am using roundrobin currently and observed the loading of my back-end servesr are not evenly ...