A Performing an Out-of-Place Domain Directory Upgrade

This section describes the process of upgrading your Fusion Middleware 11g domain directory to Release 12c (12.2.1) in a different domain directory, allowing you to keep your 11g domain directory intact.

The following topics are described in this chapter:

A.1 About Upgrading a Domain Directory Out of Place

When upgrading Oracle Fusion Middleware to 12c (12.2.1), schemas and domain directory upgrades are performed “in-place" which updates the existing 11g or 12c files during the upgrade.

If you prefer to leave your 11g domain directory intact, you can perform an out-of-place domain directory upgrade using a new domain directory on the same - or different - host using the steps described in this chapter.

Caution:

When performing an out-of-place domain directory upgrade, it is important to note that the 11g schemas will be upgraded in-place. Your 11g environment must be shut down during the out-of-place domain directory upgrade process.

A.2 Performing an Out-of-Place Domain Directory Upgrade on the Same Host

Perform the following tasks to complete the out-of-place domain directory upgrade on the same host at the existing 11g domain:

Note:

If you are upgrading domain that is on a different host, see Performing an Out-of-Place Domain Directory Upgrade on a Different Host.

A.2.1 Task 1: Stop all processes, including the Administration Server, Managed Servers, and Node Manager.

You must stop all processes, including the Administration Server, Managed Servers, and Node Manager, if they are started on the host. For example, to stop the Administration Server:

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

A.2.2 Task 2: Backup all files from the 11g domain.

Make sure that you have created a complete backup of your entire 11g deployment before you begin the upgrade process. These files can be used if there is an issue during the migration and you have to restart the process.

For more information on backing up your files, see "Backing Up Your Environment" in the Oracle® Fusion Middleware Administrator's Guide.

During the upgrade you must have “read" access to the files in the backup storage:

  • 11g Domain Home

  • The /nodemanager directory located in the MW_HOME/wlserver_10.3/common/

For more information, see "Backing Up Your Environment" in the Oracle® Fusion Middleware Administrator's Guide. Do not proceed with the upgrade until you have a complete backup.

A.2.3 Task 3: Restore the 11g domain backup files to a new location.

Copy the files you backed up in Task 2: Backup all files from the 11g domain. to a new location using the same directory structure that was used for the existing 11g environment. The directory structure you create for the upgrade must be identical to the structure used for the original 11g environment.

You will point to this location in Task 5: Upgrade the cloned environment using the standard upgrade procedures. .

A.2.4 Task 4: Install the 12.2.1 distributions in a new Oracle Home.

You must obtain, install and configure the 12c (12.2.1) product distributions for the components you will be upgrading.

For detailed instructions, see Planning an Installation of Oracle Fusion Middleware and the component-specific installation guides for the component(s) you are installing.

A.2.5 Task 5: Upgrade the cloned environment using the standard upgrade procedures.

Perform the upgrade on the domain you created in Task 3: Restore the 11g domain backup files to a new location. .

Each 12c (12.2.1) component has an upgrade guide that describes the procedures required to move from your 11g (11.1.1.6 or 11.1.1.7) or 12c (12.1.2) infrastructure topology to the new 12c (12.2.1) topology. The guides are located in the Upgrade tab of the Oracle Fusion Middleware 12c (12.2.1) online library.

A.2.6 Task 6: Validate that the newly upgraded domain functions as expected.

Perform the usual administration tasks using the new domain and verify that the components work as expected.

You do not need to decommission the 11g Oracle home, however if you would like to remove it, see Deinstalling the 11g Applications (Optional).

A.3 Performing an Out-of-Place Domain Directory Upgrade on a Different Host

A.3.1 Task 1: Stop all processes, including the Administration Server, Managed Servers, and Node Manager. (Host A)

You must stop all processes, including the Administration Server, Managed Servers, and Node Manager, if they are started on the host. For example, to stop the Administration Server:

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

A.3.2 Task 2: Backup all files from the host machine. (Host A)

Make sure that you have created a complete backup of your entire 11g deployment before you begin the upgrade process. These files can be used if there is an issue during the migration and you have to restart the process.

For more information on backing up your files, see "Backing Up Your Environment" in the Oracle® Fusion Middleware Administrator's Guide.

During the upgrade you must have “read" access to the files in the backup storage:

  • 11g Domain Home

  • The /nodemanager directory located in the MW_HOME/wlserver_10.3/common/

A.3.3 Task 3: Set up the target machine (Host B) with the 11g host name and IP address.

The host name and IP address of the target machine (Host B) must be made identical to the source host (Host A). This will require you to change the IP address and name of the source machine or decommission the source machine to avoid conflicts in the network.

The process of changing an IP address and host name vary by operating system. Consult your operating system's administration documentation for more information.

A.3.4 Task 4: Restore the 11g domain backup from Host A to Host B.

Restore the files you backed up in Task 2: Backup all files from the host machine. (Host A) using the same directory structure that was used in 11g. The directory structure on Host B must be identical to the structure used on Host A.

For detailed information about restoring your files to the target machine, see "Recovering Your Environment" in Oracle® Fusion Middleware Administrator's Guide.

A.3.5 Task 5: Install the 12.2.1 distributions in a new Oracle Home. (Host B)

You must obtain, install and configure the 12c (12.2.1) product distributions for the components you will be upgrading.

For detailed instructions, see Planning an Installation of Oracle Fusion Middleware and the component-specific installation guides for the component(s) you are installing.

A.3.6 Task 6: Upgrade the environment using the standard upgrade procedures. (Host B)

Each 12c (12.2.1) component has an upgrade guide that describes the procedures required to move from your 11g (11.1.1.6 or 11.1.1.7) or 12c (12.1.2 or 12.1.3) infrastructure topology to the new 12c (12.2.1) topology. The guides are located in the Upgrade tab of the Oracle Fusion Middleware 12c (12.2.1) online library.

The Node Manager upgrade procedure requires access to the original Node Manager files. Use the 11g Node Manger files that were backed up from the source machine as part of Task 3: Set up the target machine (Host B) with the 11g host name and IP address..

A.3.7 Task 7: Validate that the newly upgraded domain functions as expected.

Perform the usual administration tasks using the new domain and verify that the components work as expected.

You do not need to decommission the 11g Oracle home, however if you would like to remove it, see Deinstalling the 11g Applications (Optional).

A.4 Deinstalling the 11g Applications (Optional)

While not required, you can use these steps to deinstall the 11g application and domain setup after the upgrade. Do not deinstall a domain that is still being referenced by a non-upgraded component. If you are unsure, leave the domain intact.

Note:

The commands mentioned in this section must be run from the 11g Oracle Home that you are removing and not from the new home that was created as part of the 12c upgrade process.

  1. Shutdown all the 11g servers and processes (including the Admin Server, Managed Servers and Node Manager). For more information see "Starting and Stopping Oracle WebLogic Server Administration and Managed Servers" in the Oracle® Fusion Middleware Administrator's Guide.
  2. To remove the Oracle Home, start the Oracle Universal Installer in -deinstall mode.

    (UNIX) ORACLE_HOME/oui/bin

    ./runInstaller.sh -deinstall

    (Windows) ORACLE_HOME\oui\

    binsetup.exe -deinstall

  3. On the Deinstall screen, specify the 11g Oracle Home to deinstall. Click Deinstall to continue.
  4. On the Warning screen, select whether or not you want the OUI to remove the Oracle Home directory. Click Yes to have OUI remove the software and Oracle Home. There is no undo.
  5. To remove the 11g Oracle Common Home, start the Oracle Universal Installer in -deinstall mode from the following directory:

    (UNIX) ORACLE_HOME/oracle_common/oui/bin

    ./runInstaller -deinstall -jreLoc JRE_LOCATION

    (Windows) ORACLE_HOME\oracle_common\oui\

    binsetup.exe -deinstall -jreLoc JRE_LOCATION

  6. On the Deinstall screen, verify the Oracle Common Home that is about to be removed is the correct one and click Deinstall to continue.
  7. On the Warning screen, select whether or not you want to remove the Oracle Common Home directory. Click Yes to remove the software and Oracle Common Home.
  8. To remove the WebLogic Server, start the WebLogic Uninstall program from the following directory:

    (UNIX) ORACLE_HOME/utilw/uninstall

    ./uninstall.sh

    (Windows) ORACLE_HOME\utils\uninstall

    uninstall.exe

  9. Click Next to start the uninstall program.
  10. Select the components to uninstall by selecting the check boxes next to the installed components. Note that by default, all installed components are selected.
  11. After selecting the components to uninstall, click Next to complete the uninstall.