Configuration parameters for FailSafe DMF must be specified in the configuration file /var/ha/ha.conf. The sections in this chapter describe each DMF-specific block defined in the FailSafe DMF template file /var/templates/ha.conf.dmf. This file is modified and appended to /var/ha/ha.conf as described in “Adding DMF Information to the FailSafe Configuration File” in Chapter 2.
The examples in this chapter show the DMF configuration file blocks discussed in “Adding DMF Information to the FailSafe Configuration File” in Chapter 2.
The following example shows the application-class block in a DMF configuration. The cluster contains the machines cm1 as the server (primary) node and cm2 as the backup node.
The following example shows the action and action-timer blocks for DMF.
Example 3-2. Action and Action-Timer Blocks
The action block specifies the path names of the local monitoring script and the action-timer block specifies default monitoring timing and timeout values for the monitoring of the DMF daemon.
action dmf { local-monitor = /var/ha/actions/ha_dmf_lmon } action-timer dmf { start-monitor-time = 60 lmon-probe-time = 120 lmon-timeout = 60 retry-count = 1 } |
The parameters used in action and action-timer blocks for DMF are as follows:
local-monitor | The path name of the local monitoring script for DMF. Do not change this value. | |
start-monitor-time | Specifies the amount of time that the application monitor waits before it starts using the local monitoring script to monitor the DMF daemon. | |
lmon-probe-time | Specifies (in seconds) how often local monitoring of the DMF daemon is done. | |
lmon-timeout | Specifies (in seconds) how often local monitoring of the DMF daemon is done if no response is received. | |
retry-count | Specifies the number of times the local monitoring script retries its probes of the DMF daemon. This values does not affect the lmon-timeout value. |