Fortinet black logo

CLI Reference

ha

ha

Use this command to view and manage high availability.

Syntax

diagnose ha dump-datalog

diagnose ha failover <device-id>

diagnose ha force-cfg-resync

diagnose ha load-balance

diagnose ha restart-init-sync

diagnose ha stats [verbose]

diagnose ha status

Variable

Description

dump-datalog

Dump the HA data log.

failover <device-id>

Force HA failover.

Use the device ID of the new primary device, or re-elect from backup FortiAnalyzer devices if not specified.

force-cfg-resync

Force HA to re-synchronize the configuration.

load-balanace

HA load balance status.

restart-init-sync

Restart HA initial sync. This command can only be run on the primary unit.

stats [verbose]

Get HA statistics. Optionally, get verbose output.

status

Get HA status.

ha

ha

Use this command to view and manage high availability.

Syntax

diagnose ha dump-datalog

diagnose ha failover <device-id>

diagnose ha force-cfg-resync

diagnose ha load-balance

diagnose ha restart-init-sync

diagnose ha stats [verbose]

diagnose ha status

Variable

Description

dump-datalog

Dump the HA data log.

failover <device-id>

Force HA failover.

Use the device ID of the new primary device, or re-elect from backup FortiAnalyzer devices if not specified.

force-cfg-resync

Force HA to re-synchronize the configuration.

load-balanace

HA load balance status.

restart-init-sync

Restart HA initial sync. This command can only be run on the primary unit.

stats [verbose]

Get HA statistics. Optionally, get verbose output.

status

Get HA status.