BEA WebLogic Server の START スクリプト startManagedWebLogic.sh が Managed Server 名を引数として使用する場合、拡張プロパティー Server_name を設定できます。START スクリプト startManagedWebLogic.sh を使用すると、複数の Managed Server を起動できます。START スクリプトに ADMIN_URL を構成する必要があります。BEA WebLogic Server を手動で起動するには、以下のコマンドを使用します。
cluster-node-1> cd /global/wls/user_projects/petstore cluster-node-1> ./startManagedWebLogic.sh petstore1 |
サーバー名 petstore1 を引数として使用する起動スクリプトを持つ Sun Cluster HA for BEA WebLogic Server リソースを構成するには、次のコマンドを使用します。
# 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 |
異なるサーバー petstore2 に同じ START スクリプトを使用する別の Sun Cluster HA for BEA WebLogic Server リソースを構成するには、以下のコマンドを使用します。
# 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 |