Use this procedure to configure HA for WebLogic Server as a failover data service. The following steps assume that you are using the failover configuration that is described in Standard Data Service Configurations 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 resource groups RG1 and RG2 and have also created logical-host-1 and logical-host-2 resources in these resource groups. Refer to How to Prepare the Nodes for a Failover Configuration for procedures to create logical hostname resources. If you are planning a different configuration, you must configure the WebLogic Server resources accordingly.
# clresourcetype register SUNW.wls
# clresource create -t SUNW.wls \ -g wls-admin-rg -p Confdir_list=/global/wls/Oracle/Middleware/wlserver_12.1 \ -p Server_url=http://logical-host-1:7001 \ -p Start_script=/global/wls/Oracle/Middleware/user_projects/domains/wlsd1 /bin/startWebLogic.sh \ -p Smooth_shutdown=true -p Resource_dependencies=logical-host-1 admin-rs
The resource is created in the enabled state.
# clresource create -t SUNW.wls \ -g wls-mgd-rg1 -p Confdir_list=/global/wls/Oracle/Middleware/wlserver_12.1 \ -p Server_url=http://logical-host-2:7003 \ -p Start_script=/global/wls/Oracle/Middleware/user_projects/domains/wlsd1 /bin/startWebLogic.sh \ -p Server_name=dizzy1 -p Smooth_shutdown=true -p Resource_dependencies=logical-host-2 managed-rs
The resource is created in the enabled state.