On Thu, Jan 02, 2025 at 09:39:34AM -0500, Suresh Veliveli wrote:
> Another instance:
> Yes, TCP keepalive is enabled.
So is the TCP connection still open from the point of both servers? See
in netstat or ss.
> aaa-prod-aws-7:1636
> # requesting: contextCSN
> *contextCSN: 20250101065905.147164Z#000000#000#000000*
>
> aaa-prod-aws-7:2636
> # requesting: contextCSN
> contextCSN: 20250102140005.217756Z#000000#000#000000
>
> dn: cn=Consumer 147,cn=Database 1,cn=Databases,cn=Monitor
> objectClass: olmSyncReplInstance
> cn: Consumer 147
All the data in cn=monitor is contained in the operational attributes,
as such, you'll have to request them either by name specifically, objectClass
('@olmSyncReplInstance') or blanket '+', maybe also '*' if you want
regular attributes as well.
> *Consumer logs:*
>
> [...]
>
> (Nothing after the above is logged regarding replication)
>
> *Master:*
>
> Jan 1 01:59:05 aaa-prod-master-1 slapd[3281130]: conn=1034 op=1
> syncprov_sendresp:
> cookie=rid=147,csn=20250101065905.124585Z#000000#000#000000
> Jan 1 01:59:05 aaa-prod-master-1 slapd[3281130]: conn=1034 op=1
> syncprov_sendresp:
> cookie=rid=147,csn=20250101065905.147164Z#000000#000#000000
> (Nothing after the above for rid=147)
This gives you the string to search for: searching for "conn=1034 op=1"
here would give you the messages related to the replication session
above. You'll see what happens on the provider and correlate that with
what the consumer. For every new consumer session there will be a new
"conn=xxx op=yyy" to search for.
Regards,
--
Ondřej Kuzník
Senior Software Engineer
Symas Corporation http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP