Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System 2005Q1 Installation Guide 

Chapter 10
Configuring Components After Installation

When the Sun Java™ Enterprise System (Java ES) installer finishes installation, most components require additional configuration before the Java ES environment is operational. The extent depends on the configuration type you selected (Configure Now or Configure Later), and whether or not your components will be configured with Sun Cluster software.

This chapter contains the following sections:


Prerequisites

Before starting postinstallation configuration, you should look through the procedures in this chapter. If you determine that no additional configuration is required for your components, proceed to Chapter 11, "Starting and Stopping Components" to verify that the components are operational.


Note

The default installation locations of Java ES components are different on the Solaris Operating System and the Linux platform. Due to this, the procedures in this chapter use variables to represent these locations. For example, ApplicationServer-base represents the directory where Application Server is installed on either platform.


Verifying Package Installation

Before acting on the information in this chapter, you should have completed the installation of the Java ES components. You can use the pkginfo command or the rpm command to verify that the component packages have been installed. A list of packages associated with the components is contained in Appendix F, "List of Installable Packages."

MANPATH Setup

After installation, the man pages for the Java ES components are located in default directories. You need to add this location to your MANPATH environment variable.

The following table indicates the default locations for the man pages of the Java ES components. If a component is not listed, the component does not have man pages.

Table 10-1  Man Pages Default Locations

Component

Location of Man Pages

Administration Server

For Solaris: /opt/SUNWasvmn/man
For Linux: /opt/sun/man

Application Server

For Solaris: /opt/SUNWappserver/share/man
For Linux: /opt/sun/appserver/share/man

Common agent container

For Solaris: /opt/SUNWcacao/man
For Linux: /opt/sun/man

Directory Server

For Solaris: /opt/SUNWdsvmn/man
For Linux: /opt/sun/man

Sun Cluster

For Solaris: /usr/cluster/man/

    To Update Your MANPATH Variable

The following example procedure shows how to ensure that the Application Server man pages are available in the UNIX environment using the C shell:

  1. Add the location of your Java ES component man pages to your MANPATH environment variable.
    • On Solaris OS, the following example command sets your MANPATH environment variable for the session:
    • setenv MANPATH {$MANPATH}:/usr/dt/man:/usr/man:/opt/SUNWappserver/share/man

      To configure this environment variable to apply each time you log in, add the setenv command contents to your .login or .cshrc file.

    • On Linux, update the /etc/man.config file with the required MANPATH. For example, add this line to the /etc/man.config file:
    • MANPATH /opt/sun/man

      The new man pages will be fully accessible, regardless of path.


      Note

      For Linux, if users have MANPATH settings in their own shells, the procedure for Solaris should be used. This allows their personal settings to override the /etc/man.config file.


  2. Verify that the man pages are accessible. For example, the following command should display the asadmin man page for Application Server:
  3. man asadmin


Overview of Sun Cluster Postinstallation Configuration

Sun Cluster software provides a high availability platform for managing applications such as databases, application servers and web servers. Sun Cluster software can be used to manage the following Java ES components:

If the Java ES components you installed will be included in a Sun Cluster environment, you must configure the Sun Cluster framework before configuring the components. In addition, depending on the components installed, you might need to configure Sun Cluster data services (including configuration of any Sun Cluster agents) after the components themselves are configured.


Note

To configure Sun Cluster data services, you must have chosen the associated Sun Cluster agents during installation. To see an example Sun Cluster installation sequence, refer to Sun Cluster Software Example.


When incorporating a Sun Cluster framework in a Java ES environment, postinstallation configuration tasks should be carried out in the following order:

  1. Based on your installation choose one of the following sections:


Sun Cluster Framework Configuration

The Java ES installer performs a simple pkgadd installation of the core Sun Cluster packages and sets up the /usr/cluster/bin directory. No configuration is done during installation, so your first postinstallation task is to configure the cluster framework.


Note

Ignore steps in the Sun Cluster procedures that instruct you to manually install JDMK, common agent container, or Sun Java Web Console software. These products are Java ES shared components and are automatically installed by the Java ES installer.


    To Configure the Sun Cluster Framework

Configure the cluster framework as described in the Sun Cluster Software Installation Guide for Solaris OS (http://docs.sun.com/doc/817-6543).

The following might apply:


Configure Now Option: Procedures

If you selected the Configure Now option during installation, you were asked to specify configuration values during the installation session. Some of the components configured during installation might require additional configuration as described in the following sections:

A summary report containing the values that were set during installation is available here:

Solaris: /var/sadm/install/logs
Linux: /var/opt/sun/install/logs

Configuring Access Manager After a Configure Now Installation

Although you can start Access Manager and log into the Access Manager console immediately after running the Java ES installer, you cannot perform basic user management operations until you complete some final configuration steps. These steps differ depending on whether or not Access Manager is using a Directory Server instance that is already provisioned with user data.


Note

For all Access Manager installations, the web container needs to be restarted. If a full installation is being performed on Web Server or Application Server, the installer will stop the web container instance so it need only be started. For instructions on restarting Access Manager, see Starting and Stopping Access Manager.


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 Access Manager with a Provisioned Directory Server” in the Sun Java System Access Manager Migration Guide, (http://docs.sun.com/doc/817-7645), for a description of the final configuration steps.

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 sections:

Enabling the Directory Server Referential Integrity Plug-in

When the Directory Server 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.

    To Enable the Referential Integrity Plug-in
  1. In Directory Server console, click Configuration.
  2. In the navigation tree, double-click Plug-ins to expand the list of Plug-ins.
  3. In the Plug-ins list, click Referential integrity postoperation.
  4. In the properties area, check the Enable plug-in box.
  5. Click Save.
  6. Restart Directory Server to enable the plug-in.
Adding Access Manager Indexes to Directory Server

Database indexes enhance the search performance in Directory Server.

    To Add Access Manager Indexes to Directory Server
  1. In Directory Server console, click Configuration.
  2. Add the nsroledn index.
    1. In the navigation tree, double-click the Data icon, then click the root suffix that contains the directory entries you want to use in Access Manager.
    2. Click the Indexes tab.
    3. Under Additional Indexes, for the nsroledn attribute, check the following checkboxes: Equality, Presence, and Substring.
    4. Click Save.
    5. In the Indexes window, after the index is successfully created, click Close.
  3. Add the memberof index.
    1. In the Indexes tab, click Add attribute.
    2. In the Select Attributes window, select the attribute memberof, then click OK.
    3. In the Indexes tab, for the memberof attribute, check the following checkboxes: Equality and Presence.
    4. Click Save.
    5. In the Indexes window, after the index is successfully created, click Close.
  4. Add the iplanet-am-static-group index.
    1. In the Indexes tab, click Add attribute.
    2. In the Select Attributes window, select the attribute iplanet-am-static-group, and then click OK.
    3. In the Indexes tab, for the iplanet-am-static-group attribute, check the following checkbox: Equality.
    4. Click Save.
    5. In the Indexes window, after the index is successfully created, click Close.
  5. Add the iplanet-am-modifiable-by index.
    1. In the Indexes tab, click Add attribute.
    2. In the Select Attributes window, select the attribute iplanet-am-modifiable-by, and then click OK.
    3. In the Indexes tab, for the iplanet-am-modifiable-by attribute, select the Equality checkbox.
    4. Click Save.
    5. In the Indexes window, after the index is successfully created, click Close.
  6. Add the iplanet-am-user-federation-info-key index.
    1. In the Indexes tab, click Add attribute...
    2. In the Select Attributes window, select the attribute iplanet-am-user-federation-info-key, then click OK.
    3. In the Indexes tab, for the iplanet-am-user-federation-info-key attribute, check the following checkbox: Equality.
    4. Click Save.
    5. After the index is successfully created, click Close in the Indexes window.
  7. Restart Directory Server.

Configuring Application Server After a Configure Now Installation

Application Server requires no postinstallation configuration after a Configure Now installation unless you will be using Application Server for load balancing.


Note

To configure Application Server for load balancing, refer to the “Configuring Web Servers for HTTP Load Balancing” section in the “Application Server High Availability Features” chapter of the Sun Java System Application Server Enterprise Edition High Availability Administration Guide (http://docs.sun.com/doc/819-0216).


Configuring Message Queue After a Configure Now Installation

Message Queue requires no postinstallation configuration after a Configure Now installation. However, a common optional task is to configure Message Queue for automatic startup. To do this, become superuser and edit the following properties in the imqbrokerd.conf configuration file (in /etc/imq on Solaris and in /etc/opt/sun/mq on Linux):

Additional configuration for Message Queue is discussed in the Sun Java System Message Queue Administration Guide (http://docs.sun.com/doc/819-0066). For example, you might want to change the default administration password.

Configure for use with the Sun Cluster software, if applicable. Refer to Message Queue Data Service.

Configuring Portal Server and Portal Server Secure Remote Access After a Configure Now Installation

Final configuration steps for Portal Server and Portal Server Secure Remote Access differ depending on whether it is deployed in a Sun web container or a third-party web container. The following sections explain the details:

Configuring Portal Server and Portal Server Secure Remote Access After a Configure Now Installation on a Sun Web Container

If you are using Application Server or Web Server as the web container for Portal Server and Portal Server Secure Remote Access, you must apply changes to the instance. Use the instructions in the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-7691) and the Sun Java System Portal Server 6 2005Q1 Release Notes (http://docs.sun.com/doc/817-7699), respectively.

Configuring Portal Server and Portal Server Secure Remote Access After a Configure Now Installation on a Third-Party Web Container

If you are using BEA WebLogic Server or IBM WebSphere Application Server as the web container for Portal Server and Portal Server Secure Remote Access, use the following procedure.


Note

Deployment of Portal Server and Portal Server Secure Remote Access on third-party web containers is only supported on the Solaris operating system.


  1. Stop all web container instances, including the admin instance and, in the case of BEA WebLogic Server, managed server instances.
  2. Start the web container’s admin server instance. If you have installed on a BEA WebLogic Server managed instance, start the managed instance too.
  3. Deploy Portal Server and Portal Server Secure Remote Access by running the deploy command:
  4. cd PortalServer-base/bin
    ./deploy

    When prompted, choose the default for the deploy URI and server instance name, and enter the web container admin password.

  5. Deploy the Portlet samples (that is, the portletsamples.war file):
  6. setenv DEPLOY_ADMIN_PASSWORD web-container-admin-password
    setenv IDSAME_ADMIN_PASSWORD
    AccessManager-admin-password
    cd
    PortalServer-base/lib
    ./postinstall_PortletSamples

    When prompted, enter the web container admin password and the Access Manager admin password.

  7. Restart the web container instance into which Portal Server and Portal Server Secure Remote Access was deployed.

See your web container documentation for instructions on starting the web container instance. Additional information can be found in the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-7691) and the Sun Java System Portal Server 6 2005Q1 Release Notes (http://docs.sun.com/doc/817-7699), respectively.


Note

In the case of installation on a BEA WebLogic Server managed server, the WAR files do not get deployed. Deploy the WAR files using the BEA WebLogic Server administration console.



Configure Later Option: Procedures

If you selected the Configure Later option during installation, the installer placed the component package files in their respective directories. No parameter setting was done, and most components are not operational because runtime services are not available.

A number of components include configuration tools for completing a Configure Later installation. When 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. After finishing any or all required configurations, proceed to Chapter 11, "Starting and Stopping Components" to verify that your installation was done correctly.

The following sections contain postinstallation configuration information for the Configure Later option:

Configuring Access Manager After a Configure Later Installation

After a Configure Later installation, the packages are installed and you are ready to configure Access Manager using the Access Manager configuration script, AccessManager-base/bin/amconfig. Instructions for using this program are contained in the Sun Java System Access Manager Administration Guide, http://docs.sun.com/doc/817-7647. This guide also contains instructions for configuring Access Manager for a third-party web container (BEA WebLogic or IBM WebSphere Application Server).


Note

For all Access Manager installations, the web container needs to be restarted. If a full installation is being performed on Web Server or Application Server, the installer will stop the web container instance so it need only be started. For instructions on restarting Access Manager, see Starting and Stopping Access Manager.


Configuring Administration Server After a Configure Later Installation

After a Configure Later installation, packages are installed and you are ready to begin Administration Server configuration. Additional configuration details can be found in the Sun Java System Administration Server Administration Guide (http://docs.sun.com/doc/817-7612).


Note

Before configuring Administration Server, Directory Server must already be configured.


    To Configure Administration Server After a Configure Later Installation
  1. Start the configuration utility. For example, on Solaris:
  2. /usr/sbin/mpsadmserver configure

    Follow the instructions on each screen.

  3. Ensure that access permissions for the files under server-root/alias have been set to prevent access by all user accounts other than those of the servers installed there.
  4. Verify the common server settings and the Administration Server settings as described in the tables in Administration Server Configuration Information. Update the settings as needed.

  5. Note

    If Administration Server was installed in the same installation session as Access Manager, most of the configuration in Step 3 was completed during installation.


  6. Configure Administration Server for use with the Sun Cluster software, if applicable. Refer to Administration Server Data Service.

Configuring Application Server After a Configure Later Installation

After a Configure Later installation, you will need to run a script to configure Application Server. Use the following steps.

    To Configure Application Server After a Configure Later Installation
  1. Locate the accessory CD for Application Server.
  2. Accessory contents can also be downloaded from the Sun Download Center at http://www.sun.com/download/index.jsp.

  3. Refer to the README file in the Addon folder on the CD and do the procedures detailed.
  4. Modify the following properties in the common.properties file.
  5. If you do not know some paths, you can copy them from ApplicationServer-base/samples.

    Table 10-2  Application Server Properties 

    Solaris Properties

    Linux Properties

    com.sun.aas.pointbaseRoot=/opt/SUNWappserver/appserver/pointbase

    admin.password=admin123

    com.sun.aas.webServicesLib=/opt/SUNWappserver/appserver/lib

    server.cert.alias=s1as

    com.sun.aas.imqHome=/var/opt/SUNWappserver/domains/domain1/imq

    keystore=${com.sun.aas.domains.dir}/${domain.name}/config/keystore.jks

    com.sun.aas.imqBinDir=/usr/bin

    domain.name=domain1

    com.sun.aas.imqUserMgr=/usr/bin/imqusermgr

    com.sun.aas.imqHome=/var/opt/sun/appserver/domains/domain1/imq

    com.sun.aas.imqLib=/usr/share/lib

    com.sun.aas.imqUserMgr=/opt/sun/mq/bin/imqusermgr

    com.sun.aas.installRoot=/opt/SUNWappserver/appserver

    com.sun.aas.domains.dir=/var/opt/sun/appserver/domains

    com.sun.aas.javaRoot=/usr/jdk/entsys-j2se

    admin.user=admin

    com.sun.aas.domains.dir=/var/opt/SUNWappserver/domains

    appserver.instance=server

    #admin password will not be saved as default.user can enter it and save it manually

    com.sun.aas.imqBinDir=/opt/sun/mq/bin

    #admin.password=

    trustStore=${com.sun.aas.domains.dir}/${domain.name}/config/cacerts.jks

    admin.host=jws-v210-4

    com.sun.aas.imqLib=/opt/sun/mq/share/lib

    appserver.instance=server

    keystore.password=changeit

    appserver.instance.port=8080

    com.sun.aas.pointbaseRoot=/opt/sun/appserver/pointbase

    admin.user=admin

    admin.port=4849

    admin.port=4849

    pointbase.port=9092

    pointbase.port=9092

    com.sun.aas.webServicesLib=/opt/sun/appserver/lib

    domain.name=domain1

    admin.host=jws-linuxpc-2

    server.cert.alias=s1as

    com.sun.aas.javaRoot=/usr/jdk/entsys-j2se

    keystore=${com.sun.aas.domains.dir}/${domain.name}/config/keystore.jks

    com.sun.aas.installRoot=/opt/sun/appserver

    keystore.password=changeit

    appserver.instance.port=8080

    trustStore=${com.sun.aas.domains.dir}/${domain.name}/config/cacerts.jks

     


    Note

    To configure Application Server for load balancing, refer to the “Configuring Web Servers for HTTP Load Balancing” section in the “Application Server High Availability Features” chapter of the Sun Java System Application Server Enterprise Edition High Availability Administration Guide (http://docs.sun.com/doc/819-0216).


Configuring Calendar Server After a Configure Later Installation

After a Configure Later installation, use the following steps to configure Calendar Server.

    To Configure Calendar Server After a Configure Later Installation


Note

Skip Step 1 if you have already run the Directory Preparation Script on the same Directory Server during configuration of another communications component.


  1. Configure Directory Server for communications services (Calendar Server, Messaging Server and Delegated Administrator) by running the Directory Preparation Script (comm_dssetup.pl).
    1. Verify that Directory Server is running. Refer to Starting and Stopping Directory Server if needed.
    2. On the host where Directory Server is installed, run the Directory Preparation Script:
    3. perl comm_dssetup.pl

    4. When prompted by the script, select Schema 2 Native Mode as the schema type unless you need to retain compatibility with previous versions of Calendar Server, Messaging Server, or custom applications. For more information about making the appropriate choice, see the Sun Java System Communications Services Schema Migration Guide (http://docs.sun.com/doc/819-0112).
  2. 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:
  3. 192.18.99.999   mycomputer.company.com   mycompany   loghost

  4. If you intend to use Delegated Administrator Utility to provision users for Calendar Server, you must perform additional steps to configure it. Instructions for configuring the utility and provisioning users are contained in the Sun Java System Communications Services Delegated Administrator Guide (http://docs.sun.com/doc/819-0114).

  5. Caution

    Consider this step only if your installation includes Access Manager and LDAP Schema 2, and if this step was not done during configuration of another communications component.


  6. Configure Calendar Server by running the Calendar Server configuration program, CalendarServer-base/cal/sbin/csconfigurator.sh.
  7. For more information on configuring Calendar Server, refer to the Sun Java System Calendar Server Administration Guide, http://docs.sun.com/doc/819-0024.

  8. Configure Calendar Server for use with the Sun Cluster software, if applicable. Refer to Calendar Server Data Service.

Configuring Communications Express After a Configure Later Installation

You need to run the Communications Express configurator program to configure Communications Express.

    To Configure Communications Express After a Configure Later Installation


Note

Skip Step 1 if you have already run the Directory Preparation Script on the same Directory Server during configuration of another communications component.


  1. Configure Directory Server for communications services (Calendar Server, Messaging Server and Delegated Administrator) by running the Directory Preparation Script (comm_dssetup.p1).
  2. See To Configure Calendar Server After a Configure Later Installation for instructions on running the script.


    Tip

    Before proceeding to Step 2 ensure that the components on which Communications Express is dependent are up and running. For more information, see “Prerequisites for Configuring Communications Express” in the Sun Java System Communications Express Administration Guide (http://docs.sun.com/doc/819-0115).


  3. Complete configuration using the Communications Express configuration program, CommunicationsExpress-base/sbin/config-uwc. Instructions are in the chapter, “Installing and Configuring Communications Express” in the Sun Java System Communications Express Administration Guide (http://docs.sun.com/doc/819-0115).
  4. Communications Express has additional post configuration steps which need to be completed. Again, see “Installing and Configuring Communications Express” in the Sun Java System Communications Express Administration Guide (http://docs.sun.com/doc/819-0115).

Configuring Directory Proxy Server After a Configure Later Installation

After a Configure Later installation, the packages are installed and you are ready to perform the configuration tasks for Directory Proxy Server.

    To Configure Directory Proxy Server After a Configure Later Installation
  1. Configure the Directory Proxy Server instance using the quickstart.tcl script. For example:
  2. # cd /usr/sadm/mps/admin/v5.2/dps
    # /usr/sadm/mps/admin/v5.2/bin/tcl8.2/tclsh quickstart.tcl -cid 
    cid_path -listen port number -password password -serverroot serverroot_path -userID dn

    The arguments of the quickstart.tcl script are described in the following table.

    Table 10-3  Arguments in the quickstart.tcl Script 

    Argument

    Description

    -cid

    Fully qualified path. Allows the script for verify that the following directory exists:

    cid_path/bin/dps/install/script

    -serverroot

    A fully qualified path to an installed and configured Administration Server. The script validates that the following files exist:

    serverroot_path/admin-serv/config/adm.conf
    serverroot_path/admin-serv/config/jvm12.conf

    -listen

    Directory Proxy Server port.

    -userID

    Distinguished name (DN) of the Administration Server administrator.

    -password

    Password of the Administration Server administrator.

  3. Verify the common server settings described in Administration Server Configuration Information.
  4. Update the common server settings for Directory Proxy Server as indicated in Common Server Settings.
  5. Verify the configuration as described in Directory Proxy Server Configuration Information.

Configuring Directory Server After a Configure Later Installation

After a Configure Later installation, the packages are installed and you are ready to perform the configuration tasks for Directory Server. After the postinstallation procedure, there is a special configuration procedure you need to follow if you plan to run Directory Server in 32-bit mode on a Solaris SPARC platform running in 64-bit mode.

    To Configure Directory Server After a Configure Later Installation
  1. Start the configuration utility. For example:
  2. directoryserver -u 5.2 configure

    Follow the instructions on each screen.

  3. Update the system configuration to enable core file generation. For example:
  4. coreadm -e proc-setid


    Note

    If you have installed Directory Server to run as a user other than superuser, Directory Server might not be able to generate a core file during a crash. It is important that you allot enough space for core files, and that you allow Directory Server to generate core files during a crash


  5. (Optional) Many command-line scripts written in Perl can read the bind password interactively (-w option). To enable this functionality, do the following:
    1. Install the Term::ReadKey Perl module, available separately from CPAN (http://cpan.org).
    2. Edit each Perl script to read the bind password interactively by uncommenting the appropriate lines.
    3. All other Perl script functionality remains available without the Term::ReadKey module.

  6. Verify the common server settings as described in Administration Server Configuration Information and the Directory Server settings as described in the tables in Directory Server Configuration Information.
  7. Update the settings as needed.

  8. Configure Directory Server for use with the Sun Cluster software, if applicable. Refer to Directory Server Data Service.
    To Configure Directory Server in 32-bit Mode on a 64-bit Solaris SPARC Platform

If your deployment plan calls for running Directory Server in 32-bit mode on a Solaris SPARC platform running in 64-bit mode, you will need to remove some 64-bit packages.

  1. Install Directory Server using the Configure Later option.
  2. Use the pkgrm command to remove the following 64-bit Directory Server packages:
  3. SUNWdsvhx
    SUNWdsvx.

  4. Edit the /var/sadm/install/productregistry file, removing references to the SUNWdsvhx and SUNWdsvx packages.
  5. Configure Directory Server

Configuring HADB After a Configure Later Installation

Postinstallation configuration instructions for HADB and additional information can be found in the Sun Java System Application Server High Availability Administration Guide (http://docs.sun.com/doc/819-0216).

Configuring Instant Messaging After a Configure Later Installation

Instant Messaging cannot be configured by the Java ES installer. When you install the server, the multiplexor is also installed and enabled. If you want to support only a multiplexor on a host, you must disable the server installed on that host. For instructions, refer to the Sun Java System Instant Messaging Administration Guide (http://docs.sun.com/doc/819-0430).

Instructions for using the Instant Messaging configure utility, InstantMessaging-base/configure, are contained in the chapter, “Configuring Instant Messenger After Installation” in the Sun Java System Instant Messaging Administration Guide (http://docs.sun.com/doc/819-0430).

Configuring Message Queue After a Configure Later Installation

The Message Queue component requires no additional configuration. However, a common optional task is to configure Message Queue for automatic startup. For instructions on performing this task, refer to Configuring Message Queue After a Configure Now Installation. Configure for use with the Sun Cluster software, if applicable. Refer to Message Queue Data Service.

Configuring Messaging Server After a Configure Later Installation

Messaging Server cannot be configured by the Java ES installer.

    To Configure Messaging Server After a Configure Later Installation


Note

Skip Step 1 if you have already run the Directory Preparation Script on the same Directory Server during configuration of another communications component.


  1. Configure Directory Server for communications services (Calendar Server, Messaging Server and the Delegated Administrator) by running the Directory Preparation Script (comm_dssetup.pl).
  2. See To Configure Calendar Server After a Configure Later Installation for instructions on running the script.

  3. 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:
  4. 192.18.99.999   mycomputer.company.com   mycompany   loghost

  5. Configure Messaging Server by running the initial runtime configuration program for Messaging Server, MessagingServer-base/sbin/configure.
  6. For information on configuring Messaging Server, refer to the Sun Java System Messaging Server Administration Guide (http://docs.sun.com/doc/819-0105).

  7. If you intend to use Delegated Administrator Utility to provision users for Messaging Server, you must perform additional steps to configure it. Instructions for configuring the utility and provisioning users are contained in the Sun Java System Communications Services Delegated Administrator Guide (http://docs.sun.com/doc/819-0114).

  8. Caution

    Consider this step only if your installation includes Access Manager and LDAP Schema 2, and if this step was not done during configuration of another communications component.


  9. Configure for use with the Sun Cluster software, if applicable. Refer to Messaging Server Data Service.

Configuring Portal Server and Portal Server Secure Remote Access After a Configure Later Installation

Final configuration steps for Portal Server differ depending on whether it is deployed in a Sun web container or a third-party web container. The following sections explain the details:

Configuring Portal Server After a Configure Later Installation on a Sun Web Container

Portal Server provides a common configurator that can be used to configure all Portal Server subcomponents as well as Portal Server Secure Remote Access.

    To Configure Portal Server After a Configure Later Installation on Application Server or Web Server
  1. Create a runtime configuration for Portal Server by running the Portal Server configurator, PortalServer-base/lib/psconfig.
  2. Instructions for running the configurator as well as descriptions of the settings used by the configurator are contained in the “Minimal Installation Configuration” section of the “Post Installation Configuration” chapter of the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-7691).

  3. Apply changes to the instance. Use the instructions in the “Portal Server Post-Installation Tasks” section in the “Post-Installation Configuration” chapter of the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-7691).

Configuring Portal Server After a Configure Later Installation on a Third-Party Web Container

Portal Server provides a common configurator that can be used to configure all Portal Server subcomponents as well as Portal Server Secure Remote Access.


Note

Deployment of Portal Server and Portal Server Secure Remote Access on third-party web containers is only supported on the Solaris operating system.


    To Configure Portal Server After a Configure Later Installation on BEA WebLogic Server or IBM WebSphere Application Server
  1. Create a runtime configuration for Portal Server by running the Portal Server configurator, PortalServer-base/lib/psconfig.
  2. Instructions for running the configurator as well as descriptions of the settings used by the configurator are contained in the “Minimal Installation Configuration” section of the “Post Installation Configuration” chapter of the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-5324).

  3. Stop all web container instances, including the admin instance and, in the case of BEA WebLogic Server, managed server instances.
  4. Start the web container’s admin server instance. If you have installed on a BEA WebLogic Server managed instance, start the managed instance too.
  5. Deploy Portal Server by running the deploy command:
  6. cd PortalServer-base/bin
    ./deploy

    When prompted, choose the default for the deploy URI and server instance name, and enter the web container admin password.

  7. Deploy the Portlet samples (that is, the portletsamples.war file):
  8. setenv DEPLOY_ADMIN_PASSWORD web-container-admin-password
    setenv IDSAME_ADMIN_PASSWORD
    AccessManager-admin-password
    cd
    PortalServer-base/lib
    ./postinstall_PortletSamples

    When prompted, enter the web container admin password and the Access Manager admin password.

  9. Restart the web container instance into which Portal Server was deployed. See your web container documentation for instructions on starting the web container instance.

  10. Note

    In the case of installation on a BEA WebLogic Server managed server, the WAR files do not get deployed. Deploy the WAR files using the BEA WebLogic Server administration console.


Configuring Sun Cluster After a Configure Later Installation

The core Sun Cluster software cannot be configured by the Java ES installer. See Sun Cluster Framework Configuration for guidelines on starting post-installation configuration for Sun Cluster software.

Configuring Sun Cluster Agents After a Configure Later Installation

Sun Cluster agent software cannot be configured by the Java ES installer. See Sun Cluster Data Services Configuration for guidelines on completing post-installation configuration for Sun Cluster software.

Configuring Sun Remote Services Net Connect After a Configure Later Installation

Instructions for activating and configuring SunSM Remote Services (SRS) Net Connect are contained in the “Activation” chapter of the Sun Remote Services Net Connect 3.1.1 Activation Guide. The book can be downloaded from http://docs.sun.com/doc/819-0619.

Configuring Web Server After a Configure Later Installation

After a Configure Later configuration installation, the packages are installed and you are ready to configure Web Server.

    To Configure Web Server After a Configure Later Installation
  1. Create a runtime configuration for Web Server by running the Web Server configurator, WebServer-base/setup/configure.
  2. Verify the common server settings as described in Administration Server Configuration Information and the Web Server settings as described in the tables in Web Server Configuration Information.
  3. 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/819-0131).

  4. Configure for use with the Sun Cluster software, if applicable. Refer to Web Server Data Service.


Sun Cluster Data Services Configuration

After the cluster has been established and the components have been configured, you are ready to configure Sun Cluster data services for the various Java ES components. The installed Sun Cluster agents are software programs that enable applications to take advantage of clusters. Agent software and additional configuration files comprise data services that enable you to run an application (such as Web Server or an Oracle database) on a cluster instead of on a single server. Combined with the Sun Cluster framework software and multihost disks, data services enable applications to become highly available and scalable.


Note

More information on data services can be found in the Sun Cluster Overview for Solaris OS (http://docs.sun.com/doc/817-6536).


The following sections list the Java ES components whose agents are provided in the Sun Cluster Agents component of the installer. For each component, the high availability service and the installation process are summarized, including the documentation needed. In any data service installation procedure referred to by the documentation, substitute the Java ES Accessory CD-ROM for the Sun Cluster 3.1 9/04 Agents CD-ROM.


Note

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 JES is not complete.


Administration Server Data Service

Administration Server can be configured for failover. The appendix, “Installing Sun Cluster HA for Directory Server,” from the Sun Java System Directory Server Installation and Migration Guide (http://docs.sun.com/doc/817-7608) contains information on installing and configuring the Administration Server data service.

To install the necessary packages, run the Java ES installer on each node, installing the Administration Server and HA Sun Java System Directory Server subcomponent of the Sun Cluster Agents for Sun Java System component. Select the Configure Later option.

During configuration, use a location on the cluster file system as the Server Root.

Calendar Server Data Service

Calendar Server can be configured for failover. Use “Configuring for High Availability (Failover Service)” in the Sun Java System Calendar Server Administration Guide (http://docs.sun.com/doc/819-0024) as a guide to installation and configuration.

To install the necessary packages:

Directory Server Data Service

Directory Server can be configured for failover. Use the Sun Java System Directory Server Installation and Migration Guide (http://docs.sun.com/doc/817-7608) as a guide to installation and configuration.

To install the necessary packages, run the Java ES installer on each node, installing Directory Server and the HA Sun Java System Directory Server subcomponent of the Sun Cluster Agents component. Select the Configure Later option.

When specifying installation directories, use a location on the cluster file system for Directory Server, Server Root.

Message Queue Data Service

Message Queue can be configured for failover. Use Sun Cluster Data Service for Sun Java System Message Queue Guide for Solaris OS (http://docs.sun.com/doc/817-4643) as a guide to installation and configuration.

To install the necessary packages, run the Java ES installer on each node, installing Message Queue and the HA Sun Java System Message Queue subcomponent of the Sun Cluster Agents component. Select the Configure Later option.

During configuration, use a location on each node’s local file system for static files and data, and use a location on the cluster file system for dynamic data.

Messaging Server Data Service

Messaging Server can be configured for failover. Use “Configuring High Availability” in the Sun Java System Messaging Server Administration Guide (http://docs.sun.com/doc/819-0105) as a guide to installation and configuration.

To install the necessary packages, run the Java ES installer on each node, installing Messaging Server and the HA Sun Java System Messaging Server subcomponent of the Sun Cluster Agents component. Select the Configure Later option.

When specifying installation directories, use a location on the cluster file system for Messaging Server. During configuration, place the configuration and data on the cluster file system.

Web Server Data Service

Web Server can be configured for failover or scalability. The following sections have information related to each option.

Web Server Data Service for Failover

Use Sun Cluster Data Service for Sun Java System Web Server Guide for Solaris OS (http://docs.sun.com/doc/817-4641) as a guide to installation and configuration.

To install the necessary packages:

Web Server Data Service for Scalability

Use Sun Cluster Data Service for Sun Java System Web Server Guide for Solaris OS (http://docs.sun.com/doc/817-4641) as a guide to installation and configuration.

To install the necessary packages, run the Java ES installer on each node, installing Web Server and the HA/Scalable Sun Java System Web Server subcomponent of the Sun Cluster Agents component. Select the Configure Later option.

Data Services for Other Products

If your installation plan calls for high availability of some other product, acquire the agent that supports the product, then install and configure the agent following the instructions in the appropriate Sun Cluster data service guide. One way to get agents for other products is from the Java ES Accessory CD 3.


Configuring Components with Non-root Identifiers

When performing configuration after installation, you can assign a non-root runtime user or group to some component products. For example, you might be deploying Access Manager in an instance of Web Server that is not owned by root.

From purposes of installation to administration, there are many reasons to configure a component with a non-root identifier. You can find examples of using a non-root identifier in Non-Root Examples.

The following sections provide guidelines on configuring the applicable components with non-root identifiers.


Caution

You must be root to run the JES installer. Because of this, all files placed on the machine by the installer are owned by root.


Configuring Access Manager with Non-root ID

To configure Access Manager with a non-root ID, use the Access Manager configuration script, AccessManager-base/bin/amconfig. Instructions for using this program are contained in the Sun Java System Access Manager Administration Guide, http://docs.sun.com/doc/817-7647.

Configuring Administration Server with Non-root ID

To configure Administration Server with a non-root ID, use the mpsadmserver configure command. See the Sun Java System Directory Server Installation and Migration Guide (http://docs.sun.com/doc/817-7608) for more details.

Configuring Application Server with Non-root ID

There are two ways to configure Application Server with a non-root ID. You can run specific Application Server instances as non-root, yet have the administrative server owned and started by root. Or, you can have an entire administrative domain owned and operated by a non-root user.

Configuring Calendar Server with Non-root ID

To configure Calendar Server with a non-root ID, use the Calendar Server configurator. See the Calendar Server Administration Guide (http://docs.sun.com/doc/819-0024) for details.

Configuring Directory Proxy Server with Non-root ID

To configure Directory Proxy Server with a non-root ID, become superuser and run the quickstart.tcl script. This script adopts the user ID specified for the Administration Server so, when Administration Server uses a non-root user ID, Directory Proxy Server will as well.

Configuring Directory Server with Non-root ID

Use the Directory Server configurator to configure Directory Server with a non-root ID. Install the Directory Server packages using the Configure Later option. After running the installer, set the default Directory Server version to 5.2. Run the Directory Server configurator and specify a non-root user ID. Select a port number greater than 1024. See the Sun Java System Directory Server Installation and Migration Guide (http://docs.sun.com/doc/817-7608) for more information.

Configuring Messaging Server with Non-root ID

To configure Messaging Server with a non-root ID, use the Messaging Server configurator. See the Messaging Server Administration Guide (http://docs.sun.com/doc/819-0105) for details.

Configuring Portal Server with Non-root ID

To configure Portal Server with a non-root ID, use the Portal Server configurator. Instructions for running the configurator as well as descriptions of the settings used are contained in the “Minimal Installation Configuration” section of the “Post Installation Configuration” chapter of the Sun Java System Portal Server Administration Guide (http://docs.sun.com/doc/817-7691).

Configuring Web Server with Non-root ID

To configure Web Server with a non-root ID, use the Web Server configurator. See Configuring Web Server After a Configure Later Installation.


Next Steps

After you have completed the configuration tasks in this chapter, verify postinstallation configuration by following the component-specific procedures in Chapter 11, "Starting and Stopping Components".



Previous      Contents      Index      Next     


Part No: 819-0056-11.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.