Sun Java System Portal Server 7.2 Installation and Configuration Guide

Installing and Creating Instances of Netlet and Rewriter Proxies

This section explains how to install Netlet Proxy and Rewriter Proxy. This section also explains how to create a second instance of Netlet and Rewriter proxies using the psadmin command.

This section includes the following:

ProcedureTo Install Netlet Proxy in the Configure Now Mode

  1. Invoke the Portal Server 7.2 GUI installer.

  2. Select Netlet Proxy in the Components Selection screen and proceed with the installation.

  3. Specify the Host IP Address, Access Port (default: 10555), and the Profile Name to which the Netlet Proxy instance needs to be associated in the Portal Server: Secure Remote Access: Configure Netlet Proxy panel.

  4. Start the Netlet Proxy instance using the following command.

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

  5. Verify whether the Netlet Proxy instance is running.

    netstat -an | grep PORT

ProcedureTo Install Netlet Proxy in the Configure Later Mode

  1. Install Netlet Proxy in the Configure Later mode using the Portal Server 7.2 GUI installer.

  2. Modify the example11.xml with the appropriate values.

    The attributes within <NetletPoxy profile=profilename>...</NetletProxy> tags need to be changed.

  3. Configure example11.xml.

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

  4. Start the Netlet Proxy instance using the following command.

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

ProcedureTo Create a Second Instance of Netlet Proxy Using the psadmin Command

  1. Install Netlet Proxy in the Configure Later mode using the Portal Server 7.2 GUI installer.

  2. Configure Common Agent Container by modifying the example2.xml file.

  3. Configure the Common Agent Container.

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

  4. Copy the NLPConfig.properties.template file to a temporary location.

    cp PortalServer_base/SUNWportal/template/sra/NLPConfig.properties.template /tmp

  5. Modify the values for an existing profile.

  6. Create a Netlet Proxy instance.

    psadmin create-sra-instance -u admin-user-name -f PASSWORDFILE -S /tmp/NLPConfig.properties.template -t nlproxy

  7. Start the Netlet Proxy instance using the following command.

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

    where profile-name is the value specified for the rewriterproxy.profile.name property in the RWPConfig.properties file during the creation of Netlet Proxy instance.

ProcedureTo Install Rewriter Proxy in the Configure Now mode

  1. Invoke the Portal Server 7.2 GUI installer.

  2. Select Rewriter Proxy in the Components Selection screen, and proceed with the installation.

  3. Specify the Host IP Address, Access Port (default: 10443), and the Profile Name to which this Rewriter Proxy instance needs to be associated in the Portal Server: Secure Remote Access: Configure Rewriter Proxy screen.

  4. Start Rewriter Proxy instance using the following command.

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

  5. Check whether the Rewriter Proxy instance is running:

    netstat -an | grep PORT

ProcedureTo Install Rewriter Proxy in the Configure Later Mode

  1. Install Rewriter Proxy in the Configure Later mode using the Portal Server 7.2 GUI installer.

  2. Modify the example12.xml file with the appropriate values.

    The attributes within the <RewriterPoxy profile=profilename>...</RewriterProxy> tags need to be changed for Rewriter proxy.

  3. Configure the Common Agent Container.

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

  4. Start Rewriter Proxy by using the following command.

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

ProcedureTo Create a Second Instance of Rewriter Proxy Using the psadmin Command

  1. Install Rewriter Proxy in Configure Later mode using the Portal Server 7.2 GUI installer.

  2. Configure Common Agent Container by modifying the example2.xml file.

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

  3. Copy the RWPConfig.properties.template file to a temporary location.

    cp PortalServer_base/SUNWportal/template/sra/RWPConfig.properties.template /tmp

  4. Modify the values for an SRA profile.

  5. Create a Rewriter Proxy.

    PortalServer_base/SUNWportal/bin/psadmin create-sra-instance -u admin-user-name -f PASSWORDFILE -S /tmp/RWPConfig.properties.template -t rwproxy

  6. Start Rewriter Proxy using the following command.

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

    where profile-name is the value specified for the rewriterproxy.profile.name property in the RWPConfig.properties file during the creation of Rewriter Proxy instance.