Previous Contents Index Next |
iPlanet Directory Server Resource Kit 5.1 Tools Reference |
Chapter 23 migrateSchemaTo5.pl
The migrateSchemaTo5.pl tool is a Perl script that helps automate the process of updating your custom schema for deployment with iPlanet Directory Server 5.x . Most custom schema files used in version 4.x Directory Servers can be fully updated using this script and thus require no manual editing.Further information about migrating to versions 5.x , see Chapter 6, "Migrating from Previous Versions" in the iPlanet Directory Server Installation Guide.
This chapter contains the following section:
Syntax
Command Usage
The migrateSchemaTo5.pl tool is designed to convert all of the custom schema files used by your previous Directory Server to the format required by versions 5.x . For example, all attribute and object class definitions now require a value for the X-ORIGIN field, and this tool will generate one automatically using either a default value or a user-specified value.
Syntax
The migrateSchemaTo5.pl tool has the following command-line syntax:
Where:
- migrateSchemaTo5.pl -o 4xInstancePath -s newSchemaFile [ options ]
4xInstancePath is the location of the old 4.x server installation. The tool will automatically locate all schema files defined in the slapd.conf file under the userat and useroc headings. Schema files specified in INCLUDE statements with the 4.x slapd.conf file are not converted automatically. You must convert these files separately using the -i option described in Table 23-1.
This script requires Perl version 5.005_03 or later. See "Where to Find Additional Information" for links to Perl resources.newSchemaFile is the name of the file where the equivalent 5.x schema will be written.
Options
The migrateSchemaTo5.pl options and parameters are described in the following table.
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc.. All rights reserved.Last Updated April 15, 2002