Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: July 2014, E39648–01
 
 

How to Register and Configure the HA for WebLogic Server as a Reverse Proxy Server (CLI)

You can configure your WebLogic Server running as a proxy server in a failover configuration. The procedure below assumes that you have completed the following steps:

This configuration does not enable a smooth shutdown. The HA for WebLogic Server stop method forces the shutdown of the WebLogic Server, and kills the process. See Creating a Resource That Shuts Down Smoothly for instructions on enabling a smooth shut down. For more information, see STOP Method.

  1. Install and configure the HA for WebLogic Server as a proxy server.

    Follow the instructions on the WebLogic Server documentation.

  2. Add the WebLogic Server resource type.
    # clresourcetype register SUNW.wls
  3. Create a proxy server resource for starting the WebLogic Server as a proxy server.
    # clresource create -g wls-proxy-rg -t SUNW.wls \
    -p Confdir_list=/global/wls/Oracle/Middleware/wlserver_12.1 \
    -p Server_url=http://logical-host-2:portnumber \
    -p Start_script=/global/wls/Oracle/Middleware/user_projects/domains/wlsd1/bin/startWebLogic.sh \
    -p resource_dependencies=wls-mgd1-rs,wls-mgd2-rs.... 
    wls-proxy-rs

    Note -  If you are running Managed Server instances outside agent control, ensure that the Managed Server instances are running. If you are running the Managed Server instances under the agent control, add the Managed Server resources that are configured in the proxy server configuration under the resource_dependencies property. This ensures that the Managed Server resources are online before bringing the proxy server resource online.