[389-users] Repair replication

Chun Tat David Chu beyonddc.storage at gmail.com
Thu Mar 22 14:40:34 UTC 2012


Hey Herb,

You should refer to the Red Hat Directory Server administration guide for
detail about setting up replication which you can locate in here.
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/

>> 1. How can I find out which system(s) is/are master, consumer, hub, etc?
You should be able to determine the role of the Directory Server for each
system by logging into the LDAP console under
"Configuration->Replication".  The role is either "Single Master", "Hub" or
"Dedicated Consumer".

>> 2. How do I confirm that the systems have the correct credentials for
replication? (I am receiving: "Unable to acquire replica: Permission
denied.")
    a. How can I change the bind dn "cn=replication,cn=config" credentials
on each system to ensure replication will work?
You can do that on the console as well.  Just navigate down the directory
tree and manually reset the password for the replication user account.
There's a possibility that your replication user account's password expired.

>> 3. I assume that upon repairing replication (apparently it has not been
working for several years) the systems will all replicate to the most
recent information.  Correct?
I think that's the tricky part.  Make sure you backup your directory on all
the LDAP first so you have something to roll back.  I *believe* the last
step when setting up replication is initializing the directory and that
will wipe out directory on the other LDAP.  Someone on the list might  be
able to provide a better on this but I am just giving you a heads up that
this can be a complicated process.

Good luck

- David

2012/3/21 Herb Burnswell <herbert.burnswell at gmail.com>

> Hi All,
>
> I'm new to LDAP administration and have been tasked with fixing the system
> replication of 4 Linux systems running Fedora Directory Services.  I am
> very comfortable working with Linux/Unix but am not experienced with LDAP.
> I've been reading the communications from this user group and reading as
> much as I can from documentation.  I believe this environment is not too
> complex but I am looking for some guidance, any assistance is greatly
> appreciated.
>
> Info:
>
> OS: Fedora Core 4
> LDAP: Fedora Directory Server v 7.1
>
> First, I know that both the systems and FDS versions are ancient.
> However, at this point I need to get the replication working prior to
> putting together a migration plan.  I have access to the Directory Manager
> console and am comfortable running command line commands as well.  Either
> way is fine.
>
> Questions:
>
> 1. How can I find out which system(s) is/are master, consumer, hub, etc?
>
> 2. How do I confirm that the systems have the correct credentials for
> replication? (I am receiving: "Unable to acquire replica: Permission
> denied.")
>     a. How can I change the bind dn "cn=replication,cn=config" credentials
> on each system to ensure replication will work?
>
> 3. I assume that upon repairing replication (apparently it has not been
> working for several years) the systems will all replicate to the most
> recent information.  Correct?
>
> Again, any guidance is greatly appreciated.
>
> Thanks in advance,
>
> Herb
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120322/edfe5e8f/attachment.html>


More information about the 389-users mailing list