Description
This article provides the steps to shut down all of the nodes of a FortiGate cluster.
Scope
All supported versions of FortiOS.
Solution
To shut down the backup first and then the primary unit, run the following in the primary unit CLI:
Unit-1 # execute ha manage 1 (To switch to the backup unit.)
Unit-2 $ (Now on the backup unit.)
Unit-2 $ execute shutdown (To shut down the backup unit)
This operation will shutdown the system !
Do you want to continue? (y/n)y
Unit-1 # (Automatically returned to the primary unit.)
Unit-1 # execute shutdown (To shut down the primary unit.)
This operation will shutdown the system !
Do you want to continue? (y/n)y
Unit-2 $ (Now on the backup unit.)
Unit-2 $ execute shutdown (To shut down the backup unit)
This operation will shutdown the system !
Do you want to continue? (y/n)y
Unit-1 # (Automatically returned to the primary unit.)
Unit-1 # execute shutdown (To shut down the primary unit.)
This operation will shutdown the system !
Do you want to continue? (y/n)y
Note:
The above format to log in to the backup unit without the need to specify the admin username was available until FortiOS 6.2.1. In FortiOS 6.2.1 and above, the command syntax has changed.
For FortiOS 6.2.1 and above, use the following syntax:
execute ha manage <index-ID> <admin-username>
Labels: