Uma das tarefas essenciais para o administrador do WebSphere é garantir que a pilha de tecnologia em um ambiente de produção esteja atualizada.
Há muitos, incluindo segurança, aprimoramentos de recursos e correções de bugs, lançados pela IBM como um fix pack e, neste guia, explicarei como atualizar o fix pack em IBM WebSphere Application Server versão 8.5.5.
minha versão atual é 8.5.5.0 e vou atualizar Fix Pack 6 usando Gerenciador de Instalação IBM então, no final, meu WAS será atualizado para 8.5.5.6.
Faça download do Fix Pack 6 do WebSphere Application Server
- Ir para o seguinte URL
http://www-01.ibm.com/support/docview.wss?uid=swg24040035
- Selecione o arquivo zip para sua plataforma desejada. Estou usando o Linux, então vou prosseguir com o download para a plataforma “Distribuída”.
- O Fix Pack 6 está disponível em duas partes, então você precisa baixar as duas conforme mostrado abaixo e clicar em Continuar
- Efetue login com seu IBM ID para fazer download do fix pack
- Clique em cada arquivo (parte 1 e parte 2) para fazer o download
- Transfira o arquivo baixado para o seu servidor
- Você deve ter os dois arquivos a seguir no servidor WAS onde deseja atualizar o fix pack
-rw-rw-r--. 1 chandan chandan 901272378 Aug 30 02:18 8.5.5-WS-WAS-FP0000006-part1.zip -rw-rw-r--. 1 chandan chandan 1762272953 Aug 30 02:53 8.5.5-WS-WAS-FP0000006-part2.zip
- Extraia o arquivo usando o comando unzip
# unzip 8.5.5-WS-WAS-FP0000006-part1.zip # unzip 8.5.5-WS-WAS-FP0000006-part2.zip
- Levará um ou dois minutos e você terá os seguintes arquivos/pastas extraídos.
(root@localhost fixpack)# ls -ltr total 2604656 drwxr-xr-x. 3 root root 30 Jun 12 16:44 atoc -rw-r--r--. 1 root root 376411 Jun 12 16:44 update_com.ibm.websphere.ND.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 375954 Jun 12 16:45 update_com.ibm.websphere.NDTRIAL.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 358020 Jun 12 16:45 update_com.ibm.websphere.BASE.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 357755 Jun 12 16:45 update_com.ibm.websphere.BASETRIAL.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 357957 Jun 12 16:45 update_com.ibm.websphere.DEVELOPERS.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 357763 Jun 12 16:45 update_com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 358185 Jun 12 16:45 update_com.ibm.websphere.EXPRESS.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 357817 Jun 12 16:45 update_com.ibm.websphere.EXPRESSTRIAL.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 128376 Jun 12 16:45 update_com.ibm.websphere.NDDMZ.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml drwxr-xr-x. 2 root root 159744 Jun 12 16:45 files -rw-r--r--. 1 root root 128313 Jun 12 16:45 update_com.ibm.websphere.NDDMZTRIAL.v85_8.5.5006.20150529_0536_from_8.5.0.20120501_1108.xml -rw-r--r--. 1 root root 1284 Jun 12 16:45 repository.config drwxr-xr-x. 2 root root 4096 Jun 12 16:45 plugins drwxr-xr-x. 2 root root 4096 Jun 12 16:45 Offerings drwxr-xr-x. 2 root root 53248 Jun 12 16:45 native -rw-r--r--. 1 root root 149645 Jun 12 16:45 repository.xml
Agora, é hora de usar o IBM Installation Manager para aplicar o fix pack.
Algumas indicações…
- Pare o WAS se ele ainda estiver em execução
- Faça um backup de todo o WAS
Aplicar WAS Fix Pack usando o IBM IM
- Abra o IBM Installation Manager
- Clique em Arquivo >> Preferências
- Clique em Adicionar repositório
- Clique em Browse e selecione repository.config que você obteve acima após extrair o fix pack
- Clique em OK
- Você deve ter algo como abaixo, clique em OK para continuar
- Clique em Avançar na janela de seleção do grupo de pacotes
- Ele lhe dará a confirmação de que a versão 8.5.5.6 é reconhecida em um arquivo repository.config. Clique em Avançar
- Aceite os termos e clique em Avançar
- Aqui você pode personalizar os recursos, se desejar. Clique em Avançar
- Review as informações resumidas e clique em Atualizar para aplicar o fix pack
- Isso levará alguns minutos e, ao final, você terá uma mensagem de sucesso conforme mostrado abaixo.
Bom trabalho! Isso indica que você aplicou o Fix Pack 6 na versão 8.5.5 e agora a versão WAS deve ser 8.5.5.6. Vamos verificá-los.
- Vá para a pasta $PROFILE_HOME/bin
- Execute versionInfo.sh para ver o WAS instalado
(root@localhost bin)# ./versionInfo.sh WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved. WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12 -------------------------------------------------------------------------------- IBM WebSphere Product Installation Status Report -------------------------------------------------------------------------------- Report at date and time August 31, 2015 4:52:31 AM PDT Installation -------------------------------------------------------------------------------- Product Directory /opt/IBM/WebSphere/AppServer Version Directory /opt/IBM/WebSphere/AppServer/properties/version DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd Log Directory /var/ibm/InstallationManager/logs Product List -------------------------------------------------------------------------------- NDTRIAL installed Installed Product -------------------------------------------------------------------------------- Name IBM WebSphere Application Server Network Deployment Version 8.5.5.6 ID NDTRIAL Build Level cf061521.02 Build Date 5/29/15 Package com.ibm.websphere.NDTRIAL.v85_8.5.5006.20150529_0536 Architecture x86-64 (64 bit) Installed Features IBM 64-bit WebSphere SDK for Java WebSphere Application Server Full Profile Sample applications -------------------------------------------------------------------------------- End Installation Status Report -------------------------------------------------------------------------------- (root@localhost bin)#
Você também pode usar historyInfo.sh para ver a versão instalada anterior e atual.
(root@localhost bin)# ./historyInfo.sh WVER0210I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved. WVER0212I: HistoryInfo Reporter Version 1.7.1.28, Dated 10/18/11 -------------------------------------------------------------------------------- IBM WebSphere Product History Report -------------------------------------------------------------------------------- Report at date and time August 31, 2015 4:52:57 AM PDT Installation -------------------------------------------------------------------------------- Product Directory /opt/IBM/WebSphere/AppServer Version Directory /opt/IBM/WebSphere/AppServer/properties/version DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd Log Directory /var/ibm/InstallationManager/logs Installation Event -------------------------------------------------------------------------------- Install Manager Offering ID com.ibm.websphere.NDTRIAL.v85 Action install Version 8.5.5.0 Package com.ibm.websphere.NDTRIAL.v85_8.5.5000.20130514_1044 Log File Name 20150812_0525.xml Timestamp 2015-08-12 06:18:25-0700 Result success Installed Features Sample applications IBM 64-bit WebSphere SDK for Java Installation Event -------------------------------------------------------------------------------- Install Manager Offering ID com.ibm.websphere.NDTRIAL.v85 Action update Version 8.5.5.6 Package com.ibm.websphere.NDTRIAL.v85_8.5.5006.20150529_0536 Log File Name 20150831_0419.xml Timestamp 2015-08-31 04:25:16-0700 Result success Installed Features IBM 64-bit WebSphere SDK for Java Sample applications -------------------------------------------------------------------------------- End History Report --------------------------------------------------------------------------------(root@localhost bin)#
Isso foi tudo por hoje, e espero que você tenha uma ideia de como aplicar o Fix Pack no ambiente do IBM WebSphere Application Server.
Atualize suas habilidades por aprendendo computação em nuvem .