Difference between revisions of "Cluster commands"

From Tech-Wiki
Jump to: navigation, search
Line 23: Line 23:
 
Monitor cluster health and sync
 
Monitor cluster health and sync
 
  get sys ha status
 
  get sys ha status
  diag sys ha cluster-csum
+
  diag sys ha checksum show
 
  diag sys session sync
 
  diag sys session sync
  
 
If something above is wrong, try:
 
If something above is wrong, try:
   diag sys ha csum-recalculate
+
   diag sys ha checksum recalculate
 
   exec ha synchronize start  (only in the slave)
 
   exec ha synchronize start  (only in the slave)
  
 
Switch to manage the slave unit:
 
Switch to manage the slave unit:
 
   exec ha manage 0
 
   exec ha manage 0

Revision as of 21:02, 27 August 2019


Setting FGCP Cluster up (active passive)

config system ha
   set mode a-p
   set group-name cluster1
   set password abc123
   set hbdev port4 100
end

Setting FGSP Cluster (Session Sync)

config system ha
   set group-name cluster1
   set password abc123
   set session-sync-dev port5
   set session-pickup enable
   set session-pickup-connectionless enable
   set session-pickup-expectation enable
   set session-pickup-nat enable
   set standalone-config-sync enable
end

Monitor cluster health and sync

get sys ha status
diag sys ha checksum show
diag sys session sync

If something above is wrong, try:

 diag sys ha checksum recalculate
 exec ha synchronize start  (only in the slave)

Switch to manage the slave unit:

 exec ha manage 0