beautypg.com

System ha lservice, Syntax, Example – Fortinet FortiMail 3.0 MR4 User Manual

Page 320: History, Related topics, Set system ha lservice

background image

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

320

06-30004-0420-20080814

system ha lservice

set

system ha lservice

Use this command to configure HA primary unit local services monitoring. Configure local service
monitoring so that an active-passive HA primary unit monitors its own network interfaces and hard
drives. You must configure how long in seconds to wait between checks of the interfaces or hard
drives and how many times the check fails before a failover occurs.

Network interface monitoring monitors all active network interfaces. Network interfaces with their HA
interface configuration set to ignore this interface are not monitored. For information about HA
interface configuration, see

“set system ha takeover” on page 330

.

If the primary unit detects an interface failure (for example, if the network cable is disconnected from a
monitored interface) or if the primary unit detects a hard drive failure, the primary unit HA effective
operating mode changes to off.

If the primary unit effective operating mode changes to off, the primary unit no longer responds to HA
heartbeat packets sent by the backup unit. The backup unit assumes that the primary unit has failed
and becomes the new primary unit.

Syntax

set system ha lservice {ports | hd}

Example

Enter the following command to set primary unit interface monitoring to check the interfaces every 30
seconds and to change the primary unit effective operating mode to off if interface monitoring fails 10
consecutive checks.

set system ha lservice pprts 30 10

History

Related topics

Keywords/Variables

Description

Default

{ports | hd}

Enter ports to configure primary unit network interface monitoring.
Enter hd to configure primary unit hard drive monitoring.

The check time interval in seconds to wait between checks of the
interfaces or the hard drives.
The check time interval range is 1 to 60 seconds. Set the check time
interval to 0 to disable interface or hard drive monitoring.

0

The number of consecutive times interface monitoring or hard drive
monitoring detects a failure before the primary unit changes its effective
operating mode to off.
The number of times the check fails range is 1 to a very high number.
Set the number of times the check fails to 0 to disable interface
monitoring or hard drive monitoring.

0

FortiMail v3.0

New.

set system ha config

set system ha {cpeer | interface | peer |
secondary-interface | secondary-peer}

set system ha data

set system ha datadir

set system ha mode

set system ha monitor

set system ha on-failure

set system ha remote-as-heartbeat

set system ha {restart | restore | resync}

set system ha rservice

set system ha takeover