응답 파일을 사용하여 갱신사항을 자동으로 설치할 수 있습니다.
install.txt 파일에는 서비스 갱신사항을 설치하기 위해 백업 파일을 식별하는 하나의 지정문이 있습니다. 파일의 주석은 문자열 값을 설정하는 방법에 대해 설명합니다.
WebSphere 소프트웨어 마법사의 설치 갱신 프로그램은 옵션 파일을 읽어 응답을 판별하고 그래픽 사용자 인터페이스를 표시하지 않습니다. 다음 명령은 자동 설치를 위해 myresponsefile.txt라고 하는 옵션 파일의 사본을 사용합니다.
./update -options "responsefiles/myresponsefile.txt" -silent
-silent 옵션을 사용하지 않는 경우 응답 파일은 그래픽 인터페이스의 초기값을 제공합니다.
샘플 응답 파일의 이름은 install.txt입니다. WebSphere 소프트웨어의 설치 갱신 프로그램을 WebSphere 소프트웨어 제품의 설치 루트 디렉토리로 압축 해제한 후에 파일은 install_root/updateinstaller/responsefiles 디렉토리에 있습니다.
옵션 파일은 자동으로 설치하는 경우 설치 갱신 프로그램 마법사에 값을 제공합니다. 마법사는 옵션 파일을 읽어 응답을 판별하고 그래픽 사용자 인터페이스를 표시하지 않습니다. 다음 명령은 자동 설치를 위해 myresponsefile.txt라고 하는 옵션 파일의 사본을 사용합니다.
update -options "myresponsefile.txt" -silent
자동 설치에서 응답 파일 유효성 검증은 설치에 코드화됩니다. 유효성 검증을 통과하지 못하면 install_root/logs/update/tmp 디렉토리의 로그 파일에 실패가 기록됩니다.
################################################################################ # # 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)