Configuring the health monitor
Set the configuration values in the vault file to suit your organization's replication requirements.
About this task
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
- Open the vault file, located in the /usr/share/resilient-dr/ansible/group_vars/all directory.
-
If necessary, change the value of the
vault_vars_dr_monitor_syslog_facilityvariable. The default is set touser. The DR monitoring tag variable isvault_vars_dr_monitor_syslog_tag. This value is set toresilient-dr. -
Set the
vault_vars_dr_monitor_postgres_lag_thresholdto specify the postgres database replication delay threshold, in megabytes. When this threshold is reached, a message is generated. The default is 2 MB. -
Set a value for the
vault_vars_dr_monitor_postgres_retained_thresholdvariable to specify the threshold at which you want to receive an alert message when saved transactions on the master system reaches this value. -
Set a value in MB for the
vault_vars_dr_monitor_file_lag_thresholdvariable 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.