LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-30-2006, 04:40 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
OpenLDAP: does all the data reside in a couple of files?


Hello

I have two servers and I'm in the process of setting them up to be in a high availability system. For the data, I'm using heartbeat and DRBD so that the data gets written to both of them simulatneously and, thus, if one fails, the other takes over.

For user authentication, I'm having a harder time to work out the best way to do this. I need the user details (login, home directory, group membership) to be mirrored on both servers, so that if the second server takes over, everyone can still log in.

Now, does LDAP put all of the user configuration data in a couple of files in the same directory? That is, could I set /etc/openldap/ up as a DRBD file system and run openLDAP on both machines? This way, even why /etc/openldap/ was unavailable ont he primary server, /etc/openldap/ on the secondary machine would still be up to date.

For example, I see this file mentioned occasionally in howtos: /usr/local/var/openldap-data/myldap/myldap.ldif Is this .ldif file THE file which has all the user details in it?

Can anyone see problems with this? Is there a better way to do it?

Thanks
Hamish

Last edited by hamish; 08-30-2006 at 04:42 PM.
 
Old 08-30-2006, 04:44 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
have a look here - http://www.bind9.net/manual/openldap/2.2/syncrepl.html
 
  


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
Where does Konqueror reside? drummerdan Slackware 6 08-16-2006 10:23 PM
where do my application files reside? bobotoes Linux - Newbie 5 12-23-2004 10:09 PM
A couple of questions about files and usergroups NonSumPisces Linux - Newbie 3 07-31-2004 07:31 AM
which path do the environment variable files reside in ycli00 Linux - General 1 03-03-2004 01:57 AM
Couple of easy questions on Suse startup files and QT digitized_funk Linux - Newbie 1 10-15-2003 11:17 PM

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

All times are GMT -5. The time now is 09:17 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