Before you run the comm_dssetup.pl script, be sure to read the following requirements:
Prior to running the comm_dssetup.pl script, your directory server must be installed and configured.
Run the comm_dssetup.pl script as superuser.
Run comm_dssetup.pl prior to running the Messaging Server, Calendar Server, Communications Express, or User Management Utility Initial Runtime Configuration programs.
Generally, if you run comm_dssetup.pl on a directory server for one product (for example, Calendar Server), you don’t need to run it again for another product (like Messaging Server), as long as both products are using the same directory server. However, you will need to run comm_dssetup again if you change some of the answers you gave when running comm_dssetup. For example, if you want to use a different user/group suffix for the next configuration of Messaging Server, say because you ran commdirmig (migrated from Sun LDAP Schema 1 to Sun LDAP Schema 2).
The comm_dssetup.pl script must be run on your directory server machine.
Be sure that your directory server is running prior to running comm_dssetup.pl.
Whenever you install a new version of Messaging Server, you will need to run the new version of comm_dssetup.pl on your Directory Server machine. New schema and new indexes may be added to each Messaging Server distribution.
If the configuration data and user and group data are split into separate directory instances, you will need to run the comm_dssetup script on both instances.
For UNIX systems, use the version of Perl that ships with Directory Server to avoid problems with versions: dir_svr_root/bin/slapd/admin/bin/perl.
If you are running comm_dssetup.pl on a remote directory server:
Copy the dssetup.zip file from the msg_svr_base/install directory to the remote directory server. You may want to copy it to a directory like /tmp or /var/tmp. If you don’t wish to install comm_dssetup on all Directory Server machines, you can copy the zip file to other Directory Server machines instead of installing it.
Unzip the dssetup.zip file (which contains the comm_dssetup.pl and required schema).
Run the comm_dssetup.pl script on the remote directory server.
If you are running a replicated directory server, you need to make sure you run the comm_dssetup.pl script against the master and replica directories.
When you run the Directory Server Setup script (comm_dssetup.pl) to prepare Directory Server for Messaging Server configuration, record your installation parameters in Table E–3. You will need some of these parameters for the Messaging Server initial runtime configuration.