Go to main content

Oracle® Solaris Cluster Data Service for Oracle WebLogic Server Guide

Exit Print View

Updated: August 2018
 
 

How to Register and Configure HA for WebLogic Server as a Multi-Instance Data Service (CLI)

Use this procedure to configure HA for WebLogic Server in a multi-instance configuration. The following steps assume that you are using the configuration that is described in WebLogic Servers Configured as Multi-Instance and have configured the WebLogic Servers as mentioned in Installing and Configuring the HA for WebLogic Server Application. These steps assume that you have already created a resource group and started the Administration Server either outside or inside the agent control. If you are planning a different configuration, you must configure the WebLogic Server resources accordingly.


Note -  This configuration does not enable smooth shutdown. The HA for WebLogic Server stop method forces the shutdown of the WebLogic Server (kills the process). Refer to Creating a Resource That Shuts Down Smoothly for the configuration to enable smooth shutdown in a multi-instance configuration. For more information, see STOP Method.
  1. Create a single-node resource group for a Managed Server, with strong positive affinities for the logical host resource group and the storage resource group.
    # clresourcegroup create -p Nodelist=node1 \
    -p "RG_affinities=++logicalhost-rg,++scalmnt-rg \
    managed-server-rg
  2. Create the Managed Server resource and set its properties.
    # clresource create -t SUNW.wls -g managed-server-rg \
    -p Confdir_list=/path/to/weblogic/config/dir \
    -p Resource_dependencies=logicalhost-rs,proxy-rs \
    -p Resource_dependencies_offline_restart=storage1-rs,storage2-rs,... \
    -p Server_url=http://localhost:port-number \
    -p Start_script=/path/to/weblogic/start-script \
    -p Server_name=managed-server \
    -p Smooth_shutdown=true \
    managed-server-rs