system ha data

set

system ha data

Use this command to set the TCP port and time interval for synchronizing FortiMail data.

Note: Use the set system ha config command to configure HA daemon settings. Other HA daemon configuration commands include “set system ha config” on page 313, “set system ha datadir” on page 319, “set system ha monitor” on page 322, and “set ” on page 324.

In most cases you do not have to change the default settings. You might want to reduce the synchronization time if you find you are losing mail data during a failover. Also, synchronizing large amounts of mail data may cause processing delays. Reducing how often mail data is synchronized may alleviate this problem. The default <timeout_integer> is 30 minutes. During normal operation, synchronizing data once every 30 minutes is usually sufficient.

You can also synchronize the configuration manually. See “set system ha {restart restore resync}” on page 327.

You should disable mail data synchronization if the HA group stores mail data on a remote NAS server. See see the FortiMail Administration Guide for more information about HA and storing mail data on a remote NAS server.

Syntax

set system ha data <data_port_integer> <timeout_integer>

Keywords/Variables

Description

Default

 

 

 

<data_port_integer>

The TCP port used for synchronizing FortiMail data.

20002

<timeout_integer>

How often data synchronization occurs. The minimum

30

 

<timeout_integer> 15 minutes. The maximum data synchronization

 

 

time is 999 minutes. If <timeout_integer> is set to 0 data is not

 

 

synchronized.

 

Example

Enter the following command to set the FortiMail data synchronization time interval to 100 minutes. The command maintains the default value of the synchronization port as 20002.

set system ha config 20002 100

History

FortiMail v3.0

New.

Related topics

set system ha config

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

set system ha datadir

set system ha lservice

set system ha mode

set system ha monitor

set system ha on-failure

set system ha passwd

set system ha remote-as-heartbeat

set system ha {restart restore resync}

set system ha rservice

set system ha takeover

 

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

318

06-30004-0420-20080814

Page 318
Image 318
Fortinet 3.0 MR4 manual System ha data, Set system ha data dataportinteger timeoutinteger, Set system ha config 20002