I need to upgrade apacheds from 2.0.0-M19 to 2.0.0-M23. Kindly share steps or documents. Thanks!
closed as off-topic by HopelessN00b, Daniel, Sven♦ Jun 2 '17 at 19:08
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working on, the research you have done, and the steps taken so far to solve it." – HopelessN00b, Daniel, Sven
Before you do anything you should export the existing LDAP database to an LDIF file!
ldapsearch -h localhost -p 10389 -D uid=admin,ou=system -w secret -LLL > ldap-export.ldif
Then import on the new server it in a similar fashion:
ldapmodify -h localhost -p 10389 -D uid=admin,ou=system -w secret -a -f ldap-export.ldif
I've always done the "upgrade" by building a clean box, installing the new version of ApacheDS to it and then re-importing the data. The main thing to be sure of is that you get all (if any) schema changes but do not overwrite any conflicting schemas in the new version.
The "-a" switch means ADD to the existing data (instead of replace it) so if there is a conflict it will tell you. Expect to do this a few times until you get it right :)