WebSphere Enterprise Service Bus バージョン 6.2.0 オペレーティング・システム: AIX、HP-UX、i5/OS、Linux、Solaris、Windows


WBIProfileUpgrade スクリプト

クラスターをマイグレーションする場合とその他の特殊な状況においてWBIProfileUpgrade スクリプトを使用して WebSphere® ESB プロファイルのアプリケーションと構成の設定を更新します。

目的

WBIProfileUpgrade は、 WebSphere ESB に付属するサポート・アプリケーションと、WebSphere ESB プロファイル内の 構成設定を更新する Apache™ Ant スクリプトです。 通常は、マイグレーション・ウィザードまたは WBIPostUpgrade コマンドによって自動的に呼び出されます。 ただし、クラスターのマイグレーション時に、マイグレーション・ウィザードまたは WBIPostUpgrade コマンドがクラスター・メンバー上で実行されたら、WBIProfileUpgrade を手動で呼び出す必要があります。また、内部サポート・アプリケーションを手動でマイグレーションする場合や、マイグレーション中にエラーが発生する特殊な状況では、WBIProfileUpgrade を呼び出すことが必要になります。

構文

構文は以下のとおりです。

For i5/OS operating system
profile_root/bin/ws_ant -f install_root/util/WBIProfileUpgrade.ant 
    -DmigrationDir=backupDirectory [-Dcluster=clustername ]
For Linux operating systemFor UNIX operating system
profile_root/bin/ws_ant.sh -f install_root/util/WBIProfileUpgrade.ant 
    -DmigrationDir=backupDirectory [-Dcluster=clustername ]
For Windows operating system
profile_root¥bin¥ws_ant.bat -f install_root¥util¥WBIProfileUpgrade.ant
    -DmigrationDir=backupDirectory [-Dcluster=clusterName ]

パラメーター

profile_root
マイグレーションされるプロファイルがあるディレクトリー。ws_ant コマンドは、このプロファイル・ディレクトリーの bin サブディレクトリーにあります。
install_root
WebSphere ESB をインストールするディレクトリー。
backupDirectory
これは必須パラメーターです。backupDirectory は、WBIPreUpgrade コマンドによって作成されるマイグレーション固有のバックアップ・ディレクトリーがあるディレクトリーの名前を指定します。

デプロイメント・マネージャー・プロファイルのバックアップ・ディレクトリーとして使用するフォルダーへのディレクトリー・パスを入力します。

clusterName
これにより、マイグレーションする必要があるクラスターの名前を指定します。

ロギング

WBIProfileUpgrade スクリプトは、実行されるときにログを作成し、そのログは backupDirectory/ logs/WBIProfileUpgrade.ant-profilename.time_stamp.log ファイルに書き込まれます。ここで、backupDirectory は backupDirectory パラメーターに指定された値です。WBIProfileUpgrade.ant-profilename.time_stamp.log ファイルはテキスト・エディターで表示できます。

注: 以下の例はそれぞれ 1 行のコマンド行ですが、読みやすくするために複数行に分けて表示しています。
For i5/OS operating system
/QIBM/UserData/WebSphere/ProcServer/profiles/Dmgr/bin>ws_ant 
-f /QIBM/ProdData/WebSphere/ProcServer/util/WBIProfileUpgrade.ant 
-DmigrationDir=/tmp/migrationBackup -Dcluster=clusterA 
For Linux operating systemFor UNIX operating system
/opt/IBM/Server1/profiles/DMgr/bin>ws_ant.sh -f
../../../util/WBIProfileUpgrade.ant –DmigrationDir=/tmp/migrationBackup 
-Dcluster=clusterA
For Windows operating system
C:¥IBM¥Server1¥profiles¥DMgr¥bin>ws_ant.bat -f
..¥..¥..¥util¥WBIProfileUpgrade.ant –DmigrationDir=c:¥¥temp¥migrationBackup
-Dcluster=clusterA

reference 参照トピック

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


タイム・スタンプ・アイコン 最終更新: 2010/07/05


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/rmig_vtv_wbiprofile_ant.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
このインフォメーション・センターでは Eclipse テクノロジーが採用されています (http://www.eclipse.org)。