Mister Anonyme wrote:
Hi,I installed and configured many LDAP servers in a multi-master environment. Work very well.Now, I want to do a failover of the Configuration Directory Server between two masters, just in case. I tried to follow the instructions right here:http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Replication-Replicating-ADS-for-Failover.html It's just as clear as a mud...I would really like to have an real-life scenario example to help me because I'm struggling to configure it and it doesn't work at all.For example, the step 1 instruct us to create a file.inf and 4 ldif files: 0.- file.inf FullMachineName = MY FULL HOSTNAME AdminDomain = MY DOMAIN NAME SuiteSpotUserID = nobody SuiteSpotGroup = nobody ConfigDirectoryLdapURL = ldap://MY FULL HOSTNAME:389/o=NetscapeRoot ConfigDirectoryAdminID = admin ConfigDirectoryAdminPwd = MY PASSWORD [admin] ServerAdminID = admin ServerAdminPwd = MY PASSWORD SysUser = nobody ServerIpAddress = MY SERVER IP ADDRESS Port = 9830 [slapd] InstallLdifFile = suggest ServerIdentifier = MY SERVER HOSTNAME ServerPort = 389 AddOrgEntries = Yes RootDN = cn=Directory Manager RootDNPwd = MY DS PASSWORD SlapdConfigForMC = yes Suffix = dc=EXAMPLE, dc=NET UseExistingMC = 0 AddSampleEntries = Yes ConfigFile = repluser.ldif ConfigFile = changelog.ldif ConfigFile = replica.ldif ConfigFile = replagreement.ldif 1.- repluser.ldif dn: cn=replication manager,cn=config changetype: add objectClass: inetorgperson objectClass: person objectClass: top cn: replication manager sn: RM userPassword: MY ENCRYPTED PASSWORD passwordExpirationTime: 20380119031407Z 2.- changelog.ldif dn: cn=changelog5,cn=config changetype: add objectclass: top objectclass: extensibleObject cn: changelog5 nsslapd-changelogdir: /var/lib/dirsrv/slapd-MYINSTANCE/changelogdb 3.- replica.ldif dn: cn=replica,cn="o=NetscapeRoot",cn=mapping tree,cn=config changetype: add objectclass: top objectclass: nsds5replica objectclass: extensibleObject cn: replica nsds5replicaroot: o=NetscapeRoot nsds5replicaid: 1 nsds5replicatype: 3 nsds5flags: 1 nsds5ReplicaPurgeDelay: 604800 nsds5ReplicaBindDN: cn=replication manager,cn=config 4.- replagreement.ldiddn: cn=replication_netscaperoot,cn=replica,cn="o=Netscaperoot",cn=mapping tree,cn=configchangetype: add objectclass: top objectclass: nsds5replicationagreement cn: replication_netscaperoot nsds5replicahost: SECONDARY LDAP SERVER HOSTNAME nsds5replicaport: 389 nsds5ReplicaBindDN: cn=replication manager nsds5replicabindmethod: SIMPLE nsds5replicaroot: o=Netscaperoot description: replication netscaperoot nsds5replicacredentials: ENCRYPTEDPASSWORD nsds5BeginReplicaRefresh: startThen, I ran: /usr/sbin/setup-ds-admin.pl -s -f file.infIt went without errors.
Try setup-ds-admin.pl -dddDo you see those replica entries in /etc/dirsrv/slapd-instancename/dse.ldif ?
And then... I don't see any replica nor replica agreement. Even the user "cn=replication manager,cn=config' doesn't appear in the console. So, I'm wondering if any of you has succeeded to configure a replication/failover of o=NetscapeRoot ? If yes, I would be greatly appreciated if you could put your examples in real-life scenaro, it would help me alot.Thank you very much! ------------------------------------------------------------------------ ------------------------------------------------------------------------ -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
<<attachment: smime.p7s>>
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users