Configuring HA and GR Scenarios

Use the following configuration to trigger HA (pod-restart) scenario or GR (trigger-switch-over) scenario:

config 
   monitor 
      active-instance-traffic {  no-traffic-duration no_traffic_duration session-threshold session_threshold action { pod-restart | trigger-switch-over  } } 

NOTES:

  • active-instance-traffic —Specify this keyword to enable or disable active traffic monitoring.

  • no-traffic-duration no_traffic_duration —Maximum allowed time in seconds of no traffic on active instance. The value range is 10-300. There is no default value set for this CLI. The value of no-traffic-duration should be less than the value of max-conn-downtime if set.

  • session-threshold session_threshold —Minimum session count required to start the active instance traffic monitoring. The value range is 10-10000000. The default value is 1000.

  • action { pod-restart | trigger-switch-over } —Action to take on condition fulfillment. The possible values for this command are pod-restart and trigger-switch-over . The default value is pod-restart .