LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-25-2014, 04:37 PM   #1
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
CentOS 6 OpenLDAP Master/Slave HOWTO


Hey all. Has anyone posted such a thing? I'm looking for a step 1 through X type of HOWTO. If I should get a book or read something, please provide the resource as I definitely don't mind reading the fine manual.

Our current environment consist of a physical server running CentOS 6.4 as Master LDAP and VM running 6.4 as slave. The Slave is running extremely slow and, instead of trying to troubleshoot that particular VM, I've decided to stand up an entirely new one and configure it as a slave (tertiary until the secondary can be removed). Some of the documentation I'm finding is inconsistent, e.g. open slapd.conf and ensure the following is included. There's no slapd.conf on any of our LDAP servers.

So, if anyone has successfully stood up this environment, I'd sure appreciate knowing what your /etc/openldap/ldap.conf files look like on each server as well as any syncrepl info to help ensure I'm configuring it all properly.
 
Old 07-26-2014, 07:31 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Check /etc/openldap/ldap.conf for the corresponding configuration file.

There is a lot of good documentation at openldap.org, you might benefit from a quick glance at the administrators manual
 
Old 07-26-2014, 09:37 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
OpenLDAP changed the way configuration works. The configuration is specified within the LDAP directory under the cn=confug DN. To me, this is a massive pain to deal with, but fortunately there are a few guides on the OpenLDAP site discussing how to migrate configurations to and from the new way of doing things.

When I set up master-slave replication, I used the syncrepl overlay. You might start with its documentation. I remember it being a bit of a pain to get working correctly, but once up and running it's very very stable and reliable in my environment.
 
Old 07-30-2014, 10:57 AM   #4
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
btmiller, might you be willing to share your configs?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to promote openldap slave server to master invincible General 1 05-30-2012 09:36 PM
OpenLDAP: slave is not being updated by master and replog is empty soylentgreen Linux - Server 1 04-19-2008 10:49 AM
OpenLDAP Replication Master\Slave paul_mat Linux - Networking 3 10-18-2006 07:37 AM
OpenLDAP master / slave setup sunhui Linux - Security 0 10-02-2006 09:51 PM
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration