FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
jjahanshahi
Staff
Staff
Article Id 193683

Description

 

This article describes the debugs that should be collected when troubleshooting HA issues.

Scope
 
FortiGate.


Solution

 

  1. The following debugs should be collected for any HA-related issues:

 

diagnose debug enable

diagnose debug console timestamp enable

diagnose debug application hatalk -1   <----- HA formation issues

diagnose debug application hasync -1   <----- HA Sync issues.

diagnose debug disable                 <----- Command to disable the debug.

 

If there is no output generated in the hasync or hatalk debugs, restarting the daemons may be needed. This can be done by running the commands below on each unit.

 

To determine the process IDs running for hasync and hatalk:

 

diagnose sys process pidof hasync
diagnose sys process pidof hatalk

 

To restart the process:

 

diagnose sys kill 11 <process_id>

 

  1. Run the following on both Primary/Secondary units and collect the info:

 

get system performance status

get system status
get system ha status
diagnose system ha status
diagnose system ha history read
diagnose debug crashlog read
diagnose system ha checksum show
execute ha synchronize start
diagnose system ha dump 5

diagnose system ha dump-by group 

 

To access the secondary device in the CLI, run the following:

 

execute ha manage <Index-ID> <Admin-Username>

 

See: Technical Tip: How to access the secondary unit from the primary with the 'execute ha manage' comman....

 

  1. Packet captures for seeing communication between HA ports:

 

diagnose hardware device nic <heartbeat interface>
diagnose sniffer packet port_ha "" 4 0 l    <----- port_ha should be the heartbeat interface.

 

To capture only the heartbeat packets:

 

diagnose sniffer packet any 'ether proto 0x8890' 4 0 l

 

  1. Collect the FortiGate's HA and System Event logs for both units downloaded from the GUI/FortiAnalyzer or syslog (remote) server.

 

Related articles:
Technical Tip: Procedure for HA manual synchronization

Technical Tip: Rebuilding an HA cluster