Sun Cluster 3.1 Data Service for WebLogic Server

Creating a Resource Which Will Probe the Database

Sun Cluster HA for BEA WebLogic Server does not probe the database health. If the database is down when Sun Cluster HA for BEA WebLogic Server starts up, the data service will fail to start. If you want Sun Cluster HA for BEA WebLogic Server to probe the database, then your own database probe script can be supplied to Sun Cluster HA for BEA WebLogic Server as an extension property. This database probe must return 0 for success and non-zero for failure.

To configure a resource with the DB_probe script extension property set, use the following commands.


# scrgadm -a -j bea-rs -t SUNW.wls -g bea-rg\
-x Confdir_list=/global/bea/beahome/weblogic700\
-x Server_url\http://logical_host1:7001\
-x Start_script=/global/bea/beahome/user_projects\
/petstore/startWebLogic.sh\
-x Server_name=petstore1\
-x Smooth_shtudown=TRUE\
-x DB_probe_script=/global/bea/script/db_probe_script