샘플 응답 파일: install.txt

응답 파일을 사용하여 갱신사항을 자동으로 설치할 수 있습니다.

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

WebSphere 소프트웨어 마법사의 설치 갱신 프로그램은 옵션 파일을 읽어 응답을 판별하고 그래픽 사용자 인터페이스를 표시하지 않습니다. 다음 명령은 자동 설치를 위해 myresponsefile.txt라고 하는 옵션 파일의 사본을 사용합니다.

./update -options "responsefiles/myresponsefile.txt" -silent

-silent 옵션을 사용하지 않는 경우 응답 파일은 그래픽 인터페이스의 초기값을 제공합니다.

중요사항: 이 주제 전체에서 특정 디렉토리 경로는 간단하게 Linux 및 UNIX 형식으로만 표시됩니다. 동등한 Windows 경로는 슬래시 방향을 제외하고 동일합니다.

응답 파일 위치

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

자동 설치

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

update -options "myresponsefile.txt" -silent

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

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

설치할 유지보수 패키지 위치
기본 지시문 설정
-W maintenance.package=""
유효한 설정
이 지정문을 PAK 파일의 위치로 설정해야 합니다. 예를 들어, Linux 시스템에서 다음 위치를 지정할 수 있습니다.
install_root/updateinstaller/maintenance/PQ20029.pak
오류 ID:
  • 유지보수 패키지 maintenance_package_name이 시스템에 이미 설치되었습니다.
  • 선택한 제품은 지원되지 않습니다.
  • 구성에 실패했습니다. 실패한 구성 조치는 configuration_action입니다.
  • 대상 제품에 현재 유지보수를 설치하기 전에 다음 전제조건 APAR를 설치하십시오. list_ of_ prerequisite_maintenance_ packages_ to_ install
  • 현재 설치하려고 하는 패키지를 설치하기 전에 다음 전제조건 유지보수 패키지를 설치하십시오. list_of_ prerequisite_ maintenance_ packages_ to_ install
  • 대상 제품에 현재 유지보수를 적용하기 전에 다음 APAR를 설치 제거하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • 대상 제품에 현재 유지보수를 적용하기 전에 다음 유지보수 패키지를 설치 제거하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • the_update_installer의 올바른 버전을 찾을 수 없습니다. version_identifier 버전을 찾고 있습니다.
  • Maintenance_package는 유효한 유지보수 패키지가 아닙니다.
대체 제품 위치

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

기본 지시문 설정
-W product.location=""
유효한 설정
이 지정문을 대체 제품의 설치 루트 디렉토리로 설정해야 합니다. 예를 들어, Solaris 시스템에서 다음 위치를 지정할 수 있습니다.
/opt/IBM/WebSphere/ProcServer2
오류 ID:
  • 유지보수 패키지 maintenance_package_name이 시스템에 이미 설치되었습니다.
  • 선택한 제품은 지원되지 않습니다.
  • 구성에 실패했습니다. 실패한 구성 조치는 configuration_action입니다.
  • 대상 제품에 현재 유지보수를 설치하기 전에 다음 전제조건 APAR를 설치하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 현재 설치하려고 하는 패키지를 설치하기 전에 다음 전제조건 유지보수 패키지를 설치하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 대상 제품에 현재 유지보수를 적용하기 전에 다음 APAR를 설치 제거하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • 대상 제품에 현재 유지보수를 적용하기 전에 다음 유지보수 패키지를 설치 제거하십시오. list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • the_update_installer의 올바른 버전을 찾을 수 없습니다. version_identifier 버전을 찾고 있습니다.
  • Maintenance_package는 유효한 유지보수 패키지가 아닙니다.
  • Alternate_product_directory를 기존 디렉토리로 유효성 검증할 수 없습니다.

사용법 주의사항

install.txt 파일 예

WebSphere 소프트웨어 Zip 파일의 설치 갱신 프로그램에 포함된 파일의 버전을 편집하십시오. 다음 예는 실제 파일을 정확히 표시한 것은 아닙니다.
################################################################################
#
# This is the silent install response file for installing 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/install.txt -silent
#
################################################################################
################################################################################
#
# Used to input the maintenance package full filename specification to be installed. 
# Edit as appropriate.
#
# ie. -W maintenance.package="C:\Program Files\IBM\WebSphere\ProcServer\
#          updateinstaller\maintenance\PQ20029.pak"
#
# Note: If no package is specified, a default of the last downloaded maintenance 
# package will be used (based on timestamp).
#
#-W maintenance.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="install"

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