Sun Java Enterprise System 5 Upgrade Guide for Microsoft Windows

Web Server Upgrade

This section describes how to perform an upgrade of Web Server from Release 4 to Release 5. This section covers the following topics:

Pre-Upgrade Tasks

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

Upgrading Web Server Dependencies

All Java ES components on a computer system and in a computing environment should be upgraded to Java ES Release 5. However, all shared components required by Web Server are upgraded automatically by the Java ES installer when you perform an upgrade of Web Server to Release 5.

Backing Up Web Server Data

The Web Server upgrade from Release 4 to Release 5 does not modify the existing configuration data, which is left intact. You do not need to back up current data.

ProcedureTo Verify Current Version Information

    Type the following command:

    WebServer6-base\https-hostName.domainName\start -version

    This command returns the Web Server version information.

    Release 5

    Sun Java System Web Server 7.0

    Release 4

    Sun Java System Web Server 6.1 SP5

Upgrade Considerations

When upgrading Web Server software to Java ES Release 5 you should take into account the following considerations:


Note –

There are some issue with migration of Java ES 4 data to Java ES 5. For more information about Web Server migration issues, see the Sun Java System Web Server 7.0 Release Notes for Microsoft Windows.


ProcedureTo Upgrade Web Server

Before You Begin
  1. Log in as administrator

  2. Stop all running instances of Web Server and the Administration Server.

    WebServer6-base\https-instanceName\stop

    WebServer6-base\https-admserv\stop

  3. Install Java ES 5 Web Server.

    For Java ES 5 Web Server installation instructions, see the Sun Java Enterprise System 5 Installation Guide for Microsoft Windows.

  4. Start the Web Server Administration Server service.

    WebServer7Config-base\admin-server\bin\startserv

  5. Migrate Release 4 Web Server instance configurations to Release 5 configurations.

    You can use either the command-line (wadm migrate-server) or graphical user interface administration tools. For more information about data migration, see the Sun Java System Web Server 7.0 Installation and Migration Guide.

    For more information on wadm command and options, see the Sun Java System Web Server 7.0 CLI Reference Manual.

  6. Create Release 5 Web Server instances.

    You must create a new Release 5 instance for each migrated Release 4 instance. If you have migrated to the default configuration, a corresponding default instance already exists.

    • If you have not migrated to the default configuration:

      1. Before creating a new instance, verify the migration log and fix any issues in the migrated configuration.

      2. Type the create-instance command to create Web Server instances.

        WebServer7-base\bin\wadm create-instance --config=configName nodehost1 [nodehost2 ...nodehostN]

    • If you have not migrated to the default configuration:

      Deploy the corresponding configuration without first having to create the instance.

      WebServer7-base\bin\wadm deploy-config configName

  7. Start each Release 5 instance.

    WebServer7Config-base\https-configName\bin\startserv

ProcedureTo Verify the Upgrade

    Type the following command:

    WebServer6-base\https-hostName.domainName\start -version

    This command returns the Web Server version information.

    Release 5

    Sun Java System Web Server 7.0

    Release 4

    Sun Java System Web Server 6.1 SP5

Post-Upgrade Tasks

The main post-upgrade task concerns performing manual migration, if needed, of certain Release 4 data. This is data normally associated with one or more virtual servers configured for Release 4 and specified in the server.xml configuration file.

For more information about data migration, see the Web Server 7.0 Installation and Migration Guide.

ProcedureTo Roll Back the Upgrade

  1. Log in as administrator.

  2. Stop all running Web Server instances one by one.

    WebServer7Config-base\https-configName\bin\stopserv

  3. Remove the Release 5 Web Server installation.

    This step includes deleting all Release 5 instances and configurations.

  4. Restart the Web Server instances that were stopped when upgrading Web Server.

    For more information, see To Upgrade Web Server.