cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change active gate ip address in custom properties file of oneagent

Abidyaseen
Participant

How to change active gate ip address in custom.properties file of oneagent

2 REPLIES 2

Malaik
DynaMight Champion
DynaMight Champion

What You mean?

the ActiveGate where the OA is pointing?

If you have multiple AG and you want to use specific one for specific OA,

 

- User the Network Zones.

Sharing Knowledge

Esam_Eid
Contributor

Hi @Abidyaseen ,

you can use oneagentctl commands to change the Activegate IP

Use the --set-server parameter to set a OneAgent communication endpoint. Use the IP address or name. Depending on your deployment, it can be a Dynatrace Server, Dynatrace Managed Cluster, or ActiveGate.

Run the following command to adjust OneAgent connection settings:

  • Linux or AIX:
    ./oneagentctl --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com
  • Windows:
    .\oneagentctl.exe --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com

To define multiple endpoints, separate them by semicolon and add the quotes. For example, --set-server="https://server1;https://server2"

after that you have to restart the agent

https://docs.dynatrace.com/docs/shortlink/oneagentctl#oneagent-communication 

 

Hope this helps

 

BR

Esam Eid 

Featured Posts