New answers tagged

3

Now my question is, is it possible to point that IP to my domain name? Yes, RDNS - reverse lookup. It is not really relevant though, because... they need a static IP. If they need a static IP, then they need a static IP. Likely their system is simlly programmed not to use any DNS lookup at all, and playing around with more unusual DNS setups is ...


0

No, this is not possible at all (to be clear: Not possible for your use case. See TomTom's answer where he talks about RDNS. This is not what you want). Depending on the protocol, you could set up a load balancer on one static IP address and then forward the requests to multiple other servers.


0

Since I cannot seem to get this to work and I don't want to pay the high fee for nginx plus support. I removed the module nginx-goodies-nginx-sticky-module-ng and patched my nginx installation with https://github.com/kriegsmanj/nginx_upstream_check_module (check_1.9.11+.patch) This seem to have fixed my problem. The node is still considered up by ...


0

Not sure if this still works but I came across this: https://github.com/gnosek/nginx-upstream-fair


1

Couldn't you implement Spring Session backed by a replicated redis cluster on both Node A and B? If you then configure both nginx instances to load balance over all 4 tomcat instances then you can shutdown or crash any tomcat server at any time and nginx will just use the next server to serve your request? This is assuming Node A and B can connect to all 4 ...


1

It seems that: iptables -A PREROUTING -t mangle -i eth0 -m cluster --cluster-total-nodes 2 --cluster-local-node 1 --cluster-hash-seed 0xdeadbeef -j MARK --set-mark 0xffff iptables -A PREROUTING -t mangle -i enp1s0 -m cluster --cluster-total-nodes 2 --cluster-local-node 1 --cluster-hash-seed 0xdeadbeef -j MARK --set-mark 0xffff helped to get it running.


0

That's not how load balancing works. A load balancer distributes incoming connections towards the server behind it to ensure the minimum amount of work for each one of them. For example: let's say that there are 10 incoming connections, and you have 3 load-balanced servers; your load balancer will send 3 connections to the first server, 3 connections to the ...


1

Well, I guess, because you're using two upstream groups, the state isn't shared between the two groups. Right now I can't test this further, but here are some ideas of mine: Use one upstream group, inspect the $scheme, leverage map with a variable to assign the correct ports to the $scheme (either http or https), and use this variable in your server ...


2

Yes, CookieBasedAffinity is the setting that enables sticky sessions, and it should be set to true, with round robin used for new connections, as per the table in that document:


0

Introduction 64k concurrent IDLE connections is peanuts for HAProxy and Erlang. The first thing to do is enable the statistics page on HAProxy. It is a MUST have for monitoring and performance tuning. Then let's get into limits. The OS Connection Limit There can only be 1 connection per tuple client_IP:client_PORT:server_IP:server_PORT. It comes from ...


0

From http://www.unc.edu/atn/lsf/docs/7.0.5/lsf_config_ref/index.htm?hosts.5.html~main IPv4 Example 192.168.1.1 hostA hostB 192.168.2.2 hostA hostC host-C In this example, hostA has 2 IP addresses and 3 aliases. The alias hostB specifies the first address, and the aliases hostC and host-C specify the second address. LSF uses ...


0

So DNS load balancing is an option but the issue is if one of the backend servers dies it is still in the mix unless you do health checks. That gets more costly What you should do is use an ELB in front of your ec2 instances and that is your load balancer. You point the hostname of the endpoint to the ELB hostname given by Amazon. The ELB will scale up to ...


1

Caching on the web server is usually far more effective than caching using a Wordpress plugin. I have a Wordpress/Nginx caching tutorial for Nginx, but it's possible using Apache as well. This article goes into microcaching, which is helpful if your content changes rapidly. Most Wordpress blogs are fine cached, you just exclude logged in users from the ...


0

These values are pretty normal for a site with 200+ concurrent visits. With such traffic, a dedicated server would be recommended. In the meantime, You can install the free Wordpress plugin named WP Super Cache. Choosing the best configuration may require analyzing your business logic, but you can setup the plugin following these hints: Cache mode = ...


1

With the assistance of a few friends helping me research this, I was FINALLY able to get it working. Had to run this script in order to properly forward TCP/IP traffic: #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin # Primary Connection - 2085426230 IF1=eth0 IP1=172.16.0.2 P1=172.16.0.1 P1_NET=172.16.0.0 # Secondary Connection - 2085420213 ...


0

I found the answer for this. It is possible to change the netscaler load balancer configuration to route to specific servers based on url


0

Here's a document that explains the algorithm for a Cisco 3750, 4500 and 6500. It's too long to quote here.


0

Just a heads up, you don't need to have the client bundle on the controller node to execute the docker exec command. The --cacert /etc/docker/ssl/ca.pem --cert /etc/docker/ssl/cert.pem --key /etc/docker/ssl/key.pem options refer to the certs that are inside the ucp-kv container. As for the nginx issue, I'm running into the same thing. I will come back if ...


1

If it works locally - eg, going around the LB then I would guess that the LB is not configured to pass requests to the backend servers on that port. Your LB will need some new rules to route traffic to you backed hosts based on the destination port your service is listening on, see AWS for more help with this ...



Top 50 recent answers are included