Questions tagged [load-balancing]
The load-balancing tag has no usage guidance.
70
questions
0
votes
0answers
48 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
40 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 ...
0
votes
0answers
16 views
What is needed and how do I check if my NFS connection uses Receive Side Scaling (RSS)?
RSS allows load balancing network transfers across multiple cpu cores:
a NIC can send different packets to different
queues to distribute processing among CPUs
But which version of NFS is needed to ...
0
votes
0answers
10 views
Linux LVS reach outside issue
The website is accessible from LAN when directly connecting to real server IP. But when connecting using floating IP in LVS, website is not accessible and so no load balancing.
PS: I can see traffic ...
0
votes
0answers
175 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
0answers
30 views
CPU load and CPU usage impact on processes
I have looked into a fair bit of online forums and blogs to understand the impact of CPU load and CPU usage on processes. By
CPU Load I mean the Load average which appears in top command. 1min, 5min, ...
0
votes
1answer
166 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
0answers
12 views
HAProxy configuration problem with ports
Hi :) I have problem with HAProxy configuration.
I have haproxy and two backend servers (backend servers listen on 1234 port)
It's my haproxu config:
frontend http_front
bind *:80
backend ...
0
votes
1answer
148 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
0answers
22 views
Load balancing packets from interface to many virtual interfaces
I've got a server with interface eth0.
I'm using a black-box software (SNORT) that gets as input an interface and using a single thread analyze the packets' data.
I wish to increase the throughput ...
0
votes
0answers
10 views
Apache LoadBalancer not distributing evenly
I have an Apache 2.2 LB which I am trying to understand why all traffic is going to IP 137 mainly. I thought it was because maybe restart time, as up time was lower than others, so I did a reset on ...
0
votes
1answer
23 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
31 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
32 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
163 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
132 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
904 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
587 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
64 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
119 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
361 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
949 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 ...
2
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
1k 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
342 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
215 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
682 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
92 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
695 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
65 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
696 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
2k 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
341 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
707 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
917 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
464 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
210 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
973 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
5k 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
657 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
438 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
112 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
162 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
974 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
535 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.
...
1
vote
1answer
2k views
keepalived virtual_server - only answering on box keepalived is on
I have a flat network (no routing yet) of 3 servers, each with a service (http, mysqld, doesn't matter) listening on 0.0.0.0 (ip_nonlocal_bind and ip_forward are on) and running keepalived.
...
3
votes
2answers
8k views
Multiple IP source on single interface in Linux
We could set multiple IP addressses on single interface, for example using NetworkManager:
How to make any connection to outside of this PC to use different IP?
for example if I have 8 IP addresses (...