Applies to: On-premises access nodes only
You can add a pre-process script file or a post-process script file for Cassandra on the Kubernetes access nodes.
Example Pre-Process Script for Cassandra
The following example is a pre-process script for Cassandra.
# cat /opt/commvault/Base/kscripts/cluster_name/mynamespace.myapplication.prescript
Example Post-Process Script for Cassandra
The following example is a post-process script for Cassandra.
# cat /opt/commvault/Base/kscripts/cluster_name/mynamespace.myapplication.postscript
Output and Log Files
Commvault does not log the return codes of Cassandra pre- and post-scripts. To confirm that the pre/post execution commands are executed, inspect your Cassandra log file: /var/log/cassandra/system.log.
Caution: Commvault does not log the return codes of pre- and post-scripts on the access node. For the location of pre- and post-script output on your containerized application pod, refer to per-application implementations.