https://github.com/famousdraw

IBM WAS 亚太地区 11月刊

IBM WAS 亚太地区 11月刊

IBM软件技术支持 IBM软件技术支持  2022-11-10 11:12 发表于北京

亲爱的WAS/Liberty用户:

很高兴与您在2022年WAS的11月刊中见面。春去冬来,一眨眼2022已接近尾声,祝愿大家都收获满满。衷心感谢大家一直以来对我们的大力支持,也欢迎大家在评论区和我们互动。

本月的重要提醒:

关于近期几个热点安全漏洞对WAS/Liberty/IHS影响的说明

本月技术热点:

如何备份Installation Manager以及WebSphere Application Server以备日后灾难复原使用

如何重建Installation Manager来解决WebSphere Application Server无法安装补丁、补丁包的问题

            本文共约1500字,预计阅读时间5分钟

关于近期几个热点安全漏洞对WAS/Liberty/IHS影响的说明

1)CVE-2022-42889CVE-2022-42889影响Apache公共文本库。对于此漏洞,我们已经与开发团队进行了确认,WebSphere Application Server、Liberty以及IBM HTTP Server均不使用Apache公共文本库,因此WAS/Liberty/IHS都不受CVE-2022-42889的影响。2)CVE-2022-3786和CVE-2022-3602CVE-2022-3786与CVE-2022-3602是与OpenSSL相关的安全漏洞。对于这两个漏洞,我们已经与开发团队进行了确认,WebSphere Application Server、Liberty以及IBM HTTP Server均不使用OpenSSL,因此WAS/Liberty/IHS都不受CVE-2022-3786和CVE-2022-3602的影响。相关参考文档:

“Are WebSphere Application Server, Liberty, or IBM HTTP Server affected by the CVE-2022-3786 or CVE-2022-3602 OpenSSL vulnerabilities?”

https://www.ibm.com/support/pages/node/6832478

“WebSphere Application Server and IBM HTTP Server Security Bulletin List”

https://www.ibm.com/support/pages/websphere-application-server-and-ibm-http-server-security-bulletin-list

如何备份Installation Manager以及WebSphere Application Server以备日后灾难复原使用

问题描述

在安装补丁、补丁包之前,对Installation Manager(IBMIM)以及WebSphere Application Server(WAS)相关目录进行备份。之后如果在安装过程中出错导致 IBMIM或WAS相关文件毁损,便可以使用备份进行系统复原。

环境要求

1. 这份文件所提到的步骤适合使用在Linux或AIX操作系统。

2. 操作IBMIM所使用的使用者帐号必须是当初安装IBMIM以及WAS的使用者帐号。

操作步骤

1. 找出InstallationManager.dat(每个使用者帐号所独有的 IBMIM 配置文件)root user -> /etc/.ibm/registry/InstallationManager.dat
non-root user -> /home/username/etc/.ibm/registry/InstallationManager.dat2. 确认InstallationManager.dat内的Agent Data以及IBMIM的安装目录,例如:location=/opt/IBM/InstallationManager(IBMIM 安装目录)
appDataLocation=/var/ibm/InstallationManager(Agent Data 所在目录)3. 使用IBMIM安装目录下的imcl命令来确认IMShared所在目录,例如:/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -verbose
-> Shared resources directory: /opt/IBM/IMShared(IMShared 所在目录)4. 备份InstallationManager.dat、IBMIM安装目录、Agent Data目录以及IMShared目录5. 备份在步骤3中imcl listInstalledPackages命令输出中所列出的WAS 软件安装目录,例如:-> [Package group]
     Name: IBM WebSphere Application Server V8.5
     Installation directory: /opt/IBM/WebSphere/AppServer(WAS 软件安装目录)

参考信息

1. 文件中提到的各个目录的用途的说明,请参考这一份文件
What are the IMShared and Agent data directories created by the IBM Installation Manager?
https://www.ibm.com/support/pages/what-are-imshared-and-agent-data-directories-created-ibm-installation-manager2. Agent Data 目录 以及 IMShared 目录,必须和 WAS 软件安装目录 同时 一起进行备份和回复,不能只单独备份或回复某个目录。3. 本节内容对应下述技术文档:

https://www.ibm.com/support/pages/node/6601627


如何重建Installation Manager来解决WebSphere Application Server无法安装补丁、补丁包的问题

问题描述

遇到Installation Manager(IBMIM)相关目录毁损、消失,或者是IBMIM相关目录内的记录、配置和WebSphere Application Server(WAS)安装目录内的记录、配置不一致,导致无法安装WAS补丁、补丁包时,就必须在不影响现行WAS系统的状况下,重建IBMIM来解决问题。

环境要求

1. 这份文件所提到的步骤适合使用在Linux或AIX操作系统。

2. 在进行重建IBMIM之前请备份系统,如果不能进行全系统备份,至少要备份在 "如何备份Installation Manager以及WebSphere Application Server以备日后灾难复原使用"文件中所提到的 IBMIM 相关目录、文件以及所有使用IBMIM所安装的IBM 软件。

3. 如果系统上还有其它使用IBMIM所安装的软件,也需要依照相同的步骤重建该软件在 IBMIM中的配置。

操作步骤

  1. 使用{WAS_INSTALL_ROOT}/bin/versionInfo.sh -ifixes命令列出目前所使用的WAS fixpack版本、Optional JDK版本和所有已安装的interim fix (ifix)

  2. 使用"Additional Information"一节中所提供的下载页面,将WAS和Optional JDK的安装介质以及补丁包准备好,包括所有versionInfo命令中所列出的ifix 安装包,同时下载最新的IBMIM安装介质

  3. 停止WAS 所有的 进程 ,然后备份系统

  4. 将WAS的安装目录更名,例如从/opt/IBM/WebSphere/AppServer 改名为 /opt/IBM/WebSphere/AppServer_Old

  5. 移除IBMIM,如果移除失败,请参考"如何备份Installation Manager以及WebSphere Application Server以备日后灾难复原使用"文件中的说明,手动删除InstallationManager.dat、IBMIM 安装目录、Agent Data目录以及IMShared目录

  6. 重新安装IBMIM,并且在安装过程中使用相同的IBMIM安装目录以及相同的Agent Data目录

  7. 重新安装WAS ,将新WAS安装在相同的路径下(例如:/opt/IBM/WebSphere/AppServer),使用相同的IMShared目录,同时更新WAS到相同的fixpack以及安装相同的 ifix

  8. 将新WAS的安装目录更名,例如从/opt/IBM/WebSphere/AppServer改名为 /opt/IBM/WebSphere/AppServer_New

  9. 将旧WAS的安装目录从/opt/IBM/WebSphere/AppServer_Old改名为 /opt/IBM/WebSphere/AppServer

    这时候已经完成重建 IBMIM工作,IBMIM的配置和WAS的配置一致,IMShared内的cache也已经是完整状态,可以进行后续更新WAS 补丁、补丁包的任务

参考信息

  1. Installation Manager下载页面
    https://www.ibm.com/support/pages/installation-manager-and-packaging-utility-download-documents

  2. WebSphere Application Server补丁包下载页面
    https://www.ibm.com/support/pages/recommended-updates-websphere-application-server

  3. WebSphere Application Server 8.5安装介质下载页面
    https://www.ibm.com/support/pages/how-download-websphere-application-server-v855-passport-advantage-online

  4. WebSphere Application Server 9.0安装介质下载页面
    https://www.ibm.com/support/pages/v90-download-websphere-application-server-version-9-passport-advantage-online

  5. WAS 8.5 JDK补丁包下载页面
    https://www.ibm.com/support/pages/node/6209712

  6. 如何备份 Installation Manager以及WebSphere Application Server以备日后灾难复原使用
    https://www.ibm.com/support/pages/node/6601627

  7. 本节内容对应下述技术文档

    https://www.ibm.com/support/pages/node/6602531

本文资料来源:WAS技术支持团队

阅读 97
 
 
写下你的留言
 
 
 
 
 如果你觉得文章有用,欢迎打赏。

 

 

posted on 2022-11-10 13:57  红色MINI  阅读(162)  评论(0编辑  收藏  举报

导航