使用响应文件在 IBM i 操作系统上安装 Web 2.0 and Mobile Toolkit 的修订包

可以使用 Installation Manager 响应文件来将 Web 2.0 and Mobile Toolkit 更新到较高版本。

开始之前

有关 WebSphere® Application Server 的升级信息,请与 IBM® 软件支持中心联系。可从 IBM 软件支持中心和 Fix Central 获得最新信息。

应用 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 的密钥环文件的更多信息,请阅读 IBM Installation Manager V1.5 信息中心

    提示: 创建密钥环文件时,如果 imutilsc 命令无法找到所指定的 URL,请在存储库 URL 位置的末尾追加 /repository.config
  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/update_response_file.xml 
      -log $HOME/WASFiles/temp/update_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>
<install modify='false'>
  <offering profile='Web 2.0 and Mobile Toolkit V1.1' features='main' id='com.ibm.websphere.W2MTK.v11' 
    version='1.1.0.20110427_2247' installFixes='none'/>
</install>
<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,那么将安装产品的指定版本,并且不会安装该版本的任何临时修订。
    当您针对存储库运行以下命令时,可能会发现已使用下划线将产品版本附加到产品标识的末尾:
    ./imcl listAvailablePackages -repositories source_repository
  • 还可以使用 -installFixes 自变量来指定 nonerecommendedall,以指示要随产品安装哪些临时修订。
    • 如果指定产品版本,那么 -installFixes 选项将缺省为 all
    • 如果已指定产品版本,那么 -installFixes 选项将缺省为 none
  • 如果已通过安装 WebSphere Application Server 组 PTF 获取修订包,那么可以使用本地修订包存储库来安装修订包。

    有关本地修订包存储库的信息,请参阅文件 /QIBM/WAS/WASFixpacks/ReadmeV85.html/QIBM/WAS/WASFixpacks/ReadmeV85.txt

任务主题    

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

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