如何回滚 windows 上完成的 MQ 修补

How to Rollback MQ patching done on windows

请问如何回滚应用在 windows 上的 MQ 补丁。

我已经将系统从MQ7.1.0.0 补丁到MQ7.1.0.8。它是一个 MQ 客户端。

请建议如何回滚到 7.1.0.0。

dspmqver -i
Name:        WebSphere MQ
Version:     7.1.0.8
Level:       p710-008-161121
BuildType:   IKAP - (Production)
Platform:    WebSphere MQ for Windows
Mode:        32-bit
O/S:         Windows Server 2008 R2 Server Enterprise Edition, Build 7601: SP1
InstName:    Installation1
InstDesc:
InstPath:    C:\Program Files (x86)\IBM\WebSphere MQ
DataPath:    C:\Program Files (x86)\IBM\WebSphere MQ
Primary:     Yes
MaxCmdLevel: 711

Name:        WebSphere MQ
Version:     7.1.0.0
InstName:    Installation2
InstDesc:
InstPath:    C:\Program Files (x86)\IBM\WebSphere MQ_1
Primary:     No

执行以下命令后

C:\Program Files (x86)\IBM\WebSphere MQ\bin>dspmqver -i
Name:        WebSphere MQ
Version:     7.1.0.8
Level:       p710-008-161121
BuildType:   IKAP - (Production)
Platform:    WebSphere MQ for Windows
Mode:        32-bit
O/S:         Windows Server 2008 R2 Server Enterprise Edition, Build 7601: SP1
InstName:    Installation1
InstDesc: InstPath:    C:\Program Files (x86)\IBM\WebSphere MQ
DataPath:    C:\Program Files (x86)\IBM\WebSphere MQ
Primary:     No
MaxCmdLevel: 711

Name:        WebSphere MQ
Version:     7.1.0.0
InstName:    Installation2
InstDesc:
InstPath:    C:\Program Files (x86)\IBM\WebSphere MQ_1
Primary:     Yes

客户端软件作为完整安装而非补丁分发。在您的情况下,回滚将包括卸载 7.1.0.8 客户端包和重新安装 7.1.0.0 客户端包。

每个 v7.1.0.x 客户端包的下载链接位于 IBM 页面“MQC71: WebSphere MQ V7.1 Clients”。

请注意,IBM MQ v7.1 已于 2017 年 4 月 30 日停止支持。较新版本的 IBM MQ 客户端可以连接到旧版本的 IBM MQ 队列管理器。


您在同一台服务器上有两个安装,Installation17.1.0.8Installation27.1.0.0。由于安装顺序,您可能将 Installation17.1.0.0 升级到 7.1.0.8,然后将 7.1.0.0 安装为 Installation2

这是可能的,因为 MQ v7.1 和更高版本支持并行安装多个版本。在 Windows 上,一个安装将始终是主要的,在原始输出中,您在 7.1.0.8 提供的 Installation1 是主要的。

您可以 运行 下面的命令将主要安装切换到 Installation2(您的 7.1.0.0 安装)。

setmqinst -i -n Installation2

您提供的更新输出显示 7.1.0.0Installation2 现在是主要的。

您可以将此视为回滚到 7.1.0.0,因为该版本的安装现在是主安装。如果您愿意,您可以更进一步并实际卸载 7.1.0.8 安装,或者您可以将其保留在 "roll forward" 的位置以备将来使用。