When you run this command, any custom schema dened in the 99user.ldif le are copied to
the new instance. If the new instance is already in production, and you have already modied
the 99user.ldif le of the new instance, dsmig performs a best eort merge of the two les.
Custom schema dened in any other les are also copied to the new instance.
During schema migration, all fractional replication information is moved from the schema les.
Fractional replication must be redened in the new instance.
For more information, see dsmig(1M).
Using dsmig to Migrate Security Data
To migrate the security settings automatically, run the following command:
$ dsmig migrate-security old-instance-path new-instance-path
During the migration of security settings, dsmig performs the following tasks:
■
Backs up the certicate and database les in the new instance.
■
Copies the certicate database and key database les from the old instance to the new
instance.
■
Copies the password le from the old instance to the new instance.
■
Copies the certicate mapping le from the old instance to the new instance.
■
If the old instance uses an external security token, copies the security module database and
the external token library to the new instance.
For more information, see dsmig(1M).
Using dsmig to Migrate Conguration Data
Directory Server 5.2 conguration is specied in the le
serverRoot/slapd-instance-path/config/dse.ldif. Directory Server 6.0 conguration is
specied in the le instance-path/config/dse.ldif.
To migrate the conguration automatically, run the following command:
$ dsmig migrate-config old-instance-path new-instance-path
In this step, dsmig reads each LDIF entry in the conguration le (dse.ldif) of the 5.2 instance.
If these entries exist in the corresponding Directory Server 6.0 conguration le, their values are
updated. If the entries do not exist, they are created.
Migration of the conguration is done over LDAP. By default, dsmig binds to the new instance
securely, issuing a StartTLS request.
Usingdsmigto MigrateCongurationData
Chapter2 • AutomatedMigration Usingthe dsmigCommand 31
SunCondential:Registered