The K Blag

Interesting Topics
  • Home
  • How To...
  • Who is The K?

Preparing Sun LDAP Directory Server 5.2 Suffix for Replication

Published by Mike on November 11, 2007 12:06 pm under ldap, replication, sun

In order for a directory server instance to participate in multi-master replication, each suffix that is to participate in MMR needs to be configured with a unique (at the very least among MMR for the suffix) integer that identifies this master in MMR. The numbers can range from 0 to 65535 to identify these MMR instances.

To identify the type of replica this instance should be, we need to address the nsDS5ReplicaType attribute. A value of 2 means this instance will be a consumer instance only, a value of 3 means this instance will be a read/write (master) instance. Values of 0 and 1 should not be used. More information about the nsDS5ReplicaType attribute.

dn: cn=replica, cn=”suffixname“,cn=mapping tree,cn=config
changetype: add
objectClass: nsDS5Replica
objectClass: top
cn: replica
nsDS5ReplicaBindDN: cn=replication manager, cn=replication, cn=config
nsDS5ReplicaRoot: suffixname
nsDS5Flags: 1
nsDS5ReplicaType: 3
nsDS5ReplicaId: uniqueidentifier

Create a file with the above contents and save it to disk (I saved mine as /tmp/enablereplsuffix.ldif).

Update your directory server instance via ldapmodify to enable replication to this suffix on this host.

/usr/bin/ldapmodify -h host -p port -D ‘rootdn‘ -w ‘password‘ -c -f /tmp/enablereplsuffix.ldif



bookmark to
Add 'Preparing Sun LDAP Directory Server 5.2 Suffix for Replication' to Del.icio.usAdd 'Preparing Sun LDAP Directory Server 5.2 Suffix for Replication' to diggAdd 'Preparing Sun LDAP Directory Server 5.2 Suffix for Replication' to redditAdd 'Preparing Sun LDAP Directory Server 5.2 Suffix for Replication' to TechnoratiAdd 'Preparing Sun LDAP Directory Server 5.2 Suffix for Replication' to Stumble Upon

No Comment

Comments are closed.

Posting your comment.

  • Categories

    • changelog
    • E-Mail
    • ldap
    • random
    • replication
    • sun
  • RSS Feeds

    • Posts RSS
    • Comments RSS
  •  

    September 2010
    M T W T F S S
    « Dec    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Blogroll

    • Konopka Family
    • The Gastromaniacs

Copyright © 2010 The K Blag