Configuring service-based failover
The Service Monitor section offers another way of detecting whether or not there is a system failure.
The system uses Remote HTTP and SIP UDP settings as a heartbeat link to confirm that the secondary unit can connect to the primary unit using HTTP or SIP. If the secondary unit cannot connect to the primary unit, then the system triggers a failover and the secondary unit becomes the primary. In addition to enabling the Remote HTTP and SIP UDP settings here, make sure that you have enabled Remote services as heartbeat in the Advanced Options section of Configuring high availability on FortiVoice units.
The Interface monitor and Local hard drives settings are locally monitored. If the system detects a failure on one of its interface ports or hard drives, then the system triggers a failover. To enable which ports the unit will monitor for failure, select Enable port monitor in the Interface section of Configuring high availability on FortiVoice units.
Perform the following steps on both the primary FortiVoice unit and secondary FortiVoice unit.
- Go to System > High Availability > Configuration.
- In Service Monitor, click one of the following services:
- Remote HTTP
- SIP UDP
- Interface monitor
- Local hard drives
- Click Edit.
- For Remote HTTP and SIP UDP, click Enable, and configure the following settings:
- Remote IP: Enter the peer IP address.
- Port: Enter the port number of the peer service.
- Timeout: Enter the timeout period (in seconds) for one connection test.
- Interval: Enter the frequency (in seconds) of the tests.
- Retries: Enter the number of consecutive tests that are allowed before the primary unit is deemed unresponsive and a failover occurs.
For Interface monitor and Local hard drives, configure the following settings:
-
Enable: Select to enable local hard drive monitoring.
For interface monitoring, select Enable port monitor in the Interface section of Configuring high availability on FortiVoice units.
- Interval: Enter the frequency (in seconds) of the test.
- Retries: Enter the number of consecutive tests that are allowed before the local interface or local hard drive is deemed unresponsive and a failover occurs.
- Click OK.
Example of Service Monitor settings
- Go to Synchronizing configuration and data in a FortiVoice HA group.