샘플 응답 파일: uninstall.txt

WebSphere 소프트웨어의 설치 갱신 프로그램을 사용하여 서비스를 설치 제거할 때 응답 파일을 사용할 수 있습니다.

응답 파일을 사용하여 갱신사항을 자동으로 설치 제거하십시오.

uninstall.txt 파일에는 서비스 갱신사항을 설치 제거하기 위해 백업 파일을 식별하는 하나의 지정문이 있습니다. 파일의 주석은 문자열 값을 설정하는 방법에 대해 설명합니다.

WebSphere 소프트웨어 마법사의 설치 갱신 프로그램은 옵션 파일을 읽어 응답을 판별하고 그래픽 사용자 인터페이스를 표시하지 않습니다. 다음 명령은 자동 설치 제거를 위해 myresponsefile.txt라고 하는 옵션 파일의 사본을 사용합니다.
./update -options "responsefiles/myresponsefile.txt" -silent
-silent 옵션을 사용하지 않는 경우 응답 파일은 그래픽 인터페이스의 초기값을 제공합니다.
중요사항: 이 주제 전체에서 특정 디렉토리 경로는 간단하게 Linux 및 UNIX 형식으로만 표시됩니다. 동등한 Windows 경로는 슬래시 방향을 제외하고 동일합니다.

응답 파일 위치

샘플 응답 파일의 이름은 uninstall.txt입니다. WebSphere 소프트웨어의 설치 갱신 프로그램을 WebSphere 소프트웨어 제품의 설치 루트 디렉토리로 압축 해제한 후에 파일은 install_root/updateinstaller/responsefiles 디렉토리에 있습니다.

자동 설치 제거

옵션 파일은 자동으로 설치 제거하는 경우 설치 갱신 프로그램 마법사에 값을 제공합니다. 마법사는 옵션 파일을 읽어 응답을 판별하고 그래픽 사용자 인터페이스를 표시하지 않습니다. 다음 명령은 자동 설치 제거를 위해 myresponsefile.txt라고 하는 옵션 파일의 사본을 사용합니다.
update -options "myresponsefile.txt" -silent

응답 파일 사용자 입력 유효성 검증

자동 설치 제거에서 응답 파일 유효성 검증은 설치에 코드화됩니다. 유효성 검증을 통과하지 못하면 install_root/logs/update/tmp 디렉토리의 로그 파일에 실패가 기록됩니다.

설치 제거할 유지보수 패키지 위치
기본 지시문 설정
-W backup.package=""
유효한 설정
이 지정문을 백업 파일의 위치로 설정해야 합니다. 백업 파일은 유지보수 적용과 반대입니다. 예를 들어, Linux 시스템에서 다음 위치를 지정할 수 있습니다.
/opt/properties/version/update/backup/maintenance_package_to_install
오류 ID:
  • 유지보수 패키지를 설치 제거할 수 없습니다. 유지보수 설치 제거는 다음 대체 유지보수 패키지를 중단합니다. 먼저 대체 유지보수 패키지를 설치 제거하십시오. list_of_superseding_maintenance_packages
  • 이 유지보수 패키지는 설치 제거할 수 없습니다. 다음 유지보수 패키지는 설치 제거할 패키지에 따라 다릅니다. list_of_dependent_maintenance_packages
  • 이 유지보수 패키지는 설치 제거할 수 없습니다. 다음 유지보수 패키지는 설치 제거할 APAR에 따라 다릅니다. list_of_dependent_maintenance_packages
  • 유지보수를 설치 제거하는 데 설치 백업 패키지를 사용할 수 없습니다.
대체 제품 위치

다른 제품에서 유지보수를 설치 제거할 수 있지만 갱신할 제품의 디렉토리 구조에서 항상 설치 갱신 프로그램 마법사를 사용하십시오. 반드시 필요한 경우가 아니면 이 지정문을 사용하지 마십시오.

기본 지시문 설정
-W product.location=""""
유효한 설정
이 지정문을 대체 제품의 설치 루트 디렉토리로 설정해야 합니다. 예를 들어, Solaris 시스템에서 다음 위치를 지정할 수 있습니다.
/opt/IBM/WebSphere/ProcServer2
오류 ID:
  • 유지보수 패키지를 설치 제거할 수 없습니다. 유지보수 설치 제거는 다음 대체 유지보수 패키지를 중단합니다. 먼저 대체 유지보수 패키지를 설치 제거하십시오. list_of_superseding_maintenance_packages
  • 이 유지보수 패키지는 설치 제거할 수 없습니다. 다음 유지보수 패키지는 설치 제거할 패키지에 따라 다릅니다. list_of_dependent_maintenance_packages
  • 이 유지보수 패키지는 설치 제거할 수 없습니다. 다음 유지보수 패키지는 설치 제거할 APAR에 따라 다릅니다. list_of_dependent_maintenance_packages
  • 유지보수를 설치 제거하는 데 설치 백업 패키지를 사용할 수 없습니다.

사용법 주의사항

uninstall.txt 파일 예

WebSphere 소프트웨어 Zip 파일의 설치 갱신 프로그램에 포함된 파일의 버전을 편집하십시오. 다음 예는 실제 파일을 정확히 표시한 것은 아닙니다.
################################################################################
#
# This is the silent install response file for uninstalling maintenance packages
# using the update installer.
# 
# A common use of an options file is to run the wizard in silent mode. This lets
# the options file author specify wizard settings without having to run the
# wizard in graphical or console mode. To use this options file for silent mode
# execution, *uncomment* and modify the parameters defined within.
#
# Use the following command line when running the wizard from the update
# installer directory:
# 
#    update -options responsefiles/uninstall.txt -silent
#
################################################################################
################################################################################
#
# Used to input the maintenance backup package filename to be uninstalled. 
# This is the same filename as the package that was originally installed.
# A maintenance package can only be uninstalled if a backup package exists.
#
# ie. -W backup.package="PQ20029.pak"
#
# Note: If no package is specified, a default of the last installed maintenance 
# package will be used.
#
#-W backup.package=""
################################################################################
#
# Used to modify the product install location that will be updated. 
# This value should be left commented out if the Update Installer is 
# being run from the recommended location
#
# ie. -W product.location="C:\Program Files\IBM\WebSphere\ProcServer"
#
# Note: If no location is specified, the parent directory to update installer
# will be used as default
#
#-W product.location=""
################################################################################
#
# Do not edit these values.
#
-W update.type="uninstall"

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