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-cloud-api-log
diagnose ha dump-datalog
diagnose ha failover <device-id>
diagnose ha force-cfg-resync
diagnose ha force-vrrp-election
diagnose ha load-balance
diagnose ha logs
diagnose ha restart-init-sync
diagnose ha request-init-sync
diagnose ha stats [verbose]
diagnose ha status
diagnose ha trace-client-req {enable | disable}
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-cloud-api-log |
Dump cloud API log. |
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. |
force-vrrp-election |
Force a Virtual Router Redundancy Protocol (VRRP) new election. |
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. |
request-init-sync |
Request to redo HA initial sync. This command can only be run on the secondary unit. |
stats [verbose] |
Get HA statistics. Optionally, get verbose output. |
status |
Get HA status. |
trace-client-req {enable | disable} |
Enable/disable trace of client side request. |