Tagged Questions
0
votes
1answer
27 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 ...
1
vote
1answer
152 views
Why are Layer 7 TCP load balancers (e.g, haproxy) so much simpler to setup than Layer 4 (lvs)? [closed]
For haproxy TCP 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
balance ...
0
votes
1answer
156 views
Should I use haproxy's “linux2628” or “linux26” make target?
With the latest versions of HAProxy, simply typing make does not work, returning the following message:
Due to too many reports of suboptimized setups, building without
specifying the target is ...
1
vote
0answers
102 views
Budget High Availability configuration for Linux (Debian) boxes [closed]
I try to set up a (pretty) high availability solution for a service that I run on Linux machines and here's what I come up with:
- one front end server used for balancing. IT should have haproxy ...
2
votes
4answers
688 views
High Availability Configuration using Heartbeat and Pacemaker
I have the following setup:
I have configured high availability between two load balancers (HAProxy) so that if HAProxy1 get down, the floating IP gets transferred to the other load balancer ...
1
vote
3answers
1k 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 ...
2
votes
1answer
1k views
Tuning Linux + HAProxy
I'm currently rolling out HAProxy on Centos 6 which will send requests to some Apache HTTPD servers and I'm having issues with performance. I've spent the last couple of days googling and still can't ...
0
votes
0answers
135 views
Multiple HAProxy loadbalancers handling incoming traffic
I have a problem. I've set up 2 HAProxy loadblancers to work next to eachother.
see this schema for my current setup
Now when a request comes in on lb02, there doesn't happen anything. I guess its ...
1
vote
1answer
324 views
HAProxy running in chroot jail is only logging started messages
I've configured my HAProxy server to run in a chroot jail logging messages to syslog socket. My problem is that the only messsages currently being logged are for when haproxy is starting up.
May 26 ...
1
vote
2answers
47 views
Navigating traffic in inner network
I am just wondering if the following scenario is possible and how to implement this.
Suppose there are 2 DNS records from one of the Domain Services. Both records point to two different servers HTTP ...
2
votes
1answer
227 views
Load balance HTTP based on a percentage of traffic or requests?
I want to have v1 of my application in one pool and version v1.1 in another pool and then slowly ramp up the traffic going to pool two and reduce it to pool one.
Can anyone show some concrete ...
1
vote
1answer
160 views
Haproxy log each frontend to different file with rsyslog
I have many frontends in haproxy, I plan to log each frontend to different file, for example, frontend a to /var/log/a.log, b to /var/log/b.log, but haproxy's log facility must be one of the 24 ...
1
vote
2answers
119 views
haproxy backend default location
If you go to www.company.com, I want it to redirect to /something/something on my server, but the URL still shows www.company.com Is this possible in haproxy?
backend new_marketing_server
*** set ...
1
vote
1answer
83 views
What is wrong with my redirect?
I need haproxy to redirect product.company.com to company.com/about/product
acl newproduct hdr(host) –i product.company.com
redirect location http://company.com/about/product if newproduct
I know ...
0
votes
2answers
467 views
Advice on where to install Redis
I have just introduced Redis into our application and I am not sure where best to install in production. I read that the Windows option is not production quality so i need to install on Linux.
I ...
2
votes
1answer
185 views
Building a minimal HAProxy VM. Where to start?
I want to build a minimal VM (in Hyper-V on Windows 2008 R2) that runs HAProxy to load balance a bunch of web services.
Is there a preferred Linux distribution that provides a small, yet functional ...
0
votes
1answer
427 views
Location of HTTP log format for Haproxy
with this example in my configuration
frontend http-in
mode http
option httplog
log global
default_backend bck
backend static
server srv1 ...
1
vote
2answers
1k views
Cannot start up haproxy
Using ubuntu as my server I'm trying to set up load balancing using HAProxy.
When I try to run using "haproxy -f haproxy.cfg" i get this error.
[WARNING] 035/115820 (1148) : [haproxy.main()] ...
0
votes
1answer
177 views
Setup multiple webapps to respond to multiple domains using a single IP
I have two rails webapps, I have configured one webapp to respond to multiple domains. I have done this by making the corresponding server block in nginx as the default.
Now, I want to make even the ...
1
vote
1answer
308 views
How do I load balance between two Linux machines?
Inspired by the Stack Overflow network, I am now obsessed with HAProxy and trying to use it myself.
At the moment, each HAProxy box has got two network cards (well, two configured, I can have a ...
1
vote
2answers
2k views
HAproxy subdomain redirect
I own one domain like xyz.com and I'm trying to redirect subdomain other ip with haproxy.
I use tomcat on the servers and I use haproxy to redirect incoming requests on port 80 to port 8080.
Like;
...
0
votes
1answer
748 views
HAProxy health check
I have three small questions that relate to the same topic:
With HAProxy, is there any way to load balance based on the current load of the different servers (ie. routing a request to the least ...
1
vote
2answers
1k views
HAProxy seems to be load balancing instead of following ACL rules
I'm seeing some really odd behavior with HAProxy. I have the following setup below designed to allow example.com/wiki to go to one server and example.com/ go to another. The trouble is that it seems ...
0
votes
2answers
383 views
HAProxy keeps dropping connections
My HAProxy instance isn't even under any serious load right now, but occasionally it will start refusing to accept connections, even though the backend servers are up and running fine. I didn't see ...
0
votes
1answer
128 views
Can I use haproxy with only one NIC?
I understand haproxy should have one NIC for the incoming traffic and another one facing the web servers. But since all my servers are on a public networks exposed to internet, could I sue a simple ...
0
votes
2answers
415 views
haproxy virtual host issues
This configuration is intended to send people to Node unless it's a .gif, .jpg etc., but it doesn't seem to work (it always sends them to Nginx):
frontend all 0.0.0.0:80
timeout client 86400000
...
3
votes
1answer
787 views
Keepalived not sending mutlicast advertisments
I have two systems, both VMs. The are configured to use Bridged networking. I am trying to get keepalived to manage ownership of a VIP - 10.190.1.230. I have tried two versions of keepalived-1.2.2 and ...
2
votes
1answer
83 views
Host information with TCP port
Forgive this question, I'm a designer trying to get my head around a possible network architecture. I have a wildcard domain on example.com. The client connects via TCP to foo.example.com:1234. Is it ...
0
votes
1answer
352 views
HAproxy - Redirect issue - Uri Variables?
I'm using haproxy 1.5dev3 and I was wondering if there is any possible way to grab uri variables from a request to reappend the query on the end of a redirect url?
What I'm trying to do is redirect ...
0
votes
2answers
1k views
a load balancing scenario using HAProxy and keepalived shows no performance advantage
I am trying to setup a load balanced web server scenario, using two HAproxy load balancers and two debian web servers following this guide ...
0
votes
1answer
273 views
Best way for Linux site and Database redundancy
I am looking to set up a redundant network that uses a load balancing solution to redirect traffic between two servers. The load balancer I will use is HaProxy.
Example:
Traffic -> Haproxy -> Server1 ...
4
votes
1answer
2k views
hardware recommendations for HAProxy for a small or medium traffic site
I am interested in setting up HAProxy for use as a load balancer for a set of small traffic web applications. The use is growing and might become medium sized in the near term (6 months or so). Mainly ...
2
votes
3answers
2k views
HAProxy check says server is down when it is up
I am trying to setup 2 Glassfish servers in a load balanced configuration using UCARP and HAProxy
Server1 has 2 IPs x.x.x.17 and x.x.x.18
HAProxy is listening on only x.x.x.18 and Glassfish ...
0
votes
1answer
498 views
HAProxy forwards the statistics request to the backends
sometimes the HAProxy instance forwards the Statistics Report request to the backends instead of serving the statistics by itself.
i've tried with the following versions:
1.3.15.2
1.3.18
1.3.22
...