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
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} <check_time_integer> <retries_integer>
Keywords/Variables | Description | Default |
|
|
|
{ports hd} | Enter ports to configure primary unit network interface monitoring. |
|
| Enter hd to configure primary unit hard drive monitoring. |
|
<check_time_integer> | The check time interval in seconds to wait between checks of the | 0 |
| 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. |
|
<retries_integer> | The number of consecutive times interface monitoring or hard drive | 0 |
| 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. |
|
|
|
|
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
FortiMail v3.0 | New. |
Related topics
•set system ha config
•set system ha {cpeer interface peer
•set system ha data
•set system ha datadir
•set system ha mode
•set system ha monitor
•set system ha
•set system ha
•set system ha {restart restore resync}
•set system ha rservice
•set system ha takeover
| FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference |
320 |