05 Sep 2019 10:08 AM - last edited on 28 Jun 2021 03:14 AM by MaciejNeumann
we have 2 environments in place QA and PROD in Dynatrace Managed. we are using the QA very limited purpose only. if there is a requirement to perform monitoring in QA , Can we switch the one Agent(s) from PROD to QA? if it is Possible, How fast we can do?
any documentation or screenshot available, please share the same.
Solved! Go to Solution.
We'll need a bit more clarification to answer your question. I envision two use cases, please clarify which use case fits your situation.
1) HostA currently has OneAgent installed and is configured to report to Dynatrace Environment1. You want to know how to have HostA data report to Dynatrace Environment2.
2) You have two hosts, HostA, HostB. You currently have OneAgent on HostA. You want to move this OneAgent to HostB.
Thanks for clarifying your situation.
Do you mean license wise or a OneAgent installed on a server?
You need to update environment identifier and token in OneAgent configuration file and restart OneAgent.
I have unterstood how to move the environment identifier. But how do I know the new token?
@larrieu_alex1 please use the oneagentctl command on the node to get and set the server , environment and token parameters.