Configuring the health monitor

Set the configuration values in the vault file to suit your organization's replication requirements.

About this task

If you change the configuration values in the vault file before you first run the enable_dr action to enable DR, the values that you specify in the vault file are used for the health monitor. If you want to fine tune the configuration values after you have enabled DR by running the enable_dr action, you must make the changes in the /usr/share/co3/conf/res-dr-monitor.properties file.
Tip: After you have finished fine-tuning the health monitoring configuration, update the configuration values in the Ansible® vault file, located in the /usr/share/resilient-dr/ansible/group_vars/all directory, so that these values persist.

Procedure

  1. Open the vault file, located in the /usr/share/resilient-dr/ansible/group_vars/all directory.
  2. If necessary, change the value of the vault_vars_dr_monitor_syslog_facility variable. The default is set to user. The DR monitoring tag variable is vault_vars_dr_monitor_syslog_tag. This value is set to resilient-dr.
  3. Set the vault_vars_dr_monitor_postgres_lag_threshold to specify the postgres database replication delay threshold, in megabytes. When this threshold is reached, a message is generated. The default is 2 MB.
  4. Set a value for the vault_vars_dr_monitor_postgres_retained_threshold variable to specify the threshold at which you want to receive an alert message when saved transactions on the master system reaches this value.
  5. Set a value in MB for the vault_vars_dr_monitor_file_lag_threshold variable to specify the threshold at which you want messages to be generated when the file system replication exceeds this value, in seconds. The default is 600 seconds.