クラスターをマイグレーションする場合とその他の特殊な状況において、WBIProfileUpgrade スクリプトを使用して WebSphere® ESB プロファイルのアプリケーションと構成の設定を更新します。
構文は以下のとおりです。
profile_root/bin/ws_ant -f install_root/util/WBIProfileUpgrade.ant -DmigrationDir=backupDirectory [-Dcluster=clustername ]
profile_root/bin/ws_ant.sh -f install_root/util/WBIProfileUpgrade.ant -DmigrationDir=backupDirectory [-Dcluster=clustername ]
profile_root¥bin¥ws_ant.bat -f install_root¥util¥WBIProfileUpgrade.ant -DmigrationDir=backupDirectory [-Dcluster=clusterName ]
デプロイメント・マネージャー・プロファイルのバックアップ・ディレクトリーとして使用するフォルダーへのディレクトリー・パスを入力します。
WBIProfileUpgrade スクリプトは、実行されるときにログを作成し、そのログは backupDirectory/ logs/WBIProfileUpgrade.ant-profilename.time_stamp.log ファイルに書き込まれます。ここで、backupDirectory は backupDirectory パラメーターに指定された値です。WBIProfileUpgrade.ant-profilename.time_stamp.log ファイルはテキスト・エディターで表示できます。
/QIBM/UserData/WebSphere/ProcServer/profiles/Dmgr/bin>ws_ant -f /QIBM/ProdData/WebSphere/ProcServer/util/WBIProfileUpgrade.ant -DmigrationDir=/tmp/migrationBackup -Dcluster=clusterA
/opt/IBM/Server1/profiles/DMgr/bin>ws_ant.sh -f ../../../util/WBIProfileUpgrade.ant –DmigrationDir=/tmp/migrationBackup -Dcluster=clusterA
C:¥IBM¥Server1¥profiles¥DMgr¥bin>ws_ant.bat -f ..¥..¥..¥util¥WBIProfileUpgrade.ant –DmigrationDir=c:¥¥temp¥migrationBackup -Dcluster=clusterA