Após a instalação do produto, verifique as somas de verificação reais dos arquivos instalados em relação a uma fatura de materiais fornecida com o produto. Se as somas de verificação corresponderem, isto indica que o produto foi instalado corretamente. Se as somas de verificação forem diferentes, reveja as diferenças para determinar se existe um problema.
Instale o produto antes de tentar comparar as somas de verificação dos arquivos instalados com a lista de materiais enviada.
Utilize o comando installver_wbi para comparar um conjunto de arquivos da lista de materiais a uma soma de verificação dos arquivos instalados para verificar se todos os arquivos instalados estão corretos. O produto inclui um arquivo de lista de materiais para cada componente a fim de fornecer esse sistema de verificação de arquivos de instalação.
A ferramenta installver_wbi gera dinamicamente uma lista de componentes totais localizados na instalação.
Altere os diretórios para o diretório bin para iniciar a ferramenta installver_wbi a partir da linha de comandos.
Para comparar a lista de materiais com o sistema de arquivos instalado, desempenhe as seguintes etapas.
Quando emitir um dos comandos de soma de verificação a partir do diretório install_root/bin, o status do comando será exibido no console do terminal.
As mensagens relatam o número total de problemas localizados. Se a contagem de problemas for zero, isto indica que todos os componentes existem e que não existem problemas. O utilitário installver_wbi registra os resultados do comando no arquivo install_root/logs/installver.log se você utilizar o parâmetro -log sem especificar um nome de arquivo para o log.
É possível redirecionar a saída utilizando o parâmetro -log e um argumento. O diretório especificado já deve existir. Por exemplo: ./installver_wbi.sh -log/tmp/waslogs/my_installver.log
Saída de Exemplo dos Componentes com Erros
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is E:\WPS61\ I CWNVU0300I: [ivu] The total number of user excluded files found is 38. I CWNVU0300I: [ivu] The total number of IBM excluded files found is 82. I CWNVU0185I: [ivu] Searching component directory for file listing: files.list I CWNVU0460I: [ivu] The utility is running. I CWNVU0260I: [ivu] The total number of components found is: 441 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.
Saída de Exemplo de uma Instalação Típica Bem-sucedida
Este exemplo mostra os resultados típicos da verificação de uma instalação bem-sucedida.
Examine com atenção um problema antes de assumir que é um problema sério.
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is E:\WPS61\ I CWNVU0300I: [ivu] The total number of user excluded files found is 38. I CWNVU0300I: [ivu] The total number of IBM excluded files found is 82. I CWNVU0185I: [ivu] Searching component directory for file listing: files.list I CWNVU0460I: [ivu] The utility is running. I CWNVU0260I: [ivu] The total number of components found is: 441 I CWNVU0270I: [ivu] Gathering installation root data. I CWNVU0290I: [ivu] Starting the verification for 439 components. I CWNVU0470I: [ivu] Starting to analyze: ArtifactLoaderImpl I CWNVU0480I: [ivu] Done analyzing: ArtifactLoaderImpl I CWNVU0470I: [ivu] Starting to analyze: activity.impl I CWNVU0480I: [ivu] Done analyzing: activity.impl 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: workspace I CWNVU0480I: [ivu] Done analyzing: workspace I CWNVU0470I: [ivu] Starting to analyze: workspace.query I CWNVU0480I: [ivu] Done analyzing: workspace.query I CWNVU0470I: [ivu] Starting to analyze: wps.rt.bundle I CWNVU0480I: [ivu] Done analyzing: wps.rt.bundle I CWNVU0470I: [ivu] Starting to analyze: wps.wccm.bundle I CWNVU0480I: [ivu] Done analyzing: wps.wccm.bundle I CWNVU0470I: [ivu] Starting to analyze: wpsnd I CWNVU0480I: [ivu] Done analyzing: wpsnd I CWNVU0470I: [ivu] Starting to analyze: wsadie.bundle I CWNVU0480I: [ivu] Done analyzing: wsadie.bundle I CWNVU0470I: [ivu] Starting to analyze: wsba.impl I CWNVU0480I: [ivu] Done analyzing: wsba.impl I CWNVU0400I: [ivu] Total issues found : 0 I CWNVU0340I: [ivu] Done.