Fortinet Document Library

Version:

Version:


Table of Contents

Download PDF
Copy Link

HA debug

Enable HA debug

  1. Enable system debug
  2. (M) FAD1 # diagnose debug enable

  3. Switch on the concerned HA debug options
  4. (M) FAD1 # diagnose debug ha basic

    ha debug basic enabled

    (M) FAD1 # diagnose debug ha errors

    ha debug errors enabled

  5. List all the enabled ha debug options
  6. (M) FAD1 # diagnose debug ha list

    basic: enabled

    configuration: disabled

    errors: enabled

    file: disabled

    health-check: disabled

    heartbeat: disabled

    layer4: disabled

    layer7: disabled

    message: disabled

    state: disabled

    sync-status: disabled

    upgrade: disabled

    arp: disabled

  7. Switch off some HA debug options
  8. (M) FAD1 # diagnose debug ha errors

    ha debug errors disabled

    (M) FAD1 # diagnose debug ha list

    basic: enabled

    configuration: disabled

    errors: disabled

    file: disabled

    health-check: disabled

    heartbeat: disabled

    layer4: disabled

    layer7: disabled

    message: disabled

    state: disabled

    sync-status: disabled

    upgrade: disabled

    arp: disabled

  9. Switch on/off all the HA debug options
  10. (M) FAD1 # diagnose debug ha all

    enabled all ha debugs

    (M) FAD1 # [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 0 SN FADV040000146260 sended

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 0 SN FADV040000146260 sended

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 1 SN FADV040000146261 received

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 1 SN FADV040000146261 received

    diagnose debug ha all

    disabled all ha debugs

HA debug options

HA debug option

Meaning

all

Show all the following debug options

arp

Show HA related arp behaviour(especially for GARP)

basic

Show HA basic message.

configuration

Show HA configuration changes sync or full sync.

errors

Show HA errors found.

file

Show HA backend file sync status.

health-check

Show health-check sync status.

heartbeat

Show heartbeat message between HA nodes.

layer4

Show layer4 VS session/persistence table sync status.

layer7

Show layer7 VS persistence table sync status.

list

List all the ha options enabled/disabled status.

message

Show some HA basic message.

state

Show HA state changing log.

sync-status

Show HA sync-status.

updated

Show updated message.

upgrade

Show image upgrading with HA.

HA debug

Enable HA debug

  1. Enable system debug
  2. (M) FAD1 # diagnose debug enable

  3. Switch on the concerned HA debug options
  4. (M) FAD1 # diagnose debug ha basic

    ha debug basic enabled

    (M) FAD1 # diagnose debug ha errors

    ha debug errors enabled

  5. List all the enabled ha debug options
  6. (M) FAD1 # diagnose debug ha list

    basic: enabled

    configuration: disabled

    errors: enabled

    file: disabled

    health-check: disabled

    heartbeat: disabled

    layer4: disabled

    layer7: disabled

    message: disabled

    state: disabled

    sync-status: disabled

    upgrade: disabled

    arp: disabled

  7. Switch off some HA debug options
  8. (M) FAD1 # diagnose debug ha errors

    ha debug errors disabled

    (M) FAD1 # diagnose debug ha list

    basic: enabled

    configuration: disabled

    errors: disabled

    file: disabled

    health-check: disabled

    heartbeat: disabled

    layer4: disabled

    layer7: disabled

    message: disabled

    state: disabled

    sync-status: disabled

    upgrade: disabled

    arp: disabled

  9. Switch on/off all the HA debug options
  10. (M) FAD1 # diagnose debug ha all

    enabled all ha debugs

    (M) FAD1 # [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 0 SN FADV040000146260 sended

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 0 SN FADV040000146260 sended

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 1 SN FADV040000146261 received

    [10-09 10:00:58] [kernel]Hello pkt: mode 2 group id 14 local_node_id 1 SN FADV040000146261 received

    diagnose debug ha all

    disabled all ha debugs

HA debug options

HA debug option

Meaning

all

Show all the following debug options

arp

Show HA related arp behaviour(especially for GARP)

basic

Show HA basic message.

configuration

Show HA configuration changes sync or full sync.

errors

Show HA errors found.

file

Show HA backend file sync status.

health-check

Show health-check sync status.

heartbeat

Show heartbeat message between HA nodes.

layer4

Show layer4 VS session/persistence table sync status.

layer7

Show layer7 VS persistence table sync status.

list

List all the ha options enabled/disabled status.

message

Show some HA basic message.

state

Show HA state changing log.

sync-status

Show HA sync-status.

updated

Show updated message.

upgrade

Show image upgrading with HA.