[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Slurpd replication.
- To: Evan Rohrkemper <er@fuse.net>, openldap-software@OpenLDAP.org
- Subject: Re: Slurpd replication.
- From: Jajati Samal <jajati@datalinx.net>
- Date: Tue, 16 Jan 2001 15:24:57 -0600
- Organization: DataLinx Inc
- References: <39D78881.AF65FF76@fuse.net> <39DA146B.16DF7371@datalinx.net> <39DA3DBE.F496B655@fuse.net> <39DB525B.255ED16@datalinx.net> <39DB62F0.F3467DB7@fuse.net>
Hi Everybody,
Can any one let me know about the replication in Open LDAP. Is it working for two
ways? Meaning to say from Master to Slave and slave to master.
For me it was working only for one direction that is master to slave. As Evan
suggested me I used two Master and it was working both way but it was not very
elegant.
One more issue.........Suppose I have two LDAP server. One is active and other is
passive. The slurpd makes the replication between both. So at any point of time
data containt is same in both server, assuming that the schema for both is same. Now
if the Active LDAP server goes down for whatever reason, passive server should
become active and my requests should go to that.
How to handle this? Is there any server level configuration for this or the
application developer has to write their own interface to handle this in application
level?
I will highly appreciate if any one can give me any insight for this.
Thanking u all
Jajati
Evan Rohrkemper wrote:
> Jajati,
> I have discovered a bit more about this problem. OpenLDAP is broken in
> the regards that it doesn't fit the LDAP model of a truly distributed
> directory. However, I have discovered that there is something that you
> can do to fix this. If you create 2 masters, rather than a master and a
> slave, they can be configured to replicate to each other. This is called
> multiple masters. There is a patch that can be used to support thisin
> OpenLDAP, but it is only available for version 1.2.1. I am not the
> worlds greatest C coder, but I have looked into it a bit and might be
> able to get someone to help me create a new patch for 1.2.11. The other
> option I seem to have found is to use OpenLDAP version 2. Please let me
> know what (if anything) you have discovered about this. Thank you,
>
> Evan Rohrkemper
>
> Jajati Samal wrote:
> >
> > Hi,
> > Is this for replication of OpenLDAP 2.0.4 on Red Hat Linux 6.2 ? ? ?
> >
> > So could anybody help me to know the replication of LDAP from slave slapd to
> > master slapd. Other way works perfectly. Plz go down to see my configuration
> > for both master and slave salpd.
> >
> > Thanks in advance
> > Jajati
> >
> > Evan Rohrkemper wrote:
> >
> > > After going back again and looking through the archives, I have seen
> > > threads where people will mention a multiple masters patch for
> > > openldap-1.2.11. Could someone please direct me to this patch?
> > > Thanks,
> > >
> > > Jajati Samal wrote:
> > > >
> > > > Hi.
> > > > So far there is no reply to Evan's mail and since I 'm faceing the same
> > > > problem in replication I' m posting the problem again. Regarding the
> > > > problem, any change happening in salve salpd does not notify to master
> > > > slapd. I'm running the master and slave slapd in Red Hat Linux 6.2.
> > > > Following is my slapd configuration.
> > > >
> > > > master slapd.conf ( only related to slurpd)
> > > >
> > > > replica host=< slave slapd IP >: 389
> > > > binddn="cn=Manager,o=my-Org,c=US"
> > > > bindmethod=simple
> > > > credentials= secret
> > > > replogfile /tmp/replogfile.log
> > > >
> > > > salve slapd.conf ( only related to slurpd )
> > > > updatedn "cn=Manager,o=my-Org,c=US"
> > > > updateref ldap://<Master slapd IP>:389
> > > >
> > > > Note: rootdn of both master slapd and slave slapd are same and also same as
> > > > the binddn of master salpd and the updatedn of the slave slapd . In both
> > > > slapd .conf I have the write permission for both salpd.
> > > >
> > > > Am I still missing anything??? Making me correct will be appreciated....
> > > >
> > > > Thanking all of u
> > > > Jajati
> > > >
> > > > Evan Rohrkemper wrote:
> > > >
> > > > > Hello all,
> > > > > I am attempting to setup a replicating LDAP directory between 2 machines
> > > > > that will be running sendmail with LDAP mail routing. I have
> > > > > successfully configured the replication from the master to the slave.
> > > > > However, I am unable to get the slave directory to give an update
> > > > > referral back. I have read the documentation and tried using the `update
> > > > > ldap://master.domain.com' directive as well as `updateref
> > > > > ldap://master.domain.com'. Neither of these directives made any
> > > > > difference. You can still update the slave directory and it will just
> > > > > silently take an update and not let the master know. I am running
> > > > > openldap-1.2.11 (from source) on both machines on top of Redhat linux
> > > > > 6.1 for the slave and 6.2 for the master. Am I missing some step? Am I
> > > > > doing something wrong? Does anyone else have replication working
> > > > > properly? What does your slapd.conf look like for the slave?
> > > > > Thank you in advance...
>
> --
> Evan Rohrkemper
> Zoomtown.com / Fuse Internet Access
> Systems Engineering
> 513.607.9899
- Prev by Date:
RE:
- Next by Date:
RE:
- Index(es):