Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Install Gateway in Front of the Load Balancer

This procedure requires three nodes: Node 1, Node 2, and Node 3.

In this procedure, you do the following:

  1. Install Portal Server with Secure Remote Access, Directory Server, Access Manager, and Application Server on Node 1.

  2. Install Load Balancer on Node 2.

    Load Balancer plugin is available with Application Server 8.2.


    Note –

    Select Web Server as a component to install with Load Balancer.


  3. Log in to Access Manager administration console on Node 1.

    http://node1:8080/amconsole

    1. Select Services in the in the View drop-down list.

    2. Click Administration.

    3. Add Load Balancer Fully Qualified Domain Name in the organization aliases.

      http://node2.domain-name:8080

    4. Add the Load Balancer URL in the platform service.

      http://node1.domain-name:8080|01

    5. Click Core.

    6. Change Default Success Login URL to http://node1.domain-name:8080/portal/dt from http://node2.domain-name:8080/portal/dt.

  4. Edit the AMConfig.properties file.

    The AMConfig.properties file is located in the AccessManager_base/SUNWam/Config directory.

    1. Change com.sun.identity.server.fqdnMap LB-FQDN]=LB-FQDN line in the AMConfig.properties file with the fully qualified domain name of Load Balancer.

  5. Restart Portal Server and Application Server on Node 1.

  6. Log in to Access Manager administrator console and Portal through the Load Balancer.

    http:node2.dommain-name:8080/amconsole

    http:node2.dommain-name:8080/portal/dt

  7. Install Gateway on Node 3.

  8. Provide appropriate Portal Server, Access Manager, and Directory Server values in the Installation panels.


    Note –

    Do not provide any values of the Load Balancer.


    The Gateway is installed successfully.

    Gateway can be installed in the Configure Later mode also. Change the example10.xml file. Set the PortalAccessURL as the Load Balancer URL. Set the PrimaryPortalHost as the portal where the first portal is installed. This is used to set up trust between two common agent containers. After modifying the example10.xml file, run the psconfig command to configure Portal Server.

  9. Configure the Gateway to direct to the Load Balancer instead of Portal Server on Node 3.

    1. Set ignoreServerList=true in the platform.conf.default file.

      The platform.conf.default file is located in the PortalServer_base/SUNWportal directory.

    2. Replace Portal host and port information with Load Balancer host and port in the platform.conf.default file.

      The platform.conf.default file is located in the PortalServer_base/SUNWportal directory.

    3. Replace Portal host and port information with Load Balancer host and port in the AMConfig-default.properties file on Node 3.

      The AMConfig-default.properties file is located in the AccessManager_base/SUNWam directory.

    4. Log in to Portal Server administrator console.

      http://node1.domain-name:8080/psconsole

    5. Click Secure Remote Access > gw448.

    6. Enter the Load Balancer URL in the Portal Server(s) list displayed in the right panel.

      http://node2.domain-name:8080

    7. Add the Load Balancer URL in the URLs to which User Session Cookie is Forwarded list.

    8. Click the Security tab.

    9. Add the Load Balancer URL for Access Manager console and Access Manger server in the Non-authenticated URLs list.

      http://node2.domain-name:8080/amconsole

      http://node2.domain-name:8080/amserver

    10. Configure the enableSRAforPortal.xml file.

      PortalServer_base/SUNWportal/bin/psadmin provision-sra enableSRAforPortal.xml

  10. Restart Gateway.