Sun Java System Portal Server 7.1 Configuration Guide

Configuring Portal Server and Gateway on Separate Nodes

This section describes how to configure Portal Server and Gateway on separate nodes in the Configure Now and Configure Later modes.

Using the Configure Now mode, you can configure a Gateway while installing the Portal Server, where the Gateway is configured with other components. You can also configure the Gateway using the Configure Later mode, where you need to manually configure Gateway using the psconfig command after installing Portal Server.

Ensure that the following ports are opened whenever you configure a Gateway or perform any administrator console or command line operations that involve Gateway.

ProcedureTo Configure Portal Server and Gateway on Separate Nodes in the Configure Now Mode

This procedure requires two nodes: Node 1 and Node 2.

  1. Install Portal Server and Directory Server in the Configure Now mode on Node 1.


    Note –

    Select Enable SRA for Portal while installing the Portal Server.


  2. (Optional) Set SRA status to Enabled on Node 1, if the Enable SRA for Portal is not selected while installing.

    PortalServer_base/SUNWportal/bin/psadmin switch-sra-status -u admin_user -f password_file on

  3. Start the Java ES installer and install Access Manager SDK and Gateway on Node 2 in the Configure Now mode.


    Note –

    Use the same password encryption key on both the nodes.


  4. Enable Gateway profile on Node 1.

    PortalServer_base/SUNWportal/bin/psadmin provision-sra -u admin_user -f password_file --gateway-profile gateway_profile --enable

  5. Start the SRA instance on Node 2.

    PortalServer_base/SUNWportal/bin/psadmin switch-sra-status -u admin-user-name -f password-file on

    PortalServer_base/SUNWportal/bin/psadmin provision-sra -u admin-user-name -f password-file --gateway-profile gateway_profile --enable

    PortalServer_base/SUNWportal/bin/psadmin start-sra-instance -u admin-user-name -f password-file -N default -t gateway

ProcedureTo Configure Portal Server and Gateway on Separate Nodes in the Configure Later Mode

  1. Install Portal Server and Directory Server on Node 1 in the Configure Now mode.

  2. Install AMSDK on Node 2 in the Configure Now mode using the Java ES installer.


    Note –

    Use the same password encryption key on both the nodes.


  3. Install Gateway on Node 2 in the Configure Later mode using the Java ES installer.

  4. Enable Gateway profile on Node 1.

    PortalServer_base/SUNWportal/bin provision-sra -u admin_user -f password_file --gateway-profile gateway_profile --enable

  5. Modify the example10.xml file.

    The example10.xml file is located in the PortalServer_base/SUNWportal/samples/psconfig directory.

  6. Configure common agent container.

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

  7. Start the Gateway.

    PortalServer_base/SUNWportal/bin/psadmin switch-sra-status -u admin-user-name -f password-file on

    PortalServer_base/SUNWportal/bin/psadmin provision-sra -u admin-user-name -f password-file --gateway-profile gateway_profile --enable

    PortalServer_base/SUNWportal/bin/psadmin start-sra-instance -u admin-user-name -f password-file -N default -t gateway

ProcedureTo Install Gateway on a Non-Default Instance of Application Server

  1. Install Directory Server and Application Server.

  2. Start Directory Server and Application Server.

  3. Create a node agent.

    asadmin create-node-agent --user admin --password password --savemasterpassword=true node1

  4. Start the node agent.

    ./asadmin start-node-agent --user admin --password password node1

  5. Create non default server instance.

    ./asadmin create-instance --user admin --password password --nodeagent node1 server1

  6. Start the instance.

    ./asadmin start-instance --user admin --password password server1

  7. Install Access Manager in the Configure Later mode.

  8. Edit the amsamplesilent file.

  9. Restart Directory Server, Application Server, and Access Manager.

  10. Check if Access manager is up and running.

  11. Invoke installer and install Portal Server in the Configure Later mode.

  12. Edit the example14.xml file and configure common agent container.

    ./psconfig --config example14.xml