Sun Java Enterprise System 2003Q4 Installation Guide |
Chapter 8
Postinstallation Configuration and StartupThis chapter provides instructions for configuring the component products that have been installed and verifying that they are operational.
This chapter has the following sections:
Overview of Postinstallation ConfigurationWhen the Java Enterprise System installer finishes installation, several component products require that you perform some additional configuration tasks. The extent of the tasks depends on what configuration type you selected (custom or minimal), and whether or not your component products will be configured with the Sun Cluster software.
A number of component products come with configuration tools for completing a minimal installation. After running the configuration tools, you can make any additional changes by following the instructions in this guide and in the product documentation for each component product.
The following topics are addressed in this section:
Custom Configuration Mode
When you select the custom configuration mode, you are asked to specify configuration values for component products during installation. At the end of the installation process, a summary report containing the values that were set during installation is available. You can view this file from the directory where it is saved, /var/sadm/install/logs.
Minimal Configuration Mode
When you select the minimal configuration mode during installation, the Java Enterprise System installer places the component product package files in their respective directories. No parameter setting is done, and most component products are not operational because runtime services are not available.
You must do additional configuration for most of the component products before the Java Enterprise System environment is operational.
Verification of Installation and Configuration
Even if you have already done much of the configuration, check the sections in this chapter to see whether any additional configuration is required for your component products. If no additional configuration is required, proceed to "Starting and Stopping Component Products" to verify that the component products are operational.
- To verify installation. Before performing the steps in this chapter, you can use the pkginfo command to verify that the component product files have been installed. A list of the packages associated with the component products is contained in "Packages Installed for Component Products".
- To verify configuration. After you have completed the configuration tasks in this chapter, verify postinstallation configuration by following the component-specific procedures in "Starting and Stopping Component Products".
Sun Cluster Configuration TasksThe following component products can be specified for use with the Sun Cluster software:
For a description of a Sun Cluster installation sequence, refer to "High Availability Using Sun Cluster Software".
The Java Enterprise System installer performs a simple pkgadd installation on Sun Cluster packages. You can use the pkginfo command to verify that the Sun Cluster packages have been installed. A list of the packages associated with the Sun Cluster component can be found in "Sun Cluster Software and Agents".
During installation, the Java Enterprise System installer installs the Sun Cluster packages and sets up the /usr/cluster/bin directory. No configuration is done. After package installation, you must establish the cluster, but before establishing the cluster, the following component products must be configured:
To Configure the Sun Cluster Software After Installation
- Establish the cluster by starting the Sun Cluster installation utility, /usr/cluster/bin/scinstall. Do this on each machine that you are installing as a cluster node.
- After the scinstall utility starts, complete the Sun Cluster configuration tasks. For information, refer to the Sun Cluster 3.1 Software Installation Guide (http://docs.sun.com/doc/816-3388).
During this phase, the scinstall utility verifies the Sun Cluster packages. If packages are missing, an error message indicates that packages on the CD are not available. If this happens, you must verify that the correct Sun Cluster packages were installed by the Java Enterprise System installer.
To Configure Data Services for the Component Products
After the cluster has been configured, you are ready to configure data services.
Note
You must establish the cluster and install both the Sun Cluster Core and Sun Cluster Agents software components before you can configure data services for the component products.
Instructions on configuring data services for component products is available at the following locations:
- Administration Server — See Directory Server.
- Application Server — Refer to Sun Cluster 3.1 Data Service for Sun ONE Application Server, http://docs.sun.com/doc/817-1530.
- Calendar Server — Refer to “Setting Up a High Availability Configuration” in the Sun ONE Calendar Server Administrator’s Guide, http://docs.sun.com/doc/816-6708-10.
- Directory Server — Refer to Sun ONE Directory Server 5.2 Installation and Tuning Guide, http://docs.sun.com/doc/816-6697-10.
- Message Queue—Refer to Sun Cluster 3.1 Data Service for Sun ONE Message Queue, http://docs.sun.com/doc/817-1531.
- Messaging Server — Refer to “Configuring High Availability Solutions” in the Sun ONE Messaging Server 6.0 Installation Guide, http://docs.sun.com/doc/816-6735-10.
- Web Server — Refer to Sun Cluster 3.1 Data Service for Sun ONE Web Server, http://docs.sun.com/doc/817-1528.
Until you have fully configured the data services and all the supporting layers (volume manager, cluster file system, resource group information), Sun Cluster installation for Java Enterprise System is not complete.
Configuring Component ProductsThis section contains the following procedures:
Administration Server Configuration
To Configure Administration Server After a Custom Installation
Note
Before you can configure Administration Server, Directory Server must already be configured. Refer to "To Configure Directory Server After a Minimal Installation".
After a custom configuration installation, Administration Server is fully configured and ready to use, with one exception. If Administration Server will be used with the Sun Cluster software, refer to "Sun Cluster Configuration Tasks" for instructions on how to complete this configuration.
To Configure Administration Server After a Minimal Installation
After a minimal configuration installation, the packages are installed and you are ready to perform the configuration tasks for the Sun ONE Administration Server component product.
Note
If Administration Server was installed with Identity Server, most of the configuration in Step 3 was completed during installation.
- Create an initial configuration for Administration Server by following the instructions in the “Configuring Administration Server” section of the “Installing Sun ONE Directory Server” chapter in the Sun ONE Directory Server 5.2 Installation and Tuning Guide, http://docs.sun.com/doc/816-6697-10.
- Perform the steps in the “Completing the Installation Process” section of the “Installing Sun ONE Directory Server” chapter in the Sun ONE Directory Server 5.2 Installation and Tuning Guide, http://docs.sun.com/doc/816-6697-10.
- Verify the common server settings as described in "Common Server Settings" and the Administration Server settings as described in the tables in "Administration Server Configuration".
Update the settings as needed. Information on these setting can be found in the Sun ONE Server Console Server Management Guide, http://docs.sun.com/doc/816-6704-10.
- If applicable, configure Administration Server for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Administration Server".
Application Server Configuration
To Configure Application Server After a Custom Installation
- Add as_svr_base/bin to your PATH environment variable. To verify the setting, type the following:
which asadmin
- Add as_svr_base/man to your MANPATH environment variable. To verify the setting, type the following:
man asadmin
The asadmin man page should be displayed.
- Create an initial domain for Application Server using the following asadmin command:
asadmin create-domain --path domain_path --sysuser sys_user --passwordfile file_name --adminport port_number --adminuser admin_user --adminpassword password domain_name asadmin
For example:
asadmin create-domain --adminport 4848 --adminuser MyAdmin --adminpassword MyPassword MyDomain
For additional information on administering Application Server, refer to the Sun ONE Application Server Administrator’s Guide, http://docs.sun.com/doc/817-1953-10.
- If you are configuring Application Server with Identity Server and Portal Server, you must reconfigure Application Server so that it can use the configuration information specified during the installation process.
To reconfigure Application Server, run the following command:
asadmin -reconfig instance-name
For example:
asadmin -reconfig server1
- If Application Server will be used with the Sun Cluster software, refer to "Sun Cluster Configuration Tasks" for instructions on how to complete this configuration.
- To verify configuration, proceed to "Starting and Stopping Application Server".
To Configure Application Server After a Minimal Installation
After a minimal configuration installation, the Application Server packages are installed and you are ready to begin configuration.
- Add as_svr_base/bin to your PATH environment variable. To verify, type the following:
which asadmin
- Add as_svr_base/man to your MANPATH environment variable. To verify this is working, type the following:
man asadmin
The asadmin man page should be displayed.
- Create an initial domain for Application Server using the following asadmin command:
asadmin create-domain --path domain_path --sysuser sys_user --passwordfile file_name --adminport port_number --adminuser admin_user --adminpassword password domain_name asadmin
For example:
asadmin create-domain --adminport 4848 --adminuser MyAdmin --adminpassword MyPassword MyDomain
For additional information on administering the Application Server, refer to the Sun ONE Application Server Administrator’s Guide, http://docs.sun.com/doc/817-1953-10.
- If applicable, configure Application Server for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Application Server".
Calendar Server Configuration
To Configure Calendar Server After Installation
The Calendar Server component product cannot be configured by the Java Enterprise System installer.
- If this step was not done during Messaging Server configuration, configure Sun ONE Directory Server 5.x on Directory Server for Calendar Server by running the Directory Server Setup script, /opt/SUNWics5/cal/sbin/comm_dssetup.pl.
Note
Before you run the User Management Utility in Step 3, Identity Server must be installed and configured.
- Verify that Directory Server is running. Refer to "To Start Directory Server" if needed.
- Prepare Directory Server by running this command:
server-root/cal/sbin/comm_dssetup.pl
- Select the Schema 2 schema type when running the script.
- Verify that the second column in the /etc/hosts file contains the fully-qualified domain name (FQDN) rather than a simple host name. For example:
192.18.99.999 mycomputer.company.com loghost
- Perform this step only if your installation includes Identity Server 6.1 and LDAP Schema 2 and if this step was not done during Messaging Server configuration: Configure for Calendar Server provisioning by running the User Management Utility, /opt/SUNWcomm/sbin/config-iscli.
Instructions for running the utility are contained in the Sun ONE Messaging and Collaboration User Management Utility Installation and Reference Guide, http://docs.sun.com/doc/817-4216-10.
- Configure Calendar Server by running the Calendar Server configuration program, /opt/SUNWics5/cal/sbin/csconfigurator.sh.
For information on configuring Calendar Server, refer to the Sun ONE Calendar Server Installation Guide for Solaris Operating Systems, http://docs.sun.com/doc/816-6707-10.
- If applicable, configure Calendar Server for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks" for information on completing this configuration.
- To verify configuration, proceed to "Starting and Stopping Calendar Server".
Directory Server Configuration
To Configure Directory Server After a Custom Installation
- Run the idsktune command to obtain a list of recommendations for using Directory Server.
- If applicable, configure Directory Server for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Directory Server" and "Starting and Stopping Administration Server".
To Configure Directory Server After a Minimal Installation
After a minimal configuration installation, you are ready to perform the configuration tasks for the Sun ONE Directory Server component product.
Note
If Directory Server was installed with Identity Server, most of the configuration in Step 3 was completed during installation.
- Create an initial configuration for Directory Server by performing the instructions in the “Configuring Directory Server” section of the “Installing Sun ONE Directory Server” chapter in the Sun ONE Directory Server 5.2 Installation and Tuning Guide, http://docs.sun.com/doc/816-6697-10.
- Perform the steps in the “Completing the Installation Process” section of the “Installing Sun ONE Directory Server” chapter in the Sun ONE Directory Server 5.2 Installation and Tuning Guide, http://docs.sun.com/doc/816-6697-10.
- Verify the common server settings as described in "Common Server Settings" and the Directory Server settings as described in the tables in "Directory Server Configuration".
Update the settings as needed.
- Run the idsktune command to obtain a list of recommendations for using Directory Server.
- If applicable, configure Directory Server for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Directory Server" and "Starting and Stopping Administration Server".
Directory Proxy Server Configuration
To Configure Directory Proxy Server After Installation
After a minimal configuration installation, you are ready to perform the following configuration tasks for the Sun ONE Directory Proxy Server component product.
Note
If Directory Proxy Server was installed along with Identity Server in the same session of installation, most of the configuration in Step 2 was completed during installation.
- Create an initial configuration for Directory Proxy Server by performing the instructions in the “Configuring the Directory Proxy Server Instance” section of the “Installation” chapter of the Sun ONE Directory Proxy Server Installation Guide, http://docs.sun.com/doc/816-6390-10.
- Verify the common server settings as described in "Common Server Settings" and the Directory Proxy Server settings as described in the tables in "Directory Proxy Server Configuration".
- To verify configuration, proceed to "Starting and Stopping Directory Proxy Server".
Identity Server Configuration
To Configure Identity Server After Installation
Identity Server requires that you perform full configuration during installation rather than after installation. Installation-time configuration is required for both the Custom Configuration option and the Minimal Configuration option. In addition, component products that are automatically associated with Identity Server require configuration during installation.
Although you can start Identity Server and log into its console immediately after running the Java Enterprise System installer, you cannot perform basic user management operations until you complete some final configuration steps. These steps differ depending on whether or not Identity Server is using a Directory Server instance that is already provisioned with user data.
The next sections explain what to do in the following cases:
When Directory Server Is Provisioned With User Data
When Directory Server is already provisioned with user data, refer to “Configuring a Provisioned Directory Server” in the Sun ONE Identity Server Migration Guide, http://docs.sun.com/doc/816-6771-10, for a description of the final configuration steps.
To verify configuration, proceed to "Starting and Stopping Identity Server".
When Directory Server Is Not Yet Provisioned With User Data
When Directory Server is not yet provisioned with user data, perform the steps in the following two procedures:
Tip
Before performing the tasks in this section, verify that Directory Server is running. Refer to "To Start Directory Server" for information on verifying that Directory Server is running.
To Enable the Referential Integrity Plug-in
When the referential integrity plug-in is enabled, it performs integrity updates on specified attributes immediately after a delete or rename operation. This ensures that relationships between related entries are maintained throughout the database.
- In Directory Server Console, click Configuration.
- In the navigation tree, double-click Plug-ins to expand the list of Plug-ins.
- In the Plug-ins list, click Referential integrity postoperation.
- In the properties area, check the Enable plug-in box.
- Click Save.
- Restart Directory Server to enable the plug-in.
To Add Identity Server Indexes
Database indexes enhance the search performance in Directory Server.
- In Directory Server Console, click Configuration.
- Add the nsroledn index.
- In the navigation tree, double-click the Data icon, then click the root suffix that contains the directory entries you want to use in Identity Server.
- Click the Indexes tab.
- Under Additional Indexes, for the nsroledn attribute, check the following checkboxes: Equality, Presence, and Substring.
- Click Save.
- In the Indexes window, after the index is successfully created, click Close.
- Add the memberof index.
- In the Indexes tab, click Add attribute...
- In the Select Attributes window, select the attribute memberof, then click OK.
- In the Indexes tab, for the memberof attribute, check the following checkboxes: Equality and Presence.
- Click Save.
- In the Indexes window, after the index is successfully created, click Close.
- Add the iplanet-am-static-group index.
- In the Indexes tab, click Add attribute...
- In the Select Attributes window, select the attribute iplanet-am-static-group, and then click OK.
- In the Indexes tab, for the iplanet-am-static-group attribute, check the following checkbox: Equality.
- Click Save.
- In the Indexes window, after the index is successfully created, click Close.
- Add the iplanet-am-modifiable-by index.
- In the Indexes tab, click Add attribute...
- In the Select Attributes window, select the attribute iplanet-am-modifiable-by, and then click OK.
- In the Indexes tab, for the iplanet-am-modifiable-by attribute, check the following checkbox: Equality.
- Click Save.
- In the Indexes window, after the index is successfully created, click Close.
- Add the iplanet-am-user-federation-info-key index.
- In the Indexes tab, click Add attribute...
- In the Select Attributes window, select the attribute iplanet-am-user-federation-info-key, then click OK.
- In the Indexes tab, for the iplanet-am-user-federation-info-key attribute, check the following checkbox: Equality.
- Click Save.
- In the Indexes window, after the index is successfully created, click Close.
- Restart Directory Server.
- To verify configuration, proceed to "Starting and Stopping Identity Server".
Instant Messaging Configuration
To Configure Instant Messaging After Installation
The Instant Messaging component product cannot be configured by the Java Enterprise System installer.
Instructions for using the Instant Messaging configurator, /opt/SUNWiim/configure, are contained in the “Configuring Sun ONE Instant Messenger” chapter in the Sun ONE Instant Messaging Installation Guide, http://docs.sun.com/doc/816-6676-10.
To verify configuration, proceed to "Starting and Stopping Instant Messaging".
To Configure Message Queue After Installation
The Message Queue component product requires no additional configuration unless it is being configured for use with the Sun Cluster software. In this case, refer to "Sun Cluster Configuration Tasks".
Additional configuration for Message Queue is discussed in the Sun ONE Message Queue Administrator’s Guide, http://docs.sun.com/doc/817-0354-10. For example, you may want to change the default administration password.
To verify configuration, proceed to "Starting and Stopping Instant Messaging".
Messaging Server Configuration
To Configure Messaging Server After Installation
The Messaging Server component product cannot be configured by the Java Enterprise System installer.
- If this step was not done during Calendar Server configuration, configure Sun ONE Directory Server 5.x for Messaging Server on Directory Server by running the Directory Server Setup script, /opt/SUNWmsgsr/lib/comm_dssetup.pl.
- Verify that Directory Server is running. Refer to "To Start Directory Server" for instructions.
- Prepare the Directory Server by running server-root/cal/sbin/comm_dssetup.pl.
- Select Schema 2 schema type when running the script.
- Verify that the second column in the /etc/hosts file contains the fully-qualified domain name (FQDN) rather than a simple host name. For example:
192.18.99.1 mycomputer.company.com loghost
- Perform this step only if your installation includes Identity Server 6.1 and LDAP Schema 2 and if this step was not done during Calendar Server configuration: Configure for Messaging Server provisioning by running the User Management Utility, /opt/SUNWcomm/sbin/config-iscli. Instructions are contained in the Sun ONE Messaging and Collaboration User Management Utility Installation and Reference Guide, http://docs.sun.com/doc/817-4216-10.
- Configure Messaging Server by running the Messaging Server configuration program, /msg_svr_base/sbin/configure.
For information on configuring Messaging Server, refer to the Sun ONE Messaging Server Installation Guide for Solaris Operating Systems, http://docs.sun.com/doc/816-6735-10
- If applicable, configure for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Messaging Server".
Portal Server Configuration
To Configure Portal Server After a Custom Installation
If you are using Web Server or the Application Server as the web container for Portal Server, you must apply changes to the instance. Use the instructions in the “Post Installation Tasks” section in Chapter 2 of the Sun ONE Portal Server 6.2 Installation Guide, http://docs.sun.com/doc/816-6754-10.
To verify configuration, proceed to "Starting and Stopping Portal Server".
To Configure Portal Server After a Minimal Installation
The Sun ONE Portal Server component product provides a common configurator that can be used to configure all Portal Server subcomponents, including the Portal Server Secure Remote Access component.
- Create a runtime configuration for Portal Server by running the Port Server configurator, portal-server-install-dir/lib/configurator.
Instructions for running the configurator as well as descriptions of the settings used by the configurator are contained in the “Installing Sun ONE Portal Server” chapter of the Sun ONE Portal Server 6.2 Installation Guide, http://docs.sun.com/doc/816-6754-10. You can also refer to the tables in "Portal Server Configuration".
- Apply changes to the Web Server or Application Server instance. Use the instructions in the “Post Installation Tasks” section in Chapter 2 of the Sun ONE Portal Server 6.2 Installation Guide, http://docs.sun.com/doc/816-6754-10.
- To verify configuration, proceed to "Starting and Stopping Portal Server" and "Starting and Stopping Portal, Server Secure Remote Access".
To verify configuration, proceed to "Starting and Stopping Portal Server" and "Starting and Stopping Portal, Server Secure Remote Access".
Web Server Configuration
To Configure Web Server After a Custom Installation
After a custom configuration installation, Web Server is fully configured and ready to use, with one exception. If Web Server will be used with the Sun Cluster software, refer to "Sun Cluster Configuration Tasks" for instructions on how to complete this configuration.
To verify configuration, proceed to "Starting and Stopping Web Server".
To Configure Web Server After a Minimal Installation
After a minimal configuration installation, you are ready to perform the configuration tasks for the Sun ONE Web Server component product.
Note
If Web Server was installed along with Identity Server in the same session of installation, most of the configuration in Step 2 was completed during installation.
- Configure Web Server by running the Web Server configuration program, ws_svr_base/setup/configure. The configuration program creates a runtime configuration, including an admin server and a default instance.
- Verify the common server settings as described in "Common Server Settings" and the Web Server settings as described in the tables in "Web Server Configuration".
Update the settings as needed. Additional information on these settings can be found in the Sun ONE Web Server Installation and Migration Guide, http://docs.sun.com/doc/817-1830-10.
- If applicable, configure for use with the Sun Cluster software. Refer to "Sun Cluster Configuration Tasks".
- To verify configuration, proceed to "Starting and Stopping Web Server".
Starting and Stopping Component Products
Note
Default installation directories and port numbers for the component products are listed in "Installation Directories" and Appendix C, "Component Port Numbers". In many cases, the starting and stopping examples in the following sections are based on this default information, so if you do not remember what you specified for your component product, you can try the example.
Perform the procedures in this section to verify that component products are operational:
Suggested Startup Sequence
Note
To start and stop a component product server, you must log in as a user who has administrative rights to the system.
The general sequence for bringing up the entire Java Enterprise System component set is shown in the following table. The left column lists the order in which you should perform the startup, the middle column lists the task action and any comments on that action, and the right column lists the location of the instructions for performing the task.
Table 8-1 Startup Sequence Recommended for Java Enterprise System
Order
Task
Location of Instructions
1
Start Directory Server.
Start Administration Server.
Start Server Console.
2
Start your web container. Starts Identity Server and Portal Server if they are installed.
Start Application Server (also starts Message Queue).
"To Verify Identity Server and Portal Server on Application Server"
Start BEA Weblogic Server (only with Portal Server).
"To Verify Identity Server and Portal Server on BEA WebLogic"
Start IBM WebSphere Server (only with Portal Server).
"To Verify Identity Server and Portal Server on IBM WebSphere"
Start Web Server.
3
Start Portal Server, Secure Remote Access.
4
Start Instant Messaging.
5
Start Messaging Server.
6
Start Calendar Server.
To shut down the entire component set, it is typically appropriate to reverse the sequence.
Starting and Stopping Administration Server
To verify Administration Server, you start the Administration Server and the Console Server. Administration Server depends on Directory Server.
To Start Administration Server
- Change to ds_svr_base. For example:
cd /var/opt/mps/serverroot
- Start the Administration Server processes.
./start-admin
- Verify that Administration Server is running.
To Stop Administration Server
To Start Server Console
To Stop Server Console
Starting and Stopping Application Server
To verify Application Server, you need to start the Application Server instance, then invoke the graphical Administration interface and log in. Application Server depends on Message Queue.
To Start Application Server
- Change to as_svr_base/bin/asadmin. For example:
cd /opt/SUNWappserver7/bin
- Start the Application Server instances. For example:
asadmin start-domain --domain domain1
Note
If you receive a message indicating failure to start, configuration changes might not be applied yet. In this case, run the asadmin -reconfig instance-name command. For example:
asadmin -reconfig server1
- Verify that Application Server is running.
/usr/bin/ps -ef | grep appservd
root 4814 1 0 10:42:22 ? 0:00 ./appservd-wdog -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/a root 4815 4814 0 10:42:22 ? 0:00 appservd -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/admin-se root 4816 4815 0 10:42:23 ? 1:37 appservd -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/admin-se root 4819 4816 0 10:42:25 ? 0:00
/SUNWappserver7/lib/Cgistub -f /tmp/admin-server-4f378e6f/.cgistub_4816 root 4820 4819 0 10:42:25 ? 0:00
/SUNWappserver7/lib/Cgistub -f /tmp/admin-server-4f378e6f/.cgistub_4816 root 4821 4819 0 10:42:25 ? 0:00
/SUNWappserver7/lib/Cgistub -f /tmp/admin-server-4f378e6f/.cgistub_4816 root 4828 1 0 10:43:09 ? 0:00 ./appservd-wdog -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/s root 4829 4828 0 10:43:09 ? 0:00 appservd -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/server1/ root 4830 4829 0 10:43:09 ? 0:17 appservd -r /SUNWappserver7 -d
/var/opt/SUNWappserver7/domains/domain1/server1/
To Access the Application Server Graphical Interface
In your browser, use the http://hostname.domain:adminport format to access the Application Server Administration interface. For example:
http://mycomputer.example.com:4848
Your login to Application Server confirms successful installation.
To Stop Application Server
Starting and Stopping Calendar Server
Calendar Server depends on Directory Server.
To Start Calendar Server
To Access the Calendar Server Graphical Interface
If you are already provisioned in the LDAP directory that Calendar Server points to, you can log into Calendar Server. In your browser, use the following format to access Calendar Server:
http://hostname.domain[:port]
For example:
http://mycomputer.example.com
If this is an initial login, Calendar Server creates a default calendar for you. Your login to Calendar Server confirms successful installation.
To Stop Calendar Server
Starting and Stopping Directory Server
Directory Server has no dependencies. If Directory Server is part of a cluster, verify that you are working on the active node for the logical host.
To Start Directory Server
To Stop Directory Server
Starting and Stopping Directory Proxy Server
Log in as root if the server runs on ports less than 1024; otherwise, log in either as root or with the server's user account. (By default, if Directory Proxy Server is run by root, it changes its user ID to nobody.)
To Start Directory Proxy Server
To Stop Directory Proxy Server
Starting and Stopping Identity Server
To verify Identity Server, you access your specific deployment configurations of Identity Server on the possible web containers:
Identity Server depends on Directory Server and a web container.
This section contains the following procedures:
To Start Identity Server
To Verify Identity Server and Portal Server on Application Server
- Use the following URL to access the default page:
http://appserver-host:port/amconsole
The Identity Server login page appears.
- Log in.
Your login to Identity Server confirms successful deployment of Identity Server on Application Server.
- In a new browser, use the following URL to display the sample Desktop:
http://server:port/portal
Display of the sample Desktop confirms successful deployment of Portal Server on Application Server.
To Verify Identity Server and Portal Server on Web Server
- Use the following URL to access the default page:
http://webserver-host:port/amconsole
The Identity Server login page appears.
- Log in.
Your login to Identity Server confirms successful deployment of Identity Server on Web Server.
- In a new browser, use the following URL to display the sample Desktop:
http://server:port/portal
Display of the sample Desktop confirms successful deployment of Portal Server on Web Server.
To Verify Identity Server and Portal Server on BEA WebLogic
- Use the following URL to access the default page:
http://beaweblogic-host:port/amconsole
The Identity Server login page appears.
- Log in.
Your login to Identity Server confirms successful deployment of Identity Server on BEA WebLogic.
- In a new browser, use the following URL to display the sample Desktop:
http://server:port/portal
Display of the sample Desktop confirms successful deployment of Portal Server on BEA WebLogic.
To Verify Identity Server and Portal Server on IBM WebSphere
- Use the following URL to access the default page:
http://ibmwebsphere-host:port/amconsole
The Identity Server login page appears.
- Log in.
Your login to Identity Server confirms successful deployment of Identity Server on IBM WebSphere.
- In a new browser, use the following URL to display the sample Desktop:
http://ibmwebsphere-host:port/amconsole
Display of the sample Desktop confirms successful deployment of Portal Server on IBM WebSphere.
To Stop Identity Server
Starting and Stopping Instant Messaging
Instant Messaging depends on Directory Server and the Identity Server SDK.
To Start Instant Messaging
- Determine whether you selected automatic startup on reboot.
- If no, go to Step 2.
- If yes, proceed.
- Change to /etc/init.d.
- Start the Instant Messaging process:
./sunwiim start
- For nonautomatic startup on reboot:
- The following processes should appear in the process list.
To Stop Instant Messaging
Starting Message Queue
To Start Message Queue
Starting and Stopping Messaging Server
Messaging Server depends on Directory Server.
To Start Messaging Server
- Disable the Sendmail program.
/etc/init.d/sendmail stop
- Move the Sendmail startup script, /etc/rc2.d/S88sendmail, to an archive directory.
- Change to ms_svr_base/sbin. For example:
cd /opt/SUNWmsgsr/sbin
- Start the Messaging Server processes.
./start-msg
- Verify that the Messaging Server processes are running:
/usr/bin/ps -ef | grep SUNWmsgsr
/opt/SUNWmsgsr/lib/enpd
/opt/SUNWmsgsr/lib/stored -d
/opt/SUNWmsgsr/lib/popd -d 5
/opt/SUNWmsgsr/lib/imapd -d 5 -D 6
/opt/SUNWmsgsr/lib/mshttpd -d 5 -D 6
/opt/SUNWmsgsr/lib/dispatcher
/opt/SUNWmsgsr/lib/job_controller
/opt/SUNWmsgsr/lib/tcp_lmtp_server
/opt/SUNWmsgsr/lib/tcp_smtp_server
/opt/SUNWmsgsr/lib/tcp_smtp_server
To Stop Messaging Server
Starting and Stopping Portal Server
The Portal Server startup and shutdown mechanisms are part of the startup and shutdown mechanisms for the web container (either Web Server or an application server). Portal Server depends on Directory Server, Identity Server, and a web container.
To verify Portal Server, go to the following sections:
Starting and Stopping Portal, Server Secure Remote Access
To Start Portal Server, Secure Remote Access
To Stop Portal Server, Secure Remote Access
Starting and Stopping Web Server
Web Server has no dependencies.
To Start Web Server
- Change to ws_svr_base/https-instance-name. For example:
cd /opt/SUNWwbsvr/https-admserv
- Start the Web Server admin process.
./start
- Change to ws_svr_base/https-hostname.domain. For example:
cd /opt/SUNWwbsvr/https-host1.example.com
- Start the Web Server instance.
./start
- Verify that Web Server processes are running.
/usr/bin/ps -ef | grep SUNWwbsvr
root 334 1 0 Jul 01 ? 0:00 ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n http
root 352 1 0 Jul 01 ? 0:00 ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com
root 335 334 0 Jul 01 ? 0:01 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
root 336 335 0 Jul 01 ? 0:14 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
root 689 352 0 Jul 01 ? 0:00 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
root 690 689 0 Jul 01 ? 64:34 webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
To Access the Web Server Graphical Interface
Your login to Web Server confirms successful installation.
To Stop Web Server
- Change to ws_svr_base/https-instance-name. For example:
cd /opt/SUNWwbsvr/https-admserv
- Stop the Web Server admin process.
./stop
- Change to ws_svr_base/https-hostname.domain. For example:
cd /opt/SUNWwbsvr/https-host1.example.com
- Stop the Web Server instance.
./stop
- Verify that Web Server is no longer running.
Next StepsIf you have completed this chapter, you have completed configuration of your component products and verified that they are functional. The Java Enterprise System installation is now complete.
You can now proceed to any of the following:
- Provisioning instructions. Chapter 11, "Provisioning Organizations and Users"
- Single sign-on instructions. Chapter 13, "Configuring Single Sign-on"
- Sun Cluster software administration. Sun Cluster 3.1 System Administration Guide (http://docs.sun.com/doc/816-3384).
Entry points for the component product documentation can be found in Table 2 in the Java Enterprise System Roadmap (http://docs.sun.com/doc/817-4715).