Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System 5 Upgrade Guide for UNIX 

Chapter 13
Web Proxy Server

This chapter describes how to upgrade Web Proxy Server to Java ES 5 (Release 5): Sun Java System Web Proxy Server 4.0.4.

The chapter provides an overview of upgrade considerations for the different upgrade paths supported by Release 5. The chapter covers upgrades on both the Solaris and Linux operating systems:


Overview of Web Proxy Server Upgrades

This section describes the following general aspects of Web Proxy Server that impact upgrading to Java ES 5 (Release 5):

About Java ES Release 5 Web Proxy Server

Java ES Release 5 Web Proxy Server represents a minor bug-fix release with respect to Release 4.

However, Release 5 Web Proxy Server includes better performance, more scalable architecture, better standards compliance, and a new administration interface as compared to Sun One Web Proxy Server 3.6, before its inclusion in Java Enterprise System.

Web Proxy Server Upgrade Roadmap

Table 13-2 shows the Web Proxy Server upgrade path to Java ES Release 5. Web Proxy Server was not included in previous Java ES releases. The table applies to the Solaris OS only, because Web Proxy Server was not previously supported on the Linux OS.

Table 13-2  Upgrade Paths to Java ES 5 (Release 5): Web Proxy Server 4.0.4

Java ES Release

Web Proxy Server Version

General Approach

Reconfiguration Required

Release 4

Sun Java System Web Proxy Server 4.0.1 2005Q4

Direct upgrade:
Performed using patches

None

Pre-dates Java ES releases
(Solaris OS only)

Sun ONE Web Proxy Server 3.6

(Hereafter referred to as Version 3.6)

Direct upgrade:
Performed using the Java ES installer to install in new location then migrating configuration data using administration tools

Configuration information must be migrated to new location.

Web Proxy Server Data

The following table shows the type of data that could be impacted by an upgrade of Web Proxy Server software.

Table 13-3  Web Proxy Server Data Usage

Type of Data

Location

Usage

Configuration data

WebProxyServer-base/proxy-serverid/
config
directory

Contains files such as: server,xml, magnus.conf, obj.conf, and so forth

Stores configuration information for the server, cache, filters, routing, and other functional aspects of Web Proxy Server

Web Proxy Server Upgrade Strategy

Your strategy for upgrading Web Proxy Server generally depends on the many considerations discussed in Chapter 1, "Planning for Upgrades": upgrade path, dependencies between Java ES components, selective upgrade versus upgrade all, multi-instance deployments, and so forth.

This section is to particularize that general discussion to Web Proxy Server by presenting issues that might influence your Web Proxy Server upgrade plan.

Compatibility Issues

Release 5 Web Proxy Server does not introduce any new public interfaces and is backwardly compatible with Release 4 Web Proxy Server. Release 5 Web Proxy Server is also compatible with Version 3.6, except that plug-ins developed using the NSAPI interface supported by Version 3.6 must be recompiled with the NSAPI interface supported by Release 5.

Web Proxy Server Dependencies

Web Proxy Server has dependencies on the following Java ES components:

Dual Upgrade

Dual upgrades, in which both Web Proxy Server and operating system are upgraded (as described in Dual Upgrades: Java ES and Operating System Softwared) can be performed using the in-place operating system upgrade approach:

  1. Back up existing Web Proxy Server data.
  2. See Web Proxy Server Data for the location of essential data.

  3. Upgrade the operating system.
  4. The upgrade leaves the existing file system in place.

  5. Upgrade to Release 5 Web Proxy Server.
  6. See the appropriate section of this chapter, depending on upgrade path.


Upgrading Web Proxy Server from Java ES Release 4

This section includes information about upgrading Web Proxy Server from Java ES 2005Q4 (Release 4) to Java ES 5 (Release 5). The section covers the following topics:

Introduction

When upgrading Web Proxy Server to Release 5, consider the following aspects of the upgrade process:

Release 4 Web Proxy Server Upgrade

This section provides an overview of how to perform an upgrade of Web Proxy Server to Java ES Release 5. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Web Proxy Server, you should perform the following tasks:

Verify Current Version Information

You can verify the current version of Web Proxy Server by entering the following command:

Upgrade Web Proxy Server Dependencies

It is generally recommended that all Java ES components on a computer system (and in a computing environment) be upgraded to Java ES Release 5. However, the upgrade of Web Proxy Server to Release 5 only requires that the NSS and NSPR shared components be upgraded. If these shared components have not yet been upgraded, you should synchronize all shared components to their Release 5 versions using the Synchronize Shared Components option. Instructions are provided in Chapter 2, "Upgrading Java ES Shared Components".

Back Up Web Proxy Server Data

The Web Proxy Server upgrade to Release 5 does not modify Release 4 configuration data. There is no need to back up current data.

Obtain Required Configuration Information and Passwords

No special information about your currently installed version is needed. However you will have to log in as superuser to perform the upgrade.

Upgrading Release 4 Web Proxy Server (Solaris)

This section discusses considerations that impact the upgrade procedure for Web Proxy Server followed by a description of the procedure itself.

Upgrade Considerations (Solaris)

The upgrade of Web Proxy Server software to Java ES Release 5 takes into account the following considerations:

Upgrade Procedure (Solaris)

The procedure documented below applies to Web Proxy Server on the computer where the upgrade is taking place.

  1. Log in as root or become superuser.
  2. su -

  3. Stop all running instances of Web Proxy Server and the Administration Server.
  4. WebProxyServer-base/proxy-instanceName/stop
    WebProxyServer-base/proxy-admserv/stop

  5. If you have not already done so, synchronize all shared component to Release 5.
  6. Instructions are provided in Chapter 2, "Upgrading Java ES Shared Components".

  7. Obtain the required patches, based on Table 13-5.
  8. Patches can be downloaded to /tmp from: http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access

  9. Apply the appropriate Web Proxy Server core and, if needed, localization patches in Table 13-5, in that order.
  10. patchadd /tmp/patch_ID

  11. Confirm that the patch upgrades were successful:
  12. showrev -p | grep proxy

    The output should return the versions of patch IDs applied in Step 5.

  13. Restart the Web Proxy Server instances that were stopped in Step 2.
  14. WebProxyServer-base/proxy-instanceName/start

Upgrading Release 4 Web Proxy Server (Linux)

This section discusses considerations that impact the upgrade procedure for Web Proxy Server followed by a description of the procedure itself.

Upgrade Considerations (Linux)

The upgrade of Web Proxy Server software to Java ES Release 5 on the Linux platform takes into account the same considerations as on the Solaris platform (see Upgrade Considerations), except that the Linux Release 5 upgrade patches differ from the Solaris patches.

The Release 5 Web Proxy Server upgrade patches for Linux OS are shown in the following table:

Table 13-6  Patches1 to Upgrade Web Proxy Server on Linux 

Description

Patch ID and RPM names

Web Proxy Server core

120983-10

  • sun-proxyserver-4.0-6.5.i386.rpm

Web Proxy Server localization

122965-01

  • sun-proxyserver-Locale-4.0.4.i386.rpm

1Patch revision numbers are the minimum required for upgrade to Java ES Release 5. If newer revisions become available, use the newer ones instead of those shown in the table.

Upgrade Procedure (Linux)

The procedure documented below applies to Web Proxy Server on the computer where the upgrade is taking place.


Caution

An upgrade from Java ES Release 4 to Java ES Release 5 on Linux cannot be rolled back.


  1. Log in as root or become superuser.
  2. su -

  3. Stop all running instances of Web Proxy Server and the Administration Server.
  4. WebProxyServer-base/proxy-instanceName/stop
    WebProxyServer-base/proxy-admserv/stop

  5. If you have not already done so, synchronize all shared component to Release 5.
  6. See Upgrade Web Proxy Server Dependencies.

  7. Obtain the required patches using the patch numbers and RPM names from Table 13-6. Use this information to obtain the version numbers for the RPM.
  8. Patches can be downloaded to /tmp from: http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access

  9. Apply the core and, if needed, localization RPMs for Web Proxy Server in Table 13-6, in that order.
  10. rpm -Fvh sun-proxyserver-version.i386.rpm

  11. Confirm that the patch upgrades were successful:
  12. rpm -qa | grep sun-proxyserver

    The new version numbers of the RPMs should be returned.

  13. Restart the Web Proxy Server instances that were stopped in Step 2.
  14. WebProxyServer-base/proxy-instanceName/start

Verifying the Upgrade

You can verify the upgrade of Web Proxy Server to Release 5 by starting a Web Proxy Server instance with the -version option:

Post-Upgrade Tasks

There are no post-upgrade tasks beyond the steps described in Upgrade Procedure (Solaris) and Upgrade Procedure (Linux).

Rolling Back the Upgrade (Solaris)

This section describes considerations that impact the upgrade rollback procedure for Web Proxy Server followed by the procedure itself.

Rollback Considerations (Solaris)

The procedure for rolling back the upgrade to Release 5 of Web Proxy Server is pretty much the reverse of the procedure for upgrading to Release 5.

Rollback Procedure (Solaris)
  1. Log in as root or become superuser.
  2. su -

  3. Stop all running instances of Web Proxy Server and the Administration Server.
  4. WebProxyServer-base/proxy-instanceName/stop
    WebProxyServer-base/proxy-admserv/stop

  5. Remove the patches in Table 13-5.
  6. patchrm patch_ID

  7. Restart the Web Proxy Server instances that were stopped in Step 2.
  8. WebProxyServer-base/proxy-instanceName/start


Upgrading Web Proxy Server from Version 3.6

This section includes information about upgrading Web Proxy Server from Version 3.6 to Java ES 5 (Release 5). The section covers the following topics:

Introduction

When upgrading Web Proxy Server to Release 5, consider the following aspects of the upgrade process:

Version 3.6 Web Proxy Server Upgrade

This section provides an overview of how to perform an upgrade of Web Proxy Server to Java ES Release 5. Web Proxy Server was not previously supported on the Linux platform. Hence upgrade of Web Proxy Server to Java ES Release 5 is only performed on the Solaris platform. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Web Proxy Server, you should perform the following tasks:

Verify Current Version Information

You can verify the current version of Web Proxy Server by entering the following command:

Upgrade Web Proxy Server Dependencies

It is generally recommended that all Java ES components on a computer system (and in a computing environment) be upgraded to Java ES Release 5. However, the Java ES installer that is used to upgrade Web Proxy Server to Release 5 automatically upgrades all shared components upon which Web Proxy Server depends (see Table 1-9).

Back Up Web Proxy Server Data

The Web Proxy Server upgrade to Release 5 does not modify Version 3.6 configuration data. However any unsaved changes to Version 3.6 configuration data made using the administration interface must be saved before performing the upgrade.

Obtain Required Configuration Information and Passwords

To upgrade from Version 3.6, you need to know the installation directory path for that installed version.

Upgrading Version 3.6 Web Proxy Server

This section discusses considerations that impact the upgrade procedure for Web Proxy Server followed by a description of the procedure itself.

Upgrade Considerations

All Web Proxy Server instances corresponding to the same installed Web Proxy Server image can be upgraded. However, the migration of configuration data has to be done separately for each instance. All such instances should be shut down when migration is performed to make sure that no port conflicts arise when migrated instance is started.

Upgrade Procedure

The procedure documented below applies to Web Proxy Server software on the computer where the upgrade is taking place.

  1. Log in as root or become superuser.
  2. su -

  3. Install Web Proxy Server Release 5.
    1. Run the Java ES installer from the Java ES Release 5 distribution.
    2. Select Web Proxy Server from the component selection page.
    3. Select the Configure Now option.
    4. Quit the Java ES installer when installation is complete.
  4. Migrate configuration settings to the newly installed version.
  5. This operation must be performed separately for each Web Proxy Server instance.

    1. Start the Web Proxy Server Administration Server.
    2. WebProxyServer-base/proxy-admserv/start

    3. Log in to the administration graphical interface.
    4. Click on the Server tab and then click Migrate Server.
    5. Specify the Version 3.6 installation directory path.
    6. Select the instance to migrate.
    7. Click the Migrate button.
    8. After successful migration, the migration screen provides a list of additional configurations that must be performed manually. It provides the data that needs to be added and the corresponding configuration file.

      For more information on migrating configuration settings refer to Sun Java System Web Proxy Server 4.0.4 Installation and Migration Guide, http://docs.sun.com/doc/819-5492.

  6. Make any additional configuration changes specified in Step f.
  7. Refer to the Sun Java System Web Proxy Server 4.0.4 Configuration File Reference, http://docs.sun.com/doc/819-5494, for more information.

Verifying the Upgrade

You can verify the upgrade of Web Proxy Server to Release 5 by starting a Web Proxy Server instance with the -version option:

See Table 13-7 for output values.

Post-Upgrade Tasks

There are no post-upgrade tasks beyond the steps described in Upgrade Procedure.

Rolling Back the Version 3.6 Upgrade

The upgrade of Web Proxy Server to Release 5, documented in Upgrading Version 3.6 Web Proxy Server, cannot be rolled back. However, you can revert to Version 3.6, which was left intact by the Release 5 upgrade procedure.



Previous      Contents      Index      Next     


Part No: 819-6553-11
June 2007.   Copyright 2007 Sun Microsystems, Inc. All rights reserved.