# Add Cluster Node with same IP after removing the old one.

**URL:** <https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, managed-cluster\
**Created:** [June 21, 2024, 11:51am UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254 "2024-06-21T11:51:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [June 21, 2024, 11:51am UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254/1 "2024-06-21T11:51:26Z")

</div>

Hello.

We want to upgrade the OS of Dynatrace Cluster Nodes. But we want to create new VMs with the latest OS version instead of “in-place” upgrade. After that install the Dynatrace Managed and join them to the Dynatrace Cluster.

Since we do not want to create new network rules, the IPs of the new VMs should be the same as the old ones. Migration should then be addressed by removing an old node and attach a new one so that one common IP will be live at any moment. Allow the new VM to synchronize and then proceed with the next VM and so on until we are done.

My question is if this is going to work? Or Dynatrace will consider the IP binded to the old VM and reject the new Nodes?

Thank you.

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [June 21, 2024, 12:06pm UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254/2 "2024-06-21T12:06:08Z")

</div>

As you will be removing the node from the cluster. And upgrading the OS then adding to the cluster. Then it should work without issues.

but you have to consider the number of cluster nodes after removing the node so I won’t impact the cluster

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [June 21, 2024, 12:40pm UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254/3 "2024-06-21T12:40:53Z")

</div>

Hello Esam. There will be new nodes. We will update the old ones. That is why I am not sure if the cluster will accept existing IPs on new Nodes.

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [June 21, 2024, 2:47pm UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254/4 "2024-06-21T14:47:54Z")

</div>

Hi&nbsp;[@Theodore\_x86](https://community.dynatrace.com/user/50066)&nbsp;,

so you will be adding new nodes before upgrading? The old IP addresses can be re-used without any issues

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [July 4, 2024, 10:07am UTC](https://community.dynatrace.com/t/add-cluster-node-with-same-ip-after-removing-the-old-one/46254/5 "2024-07-04T10:07:43Z")

</div>

Hello&nbsp;[@Theodore\_x86](https://community.dynatrace.com/user/50066)

There is some guides you need to follow if you want to remove/add a cluster node not lose the data or face any service interruption. please check below document for more details.

> **[Remove a cluster node](https://docs.dynatrace.com/managed/managed-cluster/operation/remove-a-cluster-node)**
>
> Learn how to remove a new cluster node using either the command prompt or the Cluster Management Console.

I do recommend using the backup restore method for such purpose, it will save you the time effort.

> **[Backup and restore a cluster](https://docs.dynatrace.com/managed/managed-cluster/operation/back-up-and-restore-a-cluster)**
>
> Understand the steps and commands required to restore a Dynatrace Managed cluster.

Thanks,

Islam
