Skip to content

This tool was used during the Cassandra migration from K8s to Instaclustr to get information about the cluster

Notifications You must be signed in to change notification settings

ihm-software/instacollector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

This tool was used during the Cassandra migration from K8s to Instaclustr to get information about the cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%