Sun Cluster Data Service for WebLogic Server Guide for Solaris OS

Creating a Resource That Shuts Down Smoothly

The default for the Sun Cluster HA for BEA WebLogic Server STOP method kills the BEA WebLogic Server process to shut down the instance. To enable smooth shutdown of the BEA WebLogic Server, set the Smooth_shutdown extension property to TRUE. If this extension property is enabled, the boot.properties file with valid user name and password must be present in the $DOMAIN_DIR directory. The BEA WebLogic Server variables, WLS_USER and WLS_PW do not need to be set in the START script for smooth shutdown. This waiver applies only to BEA WebLogic Server 8.1 or later versions.

To configure a resource which will shut down smoothly, use the following commands.


# clresource create -g bea-rg -t SUNW.wls \
-p Confdir_list=/global/bea/beahome/weblogic700 \
-p Server_url=http://logical_host1:7001 \
-p Start_script=/global/bea/beahome/user_projects/petstore/startWebLogic.sh \
-p Server_name=petstore1 \
-p Smooth_shutdown=TRUE bea-rs

The resource is created in the enabled state.