Vertically Scaling Cassandra

Run the following commands before the activity from one of the cassandra nodes
nodetool clientstats
nodetool compactionstats
nodetool gcstats
nodetool netstats
nodetool tpstats
nodetool tablestats

Stop the traffic from outside. Stop nginx-public

 

Stop the samza jobs
ntpprod.course-batch-updater
ntpprod.qrcode-image-generator
ntpprod.lms.user-account-merger
ntpprod.collection-migration
ntpprod.lms.sso-account-updater
ntpprod.merge-user-courses
ntpprod.lms.indexer
ntpprod.publish-pipeline
ntpprod.course-certificate-generator
ntpprod.post-publish-processor

Run nodetool drain in every cassandra node

Stop cassandra process in every cassandra node

Take a disk snapshot of each cassandra VM

Stop the cassandra VMs and change the instnace type d8sV3

Start the cassandra VMs

Run the following commands from one of the cassandra nodes
nodetool clientstats
nodetool compactionstats
nodetool gcstats
nodetool netstats
nodetool tpstats
nodetool tablestats

Run sample cassandra queries

Start the samza jobs
ntpprod.course-batch-updater
ntpprod.qrcode-image-generator
ntpprod.lms.user-account-merger
ntpprod.collection-migration
ntpprod.lms.sso-account-updater
ntpprod.merge-user-courses
ntpprod.lms.indexer
ntpprod.publish-pipeline
ntpprod.course-certificate-generator
ntpprod.post-publish-processor

Start nginx-public to allow traffic