Is there any instance cloning for cassandra. It means from production to a lower environment(development or testing env). If supports, how can we achieve it
Cassandra does not provide a cloning feature that is you're probably thinking of. This is because creating an image of a node then cloning it means that it contains identical configuration. If a node with identical configuration (such as token allocation, cluster name, seeds and IP addresses) is brought online, it would automatically join an existing cluster which is not what you want.
Instead, you need to build a new cluster and restore the data snapshots. The high-level steps are:
nodetool refresh
to make Cassandra load the new SSTablesFor the detailed instructions, see Restoring a snapshot into a new cluster. Cheers!
7 People are following this question.
Why are rows still missing from reads after I've restored from snapshots?
Restoring archived commitlogs does not recover deleted rows
How do I migrate tables to a new cluster with a different configuration to the source cluster?
How do I migrate tables to a new cluster with identical configuration as the source cluster?
What are the minimum permissions required to create keyspaces?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use