WebSphere Virtual Enterprise, Version 6.1.1
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows,


xd_APCconfig.jacl スクリプト

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

目的

xd_APCconfig.jacl スクリプトを使用して、 アプリケーション配置コントローラー、動的クラスター属性、 およびカスタム・プロパティーを変更できます。

ロケーション

xd_APCconfig.jacl スクリプト は、install_root¥bin ディレクトリーにあります。

使用法

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

wsadmin ツールを使用して xd_APCconfig.jacl スクリプトを実行するには、次のコマンドを使用します。
wsadmin.sh -profile xd_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 xd_APCconfig.jacl -c "setAPCCustomProperty numVerticalInstances.myNode 3 verticalstacking"
getAPCCustomProperty custom_property_name
指定されたアプリケーション配置コントローラーのカスタム・プロパティー用の 値と説明を取得します。 例えば、次のコマンドは、numVerticalInstances カスタム・プロパティーの値を取得します。
wsadmin.sh -profile xd_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 xd_APCconfig.jacl -c "setDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff true disablerebalancing"
getDynamicClusterCustomProperty dynamic_cluster_name property
動的クラスター用の指定されたカスタム・プロパティーの値を取得します。 例えば、次のコマンドは、HTTPsessionRebalanceOff カスタム・プロパティーの値を取得します。
wsadmin.sh -profile xd_APCconfig.jacl -c "getDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff"



関連タスク
動的アプリケーション配置の構成
関連資料
管理のロールと特権
参照トピック    

ご利用条件 | フィードバック

最終更新: 2009/09/17 16時33分25秒EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1m1/index.jsp?topic=/com.ibm.websphere.ops.doc/info/reference/rodappscript2.html