Fortinet Document Library

Version:

Version:

Version:

Version:


Table of Contents

FortiVoice Cookbook

Download PDF
Copy Link

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.

  1. Go to System > High Availability > Configuration.
  2. In Service Monitor, click one of the following services:
    • Remote HTTP
    • SIP UDP
    • Interface monitor
    • Local hard drives
  3. Click Edit.
  4. 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.
  5. Click OK.

    Example of Service Monitor settings

  6. Go to Synchronizing configuration and data in a FortiVoice HA group.

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.

  1. Go to System > High Availability > Configuration.
  2. In Service Monitor, click one of the following services:
    • Remote HTTP
    • SIP UDP
    • Interface monitor
    • Local hard drives
  3. Click Edit.
  4. 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.
  5. Click OK.

    Example of Service Monitor settings

  6. Go to Synchronizing configuration and data in a FortiVoice HA group.