Best Practices for Dynatrace Managed Cluster Node Removal and Re-Addition During DC Relocation

Hi Dynatrace Community,

We have a 6-node Dynatrace Managed cluster (3 nodes in DC and 3 nodes in DR). As part of our DC relocation activity, we need to temporarily remove 3 nodes and add them back once the relocation is completed.

Our cluster has a local quorum requirement of 4.

Could you please share the recommended approach and best practices for node removal and re-addition? Specifically, we would appreciate guidance on quorum management, node removal sequence, data retention, cluster stability, and precautions to follow when adding the nodes back.

Any practical experience, official documentation, or expert recommendations would be highly appreciated.

Thanks in advance!

Hello @Sohel_Rashid

With a quorum of 4, taking 3 of 6 nodes offline means the cluster can no longer satisfy quorum in the normal sense. I’d treat this as a planned data center outage (or a DC rebuild), not as routine one-by-one node removal. Please confirm what “local quorum of 4” refers to in your setup. I couldn’t find that figure in the Dynatrace docs, so I’m assuming it describes the cluster-wide requirement.

Also, have a look at the following link.

Regards,

Babar Qayyum

@Babar_Qayyum Thanks for your response.

To clarify, by “local quorum of 4”, I mean that at least 4 out of our 6 cluster nodes must remain available to maintain cluster stability. If the number of available nodes falls below 4, we may face quorum-related issues and potential split-brain conditions.

We have experienced split-brain incidents multiple times in the past, mainly due to network connectivity issues between cluster nodes.

Considering this history, we are concerned about the impact of taking 3 nodes offline for DC relocation. We would appreciate your recommendation on the safest and officially supported approach for this activity, including how to maintain quorum and avoid split-brain issues. We have approximately 1,700 hosts monitored in our Dynatrace Managed environment. If we remove 3 out of the 6 cluster nodes for DC relocation, will the remaining 3 nodes be able to handle the existing monitoring workload, including data ingestion and processing, without impacting cluster stability or monitoring availability?

I would recommend to add one temporary node to your cluster in locality, which remains up. Remove it after relocation is over and 3 relocated nodes are up again.

Hello @Sohel_Rashid

One potential solution is to implement a cluster stretch without a PHA license, provided you are assured of maintaining latency below 10ms between the cluster nodes. You may add three additional cluster nodes from the new data center location and allow time for data replication. After the replication is successfully completed, you can proceed to remove the three nodes from the existing data center one at a time.

Regards,

Babar Qayyum

Hi @Babar_Qayyum

Thank you for sharing the suggestion.

Currently, we do not have a PHA license in our environment. Therefore, we are planning to proceed with the cluster node removal approach as part of the migration.

Our proposed plan is to remove the existing cluster nodes in a phased manner:

  • Day 1: Remove the first cluster node.

  • Day 2: Remove the second cluster node.

  • Day 3: Remove the third cluster node.

We will monitor cluster health and stability after each node removal before proceeding with the next one.

Please let us know if you have any additional recommendations or precautions to consider before proceeding.

Regards,
Sohel Rashid

@Sohel_Rashid be sure to follow documentation, I recommend disabling OA traffic on the nodes first, wait for the volatile data (traces / service request details) to expire (depends on your retention) and then remove the nodes. I think you still should not remove more than one in a day as you already described.

Hello @Sohel_Rashid

I believe you should not encounter any issues if you follow the recommended documented process.

Regards,

Babar Qayyum

@Julius_Loman Thanks for the suggestion.

I have followed the recommended procedure by disabling OneAgent traffic first and allowing the data to expire before proceeding with node removal.

Currently, monitoring data is coming in as expected, and all remaining cluster nodes are healthy. All cluster services are running perfectly without any issues.

I will continue to follow the recommended approach of removing only one node at a time.

@Babar_Qayyum Thanks for recommended procedure.

This is our plan: In dynatrace Managed cluster a 6 node setup relies on apache cassandra and cluster communication layers to manage consensus,replication, and network partitions(split-brain).

How Split-Brain Works in a 6-Node Cluster:

Quorum Rule

quorum based operatiosn fore reads and writes (Q = [N/2]+1) for 6-node cluster, a quorum requires [6/2] + 1 = 4 Nodes

for 5-node cluster, a quorum requires [5/2] + 1 = 3 Nodes

for 4-node cluster, a quorum requires [4/2] + 1 = 3 Nodes (Planned for DC Migration)

for 3-node cluster, a quorum requires [3/2] + 1 = 2 Nodes

Not Recommended

for 2-node cluster, a quorum requires [2/2] + 1 = 2 Nodes

REMOVAL OF 2 Nodes:

Request to remove nodes atleast 2 Nodes in DC as this will keep Quorum intact. If 1 DC goes down(Shutdown) we still have other 3 nodes running

Re-SYNCHING after a split: While the 1 node partition is isolated, the active 3-node partition logs “hinted handoffs” for the missing node. Once the Migration complete and 1 node will rejoin, the cluster automatically replays these hints to sync data. Post sync we will repair the cassandra for complete sync.

Adding other nodes:

We will add other two nodes one by one in DC. (After 72 hrs)