インストールの後で、インストール済みファイルの実際のチェックサムを、製品出荷時の部品表と比較して検証します。チェックサムが一致した場合、製品のインストールは正しく行われています。チェックサムが異なる場合は、相違を確認して、問題が存在するかどうかを判別します。
インストール済みのファイルのチェックサムを出荷時の部品表と比較する前に、製品をインストールします。
このトピックでは、installver コマンドを使用して、一連の部品表のファイルを、インストールされているファイルのチェックサムと比較して、インストールされているすべてのファイルが正しいことを確認する方法を説明します。製品には、各コンポーネントについて、このシステムでインストール・ファイルを検査するための部品表が含まれています。
installver ツールは、インストール中に発見したすべてのコンポーネントのリストを動的に生成します。
いずれかのチェックサム・コマンドを app_server_root/bin ディレクトリーから実行すると、コマンドの状況が端末コンソールに表示されます。
メッセージには、検出された問題の総数が報告されます。問題の数がゼロの場合、すべてのコンポーネントが存在し、問題のないことを示します。ツールは、コマンドの結果を app_server_root/logs/installver.log ファイルに記録します (ログのファイル名を指定せずに -log パラメーターを使用した場合)。
./installver.sh -log /tmp/waslogs/my_installver.log
コンポーネントの出力例 (エラーあり)
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is C:¥Program Files¥eclipse¥eclipse3.x¥workspace¥ WAS.installver¥test¥v6x¥product.installroot¥ I CWNVU0300I: [ivu] The total number of user excluded files found are 0. I CWNVU0300I: [ivu] The total number of IBM excluded files found are 0. I CWNVU0180I: [ivu] Searching directory properties¥version¥install¥6.0.0.0¥backup for file listing: files.list I CWNVU0260I: [ivu] The total number of components found is: 6 I CWNVU0270I: [ivu] Gathering installation root data. W CWNVU0280W: [ivu] Component mismatch: expected mismatchcomponentname but found mismatchingname I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Hash must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Name must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Hash must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Permission must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component symlinksample: Hash must not be null or an empty string. I CWNVU0290I: [ivu] Starting the verification for 6 components. I CWNVU0470I: [ivu] Starting to analyze: _binarycomponentsample I CWNVU0480I: [ivu] Done analyzing: _binarycomponentsample I CWNVU0470I: [ivu] Starting to analyze: nullvaluesample I CWNVU0430I: [ivu] The following file is missing: testpath I CWNVU0390I: [ivu] Component issues found : 1 I CWNVU0480I: [ivu] Done analyzing: nullvaluesample 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 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 CWNVU0440I: [ivu] The following file is different: lib/ibmtemplateexclude.jar I CWNVU0410I: [ivu] d3ac7a4ef1a8ffb4134f2f6e7f3c0d249d74b674 is the checksum in the bill of materials. I CWNVU0420I: [ivu] d3ac7a4ef1a838b4134f2f6e7f3c0d249d74b674 is the checksum on the file system. I CWNVU0430I: [ivu] The following file is missing: lib/missing.jar I CWNVU0440I: [ivu] The following file is different: lib/usertemplateexclude.jar I CWNVU0410I: [ivu] 12dea96fec20593566ab75ff2c9949596833adc9 is the checksum in the bill of materials. I CWNVU0420I: [ivu] 12dea96fec20593566ab75692c9949596833adc9 is the checksum on the file system. I CWNVU0430I: [ivu] The following file is missing: missingfilebutwithbaddirectory/missingBadDirectory.jar I CWNVU0390I: [ivu] Component issues found : 5 I CWNVU0480I: [ivu] Done analyzing: regularcomponentsample I CWNVU0470I: [ivu] Starting to analyze: symlinksample I CWNVU0480I: [ivu] Done analyzing: symlinksample I CWNVU0400I: [ivu] Total issues found : 7 I CWNVU0340I: [ivu] Done.
一般の正常なインストールからの出力例
この例は、正常なインストールを検査した場合の一般的な結果を示しています。
prereq.wccm コンポーネントからの問題は無視しても問題ありません。これらの既知の問題は、システム全体の問題とはなりません。
報告された事項を慎重に検討して、問題であるかどうかを判断してください。
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is C:¥WebSphere¥V6x-ND¥ I CWNVU0300I: [ivu] The total number of user excluded files found are 1. I CWNVU0300I: [ivu] The total number of IBM excluded files found are 75. I CWNVU0180I: [ivu] Searching directory properties¥version¥install¥6.0.0.0¥backup for file listing: files.list I CWNVU0260I: [ivu] The total number of components found is: 285 I CWNVU0270I: [ivu] Gathering installation root data. I CWNVU0460I: [ivu] The utility is running. I CWNVU0460I: [ivu] The utility is running. I CWNVU0290I: [ivu] Starting the verification for 285 components. I CWNVU0470I: [ivu] Starting to analyze: activity I CWNVU0480I: [ivu] Done analyzing: activity I CWNVU0470I: [ivu] Starting to analyze: activity.impl I CWNVU0480I: [ivu] Done analyzing: activity.impl I CWNVU0470I: [ivu] Starting to analyze: activity.session I CWNVU0480I: [ivu] Done analyzing: activity.session I CWNVU0470I: [ivu] Starting to analyze: activity.session.impl I CWNVU0480I: [ivu] Done analyzing: activity.session.impl I CWNVU0470I: [ivu] Starting to analyze: acwa I CWNVU0480I: [ivu] Done analyzing: acwa I CWNVU0470I: [ivu] Starting to analyze: adapter I CWNVU0480I: [ivu] Done analyzing: adapter ... I CWNVU0470I: [ivu] Starting to analyze: prereq.wccm I CWNVU0430I: [ivu] The following file is missing: web/configDocs/activitysessionejbext/ ActivitySessionEJBJarExtension.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/activitysessionejbext/ ActivitySessionEnterpriseBeanExtension.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/activitysessionejbext/ ContainerActivitySession.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/activitysessionejbext/ classes-frame.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/activitysessionservice/ ActivitySessionService.html ... I CWNVU0430I: [ivu] The following file is missing: web/configDocs/wssecurity/consumer-binding.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/wssecurity/default-bindings.html I CWNVU0430I: [ivu] The following file is missing: web/configDocs/wssecurity/generator-binding.html I CWNVU0390I: [ivu] Component issues found : 625 I CWNVU0480I: [ivu] Done analyzing: prereq.wccm I CWNVU0470I: [ivu] Starting to analyze: prereq.webtlsrn I CWNVU0480I: [ivu] Done analyzing: prereq.webtlsrn I CWNVU0470I: [ivu] Starting to analyze: prereq.wsadie I CWNVU0480I: [ivu] Done analyzing: prereq.wsadie ... I CWNVU0470I: [ivu] Starting to analyze: wsexception I CWNVU0480I: [ivu] Done analyzing: wsexception I CWNVU0470I: [ivu] Starting to analyze: wsif I CWNVU0480I: [ivu] Done analyzing: wsif I CWNVU0400I: [ivu] Total issues found : 627 I CWNVU0340I: [ivu] Done.
各パラメーターの説明は、installver コマンド を参照してください。
installver コマンドについて詳しくは、構成済みファイルのインベントリー用新規ベースライン・チェックサムの計算 を参照してください。