Reverse proxy or load balancer for OneAgent
A reverse proxy/load balancer can be placed on the path from OneAgent to ActiveGate. You need to configure the URL of the load balancer on the ActiveGate so OneAgents can use that endpoint to connect to the ActiveGate.
There is no need to configure OneAgent to use a reverse proxy. OneAgent uses a list of communication endpoints that are embedded in the installer to connect to the environment. ActiveGate reports to OneAgent the URL that is used to configure OneAgent installation.
Configure during installation
Linux only
On Linux systems, you can configure a reverse proxy or load balancer for OneAgent by specifying the installation parameters during ActiveGate installation. For details, see Customize ActiveGate installation on Linux.
Configure after installation
To specify the reverse proxy address after ActiveGate installation
-
Stop the ActiveGate and edit the
custom.properties
file in the ActiveGate configuration directory. -
Configure the
dnsEntryPoint
parameter in the[connectivity]
section using the following format:dnsEntryPoint = https://<DOMAIN>:<PORT>
where
<PORT>
is optional and defaults to443
. For example:[connectivity]dnsEntryPoint = https://address.of.my.lb.com:9999To specify multiple target addresses to which the OneAgent connects, use a comma-separated list. For example:
[connectivity]dnsEntryPoint = https://address.of.my.lb-1.com:9999,https://address.of.my.lb-2.com:9999 -
Save the
custom.properties
file and restart the ActiveGate main service.
Verify the configuration
To verify the configuration
-
In Dynatrace, go to Deployment Status > ActiveGates.
-
Expand the row for your ActiveGate and check the Load Balancer property in the Properties section.
You can filter the ActiveGates page by
Load Balancer address
.