Solved

Installing and configuring LDAP on CentOS 6.2

Posted on 2012-04-13
9
1,194 Views
Last Modified: 2012-08-14
I am pretty new to linux and am working on migrating and existing LDAP server to a newer OS version, CentOS 6.2. I have managed LDAP using phpldapadmin before so I was shielded from the underworkings of ldap.

The old server is using openldap and I am trying to migrate it to the new server. I have exported a .ldif from the old server, but am having issue installing and configuring ldap on the new server.

I have been looking through the literature and have been confused with what has to be done to get it going.

Can anyone help me in the right direction? basically I want to be able to get the new server to the point where I can restore the ldif file from the old server.

After that I will open up another question regarding replication. I have created a linux cluster and want HA for ldap, I believe that openldap has replication, but I am sure it will not be easy.
0
Comment
Question by:ryan80
  • 4
  • 4
9 Comments
 
LVL 8

Expert Comment

by:Pepe2323
ID: 37844111
Hi

Take a look to the following link i used this a few years ago to create a ldap server and worked for fine

http://www.linuxjournal.com/article/6266

I hope this help you.
0
 
LVL 77

Expert Comment

by:arnold
ID: 37844498
What about LDAP replication versus cluster

http://www.openldap.org/doc/admin24/replication.html
0
 
LVL 12

Author Comment

by:ryan80
ID: 37844502
After looking through things that may be what I do for LDAP but I still need the cluster for some other services. figure that I will just get LDAP migrated and then look into replication.
0
 
LVL 77

Expert Comment

by:arnold
ID: 37844561
replication is how you can get the data to the new one, and then you can go through the process of promoting the new as the master versus the old.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 12

Author Comment

by:ryan80
ID: 37844641
once I have the new ldap server, would I use mirroring through ldap to have it located on two servers?
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 37844706
Possibly,

But I've not looked at mirroring.
http://www.scribd.com/doc/31696121/openLDAP-Mirror-Mode-Replication
0
 
LVL 12

Author Comment

by:ryan80
ID: 37844817
have you just used for migration, or have you used some other form of replication such as multi-master or something else?
0
 
LVL 77

Expert Comment

by:arnold
ID: 37844885
Unfortunately not recently, the setup was to use a primary master and have slave replicas in the various segments (migration from NIS+ setup to LDAP).

Is time of the essence because the current primary is dying?

Do you have your LDAP using internal DB or mysql?
0
 
LVL 12

Author Closing Comment

by:ryan80
ID: 37883626
Thanks, I got it configured in a multimaster configuration and everything is working great.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Mysql Crashing Intermittently 16 83
Can't See Site After DNS Resolved 7 47
Backup & Restore 3 47
is my large folder zipped corrupted 4 51
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now