无需停机即可将生产环境 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.
问候,维维克
推荐答案
在 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屋!