Sun Cluster 3.1 Data Service for WebLogic Server

Creating a Resource with a Server Name Argument

If the BEA WebLogic Server START script startManagedWebLogic.sh uses a Managed Server name as an argument, then the extension property Server_name can be set. The START script startManagedWebLogic.sh can be used to start several Managed Servers. The ADMIN_URL must be configured within the START script. To start the BEA WebLogic Server manually, use the following commands.


cluster-node-1> cd /global/wls/user_projects/petstore
cluster-node-1> ./startManagedWebLogic.sh petstore1

To configure a Sun Cluster HA for BEA WebLogic Server resource whose start script takes the server name petstore1, 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

To configure another Sun Cluster HA for BEA WebLogic Server resource which uses the same START script for a different server, petstore2, 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=petstore2