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 ]
Deployment Manager
프로파일의 백업 디렉토리로 사용할 폴더의 디렉토리 경로를 입력하십시오.
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