29 Jun 2020 11:43 AM
Hi,
I have a question of load balancing of Web UI on the environment of Managed server clustering. (This question was asked from our customer. ) I understand the load balance of Agent is controlled with Agent side information. But I can not understand the Load balancing of "Web UI side" yet.
So, How does the Web UI control the load balancing? (or do we have to set the other load balancer component for Managed server clustering?)
Regard,
Yasuo Ohnishi
Solved! Go to Solution.
29 Jun 2020 11:51 AM
Take a look at my (very old, but still current) blog post on dynatrace managed session affinity and stickyness: https://www.dynatrace.com/news/blog/session-stickiness-persistence-across-dynatrace-managed-cluster-...
In general you can set up LB in front on cluster. You need to make sure to have up-to-date node IPs that are accessible by your users. For the "health" you can use "/rest/health" endpoint.
Also redirect the traffic always to :443 port (NGINX).
29 Jun 2020 01:45 PM
Hi Radoslaw,
Thank you for your replay, I understand the load balancing is controlled with nginx.
But, if the cluster is consisted with 2 node and one server is down, the user have to access with the live server' IP address?
So, If the user does not have Load barancer, is it necessary to switch the node's IP address for WebUI?
Regards,
Yasuo Ohnishi.
29 Jun 2020 03:31 PM
That is true. That's why an external LB is helpful here. NGINX will redirect to the other node if the server is UP there. If whole node is down - then you'll end up in "Not found".
16 Dec 2021 02:45 AM
Hi Radoslaw,
How to config "health check" in nginx? According to the official https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/ Nginx supply http ,but our DT CLUSTER is https.