set system ha {cpeer | interface | peer | secondary-interface | secondary-peer}
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814 317
Enter the following commands from an active-passive HA backup unit to set port5 as the primary
heartbeat interface, set the primary heartbeat local heartbeat interface IP address and netmask to
10.0.0.2 255.255.255.0, and set the primary heartbeat peer IP address to 10.0.0.1.
set system ha interface port5 10.0.0.2 255.255.255.0
set system ha peer 10.0.0.1
Example: add a secondary heartbeat local and peer IP address for an
active-passive HA group
This example adds a secondary heartbeat local and peer IP addresses to the FortiMail units in the
previous example.
Enter the following commands from an active-passive HA primary unit to set port4 as the secondary
heartbeat interface, set the secondary heartbeat local IP address and netmask to 10.1.1.1
255.255.255.0, and set the secondary heartbeat peer IP address to 10.1.1.2.
set system ha secondary-interface port4 10.1.1.1 255.255.255.0
set system ha secondary-peer 10.1.1.2
Enter the following commands from an active-passive HA backup unit to set port4 as the secondary
heartbeat interface, set the secondary heartbeat local heartbeat interface IP address and netmask to
10.1.1.2 255.255.255.0, and set the secondary heartbeat peer IP address to 10.1.1.1.
set system ha secondary-interface port4 10.1.1.2 255.255.255.0
set system ha secondary-peer 10.1.1.1
History
Related topics
• set system ha config
• set system ha data
• 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 v3.0 New.
FortiMail v3.0 MR2 Added secondary-interface and secondary-peer keywords that you
use for configuring secondary heartbeat settings. In previous versions of
FortiMail you used the interface and peer keywords for configuring HA
heartbeat settings. In FortiMail v3.0 MR2 you use the interface and peer
keywords for configuring primary heartbeat settings.