Creating a local mirror of the IBM Rational Web Developer update server

For Rational Web Developer, Version 6.0

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

This file is available in the following national languages:

Brazilian Portuguese Chinese - Simplified Chinese - Traditional
French German Italian
Japanese Korean Spanish

Contents

1.0 Downloading and extracting updates
2.0 Creating and updating site.xml files
3.0 Creating a policy.xml file
4.0 Installing updates from the local mirror of the update server

1.0 Downloading and extracting updates

To create a local mirror of the IBM® Rational® Web Developer update server, download the following updates. If you previously created a local mirror of the update server, remove any outdated feature files before downloading these updates.

Rational Web Developer update FTP location Notes
IBM Rational Product Updater 6.0.1 ftp://ftp.software.ibm.com/software/rationalsdp/updater/60/zips/rpu_601.zip -
Fix Pack 6.0.1.1 - IBM Rational Web Developer ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd60_6011.zip This version of the file is a cumulative update; it contains all fixes and updates since version 6.0. Download this file if you do not already have refresh pack 6.0.1 on your local mirror site.
Fix Pack 6.0.1.1 - IBM Rational Web Developer
   (Requires IBM Rational Web Developer version 6.0.1 or later)
ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd60_6011_post601.zip This version of the file contains only the fixes and updates since refresh pack 6.0.1. Download this file only if you have refresh pack 6.0.1 on your local mirror site.
Daylight Saving Update for Rational Web Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd6011_DST_Update.zip -
Interim Fix 001 for Rational Web Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd6011_interim_fix001.zip -
Interim Fix 002 for Rational Web Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd6011_interim_fix002.zip -
Interim Fix 003a for Rational Web Developer 6.0.1.1 ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd6011_interim_fix003a.zip -
IBM Rational Deployment Toolkit for WebLogic Server ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/WLToolkit_601_Features_RWD.zip -
IBM Informix® 4GL to EGL Conversion Utility ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/I4GL_Discovery_Features_RWD.zip -
IBM Websphere® Application Server V6.0 Integrated Test Environment Update ftp://ftp.software.ibm.com/software/rationalsdp/rwd/60/zips/rwd60_WAS6025.zip -

Attention: You must download IBM Rational Product Updater 6.0.1.

After you download the updates, extract the files to a target directory that will stage your local mirror of the update server. You can extract all the updates to the same target directory. The updates do not overwrite each other.

2.0 Creating and updating site.xml files

Generally, an update site and a discovery site exist for each product. The update site contains product fixes, such as interim fixes, fix packs, and refresh packs, and the discovery site contains optional features.

Note: Rational Product Updater does not have a discovery site.

Each downloaded product fix contains a site_identifier.xml file in the product\60\update\ directory, and each downloaded feature contains a site_identifier.xml file in the product\60\discovery\ directory, where identifier identifies the product fix or feature and product identifies the product. The site_identifier.xml files for updates to Rational Product Updater are located in the rpu\60\update\ directory.

The update site and the discovery site each require a separate site.xml file. To create each site.xml file, you must combine the <feature/> information from the appropriate site_identifier.xml files.

To create or update a site.xml file, complete the following steps:

  1. Open a site_identifier.xml file in a text editor. For example, open site_60_6011.xml.
  2. Save the file as site.xml in the same directory. If the directory already contains a file named site.xml, copy the <feature/> information from site_60_6011.xml into the <site></site> section of site.xml.
  3. Copy the <feature/> information from each site_identifier.xml file into site.xml.
  4. For example, the following code displays the result of copying the <feature/> information from rwd\60\discovery\site_WLToolkit_601.xml and rwd\60\discovery\site_i4gl.xml into rwd\60\discovery\site.xml:

    <?xml version="1.0" encoding="UTF-8" ?>

    <site>

    <!-- WL Toolkit 601 Feature -->
    <feature patch="false" id="com.ibm.etools.weblogic.rwd.update.6001" version="6.0.1" url="features/com.ibm.etools.weblogic.rwd.update.6001_6.0.1.jar">
    <category name="fixpack" />
    </feature>
    <feature id="updater.com.ibm.etools.weblogic.rwd.602" version="6.0.1" url="features/updater.com.ibm.etools.weblogic.rwd.602_6.0.1.jar">
    <category name="proxies"/>
    </feature>
    <!-- WL Toolkit 601 Feature -->

    <!-- i4gl 6001a refresh -->
    <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>
    <!-- i4gl 6001a refresh -->

    </site>


    Note:
  5. Save and close the updated site.xml file. Keep the original site_identifier.xml files for reference.
  6. Close your text editor.

3.0 Creating a policy.xml file

Each downloaded product fix and feature contains a product\policy_identifier.xml file that references its site_identifier.xml file. You must combine all of the policy_identifier.xml files into a single policy.xml file. After you create this file, you can use it for all product updates and reference the site.xml file that you created in the previous section.

To create the policy.xml file, complete the following steps:

  1. Open a product\policy_identifier.xml file with a text editor. For example, open policy_60_6011.xml.
  2. In the main directory of your mirror site, save the file as policy.xml.
  3. Edit the URL map to point to site.xml instead of site_identifier.xml. Ensure that you specify a universally accessible absolute path to site.xml. For example, if your mirror site is on a Web server named server1, your policy.xml file will be similar to the following example:


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


  5. Add the URL map information from all other product\policy_identifier.xml files, such as rwd\policy_i4gl.xml.


  6. For each product that you can update from your local mirror of the update server, you should have one URL map for the update site and another URL map for the discovery site. Additional URL maps are required for feature discovery sites. The patterns are provided in each product\policy_identifier.xml file.

  7. Edit each URL map to point to site.xml instead of site_identifier.xml. Your file will be similar to the following example:


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


  9. Create a URL map for the updates to Rational Product Updater by typing a universally accessible absolute path to its site.xml file.


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

  11. Save the policy.xml file.
  12. Close your text editor.

4.0 Installing updates from the local mirror of the update server

After the local mirror of the update server is available, users can install updates by completing the following instructions.

Install updates with the same user account that installed the product.

Restrictions:

To install an update, complete the following steps:

  1. Start Rational Product Updater:

  2. Note: On Red Hat Enterprise Linux 3.0 and SuSE Linux Enterprise Server 9.0, if you use a desktop environment other than the default, the product shortcuts might not appear in the default location.

  3. Click Preferences > Update Sites.
  4. Type the path to the policy.xml file that is in the main directory of the local mirror of the update server.
  5. Click OK.
  6. Click Find Updates or Find Optional Features.


  7. If Rational Product Updater requires an update, you are prompted to install it before you can continue. Click OK. Rational Product Updater installs the update, restarts, and retrieves a list of available updates.

  8. Select the update that you want to install.
  9. Click Install Updates or Install Optional Features.
  10. To accept the license agreement and continue the installation, click OK.


  11. Depending on the speed of your computer processor and the amount of RAM in your computer, the update might take an extended period of time to install.

    After the installation is complete, Rational Product Updater lists the installed updates on the Installed Products page.

  12. Close Rational Product Updater.