Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Install Load Balancer Plugin for Portal Server

This task requires the following:

  1. Install the Load Balancer plugin that is available with the Application Server using the Java ES installer.


    Note –

    Select Web Server as a component to install with the Load balancer plugin.


  2. Edit the Loadbalancer.xml file.

    The Loadbalancer.xml file is located in the WebServer_base/SUNWwbsvr/https-node3/config/Loadbalancer.xml directory.

    A sample Loadbalancer.xml file is displayed as follows:


    <!DOCTYPE Load Balancer PUBLIC "-//Sun Microsystems Inc.
    //DTDSun ONE Application Server 7.1//EN"
    "sun-Load Balancer_1_1.dtd">
    <Load Balancer>
    <cluster name="cluster1">
    <!--
    Configure the listeners as space seperated URLs like
    listeners="http://host:port https://host:port" For example:
    <instance name="instance1" enabled="true"
    disable-timeout-in-minutes="60"
    listeners="http://node1.domain-name:80"/>
    <instance name="instance1" enabled="true"
    disable-timeout-in-minutes="60"
    listeners="http://node2.domain-name:80"/>
    -->
    <instance name="instance1" enabled="true"
    disable-timeout-in-minutes="60"
    listeners=""/>
    <web-module context-root="/portal" enabled="true"
    disable-timeout-in-minutes="60"
    error-url="sun-http-lberror.html" />
    <web-module context-root="/psconsole" enabled="true"
    disable-timeout-in-minutes="60"
    error-url="sun-http-lberror.html" />
    <health-checker url="/" interval-in-seconds="10"
    timeout-in-seconds="30" />
    </cluster>
    <property name="reload-poll-interval-in-seconds"
    value="60"/>
    <property name="response-timeout-in-seconds"
    value="30"/>
    <property name="https-routing" value="true"/>
    <property name="require-monitor-data" value="false"/>
    <property name="active-healthcheck-enabled"
    value="false"/>
    <property name="number-healthcheck-retries"
    value="3"/>
    <property name="rewrite-location" value="true"/>
    </Load Balancer>
  3. Restart the Web Server and access Portal through the Load Balancer.