This topic has 3 replies, 3 voices, and was last updated 3 years, 2 months ago by dave..

  • Author
    Posts
  • #23243
     dave.
    Participant

    Hi Everybody,

    I have been thrown into the cold water and I need to setup a Multi-Replication-Topology with Sub Trees (Suffix) because we do not want every Suffix in every location. The concept is not part of discussion.

    Now – I am kinda stuck and not getting it right. As it should be possible from the docs as far as I understand.

    Reffering to:
    https://backstage.forgerock.com/docs/ds/6/admin-guide/#repl-subtree
    https://backstage.forgerock.com/docs/ds/6/admin-guide/#repl-per-suffix

    I have tried to draw a picture below about the dn structure and on which servers they should appear.

    So far I came up with.
    1. I need to split the DNs into different backends – done
    2. How do I setup more than one Replication Topology ?
    3. Do I need a Standalone Replication Server per Topology ?
    4. Do I need to enable replication on the Directory Server if I need to use Standalone ?
    .. I just do not know. :-)

    Can anyone point me in a direction (with commands) or put the commands together per server and DN ? that would really be awesome. :-)

    Many Thanks
    Dave.

    Server 1a
    dc=example,dc=com ##Topo1
    c=1,dc=example,dc=com ##Topo2
    c=2,dc=example,dc=com (RO) ##Topo3
    c=3,dc=example,dc=com (RO) ##Topo4
    l=1,dc=example,dc=com ##Topo2

    Server 1b
    dc=example,dc=com ##Topo1
    c=1,dc=example,dc=com ##Topo2
    c=2,dc=example,dc=com (RO) ##Topo3
    c=3,dc=example,dc=com (RO) ##Topo4
    l=1,dc=example,dc=com ##Topo2

    Server 2a
    dc=example,dc=com ##Topo1
    c=2,dc=example,dc=com ##Topo3
    l=2,dc=example,dc=com ##Topo5

    Server 2b
    dc=example,dc=com ##Topo1
    c=2,dc=example,dc=com ##Topo3
    l=2,dc=example,dc=com ##Topo5

    Server 3a
    dc=example,dc=com ##Topo1
    c=3,dc=example,dc=com ##Topo4
    l=3,dc=example,dc=com ##Topo6

    Server 3b
    dc=example,dc=com ##Topo1
    c=3,dc=example,dc=com ##Topo4
    l=3,dc=example,dc=com ##Topo6

    RO = Readonly
    TopoX = Replication Topology

    #23244
     Ludo
    Moderator

    What you want can be achieved quite simply.
    Replication is configured by baseDN which must be the root of a backend.
    So, once you have all subtrees in their respective backends, you enable replication for each subtree with only the servers you want to. Think of dsreplication configure as “join these servers to a replication topology”

    For dc=example,dc=com, enable replication between server 1a and 1b, then 1a and 2a, then 1a and 2b, then 1b and 3a finally 1a and 3c. (these will be fully meshed).

    Next is c=1,dc=example,dc=com. 2 servers (1a 1b)
    Enable replication between server 1a and 1b

    Next is c=2,dc=example,dc=com. 4 servers (1a 1b 2a 2b)
    Enable replication between server 1a and 1b, then 1a and 2a, and 1a and 2b.

    And so on.

    • This reply was modified 3 years, 2 months ago by Ludo.
    #23246
     Michelle Reagin
    Participant

    Keep in mind cn=schema will be replicated across all servers since they’ll all be replicating as part of Topo1. So if custom schema is only needed in, say, Topo5, ensure that your build process for all Directory Servers includes loading the custom schema for Topo5. And also keep in mind that since cn=schema will be replicated, any changes to cn=schema initiated at any servers in any of the topologies will end up replicating throughout the entire replication topology. So do not fall into the trap that only the servers with Topo5 only need the custom schema used exclusively in Topo5.

    #23255
     dave.
    Participant

    Thanks !

    I figured and building it now. lots of commands … :-)

    Dave.

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