Sun Cluster Data Service for Sun Java System Application Server Guide for Solaris OS

How to Install and Configure the Sun Java System Web Server Plugin

  1. Install the Sun Java System Web Server plugin by using the Sun Java System Application Server documentation.

  2. Are you configuring Sun Cluster HA for Sun Java System Application Server as a failover data service?

    If you are configuring Sun Cluster HA for Sun Java System Application Server as a failover data service, installation of the front-end Sun Java System Web Server is optional.

  3. Is the web server running on the same cluster as the application server?

    1. Configure the Sun Java System Web Server plugin with the cluster private IP addresses as the listeners in the loadbalancer.xml file.


      <instance name="server1" enabled=true disable-timeout-in-minutes="60" 
      listeners="http://172.16.193.1:80/ http://172.16.194.5:80/ " />
      

    Note –

    You must use the node transport adapter IP addresses in the plugin configuration. To find these IP addresses, execute the scconf -p | less command from the primary Sun Cluster node. Note that equivalent hostnames such as clusternode1-priv do not work in this configuration, and should not be used.


  4. Configure the Sun Java System Web Server plugin with the physical hostnames as the listeners in the loadbalancer.xml file.


    <instance name="server1" enabled=true disable-timeout-in-minutes="60" 
    listeners=http://hosta:80/ http://hostb:80/ " />
    

    The preceding example assumes that the Sun Java System Application Server instances are configured on port 80 on cluster nodes one and two.