How to check if replication is up?

This topic has 1 reply, 2 voices, and was last updated 3 years ago by Ludo.

  • Author
    Posts
  • #23857
     Tillman
    Participant

    Hi,

    If the replication service goes down you can not do writes to the DS and I while I could potentially use that to make sure that everything works as it should I would like to avoid writing as that is expensive. Instead I have been looking into a read av “cn=Replication,cn=monitor”. Is there anything there that could tell me if the replication service is up or not?

    Btw, to test the solution to my problem I would need to manually stop the replication service. How would I do that?

    Can I check this entry?:

    `dn:cn=Replication server RS(4149) <host>,cn=cn_admin data,cn=Replication,cn=monitor
    objectClass: top
    cn: Replication server RS(4149) <host>
    replication-server-id: 4149
    replication-server-port: 8991
    domain-name: cn=admin data
    generation-id: cn=admin data 165740
    missing-changes: 1

    But would this entry still exist if the replication service went down?

    Br
    Niclas

    • This topic was modified 3 years ago by Ludo. Reason: removed excuse for 2nd post
    • This topic was modified 3 years ago by Ludo.
    #23859
     Ludo
    Moderator

    Hi,

    When you enable replication by default, the replication service is started in the same JVM, same process.
    It is not expected that the replication service would go “down”.

    With the recent versions of Directory Services, you can suspend/resume replication without un-configuring it, so that could give you an option to test.

    But I don’t think there is a way to find its status from the Monitoring information.
    I will look into this as it seems that it’s something that could be useful.

    Regards,
    Ludo

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?