Previous Contents Index Next |
iPlanet Directory Server Resource Kit 5.1 Tools Reference |
Chapter 15 create_instance.pl
The create_instance.pl tool is a Perl script that helps automate the process of creating new Directory Server 4.x instances on a machine where that product has already been installed. The tool will create the new instance using existing configuration files and information given interactively by the user.The create_instance.pl tool is incompatible with the Directory Server 5.x product.
This chapter contains the following sections:
Command Usage
Command Usage
The create_instance.pl tool reads existing configuration files and queries the user for more information about the new instance. It uses this information to create a file named newdsinst.inf describing the new instance. When finished, the tool will prompt you to run the command that will create the new instance using the configuration in this file.The create_instance.pl tool has the following command-line syntax:
The tool has no options, but it must be run from the serverRoot /admin-serv/config directory of a previously installed administration server.
- cd serverRoot /admin-serv/config
create_instance.pl
This script requires Perl version 5.005_03 or later. See "Where to Find Additional Information" for links to Perl resources.
Sample Configuration
The following listing shows the file generated by the create_instance.pl tool. Placeholders in this listing show the origin of the configuration information, either from an existing file or provided interactively through user input. The file format is the same as that used by the silent installation feature described in Chapter 4 of the iPlanet Directory Server Installation Guide available at the following URL:http://docs.iplanet.com/docs/manuals/directory/51/html/install/silent.htm
Code Example 15-1    Contents of the Generated newdsinst.inf File
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc.. All rights reserved.Last Updated April 15, 2002