JAEN

FortiGate

execute ha manage / failover

CautionHA peer access & failover

execute ha manage <id> <admin>

Hops into the standby unit from the primary and triggers manual failover — verify sync state before switching.

Examples

  • execute ha manage 1 adminEnter the standby's CLI
  • get system ha statusHA state, which unit is primary, sync status
  • diagnose sys ha checksum clusterCompare configuration checksums on both units
  • execute ha manage ?List the IDs that manage accepts
  • diagnose sys ha reset-uptimeReset uptime so the peer takes over (when override is disabled)

Syntax

execute ha manage <0|1> <user>(待機系へ入る) / diagnose sys ha reset-uptime(切替誘発)

Key points

  • Matching checksums on both units mean the configuration is in sync. If they differ, find out why before failing over.
  • With override disabled, the unit with longer uptime becomes primary; reset-uptime uses that to hand over.
  • exit from the secondary's CLI returns you to the unit you came from.

When it does not work

  • Sessions can drop at the moment of failover. Do it in a quiet window.

Before you run it

Failover causes a brief disruption.

Related commands

You can carry a laptop to the rack. Signal will not follow.

Check syntax standing in front of the hardware, with no connection at all. The app keeps 1,510 commands and 120 fix flows on your device. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store