How to Check if Standby/Follower are Up-to-Date with Master/Leader in Conjur Enterprise

How to Check if Standby/Follower are Up-to-Date with Master/Leader in Conjur Enterprise

111
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:07 PM


Symptom


Prior to 12.2 version, the “streaming” key in the “/health” endpoint does not accurately reflect successful database replication. Even if the replication is up-to Date, “/health” endpoint can show "false" value for "streaming"



Environment


9.10;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;11.9;11.8 Conjur Other (Technical) Conjur Enterprise- below 12.2 version

Cause


Prior to 12.2 version, the "streaming" will only switch to "true" once there is NEW data to be replicated from the Leader/Master to the Standby/Follower (for example, when a secret value is updated)

Resolution


  • How to check prior to version 12.2 that Database Replication is healthy:

If the "replication_lag_bytes" field in the “/health” endpoint is 0 and the "pg_current_xlog_location" field on the Follower/Standby matches the value in the Leader's “/health” endpoint, then the node is replicating successfully.

 

  • For version 12.2  and later

Please follow below documentations for Health Check of Conjur Nodes:
https://docs.cyberark.com/conjur-enterprise/latest/en/content/operations/services/health.html
https://docs.cyberark.com/conjur-enterprise/latest/en/content/developer/conjur_api_health_check.htm



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001OjaCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail