Upgrade Oracle WebTier 11gR1 –from 11.1.1.6 to 11.1.1.7

Upgrade Oracle WebTier 11gR1 –from 11.1.1.6 to 11.1.1.7

The following topic is to upgrade Oracle WebTier 11gR1 –from 11.1.1.6 to 11.1.1.7.  The reference document: Doc ID 2002603.1

Instance Specification:

  • EBS 12.2.4
  • WebLogic Server 10.3.6.0.4

Ensure that the patchset is listed in the inventory by running below command from WebTier and Oracle Common Homes.

$ export ORACLE_HOME=$FMW_HOME/webtier
$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc

$ export ORACLE_HOME=$FMW_HOME/oracle_common
$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc

Up-gradation steps:

Ensure Oracle E-Business Suite patching cycle is complete:

Use the following command to verify completion of all pending Online Patching activities:

$ adop –status

a) Start new online patching cycle

Source the run edition environment file:

$. EBSapps_VIR122.env run

$ adop phase=prepare

b) Source the patch edition environment file

Oracle WebTier upgrade for Oracle E-Business Suite 12.2 should be performed using patch file                system.

From a separate session, source the patch edition environment file:

$ . EBSapps_VIR122.env  patch

c) Identify Oracle Homes of the Patch file system To Be Upgraded For Oracle E-Business Suite Release 12.2

The following table shows the Oracle Homes to be Upgraded and their respective installation locations

Set the below path.

cd $FMW_HOME/wlserver_10.3/server/bin

.  setWLSEnv.sh

export ORACLE_HOME=$FMW_HOME/webtier

export PATH=$ORACLE_HOME/OPatch:$PATH

Oracle Home Installation Location
WebTier Home $FMW_HOME/webtier
Oracle Common Home $FMW_HOME/oracle_common

d) Download And Unzip Oracle WebTier 11gR1 – 11.1.1.7

Download the software from Downloads for Oracle WebTier Utilities,

mv $FMW_HOME/webtier/OPatch $FMW_HOME/webtier/OPatch_orig

unzip ofm_webtier_linux_11.1.1.7.0_64_disk1_1of1.zip

 e) Upgrade the Oracle WebTier Using runInstaller

cd  Disk1

./runInstaller

Ensure that you select- “Install Software – Do Not Configure” in the 3rd step of installer.

Give the “$FMW_HOME/webtier” home of PATCH file system in 5th step of installer.

f) Perform Post-Upgrade Tasks:

Start WebLogic Admin Server from the patch file system

Before performing the post-upgrade tasks, start WebLogic Admin Server from the patch file system, using the forcepatchfs option to check if everything coming up or not:

$ adadminsrvctl.sh start forcepatchfs

NonJ2EEManagement Application deployment

  1. The Administration Server is up and running.
  2. The ORACLE_HOME environment variable has been set to $FMW_HOME/webtier
  3. The OPMN instance in the bin directory in the Instance home is up and running.

Set the path of ORACLE_INSTANCE  to patch file system below path.

export ORACLE_INSTANCE =$FMW_HOME/webtier/instances/<instance_name>

Start the OPMN services if not up already.

cd $ORACLE_INSTANCE/bin

./opmnctl start

Deploy the NonJ2EEManagement using below command

./upgradenonj2eeapp.sh

-oracleInstance <Instance_Home_Location>

-adminHost <WebLogic_Server_Host_Name>

-adminPort <administration_server_port_number>

-adminUsername <administration_server_user>

-adminProtocol t3

Issue faced : If you encounter the Command failed: NonJ2EEManagement Application deployment failed error while running the upgradenonj2eeapp script, perform the following steps to diagnose and correct the problem (reference bug 16633452):

  1. Log in to WebLogic Server Admin Console on the patch file system.
  2. Stop the application for “NonJ2EEManagement (11.1.1)”.
  3. Click ‘Lock & Edit’.
  4. Remove the deployment NonJ2EEManagement (11.1.1) from WebLogic Admin Console.
  5. Click on ‘Activate Changes’ to save the changes.
  6. Deploy the ear file using the following command

Redeploy the script:

$ export ORACLE_HOME=$FMW_HOME/webtier
$ cd $ORACLE_HOME/opmn/bin
$ ./opmnctl redeploy -oracleInstance \
$FMW_HOME/webtier/instances/EBS_web_<dbsid>_OHS<n> \
-adminHost <admin host> -adminPort <admin port> \
-adminUsername weblogic

Register the Instance using the following command:

$ export ORACLE_HOME=$FMW_HOME/webtier
$ cd $ORACLE_HOME/opmn/bin
$ ./opmnctl registerinstance -oracleInstance \
$FMW_HOME/webtier/instances/EBS_web_<dbsid>_OHS<n> \
-adminHost <admin host> -adminPort <admin port> \
-adminUsername weblogic

After this retry deployment of the NonJ2EEManagement application.

g) Verify services on patch file system  as the upgrade done on patch file system:

Run EBS Check Dependency TXK script before starting managed Servers. Execute below command on patch file system:

$FND_TOP/bin/txkrun.pl -script=ChkEBSDependecies -server=ALL_SERVERS

  1. Navigate to WebLogic Server’s Admin Console:

“http://<s_wls_admin_host>.<s_ wls_admin_domain>:<s_wls_admin port>/console”

Derive context variable values using patch edtion CONTEXT_FILE

  1. Start managed servers on patch file system using WebLogic Server’s Admin Console
  2. Ensure all managed servers are running
  3. Once verified, bring down all managed services and admin server on patch file system using WebLogic Server’s Admin Console.

h) Manually update JRF:

wls:/offline> upgradeJRF(‘/opt/apps/VIR122/fs1/FMW_Home/user_projects/domains/EBS_domain_VIR122’)
upgradeJRF: skip, JRF is up-to-date.

In my case the JRF was  up to date.

Ensure that the patchset is listed in the inventory by running below command from WebTier and Oracle Common Homes.

The output should show the version 11.1.1.7

$ export ORACLE_HOME=$FMW_HOME/webtier
$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc

$ export ORACLE_HOME=$FMW_HOME/oracle_common
$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -invPtrLoc $ORACLE_HOME/oraInst.loc

i) Run Autoconfig

Run AutoConfig on the patch file system, and ensure that it completes successfully.

j) Cut Over To Newly Upgraded Patch File System:

Enter the following command to cut over to the newly upgraded patch file system:

$ adop phase=cutover

k) Synchronize Run and Patch File Systems:

Run the below to clone the patch file from run file system from run file system.

$ adop phase=fs_clone

Hope this block is helpful. Keep learning 🙂

 

 

 

 

 

Sonam

Passionate to learn, love to travel and happy to eat.

5 thoughts on “Upgrade Oracle WebTier 11gR1 –from 11.1.1.6 to 11.1.1.7

  • November 9, 2017 at 6:32 pm
    Permalink

    Nicely Written,easy to understand.
    Keep writing.

     
    Reply
  • May 4, 2019 at 1:51 pm
    Permalink

    Hi, eatravelearn.info

    I’ve been visiting your website a few times and decided to give you some positive feedback because I find it very useful. Well done.

    I was wondering if you as someone with experience of creating a useful website could help me out with my new site by giving some feedback about what I could improve?

    You can find my site by searching for “casino gorilla” in Google (it’s the gorilla themed online casino comparison).

    I would appreciate if you could check it out quickly and tell me what you think.

    casinogorilla.com

    Thank you for help and I wish you a great week!

     
    Reply
  • June 27, 2019 at 7:51 am
    Permalink

    Oh man What might I tell? Really… really liked the contentThank you so much!

     
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *