system ha | set |
system ha on-failure
Use this command to control the behavior of a FortiMail unit in an
Syntax
set system ha on-failure {off restore slave}
Keywords/Variables | Description | Default |
|
|
|
off | After a failure the FortiMail unit effective operating mode changes to |
|
| OFF. The FortiMail unit will not process mail or join the HA group until |
|
| you manually change the FortiMail unit effective operating mode to |
|
| MASTER (primary) or SLAVE (backup). |
|
|
|
|
restore | Similar to slave the FortiMail unit effective operating mode changes to |
|
| FAILED when remote service monitoring detects a failure. However, in |
|
| this case on recovery the failed FortiMail unit effective operating mode |
|
| switches back to its configured operating mode. This behavior may be |
|
| useful in some scenarios but may cause problems in others. |
|
|
|
|
slave | The FortiMail unit effective operating mode changes to FAILED when |
|
| remote service or local network interface service monitoring detects a |
|
| failure. In FAILED mode the FortiMail unit uses remote service |
|
| monitoring to attempt to connect to the other FortiMail unit in the HA |
|
| group (which should be operating as the primary unit with effective |
|
| operating mode of MASTER). If you fix the problem that caused the |
|
| failure the failed FortiMail unit recovers by changing its effective |
|
| operating mode to SLAVE. The failed FortiMail unit then synchronizes |
|
| the content of its MTA spool directories to the FortiMail unit operating as |
|
| the primary unit. The primary unit can then deliver this email. |
|
|
|
|
Example
Enter the following command to configure a FortiMail unit to switch to FAILED effective operating mode and when restored, to change the effective operating mode to SLAVE.
set system ha on-failure slave
History
FortiMail v3.0 MR2 New.
Related topics
•set system ha config
•set system ha {cpeer interface peer
•set system ha data
•set system ha datadir
•set system ha lservice
•set system ha mode
•set system ha monitor
•set system ha passwd
•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 |
324 |