Sun Cluster 3.1 Data Service for Sun ONE Application Server

How to Install and Configure the Sun ONE Web Server Plugin

  1. Install the Sun ONE Web Server plugin by using the Sun ONE Application Server 7 documentation.

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

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

    • If no, proceed to Step 3

    • If yes, configure the Sun ONE Web Server logical hostname as the server in the pass-through object in the obj.conf file.


      # Service type=magnus-internal/passthrough fn=service-passthrough \
        servers="http://foo-lh-1:80/"
      
  3. Is the web server running on the same cluster as the application server?

    1. Configure the Sun ONE Web Server plugin with the cluster private IP addresses.


      # Service type=magnus-internal/passthrough fn=service-passthrough \
        servers="http://172.16.193.1:80/ http://172.16.193.2:80/"
      

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

  4. Configure the Sun ONE Web Server with the physical hostname.


    # Service type=magnus-internal/passthrough fn=service-passthrough \
    servers=http://172.16.193.1:80/ http://172.16.193.2:80/ \
    http://172.16.193.3:80
    

Note –

You must use the interconnect IP addresses in the plugin configuration. Note that equivalent hostnames such as clusternode1-priv do not work in this configuration, and should not be used.