无需停机即可将生产环境cassandra集群移至AWS cassandra [英] Move production env cassandra cluster to AWS cassandra without downtime
问题描述
我有4个节点的cassandra集群在本地DC中的生产环境中运行.我必须将其移至AWS cassandra.由于某些原因,我不想将cassandra移至dynamoDB.
I have cassandra cluster of 4 nodes running in production environment in on-premise DC. I have to move it to AWS cassandra. I don't want move cassandra to dynamoDB due to some reason.
使用的Cassandra版本相当旧,即1.2.9.
Cassandra version used is pretty old i.e. 1.2.9.
如何将cassandra从本地DC迁移到AWS cassandra,而不会造成数据丢失和零停机时间.
How do I move cassandra from on-premise DC to AWS cassandra without data loss and zero downtime.
关于, Vivek
推荐答案
在AWS中创建新的DC.在两个DC之间配置DC间同步.拆除旧的DC.
Create a new DC in AWS. Configure inter DC sync between the both DCs. Decommision the old DC.
https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html
这篇关于无需停机即可将生产环境cassandra集群移至AWS cassandra的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!