자동으로 제품 설치 제거

WebSphere Process Server 버전 및 기본 WebSphere Application Server 또는 WebSphere Application Server Network Deployment를 자동으로 설치 제거하려면 이 프로시저를 사용하십시오.

시작하기 전에

이 프로시저를 사용하여 WebSphere Process Server를 설치 제거하기 전에 다음을 수행하십시오.

이 타스크의 수행 목적 및 시기

자동으로 WebSphere Process Server를 설치 제거하려면 다음을 수행하십시오.

이 타스크의 단계

  1. Linux 또는 UNIX 시스템에서 루트 사용자로 로그온하거나 Windows 시스템에서 관리자 그룹에 속하는 사용자로 로그온하십시오.
  2. WebSphere Application Server 또는 WebSphere Application Server Network Deployment를 설치 제거하려면 설치된 제품에 따라 WebSphere Application Server 또는 WebSphere Application Server Network Deployment용 웹 서버 플러그인의 설치 제거 프로그램을 실행하십시오.

    WebSphere Application Server 또는 WebSphere Application Server Network Deployment와 함께 실행하도록 구성된 웹 서버가 시스템에 있을 경우 플러그인을 설치 제거하여 웹 서버에서 구성을 제거하십시오. http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp에 있는 WebSphere Application Server Network Deployment 버전 6.0, Information Center에서 이 제품의 설치 제거 프로시저를 참조하십시오.

  3. Deployment Manager를 설치한 경우, stopManager 명령을 사용하여 Deployment Manager dmgr 프로세스를 중지시키십시오.
    시스템에서 실행 중인 모든 dmgr 프로세스를 중지하십시오. 예를 들어, 플랫폼에 따라 다음 명령 중 하나를 실행하십시오(여기서 profile_root는 Deployment Manager 프로파일의 설치 위치입니다).
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin/stopManager.sh -user user_ID -password password
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin\stopManager.bat -user user_ID -password password
  4. stopNode 명령을 사용하여 Node Agent 프로세스를 중지시키십시오.
    시스템에서 Deployment Manager로 노드를 연합할 경우, 연합 노드가 있는 각 시스템에서 실행 중일 수 있는 nodeagent 프로세스를 중지하십시오. 예를 들어 다음 명령 중 하나를 실행하여 플랫폼에 따라 Node Agent 프로세스를 중지하십시오(여기서 profile_root은 연합 프로파일의 설치 위치입니다).
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin/stopNode.sh
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin\stopNode.bat
    서버가 실행 중이고 보안이 사용 가능한 경우, 다음 명령 중 하나를 사용하십시오.
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin/stopNode.sh -user user_ID -password password
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin\stopNode.bat -user user_ID -password password
  5. stopServer 명령을 사용하여 실행 중인 각 프로세스 서버를 중지하십시오.
    시스템의 모든 프로파일에서 모든 서버 프로세스를 중지시키십시오. 예를 들어 다음 명령 중 하나를 실행하여 플랫폼에 따라 server1 프로세스를 중지하십시오(여기서 profile_root은 프로파일의 설치 위치입니다).
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin/stopServer.sh server1
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin\stopServer.bat server1
    서버가 실행 중이고 보안이 사용 가능한 경우, 다음 명령 중 하나를 사용하십시오.
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin/stopServer.sh server1 -user user_ID -password password
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin\stopServer.bat server1 -user user_ID -password password
    주: 실행 중인 서버가 발견되면 메시지가 install_root/logs/wbi/uninstlog.txt 로그 파일에 작성되고 설치 제거가 실패합니다.
  6. 옵션: 구성 파일 및 필요에 따라 나중에 참조할 로그 파일을 백업하십시오.

    설치 제거 프로그램은 install_root 디렉토리에서 로그 파일을 제거하지 않습니다. 기본 WebSphere Application Server 또는 WebSphere Application Server Network Deployment 제품을 설치 제거하도록 선택한 경우, 모든 프로파일 및 모든 프로파일의 모든 데이터가 제거됩니다.

    각 프로파일의 config 폴더 및 필요에 따라 나중에 참조할 logs 폴더를 백업하십시오. 프로파일은 다시 사용할 수 없으므로 전체 프로파일을 백업할 필요는 없습니다.

  7. WebSphere Process Server를 설치 제거하는 명령을 실행하십시오.
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼:
      install_root/_uninstwbi/uninstall -silent
      [-W uninstallWelcomePanel_UninstallWizardBean.uninstallUnderlyingWAS  \
      ="true"]
    • Icon indicating Windows platforms Windows 플랫폼:
      install_root\_uninstwbi\uninstall.exe -silent
      [-W uninstallWelcomePanel_UninstallWizardBean.uninstallUnderlyingWAS  \
      ="true"]

    여기서 –W uninstallWelcomePanel_UninstallWizardBean.uninstallUnderlyingWAS =“true” 옵셥은 기본 WebSphere Application Server 또는 WebSphere Application Server Network Deployment 설치 제거에 사용될 수 있습니다. WebSphere Application Server 또는 WebSphere Application Server Network Deployment 설치를 유지하려면 이 옵션을 포함시키지 마십시오.

  8. 비즈니스 프로세스 컨테이너를 구성한 경우 모든 외부 자원을 수동으로 삭제해야 합니다.
    다음을 수행하십시오.
    • WebSphere MQ를 비즈니스 프로세스 컨테이너용 JMS(Java Message Service) 프로바이더로 사용하는 경우 이전에 기록한 대기열 관리자를 삭제하십시오.
    • Cloudscape 데이터베이스를 사용하지 않는 각 비즈니스 프로세스 컨테이너용으로 기록한 데이터베이스를 삭제하십시오. (비즈니스 프로세스 컨테이너용으로 Cloudscape 데이터베이스를 사용하는 경우 데이터베이스는 자동으로 삭제됩니다.)
  9. 삭제된 Deployment Manager를 설명하는 관리 대상 노드의 구성 항목을 제거하십시오.

    일반 토폴로지는 여러 시스템에 코어 제품 파일을 설치하는 것입니다. 한 시스템에는 Deployment Manager가 있고 다른 시스템에는 사용자 정의 프로파일에서 작성되는 관리 노드가 있습니다. 사용자 정의 프로파일을 작성하고 노드를 다른 설치의 Deployment Manager 셀로 연합한 설치를 제거하는 경우 Deployment Manager에서 구성을 제거해야 합니다.

    관리 대상 노드의 노드 구성 문제에 대한 공식 지원 해결 방법은 초기 설치 후 backupConfig 명령을 사용하는 것입니다. 저장해야 하는 중요 구성 변경을 수행할 때마다 명령을 재사용하십시오. 구성의 유효한 백업이 있으면 항상 restoreConfig 명령을 사용하여 구성의 이전 상태로 돌아갈 수 있습니다.

    또한 Deployment Manager가 실행 중이 아닌 경우 관리 노드가 포함된 시스템에서 다음 명령 중 하나를 실행하여 노드를 제거할 수도 있습니다. (여기서 profile_root는 관리 프로파일의 설치 위치입니다.)
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/bin removeNode.sh -force
    • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin removeNode.bat -force

    관리 대상 노드의 구성을 수동으로 정리해야 하는 경우 지원되지 않는 다음 프로시저를 시도해 볼 수 있습니다.

    1. 현재 이름이 원래 이름이 아니면 노드에 대한 cell_name 디렉토리의 이름을 원래 이름으로 바꾸십시오
      다음 디렉토리 중 하나로 찾아가서 cell_name 디렉토리의 이름을 원래 이름으로 바꾸십시오. 이 예제에서 profile_root는 노드 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\
    2. dmgr_node_name 디렉토리가 존재하는 경우 삭제하십시오
      다음 디렉토리 중 하나로 이동하여 삭제하려는 dmgr_node_name 디렉토리를 찾으십시오. 이 예제에서 profile_root는 노드 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/original_cell_name/nodes
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\ original_cell_name\nodes
    3. Linux 또는 UNIX 운영 체제에서 setupCmdLine.sh 파일을 편집하거나 Windows 시스템에서 setupCmdLine.setupCmdLine.bat 파일을 편집한 후 셀 이름을 원래 셀 이름으로 변경하십시오.
      이 파일은 플랫폼에 따라 다음 디렉토리 중 하나에 있습니다. (여기서 profile_root는 노드 프로파일의 설치 위치입니다.)
      • Icon indicating Linux platforms Icon indicating Windows platforms Linux 및 UNIX 플랫폼: profile_root/bin
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\bin
      WAS_CELL 변수의 값을 원래 셀 이름으로 변경하십시오.
  10. 삭제된 관리 대상 노드를 설명하는 Deployment Manager의 구성 항목을 제거하십시오.

    Deployment Manager의 관리 콘솔을 열고 시스템 관리 > 노드를 클릭하십시오. 삭제하려는 노드 옆에 있는 선택란을 선택한 후 노드 제거를 선택하십시오.

    관리 콘솔이 노드를 제거할 수 없는 경우 Deployment Manager를 실행하여 다음 명령을 실행하십시오.
    • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: install_root/bin/cleanupNode.sh node_name
    • Icon indicating Windows platforms Windows 플랫폼: install_root\bin\cleanupNode.bat node_name

    Deployment Manager의 노드 구성 문제에 대한 공식 지원 해결 방법은 초기 설치 후 backupConfig 명령을 사용하는 것입니다. 저장해야 하는 중요 구성 변경을 수행할 때마다 명령을 재사용하십시오. 구성의 유효한 백업이 있으면 항상 restoreConfig 명령을 사용하여 구성의 이전 상태로 돌아갈 수 있습니다.

    구성을 수동으로 정리해야 하는 경우 지원되지 않는 다음 프로시저를 시도해 볼 수 있습니다.

    1. Deployment Manager의 nodes 디렉토리 내에서 삭제한 노드에 대한 구성 디렉토리를 제거하십시오.
      다음 디렉토리 중 하나로 찾아가서 deleted_node_name 파일을 찾으십시오. 이 예제에서 profile_root는 Deployment Manager 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/cell_name/nodes
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\cell_name\nodes
    2. Deployment Manager의 buses 디렉토리 내에서 삭제한 노드에 대한 구성 디렉토리를 제거하십시오.
      다음 디렉토리 중 하나로 찾아가서 deleted_node_name 파일을 찾으십시오. 이 예제에서 profile_root는 Deployment Manager 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/cell_name/buses
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\cell_name\buses
    3. Deployment Manager의 coregroups 디렉토리의 각 하위 디렉토리에 있는 coregroup.xml 파일을 편집하십시오. coreGroupServers 유형의 요소를 찾으십시오. 삭제한 노드에 대한 참조가 있는 coreGroupServers 요소를 제거하십시오.
      다음 디렉토리 중 하나로 가서 파일을 찾으십시오. 이 예제에서 profile_root는 Deployment Manager 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/cell_name/coregroups/deleted_node_name
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\cell_name \coregroups\deleted_node_name
    4. Deployment Manager의 nodegroups 디렉토리의 각 하위 디렉토리에 있는 nodegroup.xml 파일을 편집하십시오. members 유형의 요소를 찾으십시오. 삭제한 노드에 대한 참조가 있는 구성원 요소를 제거하십시오.
      다음 디렉토리 중 하나로 가서 파일을 찾으십시오. 이 예제에서 profile_root는 Deployment Manager 프로파일 설치 위치입니다.
      • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: profile_root/config/cells/cell_name /coregroups/deleted_node_name
      • Icon indicating Windows platforms Windows 플랫폼: profile_root\config\cells\cell_name \coregroups\deleted_node_name

결과

이 프로시저는 WebSphere Process Server와 선택된 경우 WebSphere Application Server 또는 WebSphere Application Server Network Deployment를 설치 제거합니다. 자동 설치 제거를 실행한 후에 디렉토리 구조에는 logs 디렉토리를 포함하여 몇 개의 디렉토리만 남게 됩니다.

설치 제거 프로그램은 다음을 포함하여 디렉토리에 일부 로그 파일을 남겨 둡니다.
uninstlog.txt 파일은 파일 시스템 또는 기타 비정상 오류을 기록합니다. 로그에서 성공했음을 나타내는 INSTCONFSUCCESS를 찾아 보십시오.
Uninstall, com.ibm.ws.install.ni.ismp.actions.
   ISMPLogSuccessMessageAction, msg1, 
   INSTCONFSUCCESS 

다음에 수행할 내용

같은 설치 루트 디렉토리에 제품을 다시 설치하려는 경우 설치 제거의 성공 여부에 따라 다음 중 하나를 수행해야 합니다.

이 주제에서 언급된 명령에 대한 자세한 정보는 http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp에서 WebSphere Application Server Network Deployment, 버전 6.0, Information Center를 참조하십시오.


이용약관 |


(c) Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)