Upgrading SOA from 12.1.3 to 12.2.1.3

                             

                         

There are two options for upgrading:

In-Place Upgrade: In in-place upgrade you install SOA 12.2.1.3 in a new oracle home and upgrade the domain and DB in-place

Side-By-Side Upgrade: In side by side upgrade, you install SOA 12.2.1.3 in a new oracle home and create a new SOA 12.2.1.3 domain and DB. You then deploy all the composites and configure the 12.2.1.3 domain fully.

In this post i am following In-place upgrade.

SOA Domain Upgrade Restrictions: Because of limitations we cannot upgrade domains containing following configuration
  • Domains that include SOA Core Extensions cannot be upgraded
  • Domains that include the Cloud Adapters pack should not be upgraded
  • Domains that include Oracle Enterprise repository cannot be upgraded
 If we try to upgrade the domain with above configuration we will get the below errors
 CFGFWK-60971: The domain is not reconfigurable.
CFGFWK-60971: The domain did not contain information necessary to  determine how to reconfigure the domain.

                                             Here the domain I am upgrading don’t have the BAM and above restrictions. If you have BAM in your Domain in that case we have to perform Bam Specific Pre-Upgrade tasks which is not covered in this post.


High level Steps:
  •       Pre-upgrade tasks
  •       Install fmw_12.2.1.3.0_infrastructure.jar
  •      Install fmw_12.2.1.3.0_soa.jar
  •       Run upgrade Assistance
  •       Run reconfig


Pre-upgrade task
1.    Before you upgrade SOA 12.1.3 to SOA 12.2.1.3, you must back up your existing SOA environment
2.    As with any database repository upgrade, standard procedure dictates that you back up your database before you upgrade to a new database version
3.    Purging unused data before an upgrade can optimize the upgrade process Purging your closed instances can greatly improve the duration of the upgrade



Install fmw_12.2.1.3.0_infrastructure.jar

While installing infrastructure we gave the location of Oracle_Home  as “C:\Oracle\Middleware\Oracle_Home_12_2_1” . My previous Oracle_Home for 12.1.3 is “C:\Oracle\Middleware\Oracle_Home”




After installation, we will get following folders structure in new oracle home.


Install fmw_12.2.1.3.0_soa.jar 

While installing FMW choose new oracle home (Oracle_home_12_2_1)

 After installation of SOA jar if we directly use the Reconfig.cmd/Reconfig.sh we will get the following error





So, we need to first Upgrade SOA Schemas with the Upgrade Assistant



Run upgrade Assistance
 go to Oracle_Home_12_2_1\oracle_common\upgrade\bin  and  run ua.bat/ua.sh. This step will upgrade the already created Schemas as part of 12.1.3




It will upgrade all the necessary Schemas according to new version (12.2.1.3). We should provide sysdba privileges while schemas were upgraded


DEVTEST2_WLS already exists in 12.1.3 


Click upgrade and upgrade has to be success to proceed further.



Run Reconfig

Now go to Oracle_Home_12_2_1\oracle_common\common\bin click reconfig.cmd. Select the domain you want to upgrade



Provide RCU details and test for connection


In Next step, we are modifying the WLS schema as below mentioned in oracle document


Here we are modifying the DEV_WLS_RUNTIME to DEVTEST2_WLS and providing the host name and password 




Test the schema connections




If you want to change the already existing domain configuration like creating new managed servers and other configuration we can do here by selecting respective checkboxes. I am going with default existing domain settings





No comments:

Post a Comment