Hi,
I am totally new to openldap. I have an openldap 2.2.20 running on solaris 8. I needed to install and migrate it to linux. I have suuceesfully comiled and installed openldap 2.2.20 on redhat linux. Now I am unable to understand what do I have to do inorder to migrate all the data. I have already copied the schema files and edited the slapd.conf file according to what it was on the solaris machine. I have a vague idea that I will have to migrate the db files some how, may be using ldiff...On my solaris machine I do have the data folder which contains all the db files, should I just copy those in the openldap-data folder on linux machine? If any one can please point me into right direction...
thanks and regards
Rule of thumb, consider migrating platforms (i.e. your Solaris to Linux case) the same as an OpenLDAP upgrade, even if it's 2.2.20 -> 2.2.20. As such,
http://www.openldap.org/faq/data/cache/842.html
applies, as do many of the tips in the FAQ-O-Matic upgrade area.
With that said, running 2.2.20 on your new installation is a pretty awful idea. There are known security holes. If you're going to be messing around with your OpenLDAP installation anyway, you should run an upgrade to the latest 2.3 release at the same time.
On Tue, 25 Sep 2007, Naufal Sheikh wrote:
Hi,
I am totally new to openldap. I have an openldap 2.2.20 running on solaris 8. I needed to install and migrate it to linux. I have suuceesfully comiled and installed openldap 2.2.20 on redhat linux. Now I am unable to understand what do I have to do inorder to migrate all the data. I have already copied the schema files and edited the slapd.conf file according to what it was on the solaris machine. I have a vague idea that I will have to migrate the db files some how, may be using ldiff...On my solaris machine I do have the data folder which contains all the db files, should I just copy those in the openldap-data folder on linux machine? If any one can please point me into right direction...
thanks and regards
"Naufal Sheikh" naufalzamir@gmail.com writes:
Hi,
I am totally new to openldap. I have an openldap 2.2.20 running on solaris 8. I needed to install and migrate it to linux. I have suuceesfully comiled and installed openldap 2.2.20 on redhat linux. Now I am unable to understand what do I have to do inorder to migrate all the data. I have already copied the schema files and edited the slapd.conf file according to what it was on the solaris machine. I have a vague idea that I will have to migrate the db files some how, may be using ldiff...On my solaris machine I do have the data folder which contains all the db files, should I just copy those in the openldap-data folder on linux machine? If any one can please point me into right direction...
OpenLDAP-2.2.20 is rather old, you should consider to update to the latest version. To migrate just slapcat(8) the old database and slapadd(8) to the new system.
-Dieter
On 9/25/07, Naufal Sheikh naufalzamir@gmail.com wrote:
suuceesfully comiled and installed openldap 2.2.20 on redhat linux.
Hello,
As most people already replied about 2.2.20, you should upgrade to 2.3.x at least, which is much better also in terms of performances and replication (something which has been critical for me in OpenLDAP).
Out of curiosity, which version of redhat are you actually using ? Steph
Hi,
Thankyou so much for all the prompt replies from everyone. I really appreicate it. Well my boss is a bit concerned about the ugradation though, and I don;t think I can do anything about it in near future. I will try all what you have told me.
It is Red Hat Linux 8.0 .... Any issue which I should be knowing?:)
On 9/25/07, FRLinux frlinux@gmail.com wrote:
On 9/25/07, Naufal Sheikh naufalzamir@gmail.com wrote:
suuceesfully comiled and installed openldap 2.2.20 on redhat linux.
Hello,
As most people already replied about 2.2.20, you should upgrade to 2.3.x at least, which is much better also in terms of performances and replication (something which has been critical for me in OpenLDAP).
Out of curiosity, which version of redhat are you actually using ? Steph
Naufal Sheikh wrote:
Hi,
Thankyou so much for all the prompt replies from everyone. I really appreicate it. Well my boss is a bit concerned about the ugradation though, and I don;t think I can do anything about it in near future. I will try all what you have told me.
It is Red Hat Linux 8.0 .... Any issue which I should be knowing?:)
Where are you getting all these ancient versions from? 2.2.20 from source? RH 8.0? You really need the latest stable, supported software versions.
Any reason for these old versions?
Naufal: Make sure you stop slapd before you run slapcat on you directory. Also, slapd should not be running when you do a slapadd. I had to learn the hard way.
Ezra
On 9/25/07, Naufal Sheikh naufalzamir@gmail.com wrote:
Hi,
I am totally new to openldap. I have an openldap 2.2.20 running on solaris 8. I needed to install and migrate it to linux. I have suuceesfully comiled and installed openldap 2.2.20 on redhat linux. Now I am unable to understand what do I have to do inorder to migrate all the data. I have already copied the schema files and edited the slapd.conf file according to what it was on the solaris machine. I have a vague idea that I will have to migrate the db files some how, may be using ldiff...On my solaris machine I do have the data folder which contains all the db files, should I just copy those in the openldap-data folder on linux machine? If any one can please point me into right direction...
thanks and regards
openldap-software@openldap.org