Chapter 9 High Availability for FortiOS 5.0 : An introduction to the FGCP : Identifying the cluster and cluster units : Password
  
Password
Use the password to identify the cluster. You should always change the password when configuring a cluster. The password must be the same for all FortiGate units before they can form a cluster. When the cluster is operating you can change the password, if required. Two clusters on the same network cannot have the same password.
To change the password from the web‑based manager go to Config > System > HA and change the Password.
Enter the following CLI command to change the password to ha_pwd:
config system ha
set password ha_pwd
end