# Move hosts among activegates

**URL:** <https://community.dynatrace.com/t/move-hosts-among-activegates/37332>\
**Category:** Open Q&A\
**Tags:** activegate, hosts-classic\
**Created:** [November 17, 2022, 9:39am UTC](https://community.dynatrace.com/t/move-hosts-among-activegates/37332 "2022-11-17T09:39:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adriangomez](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@adriangomez](https://community.dynatrace.com/u/adriangomez)\
**Post date:** [November 17, 2022, 9:39am UTC](https://community.dynatrace.com/t/move-hosts-among-activegates/37332/1 "2022-11-17T09:39:11Z")

</div>

Hello,

We are trying to migrate one activegate to another with a new OS version, first we will create the new activegate and then migrate the hosts associated to the old activegate to the new activegate.

Is there any additional step needed?  
Will it automatically associate from one activegate to another after shutting down the old one?  
Is there anything else we should take into account?

Thank you very much, best regards.

---

<div class="post-metadata">

**Author:** ![andre\_f](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/andre_f/32/29172_2.png) [@andre\_f](https://community.dynatrace.com/u/andre_f)\
**Post date:** [November 17, 2022, 10:59am UTC](https://community.dynatrace.com/t/move-hosts-among-activegates/37332/2 "2022-11-17T10:59:24Z")

</div>

Hi&nbsp;[@adriangomez](https://community.dynatrace.com/user/47742)

The OneAgent automatically connects to the ActiveGate. The information is distributed from the Dynatrace cluster. Check our [documentation](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/capabilities/how-one-agent-works).&nbsp;At the end, the following is written:

“OneAgent can connect directly to Dynatrace Cluster or it can communicate via one or more Dynatrace ActiveGates. Simultaneous connection via multiple ActiveGates is possible. OneAgent determines which ActiveGates to communicate through based on the information it receives from Dynatrace Cluster.”

Once the new ActiveGate is accessible and the old one is gone, agents will use the new one. You don’t have to do anything yourself, just make sure that the ActiveGate is available for the agents.
