Technical Note: Deploying Access Manager to an Application Server Cluster

Add Listeners to the Clusters for the Load Balancer

Log in to the machine that has Web Server configured as the load balancer plug-in. You will create a listener for each instance of the cluster and the contexts roots for Access manager.

  1. Locate the loadbalancer.xml file.

  2. Add the listeners to the file. For example:

     <instance  name="instance1" enabled="true" disable-timeout-in-minutes="60" 
    listeners="http://host-server1.expamle.com.com:8182"/>
            <instance  name="instance2" enabled="true" disable-timeout-in-minutes="60" 
    listeners="http://server1.example.com:8182"/>
            <instance  name="instance3" enabled="true" disable-timeout-in-minutes="60" 
    listeners="http://server2.exapmle.com:8182"/>
    
            <web-module context-root="/amserver" enabled="true" disable-timeout-in-minutes="60" 
    error-url="sun-http-lberror.html" />
            <web-module context-root="/ampassword" enabled="true" disable-timeout-in-minutes="60"
    error-url="sun-http-lberror.html" />
            <web-module context-root="/amcommon" enabled="true" disable-timeout-in-minutes="60" 
    error-url="sun-http-lberror.html" />
  3. In loadbalancer.xml, change property name to the following:

    <property name="response-timeout-in-seconds" value="120"/>
  4. Restart the Web Server.