Installing and configuring LDAP on CentOS 6.2

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.
LVL 12
ryan80Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pepe2323Commented:
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
arnoldCommented:
What about LDAP replication versus cluster

http://www.openldap.org/doc/admin24/replication.html
0
ryan80Author Commented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

arnoldCommented:
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
ryan80Author Commented:
once I have the new ldap server, would I use mirroring through ldap to have it located on two servers?
0
arnoldCommented:
Possibly,

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ryan80Author Commented:
have you just used for migration, or have you used some other form of replication such as multi-master or something else?
0
arnoldCommented:
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
ryan80Author Commented:
Thanks, I got it configured in a multimaster configuration and everything is working great.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.