# Migrate agents to new masters

**URL:** <https://community.icinga.com/t/migrate-agents-to-new-masters/10750>\
**Category:** Automation & Infrastructure\
**Created:** [October 6, 2022, 12:25pm UTC](https://community.icinga.com/t/migrate-agents-to-new-masters/10750 "2022-10-06T12:25:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfish](https://community.icinga.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jfish](https://community.icinga.com/u/jfish)\
**Post date:** [October 6, 2022, 12:25pm UTC](https://community.icinga.com/t/migrate-agents-to-new-masters/10750/1 "2022-10-06T12:25:06Z")

</div>

Hello,  
we are running an Icinga2 environment with multiple satellites and one master on Centos7.  
We want to migrate to a new design that is Debian based and will have a cluster design with two masters.  
Is there a way to reassign the existing agents to the new masters without having to reconfigure each individual agent?

---

<div class="post-metadata">

**Author:** ![Pooh](https://community.icinga.com/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@Pooh](https://community.icinga.com/u/Pooh)\
**Post date:** [October 6, 2022, 12:46pm UTC](https://community.icinga.com/t/migrate-agents-to-new-masters/10750/2 "2022-10-06T12:46:49Z")

</div>

I would say that the answer to this primarily depends on the answer to “how  
did you configure the existing agents?”

Also, not clear from the description above, is: do you intend to keep the  
existing satellites, or will these be removed, so that the agents talk  
directly to the new masters?

Antony.

---

<div class="post-metadata">

**Author:** ![jfish](https://community.icinga.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jfish](https://community.icinga.com/u/jfish)\
**Post date:** [October 11, 2022, 9:06am UTC](https://community.icinga.com/t/migrate-agents-to-new-masters/10750/3 "2022-10-11T09:06:53Z")

</div>

Yes, I will change all satellites. I have now understood that I have to re-migrate all agent systems.
