# Load balanced cluster ActiveGates for mobile RUM

**URL:** <https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986>\
**Category:** Dynatrace Managed\
**Tags:** installation, dynatrace-managed, mobile-monitoring\
**Created:** [October 13, 2021, 3:56pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986 "2021-10-13T15:56:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [October 13, 2021, 3:56pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/1 "2021-10-13T15:56:55Z")

</div>

We will implement a Dynatrace Managed architecture as described on scenario 3 on documentacion:

[Managed deployments](https://docs.dynatrace.com/managed/shortlink/managed-deployment-scenarios)

That is, 2 cluster ActiveGates balanced by an F5 load balancer. What is the required configuration on Dynatrace for this deployment? just communication settings that need to be done on Dynatrace Managed, we already know how to instrument the mobile app. We want a use the certificate provided by Dynatrace for the Cluster ActiveGate URL

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [October 14, 2021, 11:01am UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/2 "2021-10-14T11:01:02Z")

</div>

Hi Alejandro, we have a customer with the same setup.&nbsp;  
I believe the base with pointers is already described in this topic:  
[How to use Cluster Active Gates with Load Balancer for Agentless Monitoring - Dynatrace Community](https://community.dynatrace.com/topic/162945)

Mind you, you will want to load the SSL certificate on the loadbalancer, and configure in Managed the endpoint to be the address, logical (e.g. [cag.yourcompany.com](http://cag.yourcompany.com)), of the loadbalancer.  
Technically the loadbalancer can forward to CAG’s unsecured (http port need to be enabled) or secured to the https port (9999). I don’t think that the F5 LB needs a proper certificate on the CAG’s.

Another thing to be aware of: the default port for CAG is port 9999. But since that is not a common port, and in lots of organizations would require opening it in firewalls for outgoing connections, it’s strongly suggested to open the public side of the loadbalancer on port 443. (e.g.&nbsp;cag.yourcompany.com:443)

I have learned, since the customer has the F5 Loadbalancer combined with the F5 Application Security Manager (ASM), as WAF, that the strict policies applied needed additional configuration/loosening in the WAF to properly enable Agentless RUM and Synthetic data to be delivered to the Managed Cluster Activate Gates. Else CORS errors will show (F12) in wegpages with agentless rum Javascript inserted, or synthetic test results from public locations not received.

---

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [October 14, 2021, 3:09pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/3 "2021-10-14T15:09:42Z")

</div>

Thank you, does any type of persistence need to be set on the Load balancer?

---

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [October 14, 2021, 3:27pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/4 "2021-10-14T15:27:58Z")

</div>

Also another question, do we need to set the DNS entry of the load balancer on the cluster activeGates?

 ![alejandro_herna_0-1634225273014.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/8/d8029630ad3b77e4ba70018a2a6972a93584506e.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 14, 2021, 4:23pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/5 "2021-10-14T16:23:12Z")

</div>

No, you don’t need to set this. Actually, the dnsEntryPoint configuration option is for publishing this value for OneAgents to connect. This will be propagated into the server address list.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 14, 2021, 4:24pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/6 "2021-10-14T16:24:22Z")

</div>

No, there is no requirement for any sticky sessions. You can choose load balancing algorithm of your choice.

---

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [October 14, 2021, 4:26pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/7 "2021-10-14T16:26:04Z")

</div>

Thank you [@Julius\_Loman](https://community.dynatrace.com/user/3364)! do we need to set any type of persistence/stickiness on the load balancer?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 14, 2021, 4:27pm UTC](https://community.dynatrace.com/t/load-balanced-cluster-activegates-for-mobile-rum/32986/8 "2021-10-14T16:27:37Z")

</div>

[@alejandro\_herna](https://community.dynatrace.com/user/21004)&nbsp; answer from&nbsp;[@fstekelenburg](https://community.dynatrace.com/user/21639)&nbsp; is very accurate, especially highlighting the WAF. Actually, I recently ran into a bug on the F5 firmware when it blocked beacons from Synthetics tests.

I would highly recommend close cooperation with the F5 administrators on your side as there can be really strange reasons for some data not reaching the Cluster ActiveGates due to some F5 settings.
