Re: [K12OSN] LDAP Replication

Michael Williams (mwilliams@haywood.k12.nc.us)
Sat, 22 Mar 2003 09:25:48 -0500 (EST)


>
> OpenLDAP 2.0.x (which is shipped in RH7.3) does not support
> multi-master. That means you can only make chnages on one server.

I hope thats not what I'm doing. I was following the examples in the
OpenLDAP 2.0 Admin Guide to create a replication server or slave.

>
> There are a couple of ways of dealing with this. The way I do is to
> have different names for the master and the slaves. Name the servers
> "ldap-master" and "ldap-slave", and then create DNS record for "ldap"
> that round-robins between the IP addresses of both "ldap-master" and
> "ldap-slave". Do your writes to "ldap-master" and your reads from
> "ldap".

I hadn't got this far yet, I'm planning on doing this at each remote
location to provide redundancy for authentication. But was just checking the
master slave relationship so far.

>
> If for some reason you can't write to one server and read from another,
> try adding a "updateref" url to slapd.conf on the slave.  Here's the
> entry in the slapd.conf man page:
>
>       updateref 
>              Specify the referral to pass back when slapd(8)  is
>              asked  to  modify  a replicated local database.  If
>              specified multiple times, each url is provided.

I've done this and this is where the second instance of slurpd on the
"master" actually does what the example in the Admin guide says it's
supposed to do. It's like the first instance doesn't read the updateref and
the second does.

My purpose is just to insure that the LDAP db's stays in sync and that they
stay mirror images of each other. More of a what happens if someone somehow
makes changes to the wrong db. More than likely me :-)

Michael
>
>
> HTH
>
> -Eric
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN@redhat.com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see 


-- 
Michael Williams                   Instructional Technology
Haywood County Schools          216 Charles St. Clyde, NC 28721
http://www.k12linux.org                 (828) 627-8314




_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see