Questions tagged [load-balancing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
44 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 ...
0
votes
0answers
24 views

unable to change bonding mode on linux

I am going through a number of linux servers and changing them from round-robin to active-backup bonding mode. I have done this same process on around 30 other servers but one of them of them just ...
0
votes
0answers
41 views

HAPROXY connecting only one backend server

We have a serious challenge here connecting the both backend server. We can see that src is same for all the connection, hence the request are forwarded to one server. But when we try new connection ...
0
votes
0answers
19 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; ...
0
votes
1answer
19 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 ...
0
votes
0answers
39 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....
0
votes
0answers
76 views

Haproxy rate limits by URL parameter

We have a haproxy and need to rate limit per second requests to API by URL parameter(token\key). Right now we have test a configuration from documentation: frontend website bind *:443 ssl crt /etc/...
0
votes
1answer
55 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 ...
0
votes
0answers
54 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 ...
1
vote
0answers
56 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 ...
1
vote
2answers
627 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 ...
0
votes
1answer
2k 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. ...
0
votes
1answer
333 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
46 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 ...
0
votes
0answers
225 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 ...
1
vote
1answer
204 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 ...
1
vote
0answers
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....
0
votes
1answer
772 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 ...
0
votes
1answer
68 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 ...
0
votes
0answers
126 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 ...
1
vote
0answers
475 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 ...
1
vote
2answers
1k 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 ...
3
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
383 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; ...
1
vote
0answers
245 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 ...
1
vote
2answers
793 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 ...
0
votes
1answer
93 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 ...
1
vote
0answers
821 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 ...
1
vote
0answers
73 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 ...
0
votes
1answer
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 ...
3
votes
0answers
766 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:...
3
votes
1answer
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....
0
votes
1answer
406 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/...
2
votes
1answer
738 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 ...
4
votes
2answers
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 ...
1
vote
0answers
481 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 ...
1
vote
0answers
213 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....
1
vote
0answers
2k 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] (...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
723 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 ...
1
vote
1answer
442 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: ...
1
vote
0answers
118 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, ...
0
votes
1answer
175 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 ...
1
vote
0answers
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. ...
4
votes
3answers
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 ...
1
vote
1answer
567 views

load balancing multiplie services linux

I have setup multiple servers, One of them is a windows server running team speak. The other is a game server with csgo(counter strike global offensive) and lastly, one running an apache server. ...