rsync_custom_dir_on_cluster.py

The rsync_custom_dir_on_cluster.py script synchronizes the ${MTX_CUSTOM_DIR} directory on all servers in a cluster with the ${MTX_CUSTOM_DIR} directory on the local server. Synchronization is required after making configuration changes and extending MDCs.

Syntax

rsync_custom_dir_on_cluster.py [-h] [-d] [--debug_config_file_parsing] [--debug_function_calls] [--debug_output_formatting] [--debug_threading_code] -e engineId -c clusterId [--plain] [-s] [-u username] [--ssh_debug]

Examples

Sync the ${MTX_CUSTOM_DIR} directory on all servers in the local cluster:
rsync_custom_dir_on_cluster.py
Sync the ${MTX_CUSTOM_DIR} directory on all servers in the processing cluster in engine 2:
rsync_custom_dir_on_cluster.py -e 2 -c processing

For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.