使用响应文件在 IBM i 操作系统从 Web 2.0 and Mobile Toolkit 卸载修订包

可以使用 IBM Installation Manager 以通过 Installation Manager 响应文件来将 Web 2.0 and Mobile Toolkit 回滚到较早版本。

开始之前

在回滚过程中,Installation Manager 必须访问较早版本的软件包中的文件。缺省情况下,这些文件将在您安装软件包时存储在您的计算机上。如果您更改缺省设置或删除已保存的文件,那么 Installation Manager 将需要访问用于安装该较早版本的存储库。

回滚 Web 2.0 and Mobile Toolkit 的最低存储库要求:Installation Manager 必须对以下存储库具有访问权:
  • 系统上安装的 Web 2.0 and Mobile Toolkit 当前级别的存储库
  • 建议:Web 2.0 and Mobile Toolkit 的目标回滚级别的存储库

关于此任务

执行此过程以使用 Installation Manager 响应文件来将 Web 2.0 and Mobile Toolkit 回滚到较早版本。

过程

  1. 可选: 如果存储库需要用户名和密码,请创建密钥环文件以访问此存储库。

    有关创建用于 Installation Manager 的密钥环文件的更多信息,请阅读 Installation Manager 信息中心中的存储凭证

  2. 使用具有 *ALLOBJ 和 *SECADM 特权的用户概要文件来登录到 IBM® i 系统。
  3. 在 CL 命令行上,运行 STRQSH 命令以启动 Qshell 命令 shell。
  4. 使用响应文件来回滚 Web 2.0 and Mobile Toolkit。
    切换到 Installation Manager 安装目录中的 eclipse/tools 子目录,然后回滚 Web 2.0 and Mobile Toolkit。例如:
    ./imcl -acceptLicense 
      input $HOME/WASFiles/temp/rollback_response_file.xml 
      -log $HOME/WASFiles/temp/rollback_log.xml 
      -keyring $HOME/WASFiles/temp/im.keyring
    注: 程序可能会将重要的安装后指示信息写入到标准输出。

    有关使用 Installation Manager 的更多信息,请阅读 IBM Installation Manager 信息中心

示例

以下是用于将 Web 2.0 and Mobile Toolkit 回滚到较早版本的响应文件的示例。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
  <repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11'/>
</server>
<profile id='Web 2.0 and Mobile Toolkit V1.1' 
  installLocation='/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11'>
  <data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11'/>
  <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/Web20Mobile/V11'/>
  <data key='user.import.profile' value='false'/>
  <data key='cic.selector.nl' value='en'/>
</profile>
<rollback>
  <offering profile='Web 2.0 and Mobile Toolkit V1.1' id='com.ibm.websphere.W2MTK.v11' version='1.1.2.20110424_1245'/>
</rollback>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.import.enabled' value='true'/>
<preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/>
</agent-input>
提示:
  • 当您从 Installation Manager 安装目录中的 eclipse/tools 子目录运行 imcl listInstallationDirectories -verbose 命令时,可以找到概要文件标识(<profile . . . id='profile_ID' . . . .><offering . . . profile='profile_ID' . . . .>)。它与软件包组的名称相同。
  • 当您从 app_server_root/bin 目录运行 historyInfogenHistoryReport 命令时,可以在所生成报告的“Install Manager 产品标识”部分中找到产品标识 (<offering . . . id='offering_ID' . . . .>)。
  • version 是要回滚到的产品的特定版本(例如 1.1.0.20110427_2247)。
    可以选择指定此参数。
    • 如果指定 version,那么会将安装回滚到先前安装的产品版本,并将安装该版本的所有临时修订。
    • 如果已指定 version,那么会将安装回滚到指定的产品较早版本,并且不会安装该版本的任何临时修订。

    当您从 app_server_root/bin 目录运行 historyInfogenHistoryReport 命令时,可能会发现在所生成报告的“软件包”部分中,已使用下划线将产品版本附加到产品标识的末尾。

任务主题    

信息中心的条款和条件 | 反馈

最近更新日期: May 11, 2012 12:10 PM EDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850webmob&product=was-nd-mp&topic=tweb_ins_rollback_is
文件名: tweb_ins_rollback_is.html