Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How to change default replication factor for Cassandra keyspaces

28 views9 hours ago
1
Jan-Terje Larsen168 15 hours ago 0 Comments

When Dataminer creates new keyspaces in Cassandra it does set the RF for each datacenter to 3. Ie something like this:

CREATE KEYSPACE sldmsdb_state_changes WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter-A': '3', 'datacenter-B': '3'} AND durable_writes = true;

How can I change this default behavior?

Paulo Henriques [SLC] [DevOps Advocate] Answered question 9 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Paulo Henriques [SLC] [DevOps Advocate]1.46K Posted 9 hours ago 0 Comments

Hi Jan-Terje,

You can also check the current replication factors with:

SELECT keyspace_name, replication
FROM system_schema.keyspaces;
A replication factor can then be changed using the ALTER KEYSPACE command, for example:
ALTER KEYSPACE SLDMADB
WITH replication = {
  'class': 'NetworkTopologyStrategy',
  'datacenter-A': 3,
  'datacenter-B': 3
};

After making this change, please do not forget to run nodetool repair to ensure that replicas are properly populated. Also, be careful to set the replication factors appropriately based on the number of nodes and data centers.

Hope this helps!

Paulo Henriques [SLC] [DevOps Advocate] Answered question 9 hours ago
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin