[AIX Solaris HP-UX Linux Windows][z/OS]

APCconfig.jacl スクリプト

APCconfig.jacl スクリプトを使用して、アプリケーション配置コントローラー構成に対してパーシスタントな変更を行います。

目的

APCconfig.jacl スクリプトを使用すると、 アプリケーション配置コントローラーと動的クラスターの属性およびカスタム・プロパティーを変更できます。
移行ユーザーの方へ 移行ユーザーの方へ: APCconfig.jacl と等価の WebSphere® Virtual Enterprise コマンドは xd_APCconfig.jacl です。 WebSphere Virtual Enterprise から移行する場合、APCconfig.jacl コマンド と同じように作動する xd_APCconfig.jacl コマンドを使用し続ける ことができます。trns

ロケーション

APCconfig.jacl スクリプトは、app_server_root/bin ディレクトリーにあります。

使用法

構成を変更するには、コンフィギュレーターまたは 管理者の管理特権が必要です。

wsadmin ツールで APCconfig.jacl スクリプトを実行するには、 次のコマンドを使用します。
wsadmin.sh -profile APCconfig.jacl -c "insert_proc"

insert_proc 変数の代わりに、プロシージャーの名前と適切な変数値を 使用して変更内容を入力します。 プロシージャーは引用符で囲みます。 ご使用のオペレーティング・システムに応じて、 wsadmin コマンドを wsadmin.sh または wsadmin.bat に変更します。

プロシージャー

アプリケーション配置コントローラーまたは動的クラスターに設定できる有効な属性のリストを取得するには、 次の wsadmin コマンドを実行します。
 $AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]

以下のプロシージャーが使用できます。

setAPCAttribute attribute_value
定義済みの属性と値をアプリケーション配置コントローラーに設定します。 アプリケーション配置コントローラー用の有効な属性のリストには、 次の wsadmin コマンドを実行します。
$AdminConfig show [$AdminConfig getid "/AppPlacementController:/"]
getAPCAttribute attribute_name
指定されたアプリケーション配置コントローラーの属性と値を表示します。
setAPCCustomProperty property value description
指定されたアプリケーション配置コントローラーのカスタム・プロパティー名、 値、および説明を設定します。 アプリケーション配置コントローラーに設定できるカスタム・プロパティーの詳細については、 『アプリケーション配置カスタム・プロパティー』を参照してください。例えば、次のコマンドは、numVerticalInstances カスタム・プロパティーを設定します。
wsadmin.sh -profile APCconfig.jacl -c "setAPCCustomProperty numVerticalInstances.myNode 3 verticalstacking"
getAPCCustomProperty custom_property_name
指定されたアプリケーション配置コントローラーのカスタム・プロパティー用の 値と説明を取得します。 例えば、次のコマンドは、numVerticalInstances カスタム・プロパティーの値を取得します。
wsadmin.sh -profile APCconfig.jacl -c "getAPCCustomProperty numVerticalInstances.myNode"
setDynamicClusterAttribute dynamic_cluster_name attribute_value
指定された動的クラスター用の定義済み属性と値を設定します。 動的クラスター用の有効な属性のリストには、 次の wsadmin コマンドを実行します。
$AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]
getDynamicClusterAttribute dynamic_cluster_name attribute
指定された動的クラスター属性用の値を表示します。
setDynamicClusterCustomProperty dynamic_cluster_name custom_property_name value description
指定された動的クラスターにカスタム・プロパティーを設定します。 動的クラスターに設定できるカスタム・プロパティーの詳細については、 『動的クラスター・カスタム・プロパティー』を参照してください。例えば、次のコマンドは、HTTPsessionRebalanceOff カスタム・プロパティーを設定します。
wsadmin.sh -profile APCconfig.jacl -c "setDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff true disablerebalancing"
getDynamicClusterCustomProperty dynamic_cluster_name property
動的クラスター用の指定されたカスタム・プロパティーの値を取得します。 例えば、次のコマンドは、HTTPSessionRebalanceOff カスタム・プロパティーの値を取得します。
wsadmin.sh -profile APCconfig.jacl -c "getDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff"

トピックのタイプを示すアイコン 参照トピック



タイム・スタンプ・アイコン 最終更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwve_odappscript2
ファイル名:rwve_odappscript2.html