[HELP] creating partition by command line

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

 



Hello all,
I tried create one partition by command line, but it doesn't work.
And when I've tried to restart the console admin, it doesn's work too and
when I did a search for cn=mapping tree,cn=config subtree, it didn't return
anything.
I Tried follow the tutorial at this site:
http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17741

I Created the database for root suffix, the root suffix(dc=mg), sub
suffix(ou=bh,dc=mg) and the database link(Contain a Referral for other
Server) for sub suffix at Main Server .
In the other server I created the root suffix(ou=bh,dc=mg) and the database
for this root suffix.
The LDIF's that i used for create these partitions as follow:

./ldapmodify -a -D "cn=directory manager" -w- -f /tmp/partition.ldif
Configuration for the Main Server
#Create the database
dn: cn=particaoManual,cn=ldbm database,cn=plugins,cn=config
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: "ou=bh,dc=mg"

#Create root suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: particaoManual
cn: ou=bh,dc=mg

#Create sub suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: Referral
nsslapd-referral: ldap://172.25.0.13:389/ou=bh,dc=mg
nsslapd-backend: particaoLink
nsslapd-parent-suffix: "dc=mg"
cn: ou=bh,dc=mg

#Create Database link
dn: cn=particaoLink,cn=chaining database,cn=plugins,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: ou=bh,dc=mg
nsfarmserverurl: ldap://172.25.0.13:389/
nsmultiplexorbinddn: uid=replicator,cn=config
nsmultiplexorcredentials: secret
cn: particaoLink

Configuration for the Other Server
./ldapmodify -a -D "cn=directory manager" -w- -f /tmp/subpartition.ldif
#Create the database
dn: cn=particaoManual,cn=ldbm database,cn=plugins,cn=config
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: "ou=bh,dc=mg"

#Create root suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: particaoManual
cn: ou=bh,dc=mg

att,
Jorge Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20060923/b16f0866/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