DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

ray_109035 avatar image
ray_109035 asked ·

How do I configure my storage for Cassandra 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.

nutanix
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

ray_109035 avatar image
ray_109035 answered ·

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

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks for the excellent post, Ray. This is going to be a great resource and looking forward to seeing more posts on Nutanix. Cheers!

1 Like 1 · ·