Fortinet black logo

FortiVoice Cookbook

Configuring HA mode and group

Configuring HA mode and group

To enable the HA activity logging before configuring the HA mode and group:

  1. Go to Log & Report > Log Setting > Local
  2. Under Logging Policy Configuration, expand System and enable HA.
  3. Click Apply.

To enable and configure HA:

  1. Go to System > High Availability > Configuration.
  2. Under HA Configuration, if the FortiVoice unit is the primary unit, set Mode of operation to Master. If the FortiVoice unit is the secondary unit, set Mode of operation to Slave.
  3. Set On failure to the appropriate action, determining what happens to the unit in the event of a failover.
  4. Enter a Shared password. This password must be the same for both the primary and secondary units.
  5. Under Advanced Options, set an HA base port value (20000 by default). This will be used for the heartbeat signal, and synchronization control, including data and configuration synchronization.
  6. Set the Heartbeat lost threshold to the duration of time in seconds that the FortiVoice unit can remain unresponsive before it triggers a failover. For example, if the heartbeat checks for availability once per second, and the primary unit is experiencing heavier traffic than usual, a premature failover may occur. In this case, a higher threshold of three seconds or more can allow the secondary unit enough time to confirm unresponsiveness. Keep in mind that if the threshold time is instead too long, the primary unit could fail and a delay in detecting the failure could mean that a call is delayed or lost.
  7. Enable Remote services as heartbeat to use remote service monitoring as a secondary HA heartbeat. If enabled, and both the primary and secondary heartbeat links fail or become disconnected, the remote service monitoring can still detect whether the primary unit is available, avoiding a false-positive result.
  8. For more information on service monitor options, see Configuring service-based failover.

  9. Under Interface, double-click each port you want to monitor in case of failover and click Enable port monitor.
  10. Click Apply.

Configuring HA mode and group

To enable the HA activity logging before configuring the HA mode and group:

  1. Go to Log & Report > Log Setting > Local
  2. Under Logging Policy Configuration, expand System and enable HA.
  3. Click Apply.

To enable and configure HA:

  1. Go to System > High Availability > Configuration.
  2. Under HA Configuration, if the FortiVoice unit is the primary unit, set Mode of operation to Master. If the FortiVoice unit is the secondary unit, set Mode of operation to Slave.
  3. Set On failure to the appropriate action, determining what happens to the unit in the event of a failover.
  4. Enter a Shared password. This password must be the same for both the primary and secondary units.
  5. Under Advanced Options, set an HA base port value (20000 by default). This will be used for the heartbeat signal, and synchronization control, including data and configuration synchronization.
  6. Set the Heartbeat lost threshold to the duration of time in seconds that the FortiVoice unit can remain unresponsive before it triggers a failover. For example, if the heartbeat checks for availability once per second, and the primary unit is experiencing heavier traffic than usual, a premature failover may occur. In this case, a higher threshold of three seconds or more can allow the secondary unit enough time to confirm unresponsiveness. Keep in mind that if the threshold time is instead too long, the primary unit could fail and a delay in detecting the failure could mean that a call is delayed or lost.
  7. Enable Remote services as heartbeat to use remote service monitoring as a secondary HA heartbeat. If enabled, and both the primary and secondary heartbeat links fail or become disconnected, the remote service monitoring can still detect whether the primary unit is available, avoiding a false-positive result.
  8. For more information on service monitor options, see Configuring service-based failover.

  9. Under Interface, double-click each port you want to monitor in case of failover and click Enable port monitor.
  10. Click Apply.