![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[IBM i]](../images/iseries.gif)
使用命令行卸载修订包
您可以使用 Installation Manager imcl rollback 命令将本产品回滚到较早版本。
开始之前
在回滚过程中,Installation Manager 必须访问较早版本的软件包中的文件。缺省情况下,在您安装软件包时,这些文件会存储在您的计算机上。如果已更改缺省设置或删除已保存的文件,那么 Installation Manager 需要访问用于安装较早版本的存储库。
有关使用 Installation Manager 的更多信息,请阅读 IBM® Installation Manager 文档。
过程
- 登录系统。
确保使用具有 *ALLOBJ 和 *SECADM 特权的用户概要文件登录到 IBM i 系统。
- 请确保要回滚的产品不在运行中。
- 启动命令行。
在 CL 命令行上,运行 STRQSH 命令以启动 Qshell 命令 shell。
- 验证您是否具有在所选目录中安装修订包需要的许可权。
- 切换到 Installation Manager 安装目录中的 eclipse/tools 子目录。
- 使用 imcl 命令来回滚产品。
./imcl rollback offering_ID_offering_version -repositories source_repository -installationDirectory installation_directory -preferences preference_key=value -properties property_key=value -secureStorageFile storage_file -masterPasswordFile master_password_file -acceptLicense
imcl.exe rollback offering_ID_offering_version -repositories source_repository -installationDirectory installation_directory -preferences preference_key=value -properties property_key=value -secureStorageFile storage_file -masterPasswordFile master_password_file -acceptLicense
- 回滚产品及可选功能部件
回滚产品时,您必须指定先前产品安装中使用的所有可选功能部件。如果未指定这些功能部件,那么 Installation Manager 会将其除去。
下表显示了产品标识、每个产品的可选功能部件和缺省功能部件:表 1. 产品标识和可选功能部件 产品标识 可选功能部件标识 缺省功能部件 WebSphere® Application Server Network Deployment com.ibm.websphere.ND.v90
- core.feature: WebSphere Application Server必须指定此功能部件才能指定以下可选子功能部件:
- samples:样本应用程序
- thinclient:独立瘦客户机和资源适配器
- embeddablecontainer:可嵌入 EJB 容器
- ejbdeploy:用于 EJB 3.0 以前的模块的 EJBDeploy 工具
注: 以后,无法使用 Installation Manager 的修改、更新或回滚功能来添加或除去 core.feature。只能添加或除去子功能部件。- core.feature
- thinclient
- embeddablecontainer
- ejbdeploy
Application Client for WebSphere Application Server com.ibm.websphere.APPCLIENT.v90
- samples:样本
- standalonethinclient.resourceadapter.runtime:独立瘦客户机运行时
- standalonethinclient.resourceadapter.samples:独立瘦客户机样本
- embeddablecontainer:可嵌入 EJB 容器
embeddablecontainer DMZ Secure Proxy Server for IBM WebSphere Application Server com.ibm.websphere.NDDMZ.v90
- core.feature: DMZ Secure Proxy Server for IBM WebSphere Application Server必须指定此功能部件才能指定以下可选子功能部件:
- thinclient:独立瘦客户机和资源适配器
无缺省功能部件 Web 服务器插件 com.ibm.websphere.PLG.v90
无可选功能部件 不适用 WebSphere Customization Toolbox com.ibm.websphere.WCT.v90
- zpmt:Profile Management Tool(仅限于 z/OS)
- zmmt:z/OS 迁移管理工具
- pct:Web 服务器插件配置工具
缺省情况下,将安装所有可选功能部件
- core.feature: WebSphere Application Server
- 产品版本信息
offering_version 是要回滚到的特定产品版本,可以选择性地使用下划线将其附加到产品标识,例如 9.0.0.20160503_0200。
- 如果未指定 offering_version,那么安装将回滚到产品的先前安装版本并且将安装该版本的所有临时修订。
- 如果指定了 offering_version,那么安装将回滚到产品的指定较早版本,但不会安装该版本的临时修订。
对存储库运行以下命令时,可以看到产品版本通过下划线附加到产品标识的末尾:imcl listAvailablePackages -repositories source_repository
- 可选: 列出所有已安装的软件包以验证回滚。
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-dist&topic=tins_rollback_cl
文件名:tins_rollback_cl.html