Sun Java System Directory Server Enterprise Edition 6.2 Migration Guide

Prerequisites for Running dsmig

In this section, old instance refers to the 5.1 or 5.2 instance and new instance refers to the Directory Server 6.2 instance.

Before you use dsmig to migrate an instance, ensure that the following tasks have been performed:

You can create and start the new instance manually, but is not mandatory to create the new instance before running dsmig. dsmig checks whether a new Directory Server instance exists in the specified path. If a new instance exists, the commands are carried out on this instance. If a new instance does exist, the instance is created automatically.

The new instance can be created anywhere except for the exact location of the old instance.

While creating a new instance, a DN and a password for the directory manager is stored in nsslapd-rootdn and nssalpd-rootpw attributes under cn=config. During the migration process, the values for these attributes from the 5.1 or 5.2 instance are not propagated as these attributes already hold a value for the new instance. The same behavior is applied to nsslapd-secureport and nsslapd-port attributes for the same reason.