Questions tagged [load-balancing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

FreeIPA LDAP load balancing

I'm setting up FreeIPA servers in my home lab. A total of 3 servers. I also want to be able to load balance between these servers, or at least use DNS for this. I'm not installing IPAclient on my ...
N. J's user avatar
  • 137
0 votes
0 answers
23 views

Looking for a proxy server application that reroutes traffic based on http status code

I know that I can write what I'm describing here with Python, Go and other programming languages but I'm looking for a ready-made solution. I need an application that does this scenario: It exposes ...
wiki's user avatar
  • 101
0 votes
0 answers
92 views

VRRP+IPVS backup node cannot access its VIP: connect (113: No route to host)

I'm getting a tricky error while appending an IPVS configuration to our Loadbalancer: My Keepalived configuration is used to provide a pair of VRRP instances, and a set of real-servers which are ...
yabuki_joe's user avatar
1 vote
0 answers
325 views

Can linux load balance between multiple routes to the same subnet?

I'm looking for a way to load balance between multiple routes for the same subnet under linux. The scenario is that we have multiple Linux machines (EC2 instances) each configured with a Strongswan ...
Philip Couling's user avatar
0 votes
0 answers
95 views

What are ways to block a certain user IP address when their data is received from a load balancer and encapsulated in Proxy Protocol V2?

I have a couple of web servers behind an Amazon ELB Network Load Balancer. The load balancer replaces the source IP address of a client packet with it's own source IP address. In example, a client ...
99ytrewq911's user avatar
1 vote
0 answers
176 views

Nginx in UDP load balancing continue to send to an unreachable upstream server

I use Nginx to load balance traffic coming from udp syslog sources to logstash Configuration : user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; ...
Atreiide's user avatar
0 votes
1 answer
57 views

Constant concurrent connections drain my server storage

I apologize in advance if this question is in a wrong forum, this is my first question here! My client has hosting with Aliyun Cloud (Alibaba Cloud in China). I've deployed a microsite to their ...
Siniša's user avatar
  • 111
0 votes
0 answers
81 views

Can I have multiple routes to the same remote LAN?

I am trying to connect two pfsense boxes with multiple OpenVPN tunnels. Currently, automatic route update makes only one route route active. For example, I am connecting 192.168.10.0/24 and 192.168.33....
Dims's user avatar
  • 3,007
0 votes
1 answer
294 views

Haproxy: replace any active failing server with backup

My haproxy configuration is like this: backend my-liveBackend timeout connect 5s timeout server 600s mode http balance uri len 52 server my-live-backend1 10.80.1.161:8080 ...
Gui13's user avatar
  • 168
0 votes
0 answers
61 views

website STILL need to redirect from HTTP to https after Nginx redirect config

I use AWS EC2 to build a website using load balancer. However, the pentesting result shows that the website still could be reached by http. I have checked that in the Nginx config file, we does have a ...
Django's user avatar
  • 1
1 vote
0 answers
191 views

linux server sudden slow downs without high load

I have a web server with the following specs: i7-4770K, 32GB RAM, 500GB SSD (1000 Mbit/s connection). The server is dedicated for the server side of an Android dating application. The app has around ...
Merry Smith's user avatar
1 vote
2 answers
1k views

keepalived no route to host, firewall issue?

I have a simple two server config of keepalived. The master/backup selection is working fine but I can't connect to the VIP from the backup server. When I try connecting, on the master I can see ARP ...
user693861's user avatar
0 votes
1 answer
3k views

How to NGINX reverse proxy to backend server which has a self signed certificate?

I have a small network with a webserver and an OpenVPN Access Server (with own webinterface). I have only 1 public ip and want to be able to point subdomains to websites on the webserver (e.g. ...
CodeNinja's user avatar
  • 181
0 votes
1 answer
602 views

L4 balancing using ipvs: drop RST packets - failover

I have a L4 ipvs load balancer with L7 envoy balancers setup. Let's say one of my L4 balancers goes down and thanks to consistent hashing the traffic which is now handled (thanks to BGP) by another L4 ...
Diavel's user avatar
  • 21
0 votes
1 answer
96 views

HTTPD load balancer shows duplicated information about nodes

I have enabled the HTTPD LoadBalancer Manager as: <location "/balancer-manager"> SetHandler balancer-manager allow from all </location> But when I access the HTTP ...
Jorge Cornejo Bellido's user avatar
0 votes
0 answers
113 views

NAT: accept a connection and then forward it?

In linux (or BSD), is it possible to accept an incoming connection, read the first payload packet, and then forward the connection to another server based on the contents of that packet? I'm not blind ...
Sophit's user avatar
  • 101
0 votes
0 answers
81 views

haproxy setup is not working when resource utilization become high

We are using HA proxy v2.3 in our organization for load balancing our apache application servers. Three web application servers are configured in haproxy. When any one of the web application server ...
Arun Thampi's user avatar
0 votes
0 answers
322 views

Trying to pscp a pem file from windows machine to Brocade adx 1000

Brand new to Brocade or any switch, I managed to configure load balancing without ssl and now working on ssl enabling. I have a PEM file on my IIS server and I try to copy this to the switch using ...
WhatsInAName's user avatar
1 vote
1 answer
252 views

HAProxy ignores nbproc

In our test environment we've identified a strange HAProxy behavior. We're using the standard RHEL 7 provided haproxy-1.5.18-8.el7.x86_64 RPM. According to our understanding, the total number of ...
Jaroslav Kucera's user avatar
1 vote
0 answers
1k views

nginx load balancer and kafka rest proxy

I use Kafka rest proxy and I want behind load balancer nginx. I have one topic in cluster Kafka(three nodes) and Produce a message with JSON data curl -X POST -H "Content-Type: application/vnd.kafka....
pyramid13's user avatar
  • 599
0 votes
1 answer
1k views

Apache load balancer always redirect

I set the LoadBalancer in Apache 2.4.6 (CentOS), it works well except one thing. When the user open the alias of Apache server, it anytime redirect the user to another server when click somewhere on ...
Feriman's user avatar
  • 909
0 votes
1 answer
74 views

Detect bot on AWS

We use angular for our front end, our compiled dist folder is uploaded to an S3 bucket which is connected to a load balancer. In order for our site to be rendered correctly for search engine bots we ...
Aderemi Dayo's user avatar
0 votes
0 answers
181 views

Accessing a Kubernetes service using nodePort from external load balancer

When I expose the kubernetes service using nodePort , then I can access the port/service using any workder node IP:PORT , even if the service is just actually running on just one node. What would be ...
Ijaz Ahmad's user avatar
  • 7,076
1 vote
0 answers
523 views

NGINX -> varnish load balancer -> Apache SSL connection = BAD REQUEST

This is my setup : Server 1 = Nginx is receiving the request on port 443 and is used as a reverse proxy to send it to Varnish 5, on the same server on port 80. Varnish is load balancing requests on ...
GregOs's user avatar
  • 111
1 vote
2 answers
2k views

nginx load balancing doesn't work [closed]

I have experience the problem in nginx load balancing configuration. the load balancing server doesn't want to forward into any backend server. I set the server configuration as below: Hostname ...
Phann's user avatar
  • 11
3 votes
1 answer
2k views

Do multiple entries for nslookup imply load-balancer via DNS?

I'm reading about the differences between a load-balancer implemented at the DNS level vs having a single DNS entry which forwards to a load-balancer. I found this Q&A particularly useful: I'm ...
Philip Kirkbride's user avatar
0 votes
1 answer
2k views

distribute the JVM across a cluster of machines

Grasping at straws for search parameters and terminology. The key attribute to the JVM is the V for virtual (at least within the context of this question). How do you span a JVM across a cluster of ...
Thufir's user avatar
  • 1,810
0 votes
1 answer
475 views

CARP Interface Doesn't Respond to Traffic

I have two OpenBSD boxes on running as Gen1 VMs on Hyper-V 2016; the VMs are split across two Hyper-V hosts. The NICs associated with the CARP pseudo interface do have MAC address spoofing enabled; ...
user avatar
1 vote
0 answers
296 views

Download Booster: combine ethernet and WiFi bandwidth (load-balancing internet connections)

I'd like to know and how I can use simultaneously two (or more) internet connections, i.e. Ethernet, WiFi, but also 3G/LTE, ... For example, I would use Ethernet from my ADSL router and WiFi from an ...
mattia.b89's user avatar
  • 3,104
1 vote
2 answers
913 views

NGINX LoadBalancer not working, only pulling up default index.html site on LB, not upsteam servers

I setup an NGINX loadbalancer in front of 2 tomcat servers on a Cent7 system. When I try to pull them up from the LB, I just get the default index.html NGINX page from the default installation. I've ...
saleetzo's user avatar
  • 560
0 votes
1 answer
96 views

nginx tcp balancer + exchange

My Nginx works like tcp balancer between users and Exchange cluster. Every thing works fine, but I'd like to add active checks. For example IMAP service, after TCP session initiation service return ...
Alexey Gorbachev's user avatar
1 vote
0 answers
936 views

FreeBSD load balancer implementation

I have a program, which cannot be used in multiprocess\multithread mode, so it eat one CPU core, others cores are free, but RAM and network bandwidth usage near to 10% from max. The server for the ...
user1024's user avatar
1 vote
0 answers
86 views

How to add ngnix behind haproxy server

I have setup nginx web server and I want to do the load balancing using haproxy server. I have done these using apache but unable to do it for nginx. Below the apache settings which are working for ...
beginnertopython's user avatar
0 votes
1 answer
1k views

can i configure an apache VirtualHost Proxy BalancerMember as failover-only (e.g. hot/warm)?

i currently have a VirtualHost configured to load balance between 2 servers. however, to avoid race conditions that occur when both instances are active, i would like to switch to a hot/warm ...
james turner's user avatar
3 votes
0 answers
828 views

10GBit Ethernet network mesh switch with brouting and "VLAN"

I want to create a mesh network with 10GBit Ethernet links between servers and a switch stack capable of distributed trunking. In this scenario for a number n>2 (but typically 2<n<6) imagine:...
Alex Stragies's user avatar
3 votes
1 answer
3k views

Reverse SSH Tunnel

I have a gitlab server on my local network and a server that I can ssh to from outside my network. Is there a way I can configure the server, that I can SSH into, so that when I use: ssh git@git....
agustaf's user avatar
  • 133
0 votes
1 answer
441 views

Memcached Issue connection lost in between Centos

I have a application server on with I m running load balance with nginx.. my memcached is getting crashed in between. below is my memcache.conf file. # memcached.conf port=11211 pidpath=/apps/home/...
Vinood NK Maheshwari's user avatar
2 votes
1 answer
793 views

Using a load balancer instead of Apache to throttle transactions from specific IP's

I have two Apache instances behind a load balancer that I transfer the requests to, depending on the request type. Now what I want: when I get too many transactions from an IP address, I want to ...
Developer's user avatar
  • 237
4 votes
2 answers
1k views

Why does my cpu never get past 60-70% cpu usage? Where is the bottleneck?

In my CPU graph thingy, I have noticed recently that when compiling stuff I can never seem to reach 100% usage, it just keeps bobbing up and down around 60-70% max. Example: In contrast, this graph ...
Harald H's user avatar
1 vote
0 answers
495 views

How to make load balancing work from the pfSense box itself?

pdSense is a special distro of FreeBSD for routing. It supports limited multi WAN load balancing, i.e. it is possible to configure pfSense so that each next request will connect via different WAN ...
Dims's user avatar
  • 3,007
1 vote
0 answers
231 views

How to route to Virtual IP as gateway

I have environment on Centos 6.7 Final, 2 Loadbalancer failover (Haproxy, keepalived), 3 Web Server (nginx - PHP-Fpm). LB1 (Public x.x.x.233, Private 10.110.120.21), LB2 (Public x.x.x.235, Private 10....
Pathic's user avatar
  • 139
1 vote
0 answers
3k views

Apache Load Balancer Timeout

We have two httpd servers running on RHEL 6 behind a hardware load balancer We are getting timeout errors in our httpd error log. [Fri Feb 19 15:06:49.823372 2016] [proxy_http:error] [pid 15760] (...
Zama Ques's user avatar
  • 3,106
1 vote
1 answer
1k views

HTTP Session Management while using Nginx as in “Round Robin” mode Load-balancer?

I'm trying to load-balance "2 Web Servers (running Apache/PHP)" by putting nginx in front of them. But I need to use Round Robin algorithm but when I do this, I can't manage to have the stable ...
夏期劇場's user avatar
  • 1,561
0 votes
1 answer
6k views

Understanding retry value in Apache Load Balancer Configuration

We are using mod_proxy to balance load between our backend servers . We have different setup and some of the backend servers either runs on tomcat\jboss. The balancer configuation is as follows ...
Zama Ques's user avatar
  • 3,106
0 votes
1 answer
754 views

Running crons on a scaled mirrored servers (cron logic needed) [closed]

I have a client running on Rackspace, they have three servers that are synced together entirely, I've added a bunch of crons in the crontab using wget to the web address of the cron (that sync to each ...
Braunson's user avatar
  • 103
1 vote
1 answer
460 views

How to load balance mutiport traffic using HAProxy

I have 2 servers that host an application that listens to mutiple ports. Is there a way to load traffic between these servers using HAProxy? I tried this in configuration, but it didn't work: ...
HaTiMuX's user avatar
  • 305
1 vote
0 answers
132 views

How to Limit the hit-rate of connection for "X-Forwarded-for" IPs?

I have Apache, which is behind the Amazon ELB which forwards the IPs as in "X-Forwarded-for" header. I found some articles around to do the hitrate limitation but i doubt they are all for real IPs, ...
夏期劇場's user avatar
  • 1,561
0 votes
1 answer
188 views

Apache loadbalancer not serving requests intelligently

My Apache LB is serving requests to a failed node as well. Am I missing something? worker.list=node1,node3,loadbalancer worker.node1.port=8009 worker.node1.host=10.0.0.17 worker.node1.type=ajp13 ...
Srik's user avatar
  • 1
1 vote
0 answers
1k views

OpenVPN load balancing

The question is in general about the best practices. VPN network has to manage about a thousand of simultaneous connections, so there is a problem in load balancing over several OpenVPN servers. ...
Anatoly Maltsev's user avatar
4 votes
3 answers
1k views

KeepAliveD Documentation

I am looking for a consolidated documentation for KeepAlieD. My apologies if this is not the right place to ask this question. However, even after extensive googling for 2 days, i could not find a ...
slayedbylucifer's user avatar