We get asked this question a bit so I wanted to use this opportunity to provide some reference information for running Apache Cassandra or DataStax Enterprise on Nutanix.
We get asked this question a bit so I wanted to use this opportunity to provide some reference information for running Apache Cassandra or DataStax Enterprise on Nutanix.
The Nutanix Enterprise Cloud has an elastic, scalable architecture that builds upon a distributed storage fabric. While all disks in a hypervisor host are local PCIe bus attached. They are also made globally accessible within a storage pool, by storing all filesystem metadata in a distributed (Cassandra) KV store.
When designing storage for your Datastax instances, always bear in mind the requirement for high outstanding IO (OIO). Usually, this is achieved by striping the data across a collection of vdisks. We provide the most commonly used example below, with LVM2:
$ echo $DISKS /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg $ sudo pvcreate /dev/sd[b-g] $ sudo vgcreate dstx-data /dev/sd[b-g] $ sudo lvcreate -l 100%FREE -i 6 -n dstx-data vol01
The default stripe width of 64k is normally fine. If your workload requirements mean you need to change this from the default, then use :
$ sudo lvcreate -l 100%FREE -i 6 -l 1024 -n dstx-data vol01
- this sets the stripe width to 1024k (1Mb), as an example.
You can read more best practice ideas for running Datastax DSE/Cassandra on Nutanix by reading the following freely available guide created by Nutanix Solutions Engineering :
https://www.nutanix.com/go/cassandra-on-nutanix
Feel free to send feedback and help us to improve on the current revision.
rgds
Ray Hassan - Nutanix Solutions
ray@nutanix.com
@cannybag
Thanks for the excellent post, Ray. This is going to be a great resource and looking forward to seeing more posts on Nutanix. Cheers!
6 People are following this question.
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