# Sending oneagent traffic through F5 load balacer

**URL:** <https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111>\
**Category:** Open Q&A\
**Tags:** technologies, oneagent\
**Created:** [January 15, 2019, 7:50pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111 "2019-01-15T19:50:40Z")\
**Posts on this page:** 7\
**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:** [January 15, 2019, 7:50pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/1 "2019-01-15T19:50:40Z")

</div>

We have an enviroment  
where we are monitoring 30 hosts, we have F5 load balancer and we would like to  
load balance the Oneagent traffic to Dynatrace Managed Server without  
installing environment ActiveGate, how can I set the agent to send traffic to  
the virtual IP or domain of the F5 load balancer?

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 15, 2019, 9:15pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/2 "2019-01-15T21:15:51Z")

</div>

There is no such option to force oneagent send data though some other ip than the one belongs to ActiveGate or Cluster.

Sebastian

---

<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:** [January 15, 2019, 9:20pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/3 "2019-01-15T21:20:47Z")

</div>

You are monitoring just 30 hosts. Do you have a multi-node Dynatrace cluster? If not, what is the purpose of putting an F5 for load balancing? You effectively cannot manage the endpoint addresses the agent is connecting to. This can be only by done mangling your /etc/hosts or DNS) as the list of endpoint URLs is sent to OneAgents by Dynatrace server.

However, Dynatrace handles load balancing pretty solid by itself, so I don’t think you need a load balancer at all between agents and cluster.

Unless you are forced to do the content inspection (which would be much simpler to configure with using HTTP proxy anyway) I’d definitely not recommend to put any components into the communication.

---

<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:** [January 15, 2019, 9:48pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/4 "2019-01-15T21:48:22Z")

</div>

Thank you [@Julius L.](https://answers.dynatrace.com/users/16467/view.html) and how is the communication handled for cluster ActiveGates when enabling Mobile RUM? described in scenario 3 on documentation where load balancers are in place:

[https://www.dynatrace.com/support/help/deploy-dynatrace/managed/installation/managed-deployment-scenarios/](https://www.dynatrace.com/support/help/deploy-dynatrace/managed/installation/managed-deployment-scenarios/)

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 15, 2019, 9:57pm UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/5 "2019-01-15T21:57:21Z")

</div>

You can have LB before ActiveGate if you have more than one. Then you will put proper ip address of LB inside mobile RUM configuration. But Generally LB is not mandatory there, you can have single AG and make it public on port 9999.

Sebastian

---

<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:** [January 16, 2019, 7:27am UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/6 "2019-01-16T07:27:43Z")

</div>

Actually, I don’t think you are able to specify multiple endpoint URLs for the beacons for Mobile RUM in case you have multiple cluster activegates. Thus you will need to somehow load-balance the connections or do at least the fail-over on server side. (Beacon URL gets inserted into the application at instrumentation time).

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 16, 2019, 7:57am UTC](https://community.dynatrace.com/t/sending-oneagent-traffic-through-f5-load-balacer/19111/7 "2019-01-16T07:57:05Z")

</div>

This is what I’ve had in mind 🙂

Sebastian
