Mister Anonyme wrote:
> Date: Thu, 3 Sep 2009 15:30:19 -0600
> From: rmeggins(a)redhat.com
> To: fedora-directory-users(a)redhat.com
> Subject: Re: [389-users] How to restore replica admin in the master
> > See attached file.
> Seems ok - unlikely to be the culprit . . .
> >
You're right. I found out that the schema was just a coincidence.
I found out that it was the replication was working will until I
restart one of two masters. In fact, I never restarted it since it
was up.
Here's the file.inf on the second master, at the installation:
[General]
AdminDomain =
domain.net
SuiteSpotGroup = nobody
ConfigDirectoryLdapURL = ldap://MASTERA:389/o=NetscapeRoot
ConfigDirectoryAdminID = admin
FullMachineName = SERVER
SuiteSpotUserID = nobody
ConfigDirectoryAdminPwd = PASS
[admin]
ServerAdminID = admin
ServerAdminPwd = pass
SysUser = nobody
Port = 9830
[slapd]
InstallLdifFile = suggest
ServerIdentifier = LOCALSERVER
ServerPort = 389
AddOrgEntries = Yes
RootDN = cn=Directory Manager
RootDNPwd = PASS
Suffix = dc=bd,dc=domain,dc=net
UseExistingMC = Yes
You also need
SlapdConfigForMC = No
not sure if that's causing the problems
AddSampleEntries = No
ConfigFile = netscaperootdb.ldif
ConfigFile = devdb.ldif
ConfigFile = proddb.ldif
ConfigFile = repluser.ldif
ConfigFile = changelog.ldif
ConfigFile = replica.ldif
ConfigFile = replagreement.ldif
What I did is I removed all ConfigFile lines and I simply executed
ldapmodify on each file after the /usr/sbin/setup-ds.pl (I had to
modify each file by adding "changetype: add"). It seems to fix the
issue. I added a new schema and replication is still working even if
the other master doesn't have it. I restarted both masters, and it
still works.
I would have to review all of these ldif files - one or more of them
are
causing problems.
It seems it break the "implementation" if I use ConfigFile directly in
the file.inf at the installation. That's why I was able to
"reproduce" the issue because I was using the same installation method.
------------------------------------------------------------------------
Less clicking: Hotmail access on the new MSN homepage.
<
http://go.microsoft.com/?linkid=9677398>
------------------------------------------------------------------------
--
389 users mailing list
389-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users