Skip navigation.

Installing Maintenance Updates and Service Packs

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

Best Practices for Distributing Maintenance Updates

This section provides the following topics:

 


Distributing Maintenance Patches to a Production Environment

This section discusses the following models for distributing patches to a production environment:

These models assume the following about the software maintenance that is provided for machines in the production environment:

Using Smart Update Scripts to Promote a Standard Maintenance Level to a Production Environment

This section describes an example scenario of how the features in Smart Update can be leveraged to distribute maintenance updates to production systems that are subject to some or all of the conditions described in the preceding paragraphs.

  1. BEA Customer Support has provided a private patch to solve a problem that Avitek has reported with its enterprise applications that run on WebLogic Server 9.1.
  2. Bob Jones, in the Avitek MIS department, downloads the patch into the patch download directory for his machine, which is set to a network disk used by MIS to store maintenance updates provided by all of Avitek's software vendors.
  3. Rachel Burns works in Avitek's QA department, and her job is to test the patch on her machine, which also has a WebLogic Server installation identical to the one used in the production environment. The domain configuration on Rachel's machine is similar to the WebLogic domains running in Avitek's production environment. Rachel created the WebLogic Server start scripts used in the production environment, which also run on her machine.
  4. Rachel runs Smart Update in offline mode. She makes sure that the patch download directory is set to the directory used by Bob, and then she applies the patch to her WebLogic Server installation.

  5. Rachel realizes that because the production systems use customized WebLogic Server start scripts, the scripts will need to be modified so that the classes contained in the patch are loaded into the WebLogic system classpath on her machine.
  6. Rachel adds a definition of the PATCH_CLASSPATH variable to the start script so that it points to the default patch profile, then she adds this variable to the beginning of the SET WEBLOGIC_CLASSPATH statement.

  7. Rachel successfully tests the patch, and is ready to replicate the patch throughout the 20 BEA product installations that run in Avitek's production environment. Because each production machine is nearly identical, Rachel knows that she can create a script that will work on every machine to apply the patch.
  8. She creates the script. Its function is very simple: it applies the patch to the default patch profile for the target installation, and it copies an updated start script into the proper location of each machine.

  9. Rachel uploads the patch to a patch download directory kept on a secure disk that is used by the production machines in Avitek's DMZ. She also uploads the Smart Update script and new WebLogic Server start script onto the secure disk.
  10. Dagmar Kohl administers the machines in Avitek's production environment. She downloads the Smart Update script onto each production machine and runs it.
  11. Because of the patch contents, Dagmar knows that each server needs to be rebooted for the patch to take effect. Once the servers are rebooted, the maintenance procedure is complete.

Creating and Distributing an Archive of the Product Installation

As an alternative to the scenario described in Using Smart Update Scripts to Promote a Standard Maintenance Level to a Production Environment, you can create an archive of a fully patched BEA product image, and replicate that image throughout all the machines in a production environment. If you take this approach, note the following caveats:

 


Providing Maintenance Patches to Systems that Cannot Connect to BEA Customer Support

As mentioned in Providing Maintenance to a Machine with No Connection to BEA Customer Support, Smart Update's offline usage mode allows you to install maintenance updates on machines from which it is not possible to connect to BEA Customer Support. This section describes the following methods you can use for providing patches and patch sets to these machines:

For the purposes of describing these techniques in these sections, a machine that cannot connect to BEA Customer Support is called an offline machine.

Patching an Offline Machine Via a Shared Patch Download Directory

The following topics explain how to patch an offline machine via a shared patch download directory:

Requirements

Installing maintenance updates on an offline machine via a shared patch download directory has the following two primary requirements:

Steps

To patch a disconnected system remotely from the machine with Internet access, complete the following steps using the machine that has Internet access:

  1. From the machine that can connect to BEA Customer Support:
    1. Start Smart Update and log in to BEA Customer Support.
    2. Choose File—> Preferences, and select a location for the patch download directory that is accessible by the offline machine. Make sure it is a location to which you have write permissions.
    3. If you are downloading a publicly available patch, choose the product installation in the Target Installation panel that matches the product and version of the BEA software installed on the offline machine.
    4. Download all required patches, as described in Downloading and Applying Patches.
  2. From the offline machine:
    1. Start Smart Update, and click Work Offline in the Login dialog box.
    2. Choose File—> Preferences..., and set the patch download directory to the location into which the patches were downloaded by the machine that connected to BEA Customer Support.
    3. In the Target Installation panel, choose the target installation to which you want to apply the patches.
    4. Select the Manage Patches tab, and make sure the appropriate patch profile is selected.
    5. In the Downloaded Patches panel, click Apply next to the patches you want to apply.
    6. Complete the procedure for applying patches, as described in Applying and Managing Patches.

Patching an Offline Machine Via Removable Media

The following topics explain how to patch an offline machine via removable media:

Requirements

Installing maintenance updates on an offline machine via removable media has the following two primary requirements:

Steps

To apply patches to an offline machine via removable media, complete the following steps.

  1. From the machine that can connect to BEA Customer Support:
    1. Start Smart Update and log in to BEA Customer Support.
    2. If you are downloading a publicly available patch, choose the product installation in the Target Installation panel that matches the product and version of the BEA software installed on the offline machine.
    3. Download all required patches, as described in Downloading and Applying Patches.
    4. Copy the downloaded patches onto the removable media.
  2. From the offline machine:
    1. Mount the removable media onto the offline machine.
    2. Start Smart Update, and click Work Offline in the Login dialog box.
    3. Choose File—> Preferences... and set the patch download directory as the directory the removable media containing the patches.
    4. In the Target Installation panel, select the target installation to be patched.
    5. Select the Manage Patches tab, and select the appropriate patch profile.
    6. From the Downloaded Patches panel, click Apply next to each patch that you want to apply.
    7. Complete the procedure for applying patches, as described in Applying and Managing Patches.

Additional Means for Patching an Offline Machine

BEA Customer Support may provide you with alternative means, as appropriate, for providing you with patches if you are unable to make an online connection to BEA Customer Support.

 

Skip navigation bar  Back to Top Previous Next