Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

3/22/2019

Reading time:1 min

instaclustr/instacollector

by John Doe

This tool is used to collect information from a Cassandra cluster to add in problem diagnosis or review.Design info:There are two scripts used in instacollector tool. The 'node_collector.sh' is supposed to be executed on each Cassandra node. The 'cluster_collector.sh' can be executed on a machine connected to Cassandra cluster e.g. user laptop or Jumpbox having connectivity with Cassandra cluster. The node_collector.sh executes Linux and nodetool commands and copies configuration and log files required for cluster health check.The cluster_collector.sh executes node_collector.sh on each Cassndra node using ssh. It uses a file containing IP addresses or host names of Cassandra cluster nodes to establish ssh connections.Execution settings:The cluster_collector.sh has setting of connecting to cluster nodes using key file or id file. If there is another method required for 'ssh', user is requested to change the script as applicable.Alternatively, the node_collector.sh can also be executed on individual nodes if cluster_collector.sh is not useful in any case.The Cassandra configuration file locations, data directory location and other settings are used as per Apache Cassandra default setup.User is requested to change those in node_collector.sh if other values are required. Note: The scripts should be executed on bash shell.Please see https://www.instaclustr.com/support/documentation/announcements/instaclustr-open-source-project-status/ for Instaclustr support status of this project

Illustration Image
This tool is used to collect information from a Cassandra cluster to add in problem diagnosis or review.
Design info:
There are two scripts used in instacollector tool. The 'node_collector.sh' is supposed to be executed on each Cassandra node. 
The 'cluster_collector.sh' can be executed on a machine connected to Cassandra cluster e.g. user laptop or Jumpbox having connectivity 
with Cassandra cluster. 
The node_collector.sh executes Linux and nodetool commands and copies configuration and log files required for cluster health check.
The cluster_collector.sh executes node_collector.sh on each Cassndra node using ssh. 
It uses a file containing IP addresses or host names of Cassandra cluster nodes to establish ssh connections.
Execution settings:
The cluster_collector.sh has setting of connecting to cluster nodes using key file or id file. 
If there is another method required for 'ssh', user is requested to change the script as applicable.
Alternatively, the node_collector.sh can also be executed on individual nodes if cluster_collector.sh is not useful in any case.
The Cassandra configuration file locations, data directory location and other settings are used as per Apache Cassandra default setup.
User is requested to change those in node_collector.sh if other values are required.  
Note: The scripts should be executed on bash shell.
Please see https://www.instaclustr.com/support/documentation/announcements/instaclustr-open-source-project-status/ for Instaclustr support status of this project

Related Articles

monitoring
cassandra

Cassandra Summit Recap: Diagnosing Problems in Production - RustyRazorblade.com

John Doe

3/1/2023

cassandra
diagnostics
datastax

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

monitoring