Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System Upgrade Guide for HP-UX  

Chapter 5
Web Server

This chapter describes how to upgrade Web Server to Java ES Release 4 Web Server 6.1 2005Q4 SP5. The chapter provides a general overview of upgrade issues and procedures for the different upgrade paths supported by Java ES Release 4.


Note

File locations in this chapter are specified with respect to a directory path referred to as web_svr_base. At least part of this path might have been specified as an installation directory when Web Server was initially installed. If not, the Java ES installer assigned a default value.

The default value of web_svr_base is /opt/sun/webserver.



Overview of Web Server Upgrades

This section describes the following general aspects of Web Server that impact upgrading to Java ES Release 4:

About Java ES Release 4 Web Server

Java ES Release 4 versions of Web Server represents a number of bug fixes, including security fixes that depend upon the NSS shared component. For details, see the appropriate release notes.

Web Server Upgrade Roadmap

Table 5-1 shows the supported Web Server upgrade paths to Java ES Release 4.

Table 5-1  Upgrade Paths to Java ES Release 4 Web Server 6.1 2005Q4 SP5 Java ES

Java ES Release

Component

General Approach

Re-configuration Required

Release 3

Sun Java System Web Server 6.1 2005Q1 Update 1 SP 4

Direct Upgrade:
Apply patches.

None

Compatibility Issues

Release 4 Web Server does not introduce any interface changes and is backwardly compatible with Release 3.

Web Server Dependencies

Web Server has no dependencies on other Java ES components other than on Java ES shared components (see Table 1-6).


Upgrading Web Server from Java ES Release 3

This section includes information about upgrading Web Server from Java ES Release 3 to Java ES Release 4. The section covers the following topics:

Introduction

When upgrading Java ES Release 3 Web Server to Release 4, consider the following aspects of the upgrade process:

Web Server Upgrade

This section describes how to perform an upgrade of Web Server from Java ES Release 3 to Java ES Release 4 on HP-UX. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Web Server you should perform the tasks described below.

Verify Current Version Information

You can verify the current version of Web Server by starting the Web Server instance server with the -version option:

# web_svr_base/https-hostName.domainName/start -version

Table 5-2  Web Server Version Verification Outputs

Java ES Release

Web Server Version Number

Release 3

6.1SP4

Release 4

6.1SP5

Upgrade Web Server Dependencies

The Java ES shared components listed in (more...) should be upgraded to Java ES Release 4. Instructions for upgrading Java ES shared components to Release 4, are provided in Chapter 2, "Upgrading Java ES Shared Components".

Back Up Web Server Data

The Web Server upgrade from Release 3 to Release 4 does not modify 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 Web Server

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

Upgrade Considerations

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

Upgrade Procedure

The procedure documented below applies to all Web Server instances corresponding to the same installed Web Server image on the computer where the upgrade is taking place.

  1. Obtain the required patches, based on Table 5-3.
  2. Patches can be downloaded from:

    http://sunsolve.sun.com.

  3. Log in as superuser.
  4. Stop all running instances of Web Server and the Administration Server.
  5. # web_svr_base/https-instanceName/stop

    # web_svr_base/https-admserv/stop

  6. If not already done, upgrade the shared components listed on (more...) to Release 4.
  7. Apply the appropriate Web Server patch in Table 5-3.
  8. swinstall -s <patch_location> -x patch_match_target = true

    .


    Note

    If you have Java1.5.0 installed on your computer, uninstall Java 1.5.0 and clean up the installed directory.


  9. Install Java1.5.0.01.
  10. Restart the Web Server instances that were stopped in Step 3.
Verifying the Upgrade

You can verify the upgrade of Web Server to Release 4 by starting the Web Server instance server with the -version option:

# web_svr_base/start -version

See Table 5-2 for output values.

Post-Upgrade Tasks

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

Rolling Back the Upgrade

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

Rollback Considerations

The procedure for rolling back the upgrade to Release 4 of Web Server is pretty much the reverse of the procedure for upgrading to Release 4. The patches are removed.

Rollback Procedure
  1. Log in as superuser.
  2. Stop all running instances of Web Server and the Administration Server.
  3. # web_svr_base/https-instancename/stop

    # web_svr_base/https-admserv/stop

  4. Remove the Web Server patch in Table 5-3.
  5. # swremove <patch_ID>

  6. Remove the shared component patches.
  7. # swremove <patch_ID of Shared Component>

  8. Restart the Web Server instances that were stopped in Step 2.


Previous      Contents      Index      Next     


Part No: 819-4460-10.   Copyright 2006 Sun Microsystems, Inc. All rights reserved.