Le script WBIProfileUpgrade permet de mettre à jour les paramètres d'application et de configuration dans un profil WebSphere ESB lors de la migration de clusters et dans certaines situations particulières.
La syntaxe est la suivante :
racine_profil/bin/ws_ant -f racine_installation/util/WBIProfileUpgrade.ant -DmigrationDir=rép_sauvegarde [-Dcluster=nom_cluster ]
racine_profil/bin/ws_ant.sh -f racine_installation/util/WBIProfileUpgrade.ant -DmigrationDir=rép_sauvegarde [-Dcluster=nom_cluster ]
racine_profil\bin\ws_ant.bat -f racine_install\util\WBIProfileUpgrade.ant -DmigrationDir=rép_sauvegarde [-Dcluster=nom_cluster ]
Entrez le chemin de répertoire du dossier à utiliser comme répertoire de sauvegarde du profil de gestionnaire de déploiement.
Lors de son exécution, le script WBIProfileUpgrade crée un journal dans le fichier backupDirectory/ logs/WBIProfileUpgrade.ant-profilename.horodatage.log où backupDirectory est la valeur définie pour le paramètre backupDirectory. Vous pouvez afficher le fichier WBIProfileUpgrade.ant-profilename.horodatage.log dans un éditeur de texte.
/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