This chapter describes the process of upgrading your Fusion Middleware 11g domain directory to Release 12c (12.1.3) in a different domain directory, allowing you to keep your 11g domain directory intact.
The following topics are described in this chapter:
Section A.1, "About Upgrading a Domain Directory Out of Place"
Section A.2, "Performing an Out-of-Place Domain Directory Upgrade on the Same Host"
Section A.3, "Performing an Out-of-Place Domain Directory Upgrade on a Different Host"
When upgrading Oracle Fusion Middleware to 12c (12.1.3), schemas and domain directory upgrades are performed ”in-place” which updates the existing 11g or 12.1.2 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.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.Task 3, "Restore the 11g domain backup files to a new location."
Task 4, "Install the 12.1.3 distributions in a new Oracle Home."
Task 5, "Upgrade the cloned environment using the standard upgrade procedures."
Note:
The Fusion Middleware 12c certification matrix includes 12.1 databases. Hence, the reference to 11 in this chapter is to the Fusion Middleware 11g schemas and not to the Oracle 11g database version.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]
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/
Note:
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.Copy the files you backed up in Task 2 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.
You must obtain, install and configure the 12c (12.1.3) product distributions for the components you will be upgrading.
For detailed instructions, see Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware and the component-specific installation guides for the component(s) you are installing.
Perform the upgrade on the domain you created in Task 3.
Each 12c (12.1.3) 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.1.3) topology. The guides are located in the Upgrade tab of the Oracle Fusion Middleware 12c (12.1.3) online library.
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 Section A.4, "Deinstalling the 11g Applications (Optional)".
Task 3, "Set up the target machine (Host B) with the 11g host name and IP address."
Task 4, "Install the 12.1.3 distributions in a new Oracle Home."
Task 5, "Upgrade the cloned environment using the standard upgrade procedures."
Note:
The Fusion Middleware 12c certification matrix includes 12.1 databases. Hence, the reference to 11 in this chapter is to the Fusion Middleware 11g schemas and not to the Oracle 11g database version.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]
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/
Note:
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.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.
Restore the files you backed up in Task 2 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.
You must obtain, install and configure the 12c (12.1.3) product distributions for the components you will be upgrading.
For detailed instructions, see Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware and the component-specific installation guides for the component(s) you are installing.
Each 12c (12.1.3) 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.1.3) topology. The guides are located in the Upgrade tab of the Oracle Fusion Middleware 12c (12.1.3) online library.
Tip:
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.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 Section 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.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.
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
On the Deinstall screen, specify the 11g Oracle Home to deinstall. Click Deinstall to continue.
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.
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
On the Deinstall screen, verify the Oracle Common Home that is about to be removed is the correct one and click Deinstall to continue.
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.
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
Click Next to start the uninstall program.
Select the components to uninstall by selecting the check boxes next to the installed components. Note that by default, all installed components are selected.
After selecting the components to uninstall, click Next to complete the uninstall.