Fortigate 60D has been used to do HA examples in this post.

The back of Fortigate 60D:

FG60_D_SPECS_zpse16798de.png?resize=800%2C396&ssl=1FG60_D_SPECS_zpse16798de.png?resize=800%2C396&ssl=1

The configuration steps for Fortigate High Availability is the easiest one comparing other firewall vendors. Fortigate cookbook “High Availability with two FortiGates” has presented enough detailed steps for most situations. In this post, it records the steps I just recently did.

Topology:

Fortigate_HA_zpsf9zsqsyh.png?resize=800%2C262&ssl=1Fortigate_HA_zpsf9zsqsyh.png?resize=800%2C262&ssl=1

WAN1 is connecting to External switch then connected to Internet.
LAN port 1 is connecting to Internal switch.

Both DMZ and WAN2 ports are used as HA heartbeat interface. Two regular Ethernet cables are connecting them together as show in the following photo:

back_zpsskcweqxi.png?resize=800%2C488&ssl=1back_zpsskcweqxi.png?resize=800%2C488&ssl=1

 

After device powed on, the front panel looks like below:
front_zpsre7w2dsh.jpg?resize=800%2C450&ssl=1front_zpsre7w2dsh.jpg?resize=800%2C450&ssl=1

Configuration steps:

1. Start with Primary which is running at standalone mode and has configured all interfaces and policy.

1. 1 Change the primary first from standalone to Active-passive mode.
1.2 Set the priority between 1 and 255. Since it is primary, I set it to 250.
1.3 type HAGroup1 as the HA group name and enter a password for this group.
1.4 Choose DMZ and WAN2 as Heartbeat Interfaces.

2016-06-22_9-50-48_zpsev3zxcsi.png?resize=800%2C441&ssl=12016-06-22_9-50-48_zpsev3zxcsi.png?resize=800%2C441&ssl=1

2. Add new Fortigate 60D as secondary device. 

Since it is new, you will not need to do any configuration. 
2.1 Change the secondary Fortigate 60D from standalone mode to Active-passive mode.
2.2 Set the priority between 1 and 255. Since it is secondary, I set it to 50.
2.3 type HAGroup1 as the HA group name and enter a password for this group.
2.4 Choose DMZ and WAN2 as Heartbeat Interfaces.

3. Verify

After the configuration completed, you should be able to see both Fortigate 60D in the list. One is master and another is slave.

All configuration will be synchronised from Primary to Secondary through Heartbeat interfaces. 

2016-06-22_9-45-37_zps59xo4g1h.png?resize=800%2C432&ssl=12016-06-22_9-45-37_zps59xo4g1h.png?resize=800%2C432&ssl=1

Notes: To make both devices HA configuration running well, you will need to make sure following requirements met;

  • Same hardware
  • Same FortiOS version
  • License for some special features
  • LAN Switch mode (Switch / Interface)

Manual Failover Test Command:
diagnose sys ha reset-uptime
Upgrade Procedures:

To upgrade the firmware without interrupting communication through the cluster, the cluster goes through a series of steps that involve first upgrading the firmware running on the subordinate units, then making one of the subordinate units the primary unit, and finally upgrading the firmware on the former primary unit. These steps are transparent to the user and the network, but depending upon your HA configuration may result in the cluster selecting a new primary unit.
From the FortiGate web‑based manager go to  System > Dashboard > Status. In the System Information widget, the Firmware Version will show the updated version of FortiOS (or from the CLI enter  get system status).

Reference: