This topic has 4 replies, 2 voices, and was last updated 6 years, 10 months ago by Scott Heger.

  • Author
    Posts
  • #1572
     Scott Heger
    Participant

    I see in the OpenDJ Admin Guide where it states:

    OpenDJ also replicates schema definitions, so the schema you add on one replica is propagated to other replicas without you having to intervene manually.

    Is that automatic whenever you enable replication for any baseDN or is there anything else that needs to be done? Also, when schema replication occurs, should an update to 99-user.ldif be reflected on all replicated servers at the time replication occurs or is there some other event that triggers that?

    #1580
     Ludo
    Moderator

    Hi Scott,

    Schema replication is enabled as soon as Replication is enabled between 2 servers, as there is a single global schema per server.
    There are 2 events that are triggering schema replication :
    – Schema is added online, using LDAP (modify). Unless specifically specified, these schema elements are written to the 99-user.ldif file and replicated to all servers in the same file.
    – Schema files are added or altered while the server is offline. When starting, the server will notice that schema files have changed and the server will compute all changes, including the files in which these elements are stored, and will push the changes to their respective files on the replicated server.

    The only thing that the server doesn’t do, is detecting changes in the schema files while the server is online, because the server is only expecting to write to those files new changes.

    I hope this helps.

    #1581
     Scott Heger
    Participant

    Hi Ludo,

    Yes, that helps very much and clarifies the process. We are working in replicated environment where as we bring on new clients into the system we need to bring in custom objectclasses/attributes. We are developing our process to handle these periodic schema updates to all OpenDJ servers. Sounds like a simple ldapmodify on a single server will suffice.

    Thanks!

    #1588
     Ludo
    Moderator

    Hi Scott,

    You’re correct. Only one of the servers’ schema need to be updated over LDAP.

    #1589
     Scott Heger
    Participant

    Excellent. Thank you!

Viewing 5 posts - 1 through 5 (of 5 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?