Unable to configure Replication via command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



uh.... okay, I got it working now.

In my LDIF, the dn to create the "cn=replica" should be 'dn:
cn=replica,cn="dc=example, dc=com",cn=mapping tree,cn=config'
A space is needed between "dc=example," and "dc=com".

I am not sure why though, but that made it work.

- David

On Fri, Jan 8, 2010 at 11:19 AM, Chun Tat David Chu <
beyonddc.storage at gmail.com> wrote:

> Hi All,
>
> I am working on LDIF that will configure replication via command line.  I'm
> following the direction documented in the Red Hat DS Administration Guide
> section 8.7.  Particularly I am stuck in step 2 of 8.7.1 when configuring my
> suppliers.
> http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Managing_Replication-Configuring-Replication-cmd.html#Configuring-Replication-Suppliers-cmd
>
> Below is the output from my ldapmodify command.
> adding new entry "cn=Replication Manager,cn=config"
> adding new entry "cn=changelog5,cn=config"
> adding new entry "cn=replica,cn="dc=example,dc=com",cn=mapping
> tree,cn=config"
> ldap_add: No such object (32)
>
> As you can see, I was able to create my replication manager, and enabled
> the change log, however, I wasn't able to create the 'dn:
> cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config' entry.  I can
> see from the directory console that 'cn="dc=example,dc=com",cn=mapping
> tree,cn=config' does exist in my directory console.
>
> Is there anything that I did wrong in my LDIF?  Can someone take a look?
> Thanks!!!
>
>
> ###############################################################################
>
> ###############################################################################
> # Step 1 - Create Supplier Bind DN Entry
> dn: cn=Replication Manager,cn=config
> changetype: add
> objectclass: top
> objectclass: person
> userPassword: password
> sn: Replication Manager
> description: The Replication Manager Account
>
> ###############################################################################
>
> ###############################################################################
>
>
> ###############################################################################
>
> ###############################################################################
> # Step 2 - Configuring Suppliers from the Command Line
> dn: cn=changelog5,cn=config
> changetype: add
> objectclass: top
> objectclass: extensibleObject
> cn: changelog5
> nsslapd-changelogdir: /var/lib/dirsrv/slapd-localhost/changelogdb
> nsslapd-changelogmaxage: 10d
>
> dn: cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
> changetype: add
> objectclass: top
> objectclass: nsds5replica
> objectclass: extensibleObject
> cn: replica
> nsds5replicaroot: dc=example,dc=com
> nsds5replicaid: 1
> nsds5replicatype: 3
> nsds5flags: 1
> nsds5ReplicaPurgeDelay: 604800
> nsds5ReplicaBindDN: cn=Replication Manager,cn=config
>
> ###############################################################################
>
> ###############################################################################
>
> Thanks a lot!
>
> - David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20100108/d38b1308/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux