# Load balancer of Web UI

**URL:** <https://community.dynatrace.com/t/load-balancer-of-web-ui/19698>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, gui\
**Created:** [June 29, 2020, 10:43am UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698 "2020-06-29T10:43:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yohnishi](https://avatars.discourse-cdn.com/v4/letter/y/258eb7/32.png) [@yohnishi](https://community.dynatrace.com/u/yohnishi)\
**Post date:** [June 29, 2020, 10:43am UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698/1 "2020-06-29T10:43:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 29, 2020, 10:51am UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698/2 "2020-06-29T10:51:03Z")

</div>

Take a look at my (very old, but still current) blog post on dynatrace managed session affinity and stickyness: [What is Session replay?](https://www.dynatrace.com/news/blog/session-stickiness-persistence-across-dynatrace-managed-cluster-nodes-eap/)

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).

---

<div class="post-metadata">

**Author:** ![yohnishi](https://avatars.discourse-cdn.com/v4/letter/y/258eb7/32.png) [@yohnishi](https://community.dynatrace.com/u/yohnishi)\
**Post date:** [June 29, 2020, 12:45pm UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698/3 "2020-06-29T12:45:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 29, 2020, 2:31pm UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698/4 "2020-06-29T14:31:15Z")

</div>

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”.

---

<div class="post-metadata">

**Author:** ![chao\_wang](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chao\_wang](https://community.dynatrace.com/u/chao_wang)\
**Post date:** [December 16, 2021, 2:45am UTC](https://community.dynatrace.com/t/load-balancer-of-web-ui/19698/5 "2021-12-16T02:45:59Z")

</div>

Hi&nbsp;Radoslaw,

How to config “health check” in nginx?&nbsp;According to the official&nbsp;&nbsp;[HTTP Health Checks | NGINX Documentation](https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/)&nbsp;Nginx&nbsp;supply http ,but our DT CLUSTER is https.
