I need a recommended way how to move physical Cassandra nodes (with the existing data) from the current data center to a new data center without data loss and downtime. That means that the IP and Hostname will change for each machine.
here some key data of our Cassandra environment
- we have 20 nodes divided into two datacenters (10 nodes per DC)
- we are using (endpoint_snitch: GossipingPropertyFileSnitch)
- we replicate data between DC {'class' : 'NetworkTopologyStrategy','ProdDC2' : 3,'ProdDC3' : 3}
our approach per cluster would be:
- shutdown cassandra
- dismantle the physical server and move it to the new datacenter
- change ip address according this document
- start cassandra.
Will this approach work?
Many Thanks