This task requires the following:
Two nodes: Node 1 and Node 2.
Two Portal Server instances on Node 1 and Node 2.
You can install any Load Balancer of your choice for Portal Server. This procedure provides an example to install the Load Balancer that is available with Sun Java System Application Server 9.1 for Portal Server.
Install the Load Balancer plugin that is available with the Application Server 9.1. Web Server should already be installed from Java ES 5 bits.
Edit the Loadbalancer.xml file.
The Loadbalancer.xml file is located in the WebServer_base/SUNWwbsvr/https-node3/config/ directory.
A sample Loadbalancer.xml file is displayed as follows:
<!DOCTYPE Load Balancer PUBLIC "-//Sun Microsystems Inc. //DTDSun ONE Application Server 9.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> |
Restart the Web Server and access Portal through the Load Balancer.