Tuesday, December 10, 2013

R12.2 Configuration Management Tools

 R12.2 Highlights

  • This release is largely focused on providing new technology stack components, new configuration options, and new system management tools.
  • Supports for Online Patching.
  • Use of Oracle WebLogic Server instead of AutoConfig for many (but not all) of AutoConfig's previous functions.
  • Use of Oracle WebLogic Server instead of Oracle Containers for Java (OC4J).
  • Integration between Oracle Enterprise Manager 11g Fusion Middleware Control and Oracle Applications Manager to monitor EBS environments with Oracle WebLogic Server technology.
  • Enhanced Workflow Worklist notification and management features.

Configuration Management Tools
  • Fusion Middleware Control
    • This tool provides a high-level view of Oracle WebLogic Server (WLS)
    • It is used to configure Oracle HTTP Server
    • Fusion Middleware Control also includes links to Oracle Application Manager and Oracle WebLogic Server Admin Console.
  • WebLogic Server Administration Console
    • Manage Oracle WebLogic Server settings and managed servers.
  • Oracle Application Manager and AutoConfig
    • Handles Oracle E-Business Suite settings and Database Settings
What happened to OC4J ? What is Weblogic doing ?

In Oracle E-Business Suite Release 12.2, OC4J has been replaced with Oracle WebLogic Server.
This has resulted in a reduced role for AutoConfig in the configuration of the Oracle HTTP Server and the oacore, oafm, forms and forms-c4ws services.

Configuration Management Changes in Release 12.2

Configuration Activity - Oracle E-Business Suite Database, Concurrent Processing, Oracle Developer 10g, profile options, and other Oracle E-Business Suite components.

Prior to Release 12.2
  • Oracle Applications Manager.
In Release 12.2
  • Oracle Applications Manager.

Configuration Activity - Changes to HTTP Configuration.

Prior to Release 12.2
  • All HTTP configuration was managed via AutoConfig templates. 
  • Configuration changes were done by editing the respective context variables and subsequently running AutoConfig.
In Release 12.2
  • Most HTTP configuration is managed via native Oracle WebLogic Server tools, Fusion Middleware Control, or manually editing of the configuration files. 
  • Only a limited set of HTTP configuration files are maintained via AutoConfig. 

Configuration Activity - Changes to configuration of oacore, oafm, forms and forms-c4ws services.

Prior to Release 12.2
  • All configuration settings for the oacore, oafm, forms and forms-c4ws services were managed via AutoConfig templates. 
  • Configuration changes were accomplished by editing context variables and running AutoConfig.
In Release 12.2
  • Properties for the oacore, oafm, forms and forms-c4ws services, including the classpath and JVM arguments, need to be updated through native WebLogic tools such as WebLogic Administration Console. 
  • The context variable values are used only to set the initial values during managed server creation.

Configuration Activity - Managing JVM instances of the oacore, oafm, forms and forms-c4ws services.

Prior to Release 12.2
  • The number of instances of a service was controlled via Oracle Process Manager (OPMN). 
  • This number could be modified by editing the nprocs context variable, running AutoConfig, then stopping and restarting the services.
In Release 12.2
  • Each JVM instance of a service corresponds to a managed server of that service type. 
  • The number of instances needs to be controlled by explicitly creating or deleting managed servers for the service.

Saturday, December 7, 2013

FS_CLONE Phase Scenario - R12.2 Online Patching Cycle

Scenario

You have noticed that the on the patch edition there are lot of patches applied. You did the cutover and now customer wants to begin the next patching cycle. Since there are lots of patches applied you decided to do file system cloning.





Before we start, the basic requirement of the /tmp file system should be +10GB for the cloning.
Unfortunately not all servers can expand /tmp , so to work around you can redirect the temporary location using the below parameter.

$ export T2P_JAVA_OPTIONS="-Djava.io.tmpdir=/inst122i/product/tmp"
$ adop phase=fs_clone

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


RUN file system context file: /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
PATCH file system context file: /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

************* Start of  session *************
 version: 12.2.0
 started at: Sat Nov 16 2013 22:06:44

APPL_TOP is set to /inst122i/applmgr/fs2/EBSapps/appl
  [START 2013/11/16 22:07:12] adzdoptl.pl run
    ADOP Session ID: 8
    Phase: fs_clone
    Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/adop_20131116_220620.log
        [EVENT]     [START 2013/11/16 22:07:19] CLONE Patch File System from Run File System
          [EVENT]     Calling: /inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl

Program :  started @ Sat Nov 16 22:07:22 2013

*** Log File = /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/TXK_SYNC_create_Sat_Nov_16_22_07_22_2013/txkADOPPreparePhaseSynchronize_Sat_Nov_16_22_07_22_2013.log



Beginning application tier FSCloneApply - cloneContext Sat Nov 16 22:07:30 2013

This block prepares the instance for cloning by validating the PATCH and the RUN environment.

/inst122i/applmgr/fs2/FMW_Home/webtier/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/oui/jlib/share.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /tmp -nodbac -component cloneContext -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log

Target System Fusion Middleware Home set to /inst122i/applmgr/fs1/FMW_Home

Target System Web Oracle Home set to /inst122i/applmgr/fs1/FMW_Home/webtier

Target System Appl TOP set to /inst122i/applmgr/fs1/EBSapps/appl

Target System COMMON TOP set to /inst122i/applmgr/fs1/EBSapps/comn

Target System Instance Top set to /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01

Report file located at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst
Complete port information available at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /inst122i/applmgr/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162207.log
contextfile=/inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
Completed FSCloneApply...
Sat Nov 16 22:07:36 2013



Beginning application tier FSCloneStage - Sat Nov 16 22:07:42 2013

This block zips the required files from the RUN edition and moves it to the stage directory.

/inst122i/applmgr/fs2/FMW_Home/jrockit32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/oui/jlib/share.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneStageAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /tmp -component appsTier -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneStageAppsTier_11162207.log
Completed FSCloneStage...
Sat Nov 16 23:38:24 2013



Beginning application tier FSCloneApply - Sat Nov 16 23:41:13 2013

This block unzips the files from the staging directory into the relevant directory under the PATCH edition.
Runs autoconfig and deploys application into the weblogic domain.

/inst122i/applmgr/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/java:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/ewt3.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/oui/share.jar:/inst122i/applmgr/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/inst122i/applmgr/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/inst122i/applmgr/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.FSCloneApplyAppsTier -e /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -targ /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -stage /inst122i/applmgr/fs2/EBSapps/comn/clone -tmp /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appltmp -nodbac -component appsTier -nopromptmsg
Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Target System Fusion Middleware Home set to /inst122i/applmgr/fs1/FMW_Home

Target System Web Oracle Home set to /inst122i/applmgr/fs1/FMW_Home/webtier

Target System Appl TOP set to /inst122i/applmgr/fs1/EBSapps/appl

Target System COMMON TOP set to /inst122i/applmgr/fs1/EBSapps/comn

Target System Instance Top set to /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01
Report file located at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst
Complete port information available at /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/temp/portpool.lst

Creating the new APPL_TOP Context file from :
  /inst122i/applmgr/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log
contextfile=/inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml

Log file located at /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/admin/log/FSCloneApplyAppsTier_11162341.log

Completed FSCloneApply...
Sun Nov 17 00:13:20 2013


cmd = /inst122i/applmgr/fs2/FMW_Home/jrockit32/jre/bin/java -classpath /inst122i/applmgr/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/inst122i/applmgr/fs2/EBSapps/comn/java/classes -mx256m  oracle.apps.ad.tools.configuration.ADOPCustomSyncUp -contextFile /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml -custSyncDrv /inst122i/applmgr/fs_ne/EBSapps/appl/ad/custom/adop_sync.drv -logFile /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/TXK_SYNC_create_Sat_Nov_16_22_07_22_2013/txkADOPCustomSyncUp.log -promptmsg 'hide'
Copying PS artifacts from RUN to PATCH fs for exectier
Copying SNO artifacts from RUN to PATCH fs for exectier
ADOP Custom Synchorization successfully run

Program :  completed @ Sun Nov 17 00:42:44 2013

        [EVENT]     [END   2013/11/17 00:42:45] CLONE Patch File System from Run File System
          [EVENT]     [START 2013/11/17 00:43:03] Check and Stop Patch FS Admin Server

You are running adadminsrvctl.sh version 120.10.12020000.4

Stopping WLS Admin Server...
Refer /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/logs/appl/admin/log/adadminsrvctl.txt for details

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/logs/appl/admin/log/adadminsrvctl.txt for more information ... 

          [EVENT]     [END   2013/11/17 00:43:18] Check and Stop Patch FS Admin Server
    [START 2013/11/17 00:43:23] Generating AD_ZD_LOGS Report
        [EVENT]     Report: /inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql

        [EVENT]     Output: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/fs_clone_20131116_220620/INST122I_testserver01/adzdshowlog.out

    [END   2013/11/17 00:43:28] Generating AD_ZD_LOGS Report
  [END   2013/11/17 00:43:29] adzdoptl.pl run
  adop phase=fs_clone - Completed Successfully

  Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/8/adop_20131116_220620.log

adop exiting with status = 0 (Success)
$



Popular Posts