Sun Java System Messaging Server 6 2005Q4 Administration Guide

ProcedureTo Run comm_dssetup.pl in Silent Mode

Step

    To enable the silent mode, specify all the arguments at one time on a single line:


    # perl comm_dssetup.pl -i yes|no -R yes|no -c \
    Directory_Svr_Root -d Directory_instance \
     -r DC_tree -u User_Group_suffix -s yes|no \
    -D "DirectoryManagerDN" \
      -w password -b yes|no -t 1|1.5|2 \
    -m yes|path-to-schema-files]
    

    For example:


    # perl comm_dssetup.pl -i yes -c /var/opt/mps/serverroot -d slapd-budgie 
    -r o=internet -u o=usergroup -s yes -D "cn=Directory Manager"  
    -w password -b yes -t 1 -m yes
    

    The options for this command are:

    Option 

    Description 

    -i yes|no

    Answers the following question: “Do you want to configure new indexes?” Specify yes to configure new indexes. Specify no if you don’t want to configure new indexes.

    -R yes|no

    Execute reindexing if new indexes found and -m yes is given 

    -c Directory_Svr_Root

    Directory Server Root path name. For example: /var/opt/mps/serverroot

    -d Directory_instance

    Directory Server instance subdirectory. For example: slapd-budgie

    -r DC_tree

    DC tree suffix. For example: o=internet

    -u User_Group_suffix

    User/Group suffix. Example: o=usergroup

    -s yes|no

    Answers the following question: “Do you want to update the schema?” Specify yes to update the schema files. Specify no if you don’t want to update the schema files.

    -D DirectoryManagerDN

    Directory Manager DN. For example, "cn=Directory Manager"

    -w password

    Directory Manager password 

    -b yes|no

    Answers the following question: “Will this directory server be used for users and groups?” Specify yes if the directory server will be used for configuration and user/groups. Specify no if this directory will be only used for configuration data.

    -t 1|1.5|2

    Determines the schema version that you want to use for your Messaging Server: 

    • Choose 1 for Sun LDAP Schema 1.

    • Choose 1.5 for Sun LDAP Schema 2 (Compatibility Mode). See the Sun Java System Communications Services Schema Migration Guide for more information.

    • Choose 2 for Sun LDAP Schema 2 (Native Mode).

    -m yes|no

    Answers the following question: “Do you want to modify the directory server?” Specify yes to modify the directory. Specify no if you don’t want to modify the directory.

    -S path-to-schema-files

    Specifies the directory path to schema files. For example: ./schema.

    Once you set all the options for the comm_dssetup.pl script, you will see the following summary screen before the script runs:


    Here is a summary of the settings that you chose:
      Server Root                        : /var/opt/mps/serverroot/
      Server Instance                    : slapd-budgie
      Users/Groups Directory             : Yes
      Update Schema                      : yes
      Schema Type                        : 1
      DC Root                            : o=internet
      User/Group Root                    : o=usergroup
      Add New Indexes                    : yes
      Schema Directory                   : ./schema
      Directory Manager DN               : "cn=Directory Manager"

    Each option is further described in To Run comm_dssetup.pl in Interactive Mode.