Sun Microsystems 8190994 Migrating the Schema Manually, Migrating Configuration Data Manually

Models: 8190994

1 148
Download 148 pages 5.33 Kb
Page 38
Image 38
Migrating the Schema Manually

Migrating the Schema Manually

The old instance has been stopped correctly.

A disorderly shutdown of the old instance will cause problems during migration. Even if the old and new instances are on different machines, the old instance must be stopped before migration is started.

Migrating the Schema Manually

Directory Server 5 schema files are located inserverRoot/slapd-serverID/config/schema. Directory Server 6.0 schema files are located ininstance-path/config/schema.

Directory Server 6.0 provides a new schema file,00ds6pwp.ldif, that contains new password policy attributes. In addition, certain configuration attributes have been added to 00core.ldif. Apart from these files, the standard schema files provided with Directory Server 6.0 are identical to those provided in version 5.

To migrate the schema, perform the following steps:

1.Copy the 99user.ldif file from the existing instance to the new instance. If you have already added custom schema to the new instance, you will need to choose which version of the custom schema to keep.

2.If you have defined custom schema in any other files, copy these files to the new instance.

3.Any fractional replication information must be redefined in the new instance.

Migrating Configuration Data Manually

Directory Server 5 configuration is specified in the file

serverRoot/slapd-serverID/config/dse.ldif. Directory Server 6.0 configuration is specified in the fileinstance-path/config/dse.ldif.

If you are migrating from 5.1, you must migrate the configuration files manually. The easiest way to do this is to run the migrateInstance5 migration script to produce a 5.2 configuration, and then to migrate the 5.2 configuration using dsmig. For information on using migrateInstance5, see the Directory Server 5.2 2005Q1 Installation and Migration Guide. For information on using dsmig to migrate the configuration, see “Using dsmig to Migrate Configuration Data” on page 31.

The following section describes the specific configuration attributes that must be migrated from the old instance to the new instance.

Migration of Specific Configuration Attributes

The values of the following attribute types must be migrated.

38

Sun Java System Directory Server Enterprise Edition 6.0 Migration Guide • March 2007

Sun Confidential: Registered

Page 38
Image 38
Sun Microsystems 8190994 manual Migrating the Schema Manually, Migrating Configuration Data Manually