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
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
Related Articles
Checkout Planet Cassandra
Join Our Newsletter!
Sign up below to receive email updates and see what's going on with our company
Explore Further
monitoring
cassandra
diagnostics