Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Create a Portal Server Instance on Node 2

  1. Invoke the Java ES installer, and install Portal Server in the Configure Now mode.

  2. Copy example2.xml to a temporary directory to make a backup of the original file.

    cp PortalServer_base/SUNWportal/samples/psconfig/example2.xml /tmp-directory

  3. Edit the original example2.xml file to replace the tokens with the machine information for Node 1.

  4. Configure Portal Server using the example2.xml file as the configuration XML file.

    PortalServer_base/SUNWportal/bin/psconfig --config example2.xml

  5. Copy the Webcontainer.properties template file to Portal Server installation bin directory.

    cp PortalServer_base/SUNWportal/template/Webcontainer.properties \PortalServer_base/SUNWportal/bin

  6. Modify the WebContainer.properties file as per your requirements.

    vi PortalServer_base/SUNWportal/bin/WebContainer.properties

    Refer to the Creating Multi-Portal for more information about changing the WebContainer.properties file.

  7. Create a Portal Server instance.

    PortalServer_base/SUNWportal/bin/psadmin create-instance -u amadmin -f ps_password -p portal1 -w Webcontainer.properties

  8. Restart Directory Server, Application Server, Access Manager, and Portal Server on Node 1 and Node 2.

  9. Restart Web Server on Node 3.

  10. Access the portal through the Load Balancer.

    You can verify the node to which the portal is connected by tracking the access logs of the container. After you log in to the portal, kill the Application Server on the node to which it is connected. Then, click any of the links on the desktop to maintain the session and automatically connect to Node 2.