On 11/03/2017 11:48 AM, Sergei Gerasenko wrote:
Hello,

Some basic questions about the changelog:

1. What’s the location of the changelog where I can look up a CSN?
typically its something like:

/var/lib/dirsv/slapd-YOUR_INSTANCE/changelogdb

To look at the replication changelog you need to use the cli tool "cl-dump.pl"

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwit5tqk5qLXAhVK7iYKHaacB40QFggmMAA&url=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-US%2FRed_Hat_Directory_Server%2F8.0%2Fhtml%2FConfiguration_and_Command_Reference%2FConfiguration_Command_File_Reference-cl_dump.pl_Dump_and_decode_changelog.html&usg=AOvVaw0EeBRb66mKeGlybKkp0z1O

2. How do I see the setting for the max life of a CSN?
There is no "max life" of a csn.

There is replication purging and changelog trimming that uses csns in RUV's to determine what can be removed.  The admin guide talks about these in more detail.
3. How do I view a particular CSN (i.e. its contents)?
csn:

    59f9e547000200010000

Breaks down like this:

    59f9e547 0002 0001 0000

The first 8 bits is the timestamp in hex: 59f9e547  -->  1509549383 seconds since EPOCH
the next 4 is the sequence number (0002)
the next 4 is the replica ID (0001)
and the last 4 is the subsequence number (0000)

Thanks,
  Sergei



_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org