Loading...

Configuration for Linux-Based Containers

You can add a pre-process script file or the post-process script file on a Linux access node.

  • On the Linux access node, create a directory named kscripts in the software_installation_directory/Base directory.
  • Add the pre-process script file or the post-process script file with the following naming convention:
    • namespace.application_name.prescript
    • namespace.application_name.postscript

      where application_name is the name of the discovered application.

    To execute the scripts for all namespaces that have the application name, add the script files with the following naming convention:

    • $.application_name.prescript
    • $.application_name.postscript

      where application_name is the name of the discovered application.

Example

Pre-process script for MySQL:

# cat /opt/commvault/Base/kscripts/mydatabase.myapplication.prescript
mysql -h host_name -p password -P port_number -u user_name
flush tables with read lock;

Post-process script for MySQL:

# cat /opt/commvault/Base/kscripts/mydatabase.myapplication.postscript
mysql -h host_name -p password -P port_number -u user_name
unlock tables;
exit;

Last modified: 12/8/2020 7:42:14 PM