Fortinet black logo

CLI Reference

ha

ha

Use this command to view and manage high availability.

Syntax

diagnose ha check-data {start | stop | status}

diagnose ha data-check-report {read | delete}

diagnose ha dump-datalog

diagnose ha failover <device-id>

diagnose ha force-cfg-resync

diagnose ha load-balance

diagnose ha logs

diagnose ha restart-init-sync

diagnose ha stats [verbose]

diagnose ha status

Variable

Description

check-data {start | stop | status}

Start/stop or check status of database hash and revision files.

data-check-report {read | delete}

Read or delete the data check validation report.

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.

logs

Get HA logs.

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

Use this command to view and manage high availability.

Syntax

diagnose ha check-data {start | stop | status}

diagnose ha data-check-report {read | delete}

diagnose ha dump-datalog

diagnose ha failover <device-id>

diagnose ha force-cfg-resync

diagnose ha load-balance

diagnose ha logs

diagnose ha restart-init-sync

diagnose ha stats [verbose]

diagnose ha status

Variable

Description

check-data {start | stop | status}

Start/stop or check status of database hash and revision files.

data-check-report {read | delete}

Read or delete the data check validation report.

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.

logs

Get HA logs.

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.