Mit dem Script WBIProfileUpgrade können Sie die Anwendungs- und Konfigurationseinstellungen in einem WebSphere ESB-Profil aktualisieren, wenn Sie Cluster migrieren oder dies in einer anderen Sondersituation erforderlich ist.
Die Syntax lautet:
profilstammverzeichnis/bin/ws_ant -f installationsstammverzeichnis/util/WBIProfileUpgrade.ant -DmigrationDir=sicherungsverzeichnis [-Dcluster=clustername ]
profilstammverzeichnis/bin/ws_ant.sh -f installationsstammverzeichnis/util/WBIProfileUpgrade.ant -DmigrationDir=sicherungsverzeichnis [-Dcluster=clustername ]
profilstammverzeichnis\bin\ws_ant.bat -f installationsstammverzeichnis\util\WBIProfileUpgrade.ant -DmigrationDir=sicherungsverzeichnis [-Dcluster=clustername ]
Geben Sie den Verzeichnispfad für den Ordner an, der als
Sicherungsverzeichnis für das Deployment Manager-Profil verwendet werden soll.
Bei Ausführung des Scripts WBIProfileUpgrade wird ein Protokoll erstellt, das in die Datei sicherungsverzeichnis/ logs/WBIProfileUpgrade.ant-profilname.time_stamp.log geschrieben wird. Hierbei steht 'sicherungsverzeichnis' für den Wert, der für den Parameter 'backupDirectory' angegeben wurde. Die Datei WBIProfileUpgrade.ant-profilename.zeitmarke.log kann mit einem Texteditor angezeigt werden.
/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