| |
| Sun Java System Portal Server 6 Enterprise Sample Installation Guide | |
Chapter 2
Install and Configure Communication Services
Product and Configuration DependenciesThe following Sun Java Enterprise System products must be installed and configured on the system on which you will install and run the Enterprise Sample:
If you want to configure the Communication channel services to use the adventuresportscafe.com organization and associated sample data, you need to install and configure the following Sun Java Enterprise System products, which provide hosted domain support:
Post-installation Configuration and StartupThis section explains how to configure each of the Sun Java System Portal Server communication services so that the Communication channels in the Enterprise Sample will be preconfigured with the Adventure Sports Café sample data.
Please see the Sun Java Enterprise System 2004Q2 Installation Guide for additional configuration information.
Directory Server Configuration
The Directory Server setup script (comm_dssetup.pl) configures your LDAP Directory Server to work with your Messaging Server, Calendar Server, and User Management Utility configurations.
The comm_dssetup.pl script is located in the following directory (the default root directory for the Directory Server is /opt/SUNWmsgsr):
/msg-server-install-root/lib
- Change to the directory in which the Directory Server setup script is installed. For example:
cd /opt/SUNWmsgsr/lib
- Ensure that the Directory Server is running; if not, enter the following command. Note that DS_SERVERROOT represents the Directory Server root directory (the default is /var/opt/mps/serverroot), and HOSTNAME represents the host name on which the Directory Server is installed.
DS_SERVERROOT/slapd-HOSTNAME/start-slapd
- Run the Directory Server setup script using the following command:
DS_SERVERROOT/bin/slapd/admin/bin/perl ./comm_dssetup.pl
- Respond to the prompts as shown in the following table. Note that responses in brackets are default responses. To specify the default response to a prompt, press Enter.
User Management Utility Configuration
The User Management Utility command-line utilities enable administrators to manage different communication services for users, groups, domains, and organizations. The User Management Utility configuration program (config-iscli) is located in the following directory (the default root directory for the User Management Utility is /opt/SUNWcomm/):
/um-util-install-root/sbin
- Change to the directory in which the User Management Utility configuration program is installed. For example:
cd /opt/SUNWcomm/sbin
- Run the configuration program using the following command:
./config-iscli
- Respond to the prompts as follows:
- If the Sun Java System Identity Server is using Sun Java System Application Server as its web container, run the asadmin deploy command which deploys commcli-server.war into the Identity Server web container. To manually deploy commcli-server.war:
- Ensure that the Application Server is running; if not, enter the following commands:
cd /opt/SUNWappserver7/bin
./asadmin start-appserv
- Execute the asadmin deploy utility with the following command-line options, substituting the values appropriate for your installation.
./asadmin deploy \
--user admin_user_name \
--password admin_user_password \
--host hostname \
--port as_port_number \
--name commcli \
--contextroot commcli \
/opt/SUNWcomm/lib/jars/commcli-server.war
- The admin_user_name variable is the Application Server user associated to the instance.
- The admin_user_password variable is the password that corresponds to the Application Server user.
- The hostname variable is the local host name of the machine hosting the Application Server instance.
- The as_port_number is the http-listener port number for the admin server within the Application Server. For a default installation, this port number is stored in the following file:
/var/opt/SUNWappserver7/domains/domain1/admin-server/config/server.xml
For more description on the asadmin deploy utility, see the Sun ONE Application Server 7 Administrator's Guide.
- Stop the Application Server:
./asadmin stop-appserv
- Start the Application Server:
./asadmin start-appserv
- Test the commadmin utility. The commadmin domain search command obtains all the directory properties associated with a single domain. Run the command with the following command-line options (option -h displayed online help):
./commadmin domain search -D admin -w password -X company22.example.com
-p 80 -n company22.example.com -d company22.example.comOK
dn: dc=example,dc=com
o: company22.example.com
objectclass: sunISManagedOrganization
objectclass: sunNameSpace
objectclass: top
objectclass: sunManagedOrganization
objectclass: organization
objectclass: domain
sunnamespaceuniqueattrs: o,sunPreferredDomain,associatedDomain,sunOrganizationAlias
sunregisteredservicename: SunPortalNetMailService
sunregisteredservicename: SunPortalSubscriptionsService
sunregisteredservicename: iPlanetAMAuthenticationDomainConfigService
sunregisteredservicename: iPlanetAMAdminConsoleService
sunregisteredservicename: iPlanetAMAuthMembershipService
sunregisteredservicename: iPlanetAMAuthService
sunregisteredservicename: iPlanetAMPolicyConfigService
sunregisteredservicename: SunSSOAdapterService
sunregisteredservicename: iPlanetAMUserService
sunregisteredservicename: SunMobileAppABService
sunregisteredservicename: iPlanetAMProviderConfigService
sunregisteredservicename: SunMobileAppMailService
sunregisteredservicename: SunPortalWSRPConsumerService
sunregisteredservicename: SunPortalWSRPProducerService
sunregisteredservicename: iPlanetAMAuthLDAPService
sunregisteredservicename: SunMobileAppCalendarService
sunregisteredservicename: SunPortalDesktopService
dc: example
inetdomainstatus: Active
sunorganizationalias: company22.example.comMessaging Server Configuration
The Messaging Server configuration utility (configure) is located in the following directory (the default root directory for the Messaging Server is /opt/SUNWmsgsr):
/msg-server-install-root/sbin
To configure the Messaging Server:
- Change to the directory in which the Messaging Server configuration utility is installed. For example:
cd /opt/SUNWmsgsr/sbin
- Run the configuration utility using a command similar to the following:
./configure
- Respond to the prompts as shown in the following table:
- If you received the following warning message:
The following ports are found to be in use:
SMTP(25), WEBMAIL(80)Change the Messenger Express client port setting by entering the following command:
./configutil -o service.http.port -v 81
- Disable ipsecurity by entering the following command:
./configutil -o service.http.ipsecurity -v no
- Ensure that sendmail is not running by entering the following command:
/etc/init.d/sendmail stop
- Stop and restart the Messaging Server using the following commands:
./stop-msg
./start-msg
Calendar Server Configuration
The Calendar Server configuration script (csconfigurator.sh) is located in the following directory (the default root directory for Calendar Server is /opt/SUNWics5/cal):
/calendar-server-install-root/sbin
To configure the Calendar Server:
- Change to the directory in which the Calendar Server configuration script is installed. For example:
cd /opt/SUNWics5/cal/sbin
- Run the configuration script using a command similar to the following:
./csconfigurator.sh
- Respond to the prompts as follows. Note that responses shown in boldface type are non-default responses.
- Edit the Calendar Server configuration file (which is located in /calendar-server-install-root/config/ics.conf) and specify the following. Note that some responses are specific to your installation.
local.schemaversion="2"
service.defaultdomain="company22.example.com"
service.http.ipsecurity = "no"
service.schema2root="dc=example,dc=com"
service.siteadmin.userid = "calmaster@company22.example.com"
service.siteadmin.cred = "password"
service.virtualdomain.support="y"
- Stop and restart the Calendar Server using the following commands:
./sbin/stop-cal
./sbin/start-cal
Instant Messaging Server Configuration
The Instant Messaging Server configuration program (configure) is located in the default root directory for the Instant Messaging Server (/opt/SUNWiim/)
To configure the Instant Message Server:
- Change to the directory in which the Instant Messaging Server configuration program is installed. For example:
cd /opt/SUNWiim
- Run the configuration program using a command similar to the following:
./configure
- Respond to the prompts as follows. Note that responses shown in boldface type are non-default responses.
- Set up the codebase by linking the IM HTML directory to the web container’s document root. If the Enterprise Sample is deployed on the Application Server, follow these steps:
- Change directory to the web container’s document root by entering a command similar to the following:
cd /app-server-install-root/domains/domain1/server1/docroot
(The default installation root directory for the Application Server is /var/opt/SUNWappserver7.)
- Create a soft link to the IM HTML directory by entering a command similar to the following:
ln -s /im-server-install-root/html im
- Ensure that the Instant Messaging Server is running by entering a command similar to the following:
/im-server-install-root/sbin/imadmin refresh