创建 IBM Rational Application Developer 更新服务器的本地镜像

适用于 Rational Application Developer V6.0

© Copyright IBM Corporation 2004, 2007. All Rights Reserved.

目录

1.0 下载并解压缩更新
2.0 创建并更新 site.xml 文件
3.0 创建 policy.xml 文件
4.0 从更新服务器的本地镜像安装更新

1.0 下载并解压缩更新

要创建 IBM® Rational® Application Developer 更新服务器的本地镜像,应下载下列更新。如果您先前已经创建了更新服务器的本地镜像,则在下载这些更新之前除去任何已过时的功能部件文件。

Rational Application Developer 更新 FTP 位置 注释
IBM Rational Product Updater 6.0.1 ftp://ftp.software.ibm.com/software/rationalsdp/updater/60/zips/rpu_601.zip -
修订包 6.0.1.1 - IBM Rational Application Developer ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad60_6011.zip 此版本的 ZIP 文件是累计更新;它包含自从版本 6.0 以来的所有修订和更新。如果您的本地镜像站点上尚没有更新包 6.0.1,则下载此 ZIP 文件。
修订包 6.0.1.1 - IBM Rational Application Developer
   (需要 IBM Rational Application Developer V6.0.1 或更新版本)
ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad60_6011_post601.zip 此版本的 ZIP 文件只包含自从更新包 6.0.1 以来的修订和更新。仅当您的本地镜像站点上已经有了更新包 6.0.1 时才下载此 ZIP 文件。
Daylight Saving Update for Rational Application Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad6011_DST_Update.zip -
Interim Fix 001 for Rational Application Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad6011_interim_fix001.zip -
Interim Fix 002 for Rational Application Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad6011_interim_fix002.zip -
Interim Fix 003a for Rational Application Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad6011_interim_fix003a.zip -
J2EE 连接器工具 6.0.1.3 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad601_J2C6013.zip -
IBM Informix® 4GL 至 EGL 转换实用程序 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/I4GL_Discovery_Features_RAD.zip -
IBM WebSphere® Portal 测试环境 5.0.2.3 更新 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/PORTAL_UTE_5023_Features_RAD.zip -
IBM WebSphere Portal 测试环境 5.1.0.1 更新 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/PORTAL_UTE_5101_Features_RAD.zip -
IBM WebSphere Portal 测试环境 5.1.0.2 更新 ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/PORTAL_UTE_5102_Features_RAD.zip -
IBM Rational Deployment Toolkit for WebLogic Server ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/WLToolkit_601_Features_RAD.zip -
IBM Websphere® Application Server V6.0 Integrated Test Environment Update ftp://ftp.software.ibm.com/software/rationalsdp/rad/60/zips/rad60_WAS6025.zip -

注意:必须下载 IBM Rational Product Updater 6.0.1。

在下载更新之后,将文件解压缩至目标目录,将在该目录中建立更新服务器的本地镜像。可以将所有更新解压缩至同一目标目录。更新不会互相覆盖。

2.0 创建并更新 site.xml 文件

通常,每种产品都有一个更新站点和发现站点。更新站点包含产品修订(例如,临时修订、修订包和更新包),发现站点包含可选功能部件。

:Rational Product Updater 没有发现站点。

每个下载的产品修订在 product\60\update\ 目录中都包含 site_identifier.xml 文件,而每个下载的功能部件在 product\60\discovery\ 目录中都包含 site_identifier.xml 文件,其中 identifier 标识产品修订或功能部件,而 product 标识产品。用于 Rational Product Updater 更新的 site_identifier.xml 文件位于 rpu\60\update\ 目录中。

更新站点和发现站点都需要单独的 site.xml 文件。要创建每个 site.xml 文件,必须将适当 site_identifier.xml 文件中的 <feature/> 信息组合在一起。

要创建或更新 site.xml 文件,完成下列步骤:

  1. 在文本编辑器中打开 site_identifier.xml 文件。例如,打开 site_60_6011.xml
  2. 在同一目录中将该文件另存为 site.xml。如果该目录已经包含名为 site.xml 的文件,则将 site_60_6011.xml 中的 <feature/> 信息复制到 site.xml<site></site> 部分中。
  3. 将每个 site_identifier.xml 文件中的 <feature/> 信息复制到 site.xml 中。


  4. 例如,下列代码显示了将 rad\60\discovery\site_601_J2C6012.xmlrad\60\discovery\site_i4gl.xml 中的 <feature/> 信息复制到 rad\60\discovery\site.xml 中的结果:

    <?xml version="1.0" encoding="UTF-8" ?>
    <site>
    <!-- J2C refresh feature-->
    <feature id="com.ibm.j2c.win32" os="win32" patch="false" url="features/com.ibm.j2c.win32_6.0.1.2.jar" version="6.0.1.2"> <category name="refreshpack"/>
    </feature>
    <feature id="com.ibm.j2c.linux" os="linux" patch="false" url="features/com.ibm.j2c.linux_6.0.1.2.jar" version="6.0.1.2"> <category name="refreshpack"/>
    </feature>
    <feature id="updater.j2c.nl1.plugins.601" patch="false" url="features/updater.j2c.nl1.plugins.601_1.0.0.jar" version="1.0.0"> <category name="proxies"/>
    </feature>
    <feature id="updater.j2c.plugins.601" patch="false" url="features/updater.j2c.plugins.601_1.0.0.jar" version="1.0.0"> <category name="proxies"/>
    </feature>
    <feature id="updater.j2c.resource.adapters" patch="false" url="features/updater.j2c.resource.adapters_1.0.0.jar" version="1.0.0"> <category name="proxies"/>
    </feature>
    <feature id="updater.j2c.linux.permissions" patch="false" url="features/updater.j2c.linux.permissions_1.0.0.jar" version="1.0.0"> <category name="proxies"/>
    </feature>


    <!--I4GL conversion utility-->
    <feature patch="false" id="com.ibm.etools.i4gl.conversion.refresh.win32" version="6.0.0.1a" url="features/com.ibm.etools.i4gl.conversion.refresh.win32_6.0.0.1a.jar" os="win32">
    </feature>

    <feature patch="false" id="com.ibm.etools.i4gl.conversion.refresh.linux" version="6.0.0.1a" url="features/com.ibm.etools.i4gl.conversion.refresh.linux_6.0.0.1a.jar" os="linux">
    </feature>

    <feature patch="false" id="updater.rad.ifeature.i4glconversion.refresh.001" version="1.0.0" url="features/updater.rad.ifeature.i4glconversion.refresh.001_1.0.0.jar">
    </feature>

    <feature patch="false" id="updater.zips.i4glconversion.refresh.win32.001" version="1.0.0" url="features/updater.zips.i4glconversion.refresh.win32.001_1.0.0.jar">
    </feature>

    <feature patch="false" id="updater.zips.i4glconversion.refresh.linux.001" version="1.0.0" url="features/updater.zips.i4glconversion.refresh.linux.001_1.0.0.jar">
    </feature>

    </site>


    注意:
  5. 保存并关闭更新后的 site.xml 文件。保留原始 site_identifier.xml 文件以供参考。
  6. 关闭文本编辑器。

3.0 创建 policy.xml 文件

每个下载的产品修订和功能部件都包含引用其 site_identifier.xml 文件的 product\policy_identifier.xml 文件。必须将所有 policy_identifier.xml 文件组合到单个 policy.xml 文件中。在创建此文件后,您可以将它用于所有产品更新并引用在前面部分中创建的 site.xml 文件。

要创建 policy.xml 文件,完成下列步骤:

  1. 使用文本编辑器打开 product\policy_identifier.xml 文件。例如,打开 policy_60_6011.xml
  2. 在镜像站点的主目录中,将该文件另存为 policy.xml
  3. 编辑 URL 映射以指向 site.xml 而不是 site_identifier.xml。确保指定了 site.xml 的通用可访问绝对路径。例如,如果镜像站点在名为 server1 的 Web 服务器上,则 policy.xml 文件将类似于下例:


  4. <?xml version="1.0" encoding="UTF-8" ?>
    <update-policy>
       <url-map pattern="com.ibm.rational.application.developer.update" url="http://server1/rational_updates/rad/60/update/site.xml"/>
    </update-policy>


  5. 添加所有其他 product\policy_identifier.xml 文件(例如,rad\policy_j2c_601.xml)中的 URL 映射信息。


  6. 对于可以从更新服务器的本地镜像更新的每个产品,您应该有一个指向更新站点的 URL 映射以及另一个指向发现站点的 URL 映射。需要额外的 URL 映射指向功能部件发现站点。每个 product\policy_identifier.xml 文件中都提供了模式。

  7. 编辑每个 URL 映射以指向 site.xml 而不是 site_identifier.xml。您的文件应类似于下例:


  8. <?xml version="1.0" encoding="UTF-8" ?>
    <update-policy>
       <url-map pattern="com.ibm.rational.application.developer.update" url="http://server1/rational_updates/rad/60/update/site.xml"/>
       <url-map pattern="com.ibm.rational.application.developer.discovery" url="http://server1/rational_updates/rad/60/discovery/site.xml"/>
    </update-policy>


  9. 通过输入 Rational Product Updater 的 site.xml 文件的通用可访问绝对路径创建其更新的 URL 映射。


  10. <url-map pattern="com.ibm.orca.product.updater" url="http://server1/rational_updates/rpu/60/update/site.xml"/>

  11. 保存 policy.xml 文件。
  12. 关闭文本编辑器。

4.0 从更新服务器的本地镜像安装更新

在更新服务器的本地镜像可用之后,用户可以通过遵循下列指示信息安装更新。

使用安装该产品的相同用户帐户来安装更新。

限制

要安装更新,完成下列步骤:

  1. 启动 Rational Product Updater:

  2. 注意:在 Red Hat Enterprise Linux 3.0 和 SuSE Linux Enterprise Server 9.0 上,如果使用的不是缺省桌面环境,那么产品快捷方式将不会出现在缺省位置。

  3. 单击首选项 > 更新站点
  4. 输入在更新服务器的本地镜像的主目录中的 policy.xml 文件的路径。
  5. 单击确定
  6. 单击查找更新查找可选功能部件


  7. 如果 Rational Product Updater 需要更新,则在继续之前将提示您安装它。单击确定。Rational Product Updater 将安装更新、重新启动并检索可用更新列表。

  8. 选择想要安装的更新。
  9. 单击安装更新安装可选功能部件
  10. 要接受许可协议并继续安装,单击确定


  11. 根据计算机处理器速度和计算机中的 RAM 大小,可能要花费较长的时间来安装此更新。

    安装完成后,Rational Product Updater 会在“已安装的产品”页上列示已安装的更新。

  12. 关闭 Rational Product Updater。