Fortinet white logo
Fortinet white logo

FortiGate-7000F Handbook

Viewing more details about HA cluster synchronization

Viewing more details about HA cluster synchronization

You can use the diagnose sys ha checksum show command to display the debugzone and configuration checksums for the FortiGate 7000F in the cluster that you have logged in to.

diagnose sys ha checksum show
is_manage_primary()=1, is_root_primary()=1
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

The first line of this example output indicates that the command is displaying information for the primary FortiGate 7000F. This command output then shows debugzone and checksum information for the primary FIM. You can verify that the primary FIM is synchronized because both sets of checksums match.

Each set of checksums includes a checksum for the global configuration, for each VDOM (in this case there are two VDOMs: root and mgmt-vdom), and a checksum for the complete configuration (all).

You can use the diagnose sys ha checksum cluster command to display the debugzone and configuration checksums for both FortiGate 7000Fs in the cluster. The command output also indicates which FortiGate 7000F is the primary (is_manage_primary()=1) and the secondary (is_manage_primary()=0). If the cluster is synchronized, both FortiGate 7000Fs will have the same checksums.

diagnose sys ha checksum cluster

================== F7CF1ATB20000014 ==================

is_manage_primary()=1, is_root_primary()=1
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

================== F7CF1ATB20000065 ==================

is_manage_primary()=0, is_root_primary()=0
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

Finally, you can also log into the CLI of each FortiGate 7000F in the cluster and use the diagnose sys confsync showcsum command to confirm that the configurations of the FIMs and FPMs in each FortiGate 7000F are synchronized.

The output of the command will also show that the ha checksums are the same for both FortiGate 7000Fs, but the confsync checksums are different. This occurs because some parts of the configuration are not synchronized by HA so each FortiGate 7000F will have a different configuration and different confsync checksums.

See Viewing more details about FortiGate 7000F synchronization for details about the diagnose sys confsync showcsum command.

Viewing more details about HA cluster synchronization

Viewing more details about HA cluster synchronization

You can use the diagnose sys ha checksum show command to display the debugzone and configuration checksums for the FortiGate 7000F in the cluster that you have logged in to.

diagnose sys ha checksum show
is_manage_primary()=1, is_root_primary()=1
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

The first line of this example output indicates that the command is displaying information for the primary FortiGate 7000F. This command output then shows debugzone and checksum information for the primary FIM. You can verify that the primary FIM is synchronized because both sets of checksums match.

Each set of checksums includes a checksum for the global configuration, for each VDOM (in this case there are two VDOMs: root and mgmt-vdom), and a checksum for the complete configuration (all).

You can use the diagnose sys ha checksum cluster command to display the debugzone and configuration checksums for both FortiGate 7000Fs in the cluster. The command output also indicates which FortiGate 7000F is the primary (is_manage_primary()=1) and the secondary (is_manage_primary()=0). If the cluster is synchronized, both FortiGate 7000Fs will have the same checksums.

diagnose sys ha checksum cluster

================== F7CF1ATB20000014 ==================

is_manage_primary()=1, is_root_primary()=1
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

================== F7CF1ATB20000065 ==================

is_manage_primary()=0, is_root_primary()=0
debugzone
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

checksum
global: 7e 06 79 02 65 a9 ea e3 68 58 73 c2 33 d0 16 f1 
root: 43 2c ee 2c f1 b3 b2 13 ff 37 34 5e 86 11 dc bf 
mgmt-vdom: 9c 7d 58 9f 81 4b b7 4e ed 2a c3 02 34 b4 7c 63 
all: 0b 16 f2 e4 e2 89 eb a1 bf 8f 15 9b e1 4e 3b f2 

Finally, you can also log into the CLI of each FortiGate 7000F in the cluster and use the diagnose sys confsync showcsum command to confirm that the configurations of the FIMs and FPMs in each FortiGate 7000F are synchronized.

The output of the command will also show that the ha checksums are the same for both FortiGate 7000Fs, but the confsync checksums are different. This occurs because some parts of the configuration are not synchronized by HA so each FortiGate 7000F will have a different configuration and different confsync checksums.

See Viewing more details about FortiGate 7000F synchronization for details about the diagnose sys confsync showcsum command.