2013년 4월 11일 목요일


migrating to WebSphere Application Server V5.1.x or V6.x to V7.x in the background

WebSphere Maigration 절차
     1. WebSphere process 확인
     가) Maigration 할 WebSphere가 구동 중인지 확인
          ex) WebSphere Application Server V5.1.x or V6.x start
     나)Maigration 가 진행될 WebSphere가 구동 중인지 확인 후 구동 중일 경우 해당 process stop
          ex) WebSphere Application Server V7 stop

command Example
WASPreUpgrade command to backup
C:\IBM\WebSphere70\AppServer\bin\WASPreUpgrade.bat C:\mybackup\v61tov7dmgr01
C:\IBM\WebSphere61\AppServer -oldProfile Dmgr01

WASPreUpgrade backupDirectory 
        currentWebSphereDirectory
        [-traceString trace_spec]
        [-traceFile file_name]
        [-machineChange true | false]
        [-oldProfile old_profile_name]
        [-workspaceRoot user_workspace_folder]

C:\IBM\WebSphere\AppServer7\profiles\default\bin\WASPreUpgrade.bat C:\IBM\WebSphere\Backupv51Config C:\IBM\WebSphere\AppServer51

ex)
#cd app/was/AppServer/bin
#./WASPreUpgrade.sh /app/was/backup_config /app/was/WebSphere6/AppServer -oldProfile Dmgr01 - machineChange true

<WASPreUpgrade 매개변수>

     2. WASPostUpgrade 작업 전 options 조정 WASPostUpgrade command time out
     가) com.ibm.SOAP.requestTimeout in the C:\IBM\WebSphere70\AppServer\profiles\AppSrv01\properties\soap.client.props
          ex)com.ibm.SOAP.requestTimeout=1800

     3.WASPostUpgrade 명령을 실행
     가) WebSphere v7.0에서 WASPostUpgrade 명령 실행

command Example
C:\IBM\WebSphere70\AppServer\bin\WASPostUpgrade.bat
C:\mybackup\v61tov7dmgr01 -profileName v61tov7dmgr01 -oldProfile Dmgr01
-replacePorts TRUE -keepDmgrEnabled TRUE:

WASPostUpgrade backupDirectory
        [-profileName profile_name]
        [-oldProfile profile_name]
        [-backupConfig true | false]
        [-username username ]
        [-password password ]
        [-traceString trace_spec 
        [-traceFile file_name]]
        [-portBlock port_starting_number]
        [-replacePorts true | false]
        [-includeApps true | false | script]
        [-scriptCompatibility true | false]
        [
                [-appInstallDirectory user_specified_directory]
          |
                [-keepAppDirectory true | false]
        ]
        [-keepDmgrEnabled true | false]

C:\IBM\WebSphere\AppServer7\profiles\default\bin\WASPostUpgrade.bat C:\IBM\WebSphere\Backupv51Config

ex)
#cd app/was/AppServer/profiles/Dmgr01/bin
#./WASPostUpgrade.sh /app/was/backup_config -profileName Dmgr01 -oldProfile Dmgr01 -replacePorts true -backupConfig true -scriptCompatibility true -keepDmgrEnabled true -includeApps true -username wasadmin -password wasadmin

<WASPostUpgrade 매개변수>

     4. WebSphere Application Server V5.1.x or V6.x Stop
     5. WebSphere Application Server V7.x Start
          ex)C:\IBM\WebSphere70\AppServer\bin\startManager.bat


XD migrating 
     6. XD(VE)사용을 위해 기존 설치 된 ND에 기능 보강 작업 진행
     7. xd_augment 프로파일 템플리트로 WebSphere Virtual Enterprise 버전 7.0에 대한 프로파일을 기능 보강 작업을 수행 하여야 한다.

#./manageprofile.sh|.bat -augment -profileName profile01 -templatePath install_root/profileTemplates/xd_augment/dmgr


manageprofile.sh|.bat -augment -profileName profile01 -templatePath install_root/profileTemplates/xd_augment/dmgr



     8. 기존 WebSphere® Virtual Enterprise 셀에서 새 WebSphere Virtual Enterprise 버전 7.0 셀로 제품 구성 데이터를 마이그레이션 하려면VEUpgrade 명령을 사용

#./VEUPgrde.sh -userid wasadmin -password screa -sourcewashome /app/was/WebSphere6/AppServer -sourceprofilepath /app/was/WebSphere6/AppServer/profiles/Dmgr01 -targetprofilepath /app/was/WebSphere/AppServer/profiles/Dmgr01

VEUpgrade.sh|.bat -userid user_name -password user_password -sourcewashome install_root/DeploymentManager -sourceprofilepath install_root/DeploymentManager/profiles/default -targetprofilepath target_profile_path/DeploymentManager/profiles/default



댓글 없음:

댓글 쓰기