Fortinet black logo

Cookbook

Check HA sync status

Check HA sync status

The HA sync status can be viewed in the GUI through either a widget on the Dashboard or on the System > HA page. It can also be confirmed through the CLI. When a cluster is out of sync, administrators should correct the issue as soon as possible as it affects the configuration integrity and can cause issues to occur.

HA sync status in the GUI

  • Dashboard widget:
    • Following HA setup, the HA Status widget can be added to the Dashboard. The widget shows the HA sync status by displaying a green checkmark next to each member in sync. A red mark indicates the member is out of sync.

  • System > HA page:
    • The same set of icons will be displayed on the System > HA page to indicate if the member is in sync.

HA sync status in the CLI

  • In the CLI, run the command get sys ha status to see if the cluster is in sync. The sync status is reported under Configuration Status. In the following example, both members are in sync:
        FGT_A # get sys ha status 
    
    HA Health Status: OK Model: FortiGate-300D Mode: HA A-P Group: 146 Debug: 0 Cluster Uptime: 0 days 21:42:53 Cluster state change time: 2019-03-09 11:40:51 Master selected using:
    
        <2019/03/08 18:56:12> FGT6HD3914800153 is selected as the master because it has the least value 0 of link-failure + pingsvr-failure. 
    
    ses_pickup: enable, ses_pickup_delay=disable override: enable Configuration Status:
    
        FGT6HD3914800069(updated 5 seconds ago): in-sync
        FGT6HD3914800153(updated 4 seconds ago): in-sync 
    
    System Usage stats:
    
        FGT6HD3914800069(updated 5 seconds ago):
            sessions=17, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% 
        FGT6HD3914800153(updated 4 seconds ago):
            sessions=0, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% 
    
    : : : Master: FGT6HD3914800069, HA operating index = 0 Slave : FGT6HD3914800153, HA operating index = 1 

Check HA sync status

Check HA sync status

The HA sync status can be viewed in the GUI through either a widget on the Dashboard or on the System > HA page. It can also be confirmed through the CLI. When a cluster is out of sync, administrators should correct the issue as soon as possible as it affects the configuration integrity and can cause issues to occur.

HA sync status in the GUI

  • Dashboard widget:
    • Following HA setup, the HA Status widget can be added to the Dashboard. The widget shows the HA sync status by displaying a green checkmark next to each member in sync. A red mark indicates the member is out of sync.

  • System > HA page:
    • The same set of icons will be displayed on the System > HA page to indicate if the member is in sync.

HA sync status in the CLI

  • In the CLI, run the command get sys ha status to see if the cluster is in sync. The sync status is reported under Configuration Status. In the following example, both members are in sync:
        FGT_A # get sys ha status 
    
    HA Health Status: OK Model: FortiGate-300D Mode: HA A-P Group: 146 Debug: 0 Cluster Uptime: 0 days 21:42:53 Cluster state change time: 2019-03-09 11:40:51 Master selected using:
    
        <2019/03/08 18:56:12> FGT6HD3914800153 is selected as the master because it has the least value 0 of link-failure + pingsvr-failure. 
    
    ses_pickup: enable, ses_pickup_delay=disable override: enable Configuration Status:
    
        FGT6HD3914800069(updated 5 seconds ago): in-sync
        FGT6HD3914800153(updated 4 seconds ago): in-sync 
    
    System Usage stats:
    
        FGT6HD3914800069(updated 5 seconds ago):
            sessions=17, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% 
        FGT6HD3914800153(updated 4 seconds ago):
            sessions=0, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% 
    
    : : : Master: FGT6HD3914800069, HA operating index = 0 Slave : FGT6HD3914800153, HA operating index = 1