Sun Microsystems 8190994 Server User Manual


 
When you run this command, any custom schema dened in the 99user.ldif le are copied to
the new instance. If the new instance is already in production, and you have already modied
the 99user.ldif le of the new instance, dsmig performs a best eort merge of the two les.
Custom schema dened 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 redened 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 certicate and database les in the new instance.
Copies the certicate 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 certicate 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 Conguration Data
Directory Server 5.2 conguration is specied in the le
serverRoot/slapd-instance-path/config/dse.ldif. Directory Server 6.0 conguration is
specied in the le instance-path/config/dse.ldif.
To migrate the conguration automatically, run the following command:
$ dsmig migrate-config old-instance-path new-instance-path
In this step, dsmig reads each LDIF entry in the conguration le (dse.ldif) of the 5.2 instance.
If these entries exist in the corresponding Directory Server 6.0 conguration le, their values are
updated. If the entries do not exist, they are created.
Migration of the conguration is done over LDAP. By default, dsmig binds to the new instance
securely, issuing a StartTLS request.
Usingdsmigto MigrateCongurationData
Chapter2 • AutomatedMigration Usingthe dsmigCommand 31
SunCondential:Registered