Single Node Cluster with Replication Factor 2

In the community forums there was a nice little tip that you can run Replication Factor 2 on a single node cluster running Community Edition. Off course I needed to test this out. I installed CE on a VM as described here. I only changed the disks to the following: 2x 250GB for CVM en 2x 500GB for data (128GB is for AHV/Boot):

During installation these are my settings:

After installation is finished make a new cluster with the following command: cluster -s 10.0.0.81 –redundancy_factor=2 create

When the cluster is created and started, login into Prism Element and have a look at the storage containers:

That is pretty cool.

Posts created 133

4 thoughts on “Single Node Cluster with Replication Factor 2

      1. Oh brilliant, I’ll feel much happier running this as my home lab then – thanks for showing this off! (BTW Hi fellow NTC 🙂 )

  1. Just to confirm this does work – I have a server with two SSDs and three HDDs:

    nutanix@NTNX-39e1c69b-A-CVM:192.168.250.221:~$ ncli cluster get-domain-fault-tolerance-status type=disk

    Domain Type : DISK
    Component Type : METADATA
    Current Fault Tolerance : 1
    Fault Tolerance Details :
    Last Update Time : Sun Jan 12 22:30:11 UTC 2025

    Domain Type : DISK
    Component Type : FREE_SPACE
    Current Fault Tolerance : 1
    Fault Tolerance Details :
    Last Update Time : Sun Jan 12 23:15:41 UTC 2025

    nutanix@NTNX-39e1c69b-A-CVM:192.168.250.221:~$ ncli cluster get-redundancy-state

    Current Redundancy Factor : 2
    Desired Redundancy Factor : 2
    Redundancy Factor Status : kCassandraPrepareDone=true;kZookeeperPrepareDone=true

    And the ‘resilient capacity’ is shown on the Storage widget on the Prism homepage.

    Thanks for this!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top