3 Upgrading an Oracle WebCenter Domain to 12c (12.2.1)

This section describes the general upgrade procedures for Oracle WebCenter 11g to Oracle WebCenter 12c. Additional component-specific tasks may be required.

The procedures outlined in the following sections describe the high-level process of upgrading a basic WebCenter 11g domain to 12c. Most upgrades follow these general procedures, but the actual upgrade procedures you will perform depend on which components are being upgraded. There may be additional pre- or post- upgrade procedures associated with your components. Therefore, you will need to locate the upgrade procedures for each component in your pre-upgrade environment to complete the domain upgrade.

For example, if your Oracle WebCenter 11g domain includes Oracle WebCenter Content and WebCenter Portal, you would need to follow the procedures described in Upgrading Oracle WebCenter Content to 12c and Upgrading Oracle WebCenter Portal 11g Installations.

Table 3-1 Standard Upgrade Procedures

Step Task

I

Performing a Readiness Check with the Upgrade Assistant

As part of your pre-upgrade testing, you ran a readiness check on your pre-upgrade environment. If any changes were made to the pre-upgrade environment , Oracle recommends that you run the pre-upgrade readiness check again.

2

Upgrading Schemas with the Upgrade Assistant

3

Reconfiguring the WebCenter Domain with the Reconfiguration Wizard

4

Upgrading the Component Configuration with the Upgrade Assistant

5

Performing Post-Upgrade Configuration Tasks

3.1 Performing a Readiness Check with the Upgrade Assistant

The Upgrade Assistant Readiness Check performs a read-only, pre-upgrade review of your existing Oracle Fusion Middleware schemas and Oracle WebLogic component configurations.

Caution:

Do not start the readiness check until you have completed the required pre-upgrade tasks. Specifically, make sure that you have disabled all obsolete components or the readiness check will fail.

  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 -readiness

    On Windows operating systems:

    ua.bat -readiness

    Provide the required information in each of the Upgrade Assistant screens. The screens you see will vary depending on the upgrade options you select. Use the online help for more information.

  3. Review the Readiness Report to determine if there are any issues with your pre-upgrade environment. If so, correct the issues and re-run the Upgrade Assistant in -readiness mode.

3.2 Upgrading Schemas with the Upgrade Assistant

The Upgrade Assistant allows you to upgrade individually selected schemas or all schemas associated with a domain. The option you select determines which Upgrade Assistant screens you will use.

To determine which schemas can be upgraded to this version, see Determining Which Schemas Can be Upgraded for WebCenter.

For more information about using the Upgrade Assistant to upgrade schemas, see "Upgrading Schemas with the Upgrade Assistant".

To launch the Upgrade Assistant:

  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

    Provide the required information in each of the Upgrade Assistant screens.

    Note:

    The screens you see will vary depending on the upgrade options you select. The screens in the table below should be used as reference only.
Screen Description Sample Screen

Upgrade Options

You have three options on this screen. When upgrading schemas (not configurations), you can select Individually Selected Schemas or All Schemas Used by a Domain.

Select Individually Selected Schemas only when the domain uses schemas that cannot be upgraded to this version of Fusion Middleware or schemas that you do not want to upgrade at this time.

img/GUID-6EB9B46B-24FD-4C94-B827-B976CC5F483F-default.png

Component List

UA automatically detects the products installed in the domain directory.

The Component List varies depending on what you currently have deployed in your domain.

img/GUID-652EE5C7-6D7E-4B3C-A43E-F9498199E89C-default.png

Prerequisites

You must read and select each option before you continue. Note that Upgrade Assistant does not validate that they prerequisites have been met.

img/GUID-9929FCD6-6163-4827-B43B-06B42E99D16B-default.png

Schema Credentials

Provide the connection details for the schema. Be sure to use the correct schema prefix for the schemas you are upgrading. The default prefix is DEV_.

img/GUID-90E769CA-9470-4F69-8D84-1C028E7A89A4-default.png

Examine

The Examine phase scans the component versions to determine if an upgrade is needed.

img/GUID-A9AFD1FB-27F3-4074-9B26-973A2AB326B3-default.png

Upgrade Summary

Review the summary and then click Upgrade to begin the actual upgrade process.

img/GUID-9AD13B6B-37E8-48BF-AAA0-CD700F7DF17F-default.png

Upgrade Progress

Monitor the upgrade progress from this screen.

img/GUID-F23851BF-10BF-4443-9691-81C37EE9F178-default.png

End of Upgrade

This screen returns the upgrade status: Success or Failure. Review the log report if the upgrade fails for any reason.

img/GUID-3B98FF3B-A438-4514-9D24-701EB57BBEE0-default.png

3.3 Reconfiguring the WebCenter Domain with the Reconfiguration Wizard

Note:

Do not start the domain reconfiguration process until you have created all of the required schemas. See Creating Schemas for WebCenter 12c

Start the Reconfiguration Wizard in graphical mode by doing the following:

  1. Log in to the system on which the domain resides.

    Open the command shell (on UNIX operating systems) or open a command prompt window (on Windows operating systems).

    Edition Based Database Users Only: If your schemas are configured with EBR database, a default edition name must be manually supplied before you run the Reconfiguration Wizard.

    Run the following SQL command to set the default edition:

    ALTER DATABASE DEFAULT EDITION = edition_name;

    where edition_name is the name of the child edition name.

  2. Navigate to the following directory:

    (UNIX) ORACLE_HOME/oracle_common/common/bin

    (Windows) ORACLE_HOME\oracle_common\common\bin

    where ORACLE_HOME is your Oracle home directory.

    (UNIX) ./reconfig.sh -log=<log_file> -log_priority=ALL (Windows) reconfig.cmd -log=<log_file> -log_priority=ALL

    Replace log_file with the absolute path of the log file you'd like to create for the domain reconfiguration session. This can be helpful if you need to troubleshoot the reconfiguration process.

    The parameter -log_priority=ALL ensures that logs are logged in fine mode.

    When you run the reconfig.cmd or reconfig.sh command, the following error message might be displayed to indicate that the default cache directory is not valid:

    *sys-package-mgr*: can't create package cache dir

    You can change the cache directory by setting the environment variable CONFIG_JVM_ARGS. For example:

    CONFIG_JVM_ARGS=-Dpython.cachedir= valid_directory

  3. Complete the Reconfiguration Screens as described in the table below.

    The Reconfiguration Wizard displays a sequence of screens listed in Reconfiguration Wizard Screens. Perform the respective action(s) for each of the screens. Note that you may not see every screen listed below. In addition, you may need to complete additional screens based on your environment setup. For more information, see "Reconfiguring WebLogic Domains" in Upgrading Oracle WebLogic Server.

Reconfiguration Screens:

Screen Description Screen

Select Domain

Provide the location of the 11g domain to be reconfigured.

Screens described in table.

Reconfiguration Setup Progress

During the reconfiguration setup process, the WebLogic Server core infrastructure is reconfigured for 12c, templates are applied, and views are created and validated.

Screens described in table.

Domain Mode and JDK

The JDK and other information can be provided on this screen (if not auto-populated with the JDK you want to use).

Screens described in table.

Database Configuration Type

Use this screen to provide the 11g database details for the prefix_MDS schema, 12c database details to load the new prefix_STB schema,

and to ensure prefix_OCS and prefix_MDS schemas are pointing to the 11g environment.

Screens described in table.

JDBC Component Schema

Once you provide the correct STB schema credentials and 11g schema owners, the information should auto-populate. Individual schema passwords must be updated in the auto-populated screen.

Screens described in table.

JDBC Component Schema Test

The Reconfiguration Wizard uses the information you provide to conduct a test connection.

Screens described in table.

Node Manager

Even though there was no node manager configuration in 11g, it must be configured for 12c. Provide the required details as shown below:

Screens described in table.

Reconfiguration Progress

Monitor the progress and status of the domain reconfiguration.

Screens described in table.

3.4 Upgrading the Component Configuration with the Upgrade Assistant

The Upgrade Assistant is used to update the location of the WebCenter component binaries in the 11g domain to point to the new 12c binaries. This ensures that when the Administration and managed servers start they will use the upgraded binaries

If you already upgraded schemas, you will run the Upgrade Assistant again to upgrade the component configurations. Navigate to the 12c Upgrade Assistant.

On UNIX operating systems:

./ua

On Windows operating systems:

ua.bat

Provide the required information in each of the Upgrade Assistant screens. The screens you see will vary depending on the upgrade options you select.

Screen Description Sample Screen

All Configurations

Use this screen to provide the location of the 11g domain so that the Upgrade Assistant can update the location of WebCenter binaries in the 11g domain. This enables the Administration server to pick up the 12c binaries when it is started.

Provide the location of the 11g domain.

Screens described in table.

Component List

The Upgrade Assistant scans the domain and identifies the components that will be upgraded.

Screens described in table.

Examine

Reviews the components in the domain and determines if an upgrade is necessary.

Screens described in table.

Upgrade Summary

Review the information and click Upgrade.

Screens described in table.

Upgrade Success

The 11g domain configurations are now upgraded for 12c.

Screens described in table.

3.5 Performing Post-Upgrade Configuration Tasks

You may have to perform additional configuration tasks after an upgrade depending on which components are in your deployment.

Note:

You may have additional post-upgrade tasks if your deployment contains the following:

Performing Post Upgrade Tasks for WebCenter Content

Performing Post-Upgrade Tasks for Oracle WebCenter Portal

3.5.1 Starting and Stopping Administration Server

You can start and stop the Oracle WebLogic Server Administration Server using the WLST command line or a script. When you start or stop the Administration Server, you also start or stop the processes running in the Administration Server, including the WebLogic Server Administration Console and Fusion Middleware Control.

For example, to start an Administration Server, use the following script:

DOMAIN_HOME/bin/startWebLogic.sh

To stop an Administration Server, use the following script:

DOMAIN_HOME/bin/stopWebLogic.sh 
       username password [admin_url]

3.5.2 Starting and Stopping the Node Manager

You can start Node Manager using the WLST command line or a script.

To start Node Manager, use the following script:

(UNIX) DOMAIN_HOME/bin/startNodeManager.sh
(Windows) DOMAIN_HOME\bin\startNodeManager.cmd

To stop Node Manager, close the command shell in which it is running.

3.5.3 Starting and Stopping the Managed Servers

To start or stop a WebLogic Server Managed Server using Fusion Middleware Control:

  1. From the navigation pane, expand the domain.

  2. Select the Managed Server.

  3. From the WebLogic Server menu, choose Control, then Start Up or Shut Down.

Alternatively, you can right-click the server, then choose Control, then Start Up or Shut Down.

You can use a script or WLST to start and stop a WebLogic Server Managed Server.

For example, to start a WebLogic Server Managed Server, use the following script:

(UNIX) DOMAIN_HOME/bin/startManagedWebLogic.sh
           managed_server_name admin_url 
(Windows) DOMAIN_HOME\bin\startManagedWebLogic.cmd
           managed_server_name admin_url

When prompted, enter your user name and password.

To stop a WebLogic Server Managed Server, use the following script:

(UNIX) DOMAIN_HOME/bin/stopManagedWebLogic.sh
            managed_server_name admin_url username password 
(Windows) DOMAIN_HOME\bin\stopManagedWebLogic.cmd 
            managed_server_name admin_url username password

3.5.4 Verifying the New Applications Work as Expected

Once all of the servers have been successfully started and stopped, open your component applications and make sure that everything is working as expected. Use your component-specific Administration and Developers guides to help you navigate the new features of your upgraded environment.