Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

DNode Replication Factor

SA-28895

Summary



According to the DNode Operations Guide (attached page 11) the replication factor can be changed using this approach

Replication Factor
The replication factor is 3 (each row has its original instance, plus two replicas). To change the replication factor, run
the ALTER KEYSPACE CQL command to configure the new replica placement strategy. Assuming a cluster size of 5
or higher, the following command changes the replication factor from 3 to 5:
ALTER KEYSPACE data WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 5
};

The factor needs to be changed in the Pre-production and Production environments but we have no tool installed that would allow this technique to be sued and therefore the replication factor to be set down to 1

The question is this the only way and what is the recommended utility (NodeTool)?


Error Messages



Not Applicable


Steps to Reproduce



Not Applicable


Root Cause



Incomplete documentation.

Resolution



Use csqlsh tool available in the cassandra distribution.

 

Published October 27, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us