Configuration Directory Server failover

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

 



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.ldid


dn: cn=replication_netscaperoot,cn=replica,cn="o=Netscaperoot",cn=mapping tree,cn=config
changetype: 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: start


Then, I ran: /usr/sbin/setup-ds-admin.pl -s -f file.inf  

It went without errors.

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!



_________________________________________________________________
Find hidden words, unscramble celebrity names, or try the ultimate crossword puzzle with Live Search Games. Play now!
http://g.msn.ca/ca55/212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20080711/9cdcf5fd/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