Utilize o script WBIProfileUpgrade para atualizar definições de aplicativo e de configuração em um perfil do WebSphere ESB ao migrar clusterse em algumas outras situações especiais.
A sintaxe é a seguinte:
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 ]
Insira o caminho do diretório para a pasta a ser usada como diretório de backup do perfil do gerenciador de implementação.
O script WBIProfileUpgrade cria um log quando ele é executado, que é gravado no arquivo backupDirectory/ logs/WBIProfileUpgrade.ant-profilename.time_stamp.log, em que backupDirectory é o valor especificado para o parâmetro backupDirectory. É possível visualizar o arquivo WBIProfileUpgrade.ant-profilename.time_stamp.log com um editor de texto
/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