installver_wbi 명령

installver_wbi 명령을 사용하여 설치된 파일에서 체크섬을 계산하고 체크섬을 제공된 제품 부품표와 비교합니다.

용도

installver_wbi 명령은 두 가지 주요 기능을 실행합니다. 그 기능은 설치된 파일에서 체크섬을 계산하고 체크섬을 제공된 제품 부품표와 비교합니다. installver_wbi 명령은 또한 구성된 시스템의 인벤토리에 있는 파일마다 새 기준선 체크섬을 계산하여 나중 비교에서 파일 변경사항을 식별합니다.

기본 로그 파일은 install_root/logs/installver.log 파일입니다. -log 매개변수나 인수를 사용하여 출력의 경로를 재지정할 수 있습니다. 파일 인수가 없는 -log 매개변수를 사용하여 기본 로그 파일을 생성하십시오.

체크섬 계산: installver 명령은 제품에 설치된 파일마다 체크섬을 계산합니다. 명령은 파일의 올바른 체크섬에 대해 계산된 각 체크섬을 비교합니다. 올바른 체크섬이 부품표 파일과 함께 제공됩니다. 구성요소마다 하나의 부품표가 존재합니다.

도구는 구성요소마다 부품표 파일의 구문을 분석하여 구성요소의 각 파일에 대해 올바른 체크섬 값을 찾습니다. 각 제품 파일은 부품표 파일에 하나의 항목을 가지고 있습니다. 제품 파일 항목은 제품 파일 경로와 올바른 체크섬 값을 나열합니다.

제공된 부품표 파일: 각 부품표 파일의 이름은 files.list입니다. 구성요소마다 하나의 files.list 파일이 있습니다. 각 files.list 파일은 install_root /properties/version/install.wbi/6.0.0.0/backup/ component_name 디렉토리 중 하나에 있습니다. 구성요소마다 component_name 디렉토리가 존재합니다.

예를 들어, 활동 구성요소의 files.list 파일은 install_root /properties/version/install.wbi/6.0.0.0/backup/activity 디렉토리에 있습니다. 파일은 다음 예와 유사합니다.

<?xml version="1.0" encoding="UTF-8"?>

<componentfiles componentname="activity">
       <file>
              <relativepath>properties/version/activity.component</relativepath>
              <checksum>1a20dc54694e81fccd16c80f7c1bb6b46bba8768</checksum>
              <permissions>644</permissions>
              <installoperation>remove</installoperation>
       </file>
       <file>
              <relativepath>lib/activity.jar</relativepath>
              <checksum>2f056cc01be7ff42bb343e962d26328d5332c88c</checksum>
              <permissions>644</permissions>
              <installoperation>remove</installoperation>
       </file>
</componentfiles>

계산된 체크섬과 올바른 체크섬의 비교: 도구는 각 부품표 파일에서 각각의 제품 파일을 처리하므로 해당되는 설치 제품 파일의 실제 체크섬 값도 계산합니다. 그런 다음 도구는 제품 파일의 체크섬을 부품표 파일의 체크섬 값에 비교합니다. 그리고 나서 차이점을 보고합니다.

명령 파일 위치:

installver_wbi 명령 파일은 설치 루트 디렉토리의 bin 디렉토리에 있습니다.
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: install_root/bin/installver_wbi.sh
  • Icon indicating Windows platforms Windows 플랫폼: install_root\bin\installver_wbi.bat
명령행에서 installver_wbi 도구를 시작하려면 디렉토리를 bin 디렉토리로 변경하십시오. 도구는 z/OS의 경우를 제외하고 지원 운영 체제에서 실행됩니다. 예를 들어, Linux 시스템이나 UNIX 시스템에서 다음 명령을 사용하여 도구를 시작하십시오.
./installver_wbi.sh

사용법 정보 표시 구문

  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -help
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -help

모든 구성요소 나열 구문

  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -listcomponents
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -listcomponents

부품표 파일에 대한 제품 파일 비교 구문

설치된 파일 시스템에 대해 부품표를 자동으로 확인하려면 다음 명령 구문을 사용하십시오.

  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: install_root/bin/installver_wbi.sh
  • Icon indicating Windows platforms Windows 플랫폼: install_root\bin\installver_wbi.bat

명령을 사용하여 제품 부품표 파일과 설치된 파일을 비교하는 예제는 부품표 확인의 내용을 참조하십시오.

체크섬 비교 및 지정된 파일만 비교에 포함:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -include fn1;fn2;fn3
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -include fn1;fn2;fn3

명령을 사용하여 지정된 파일이나 구성요소만 비교하는 예제는 특정 파일과 구성요소 체크섬 비교의 내용을 확인하십시오.

체크섬 비교 및 지정된 구성요소만 비교에 포함:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -includecomponent comp1;comp2;comp3;...
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -includecomponent comp1;comp2;comp3;...
체크섬 비교 및 비교에서 특정 구성요소 제외:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -excludecomponent comp1;comp2;comp3;...
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -excludecomponent comp1;comp2;comp3;...

명령을 사용하여 비교에서 파일을 제외하는 예제는 체크섬 비교에서 파일 제외의 내용을 확인하십시오.

체크섬 비교 및 사용자 제외 파일 무시:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -ignoreuserexclude
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -ignoreuserexclude
체크섬 비교 및 IBM 제외 파일 무시:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -ignoreibmexclude
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -ignoreibmexclude
모든 구성요소만 나열:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -listcomponents
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -listcomponents
템플리트(제외된 파일을 나열하기 위한)만 작성:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -createtemplate
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -createtemplate

부품표에 대한 체크섬 비교 매개변수

제품 파일 체크섬을 부품표 파일의 올바른 체크섬과 비교할 때 다음 매개변수가 명령과 연관됩니다.

-componentdir directory
WebSphere Application Server 제품이 각 구성요소의 개별 부품표를 저장하는 디렉토리 이름을 식별하는 선택적 매개변수.

기본값은 install_root /properties/version/install.wbi/6.0.0.0/backup 디렉토리입니다.

-createtemplate [file_name ]
체크섬 비교에서 파일을 제외하기 위해 템플리트 특성 파일을 작성합니다. 검증에서 제외할 파일마다 한 행을 추가하려면 템플리트 특성 파일을 편집하십시오.

installver_wbi 도구는 파일 스펙 인수 없이 install_root/profiles/profile_name/properties/ivu_user.template 파일을 작성합니다.

파일 이름을 지정할 경우, installver_wbi 도구는 작업 디렉토리에서 파일을 작성합니다. 작업 디렉토리는 기본적으로 install_root/profiles/profile_name/bin 디렉토리입니다.

  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: 다음 프로시저를 수행하십시오.
    1. cd install_root/bin
    2. ./installver_wbi.sh -createtemplate
  • Icon indicating Windows platforms Windows 플랫폼: 다음 프로시저를 수행하십시오.
    1. cd install_root\bin
    2. installver_wbi.bat -createtemplate

installver_wbi 도구는 기본 프로파일의 properties 디렉토리에 템플리트 특성 파일을 작성합니다.

  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: default_profile_root/properties/ivu.user.template
  • Icon indicating Windows platforms Windows 플랫폼: default_profile_root\properties\ivu.user.template
-exclude file1;file2;file3; ...
검증에서 파일을 제외합니다.

파일 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-excludecomponent component1;component2;component3; ...
검증에서 구성요소를 제외합니다.

구성요소 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-filelist file_name
IBM이 특정 제품 구성요소에서 올바른 제품 체크섬을 식별하기 위해 WebSphere Application Server 제품이 각 구성요소의 개별 부품표를 저장하는 디렉토리 이름을 식별하는 선택적 매개변수.

기본값은 files.list입니다.

-help

사용법에 대한 정보를 표시합니다.

-ignoreuserexclude

파일이 존재하고 템플리트에 나열된 파일을 비교할 경우 기본 install_root/profiles/profile_name/properties/ivu_user.template 파일을 무시합니다.

파일 스펙과 함께 -createtemplate 매개변수를 사용하여 다른 위치에서 템플리트 파일을 작성할 경우, -ignoreusertemplate 매개변수는 효과가 없습니다.

-ignoreibmexclude

설치 루트 디렉토리의 모든 파일에 대해 체크섬을 비교합니다. IBM은 기본적으로 검증에서 제외할 특정 파일을 지정합니다. -ignoreibmexclude 매개변수를 사용하여 installver_wbi 도구가 해당 파일을 확인하도록 할 수 있습니다.

-include file1;file2;file3; ...
검증에서 파일을 포함하고 다른 모든 파일은 제외합니다.

파일 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-includecomponent component1;component2;component3; ...
검증에서 구성요소를 포함하고 다른 모든 구성요소는 제외합니다.

구성요소 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-installroot directory_name
기본 설치 루트 디렉토리를 대체합니다.
-listcomponents

제품에서 구성요소 목록을 표시합니다. 각 구성요소에는 files.list 파일이 있어야 합니다.

-log [file_path_and_file_name_of_log_file]

기본 로그 파일은 install_root/logs/installver_wbi.log 파일입니다. -log 매개변수나 인수를 사용하여 출력의 경로를 재지정할 수 있습니다.

-profilehome directory_name
설치 루트 디렉토리에서 기본 프로파일 디렉토리를 대체합니다.
-trace

도구가 검사하는 사항과 도구가 발견하는 사항의 추적 출력을 제공합니다.

구성된 파일의 인벤토리에 대해 새 기준선 체크섬 작성 및 사용 구문

구성된 파일의 인벤토리를 작성하고 현재 설치된 파일과 비교하려면 다음 구문을 사용하십시오.

현재 설치 루트 디렉토리에 설치된 파일의 인벤토리 목록 작성:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -createinventory [path/file_name], such as ./installver_wbi.sh -createinventory /tmp/system.inv
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -createinventory [path\file_name], such as installver_wbi.bat -createinventory C:\temp\system.inv
현재 설치 루트 디렉토리에 설치된 파일의 인벤토리 목록 비교:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -compare /path/file_name
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -compare path\file_name
추적 결과 비교 및 표시:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -compare /path/file_name -trace
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -compare /path/file_name -trace
사용법 정보 표시:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -help
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -help
지정된 파일 비교 및 인벤토리 비교에서 지정된 파일 제외:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -compare /path/file_name -exclude fn1;fn2;fn3;...
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -compare \path\file_name -exclude fn1;fn2;fn3;...
지정된 파일 비교 및 인벤토리 비교에서 지정된 파일만 포함:
  • Icon indicating Linux platforms Icon indicating UNIX platforms Linux 및 UNIX 플랫폼: ./installver_wbi.sh -compare /path/file_name -include fn1;fn2;fn3;...
  • Icon indicating Windows platforms Windows 플랫폼: installver_wbi.bat -compare /path/file_name -include fn1;fn2;fn3;...

파일 인벤토리에 대한 체크섬 작성 및 사용 매개변수

다음 매개변수는 이 명령과 연관됩니다.

-compare file+path_and_file_name_of_existing_inventory_file
기존 파일에 대해 기존 인벤토리 목록을 비교하여 변경사항을 판별합니다.

먼저 -createinventory 매개변수를 사용하여 인벤토리 목록을 작성하십시오. 그런 다음 -compare 매개변수를 사용하여 비교 시 시스템에 있는 실제 파일에 인벤토리 목록을 비교하십시오.

비교 결과는 변경된 클래스, 변경된 파일, 누락된 파일 및 추가된 파일을 표시합니다. 이 비교는 예를 들어 바이러스 존재 여부를 확인할 경우에 아주 유용합니다.

-createinventory directory_name
기본적으로, 현재 작업 디렉토리 내의 sys.inv 파일에서 새 체크섬을 작성합니다(예: profile_name/bin 디렉토리). 파일 경로와 파일 이름을 지정할 수 있습니다. 설치 루트 디렉토리 외부에서 파일을 작성하거나 비교에서 파일을 제외하십시오.

어떤 디렉토리에서도 installver_wbi 도구를 지시할 수 있습니다. 기본 디렉토리는 설치 루트 디렉토리입니다.

인벤토리에서 파일 또는 구성요소를 제외할 수 있습니다.

installver_wbi 도구는 파일마다 체크섬을 계산합니다. 인벤토리의 각 파일 항목은 다음과 같은 일반 패턴을 갖습니다.

checksum|relativepath/file_name|file_size|last_modified_time

인벤토리 목록을 작성한 후 -compare 매개변수를 사용하여 비교 시 시스템에 있는 실제 파일에 목록을 비교하십시오.

-exclude file1;file2;file3;...
비교에서 파일을 제외합니다.

파일 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-help
사용법에 대한 정보를 표시합니다.
-include file1;file2;file3; ...
비교에 파일을 포함시키고 다른 모든 파일은 제외합니다.

파일 이름을 구분하려면 세미콜론(;)이나 콜론(:)을 사용하십시오.

-installroot directory_name
기본 설치 루트 디렉토리를 대체합니다.
-log [file_path_and_file_name_of_log_file]

기본 로그 파일은 install_root/logs/installver_wbi.log 파일입니다. -log 매개변수나 인수를 사용하여 출력의 경로를 재지정할 수 있습니다.

-trace
도구가 검사하는 사항과 도구가 발견하는 사항의 추적 출력을 제공합니다.

문제점 예제

다음 예제는 installver_wbi 명령을 실행하여 체크섬을 비교할 때 발생할 수 있는 문제를 보여줍니다.

목적에 따라 도입한 체크섬 불일치(예: 구성요소를 확장할 때 발생할 수 있음) 항목을 무시하십시오.

체크섬은 변경하는 파일마다 다릅니다.
I CWNVU0470I: [ivu] Starting to analyze: regularcomponentsample 
I CWNVU0440I: [ivu] The following file is different: lib/different.jar
I CWNVU0410I: [ivu] fc19318dd13128ce14344d066510a982269c241b is the checksum in 
  the bill of materials.
I CWNVU0420I: [ivu] 517d5a7240861ec297fa07542a7bf7470bb604fe is the checksum on 
  the file system.
I CWNVU0390I: [ivu] Component issues found : 1 
I CWNVU0480I: [ivu] Done analyzing: regularcomponentsample

확실하게 정보용(I) 메시지인 문제는 무시하십시오.

일부 메시지는 일반적으로 예상되는 결과 편차를 표시하지만 심각한 문제를 나타내지는 않습니다.
I CWNVU0360I: [ivu] The following bill of materials issue is found for component 
  nullvaluesample: 
  Hash must not be null or an empty string.

겹쳐진 파일은 잠재적인 제품 문제이거나 IBM이 제공하는 부품표 수정 가능성입니다.

I CWNVU0470I: [ivu] Starting to analyze: overlapbinarycomponentsample
W CWNVU0422W: [ivu] The following file is overlapped: lib/binaryTest.jar
W CWNVU0425W: [ivu] The overlap is caused by: _binarycomponentsample
I CWNVU0390I: [ivu] Component issues found : 1 
I CWNVU0480I: [ivu] Done analyzing: overlapbinarycomponentsample

다음 문제는 IBM 지원에 문의하십시오.

다음 형식의 모든 메시지가 표시되면 IBM 지원에 문의하십시오.
W CWNVU0280W: [ivu] Component mismatch: expected ... but found ...

알려진 문제점 및 해결책에 대해 IBM 지원에서 현재 사용 가능한 정보는 IBM 지원 페이지를 참조하십시오.

IBM 지원에는 이 문제점 해결에 필요한 정보 수집 시간을 줄일 수 있는 문서가 있습니다. PMR을 열기 전에 이 IBM 지원 페이지를 참조하십시오.

발생한 문제와 경우와 유사한 문제점이 나타나지 않거나 제공된 정보로 문제를 해결할 수 없는 경우, IBM 지원에 문의하여 추가 도움을 요청하십시오.

다음

설치를 확인한 후, 프로파일을 작성하거나 기존 프로파일에 응용프로그램을 배치할 수 있습니다.

관련 태스크
WebSphere Process Server에서 설치 검증 도구 사용
구성된 파일의 인벤토리에 대해 새 기준선 체크섬 계산
기본 메시지 요약 알고리즘 변경
부품표 확인
체크섬 비교에서 파일 제외
특정 파일과 구성요소 체크섬 비교
메모리 부족 상황 처리

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