Sun Java Enterprise System 2005Q1 Deployment Example Series: Evaluation Scenario

ProcedureTo Configure Your Directory Tree for Communications Services

This procedure runs the Directory Server Preparation Tool (a Perl script named comm_dssetup.pl) and configures the evaluation directory for use with Java ES communications services. For a summary of the input values, see Directory Server Preparation Tool Details.


Tip –

The script displays a series of prompts. You answer most of the prompts by pressing Enter to accept the default value. The default values identify your default Directory Server instance.


Steps
  1. Change directory to the preparation tool directory:


    cd /opt/SUNWcomds/lib
  2. Run the command that unzips the preparation tool:


    unzip dssetup.zip
  3. Change directory to the unzipped preparation tool:


    cd dssetup
  4. Run the command that starts the preparation tool:


    perl comm_dssetup.pl

    The preparation tool displays a series of messages and then prompts you: Do You Want To Continue? [Y].

  5. Press Enter to accept the default value.

    The preparation tool prompts you: Enter the Full Path to the Directory Where The Sun ONE Directory Server was Installed.

  6. Press Enter to accept the default value (/var/opt/mps/serverroot).

    The preparation tool displays a numbered list of directory server instances and prompts you: Which Instance Do You Want? [1].

  7. Choose the default Directory Server instance created by the Java Enterprise System installer. For the evaluation solution there is normally only one instance on your evaluation_host.

    • If the default value for this prompt (1) specifies the correct instance (the instance name ends with your evaluation_host), press Enter to accept the default value.

    • If there is more than one Directory Server instance, type in the number that specifies the default Directory Server instance and press Enter.

    The preparation tool prompts you: Please Enter The Directory Manager DN [cn=Directory Manager].

  8. Press Enter to accept the default value (cn=Directory Manager).

    The preparation tool prompts you for the Directory Manager password.

  9. Type password and press Enter.

    The preparation tool prompts you: Will This Directory Server Be Used For Users/Groups? [Yes].

  10. Press Enter to accept the default value.

    The preparation tool prompts you: Please Enter The Users/Groups Base Suffix [o=examplecorp].

  11. Confirm that the default value specifies examplecorp, the base suffix you established for your directory tree. Press Enter to accept the default value.

    The preparation tool displays a list of Sun ONE LDAP schemas and prompts you: Please Enter The Schema Type (1, 1.5, 2) [2].

  12. Confirm that the default value is 2. Press Enter.

    The preparation tool prompts you: Do You Want To Update The Schema Files? [Yes].

  13. Press Enter to accept the default value (Yes).

    The preparation tool prompts you: Do You Want To Configure New Indexes? [Yes].

  14. Press Enter to accept the default value (Yes).

    The preparation tool prompts you: Do You Want To Reindex The New Indexes Now? [yes].

  15. Press Enter to accept the default value (yes).

    The preparation tool displays a summary of the values that you entered and prompts you: Do You Want To Continue? [Y].

  16. Review the values you entered. Press Enter to accept the default value (y).

    The preparation tool displays a series of informational messages, beginning with “generating files.” This might take a few moments.

    The preparation tool generates script files and then prompts you: Ready to execute the script now. Do you want to continue? [Y].

  17. Press Enter to accept the default value (Y).

    The preparation tool executes the generated scripts to configure the Directory Server instance. This may take a few moments.

    The scripts display a long series of informational messages that ends with the following:


    Successful Completion

    You have configured your directory tree for use with Java ES communications services.