Astra Perseverance

How to Astra Perseverance


Follow me on GitHub

How To: Evaluate DSE Cassandra Clusters for Astra Migration

One of my co-works ssdatastaxrecently built a python tool called Astra Perseverance which executes against a diagnostic tarball from DSE Opscenter and provides some information needed for astra sizing. You can find the tool here. In this short how to I am going to show you how to setup your macbook environment and execute this script.

First setup your environment:

brew install python3
pip3 install pandas 
pip3 install xlsxwriter

Next install the tool:

git clone https://github.com/ssdatastax/astra-perseverance.git

Now execute the tool:

cd astra-perseverance
python3 explore.py -p /Users/stevenmatison/Downloads/test/Cluster_1 -p /Users/stevenmatison/Downloads/test/Cluster_2 -p /Users/stevenmatison/Downloads/test/Cluster_3

After execution an Excel Spreadsheet will be located in each folder.

:warning: Notice I use python3 and pip3 here instead of documented python and pip. I had issues with existing python2 install not taking pandas or xlsxwriter.

How can I help you with Astra?

SRM

Find me over on the Astra Slack to ask me any questions about Astra. Also let’s chat if you have something kewl you did with Astra and you want me to feature it in my blog. Look below or to the right for more ways to find me.