Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

arnulf.hanauer_193730 avatar image
arnulf.hanauer_193730 asked ·

Can we replace nodes with servers in different racks?

I need to migrate an existing node 3.11.7 to a new server in the same cluster but I also require the rack name to be changed. Can we confirm that it is not possible to merely copy the data from the old server to the new server but that I need to go through a decommission/adding a new node process because the rack name has changed.

topology
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

A change in the rack configuration is a topology change in Cassandra since the replica placement will change. As such, you cannot just copy the data from the existing node to the new server.

You are correct in stating that you need to decommission the existing node and add the new server to the cluster with a different rack configuration. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.