2 Upgrading a Standalone Oracle HTTP Server from 11g to 12c

This chapter describes the procedures for upgrading an 11g standalone Oracle HTTP Server to 12c (12.1.3); one that is not managed by, or registered to, an existing Oracle WebLogic Server (WLS) domain.

Caution:

If you are upgrading an Oracle WebLogic managed Oracle HTTP Server, see Oracle Fusion Middleware Upgrading to the Oracle Fusion Middleware Infrastructure. If you are unsure, see Determining if the OHS is Standalone or Managed (Colocated) to determine which OHS you are upgrading.

This chapter contains the following sections:

Note:

The information in this chapter assumes that you have read and performed any required pre-upgrade tasks in Oracle Fusion Middleware Planning an Upgrade of Oracle Fusion Middleware.

2.1 Important Pre-Upgrade Considerations

Before you begin the upgrade, carefully review the following sections to determine if upgrading your standalone 11g Oracle HTTP Server (OHS) to 12c (12.1.3) will cause any issues with your existing setup.

2.1.1 WebCache 11g Users

Consider the following limitations if you are using WebCache in your 11g environment:

  • There is no WebCache in 12c. Correspondingly, there is no upgrade for WebCache.

  • WebCache 11g front-ending a 12c OHS is not a certified combination.

  • If both WebCache and OHS are used in 11g, only the OHS can be upgraded to 12c. In that case, the 11g WebCache needs to be disabled and configuration changes have to be made to direct the traffic to OHS directly.

  • If both WebCache and OHS are used in 11g, and they are registered to a Oracle WebLogic Server (WLS) domain for administering them through Fusion Middleware Control, then the WLS domain also needs to be upgraded to 12c. In that case, the associated OHS will also be upgraded to 12c. However, the WebCache will be removed from the 12c Fusion Middleware Control.

2.1.2 WebGate 11g Users

WebGate is included as part of OHS 12c (12.1.3) installation and will be upgraded as part of the OHS upgrade process through Upgrade Assistant.

2.1.3 Application Artifacts from 11g

If you have 11g application artifacts that you will continue to use in 12c (12.1.3), carefully review the following:

  • As part of upgrading OHS from an 11g Oracle instance to a 12c domain, the OHS configuration directory layout is being migrated from an Oracle instance to a standalone domain.

  • Oracle HTTP Server 11g configuration files that reside in the component configuration directory of the Oracle instance will be migrated automatically.

  • Application artifacts that reside within the Oracle instance, including any combination of static files (such as HTML or images, CGI or FastCGI scripts or applications, or third-party modules), must be migrated manually after the upgrade to 12c (12.1.3).

    For more information, see Section 2.3.1, "Migrating 11g Application Artifacts".

2.2 Upgrading a Standalone Oracle HTTP Server (OHS)

Perform the following tasks to complete the standalone OHS upgrade:

Task 1   Installing the Standalone OHS

To start the installation program, perform the following steps.

  1. Log in to the target system.

  2. Go to the directory in which you downloaded the installation program.

  3. Launch the installation program by entering the following command:

    • On Linux:

      ./ohs_linux64.bin

    • On Windows:

      setup_ohs_win64.exe

    The installation program begins to install the software.

    For a description of each installation program screen, see "Navigating the Installation Screens" in Oracle Fusion Middleware Installing and Configuring Oracle HTTP Server.

Table 2-1 shows the standalone-specific installation options you should select on the installer screens.

CAUTION:

After the installation is complete, stop. You will start the Upgrade Assistant to create and configure the standalone OHS domain. DO NOT configure your new Oracle HTTP Server domain with the Configuration Wizard.

Table 2-1 Standalone Oracle HTTP Server Installation Options

Screen Description and Action

Installation Type

Select the first option Standalone HTTP Server (Managed independently of WebLogic server).

Click Next.

Surrounding text describes installation_type_sm.png.

Installation Summary

Review the Standalone OHS installation location, disk space and feature sets that will be installed. Click Install only after you have reviewed the information.


Task 2   Starting the Upgrade Assistant

To start the Upgrade Assistant using the graphical user interface, navigate to the oracle_common directory of the Oracle home where your products are installed.

  1. Change directory to ORACLE_HOME/oracle_common/upgrade/bin on Unix operating systems or ORACLE_HOME\oracle_common\upgrade\bin on Windows operating systems.

  2. Enter the following command to start the Upgrade Assistant.

    On UNIX operating systems:

    ./ua

    On Windows operating systems:

    ua.bat

Task 3   Completing the Upgrade Assistant Screens

Table 2-2 describes the screens that will appear when you are running the Upgrade Assistant from an Oracle home that contains a standalone Oracle HTTP Server installation.

If you need additional help with any of the upgrade screens, click the screen name.

Table 2-2 Upgrade Assistant Screens: Upgrading Standalone OHS

Screen Description

Welcome

This screen provides an overview of the Upgrade Assistant and some information about important pre-upgrade tasks.

Schemas or Standalone System Component Configurations

Select Standalone System Component Configurations.

Select Create a New Domain.

Click Next.

NOTE: The Create a New Domain option should only be used if upgrading from version 11g. If you already created a new 12.1.3 standalone domain for your upgraded 11g system components, you can extend the standalone domain with the standalone OHS using the Update an Existing Domain option.

The Update an Existing Domain option should only be used if you had previously run the UA and chose the Create a New Domain option.

Component List

Displays the standalone system component infrastructure and the Oracle HTTP Server that is available to upgrade.

Prerequisites

This screen requires you to acknowledge that all prerequisites have been met before you continue with the upgrade.

You must check all of the boxes before you can continue.

Instance Directories

When upgrading OHS, you must provide the directory location of the 11g instance that will be upgraded. This instance will be used as a basis for configuring the new 12c OHS instance. The 11g OHS installation will not be modified.

Click + to add additional 11g instance directories, if necessary.

Node Manager

Use this screen to create a new Node Manager for the standalone domain. If you select the Create new Domain option, choose a new username and password for the new Node Manager. You will need these credentials when you start the OHS instances that require the Node Manager for start-up.

NOTE: This screen displays only when the Create a New Domain option is selected. It does not appear when Update an Existing Domain is selected.

Examine

This screen displays the status of the Upgrade Assistant as it examines each component, verifying that the component is ready for upgrade.

If the Examine phase fails, see "Troubleshooting Your Upgrade" for information on resolving common upgrade errors.

Upgrade Summary

Use this screen to verify the upgrade options you selected. If you want to save these options to a response file, click Save and provide the location and name of the response file. Response files can be used later in a silent upgrade situation.

For more information about silent or command line installation, see "Performing Silent Upgrades" in Oracle Fusion Middleware Upgrading with the Upgrade Assistant.

Upgrade Progress

This screen shows the status of the upgrade process.

Upgrade Success

Or

Upgrade Failure

The upgrade was successful. The Post-Upgrade Actions window describes the manual tasks you must perform to make the component function in the new installation.

Or:

The upgrade failed for the specified component(s) and Upgrade Assistant will have to be restarted.

If the upgrade fails, see "Troubleshooting Your Upgrade" for information on resolving common upgrade errors.


Task 4   Performing Required Post-Upgrade Tasks

Depending on your environment, you may be required to perform additional post-upgrade tasks after the upgrade. See Performing Post-Upgrade Tasks to determine if any additional tasks are required for your use case scenarios.

Task 5   Verifying the Upgrade

To verify that the OHS upgrade was successful, launch the server and verify that it is working as expected. Successfully completing Tasks 6 and 7 will be your first indication of a successful upgrade.

If you experience post-upgrade issues, you will need to troubleshoot the installation and retry the upgrade. For more information, see "Troubleshooting Oracle HTTP Server" in Administering Oracle HTTP Server.

Task 6   Starting the Node Manager

To start Node Manager, go to the DOMAIN_HOME/bin directory.

On UNIX operating systems, start the Node Manager as shown below, using nohup and nm.out as an example output file:

./startNodeManager.sh >

On Windows operating systems, run:

startNodeManager.cmd

Note:

On Windows operating systems, it is recommended that you configure Node Manager to run as a startup service. This allows Node Manager to start up automatically each time the system is restarted.

For more information, see "Running Node Manager as a Startup Service" in Administering Node Manager for Oracle WebLogic Server.

Task 7   Starting the Standalone OHS Server

To start the standalone OHS server, go to the DOMAIN_HOME/bin directory and execute the following command:

On Unix operating systems:

DOMAIN_HOME/bin/startComponent.sh ohs_name

On Windows operating systems:

DOMAIN_HOME\bin\startComponent.cmd ohs_name

For more information, see "Starting and Stopping System Components" in Oracle Fusion Middleware Administering Oracle Fusion Middleware.

2.3 Performing Post-Upgrade Tasks

This section describes the post-upgrade tasks that are required for some upgrade scenarios. Not all tasks will apply to your upgrade scenario. Review the following sections and perform only those tasks that are applicable to your environment:

2.3.1 Migrating 11g Application Artifacts

You will have to manually migrate any 11g application artifacts that reside within the Oracle instance, including any combination of static files such as HTML or images, CGI or FastCGI scripts or applications, or third-party modules. Application artifacts that were referred to by the 11g configuration, but were stored in directories outside of the Oracle instance, will continue to be referenced by the migrated configuration used by Oracle HTTP Server 12c.

For example, if a third-party plug-in module was installed into the Oracle home with Oracle HTTP Server 11g, and the configuration referenced it by the Oracle home location using the configuration in the example below, the plug-in module must be installed manually into the Oracle home with 12c (12.1.3) Oracle HTTP Server or the upgraded configuration must be modified to reference it elsewhere.

LoadModule example_module "${ORACLE_HOME}/ohs/modules/mod_example.so"

Similarly, if static files were copied into the /htdocs directory within the 11g component configuration directory, then they too must be manually copied into the 12c (12.1.3) instance configuration directory or the upgraded configuration must be modified to reference it elsewhere. Other types of application artifacts must be manually migrated in a similar manner.