Score:-1

OPEN LDAP Sync Test

in flag

Could someone experienced in open ldap give me answers for these questions please ?

  1. I'm looking into a pre configured two open ldap servers that are in mirror sync. What is the best way to identify that these two are actually in sync?
  2. what are entryCSN and contextCSN in open ldap
Score:0
in flag

contextCSN is a CSN from the LDAP Sync provider:

The LDAP Sync provider maintains a contextCSN for each database as the current synchronization state indicator of the provider content. It is the largest entryCSN in the provider context such that no transactions for an entry having smaller entryCSN value remains outstanding. The contextCSN could not just be set to the largest issued entryCSN because entryCSN is obtained before a transaction starts and transactions are not committed in the issue order.

LDAP Sync Replication documentation

A CSN is:

The Change Sequence Number (CSN) used by OpenLDAP to identify changes in a replicated configuration. CSNs appear to be only defined in an expired RFC draft draft-chu-ldap-csn-xx.txt and for version 2.4 in this FAQ to consist of a timestamp - including microseconds, an operation-within-second counter (6 octets), a 3 octet replica id (as defined by ServerID) and a 6 octet counte-within-modify operation.

LDAP Glossary

The 2 nodes are in sync when the contextCSN is identical on both nodes.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.