POD Monitoring

To conifgure POD monitoring and failover thresholds in the GR setup, use the following configuration. The GR pod monitors the configured POD name.

config 
 geomonitor 
  podmonitor pods pod_name 
   retryCount value 
   retryInterval interval_value 
   retryFailOverInterval failover_interval 
   failedReplicaPercent percent_value 
  exit 
 exit 

NOTES:

  • pods pod_name —Specify the name of the pod to be monitored. For example, Cache-pod, res-ep, and so on

  • retryCount value —Specify the retry counter value to retry if pod fails to ping after which pod is marked as down. Must be an integer in the range of 1-10.

  • retryInterval interval_value —Specify the retry interval in milliseconds if pod successfully pings. Must be an integer in the range of 200-10000.

  • retryFailOverInterval failover_interval —Specify the retry interval in milliseconds if pod fails to ping. Must be an integer in the range of 200-10000.

  • failedReplicaPercent percent_value —Specify the percent value of failed replica after which GR failover is triggered. Must be an integer in the range of 10-100.

Configuration Example

The following is an example configuration.

geomonitor podmonitor pods cache-pod
 retryCount 3
 retryInterval 5
 retryFailOverInterval 1
 failedReplicaPercent 40
exit