Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun ONE Directory Server Resource Kit 5.2 Tools Reference 

Chapter 17
The Directory Server 4.x Instance Creation Tool

The create_instance.pl tool is a Perl script that helps automate the process of creating new Sun™ ONE Directory Server 4.x instances on a machine where that product has already been installed. This chapter provides instructions on how to use the script. It contains the following sections:


Overview

The create_instance.pl tool automates the process of creating new Directory Server 4.x instances on a machine where that product has already been installed. The script is not compatible with the Sun ONE Directory Server 5.x product. The tool will create the new instance using existing configuration files and information given interactively by the user. The Sun ONE Directory Server Resource Kit (DSRK) includes the script in the DSRK_base/perl directory. It requires Perl version 5.005_03 or later.


Note

See Third-Party Sources of Information for links to Perl resources.



Command Usage

The create_instance.pl script reads existing configuration files and queries the user for any additional information about the new instance. It creates a file named newdsinst.inf that details the configuration for the new instance. (See Configuration Information for a listing of the collected information.) When finished, the tool will prompt you to create a new instance using the configurations detailed in this file. Following is the procedure to run create_instance.pl:

  1. Change to the DirectoryServer_base/admin-serv/config directory.
  2. $ cd DirectoryServer_base/admin-serv/config

  3. Run create_instance.pl from the command-line.
  4. $ ./create_instance.pl


    Note

    The tool has no options, but it must be run from the config directory of a previously installed administration server.



Configuration Information

The following sections detail the configuration information written to the newdsinst.inf file (as generated by the create_instance.pl tool). The placeholders in italics show the origin of the specific information, either from an existing file or through user input.

General Information

This information is listed under the [general] section of the newdsinst.inf file.

New Directory Instance Information

This information is listed under the [slapd] section of the newdsinst.inf file.

Administration Information

This information is listed under the [admin] section of the newdsinst.inf file.

Base Information

This information is listed under the [base] section of the newdsinst.inf file.



Previous      Contents      Index      Next     


Copyright 2004 Sun Microsystems, Inc. All rights reserved.