INTERVIEW QUESTIONS ====================== 1.

If the patch fails for one of the prerequisite patches then how do address this issue ?. The patch information is stored in 2 tables in the database and appltop/admin/twotask/restrt/.rf9 files. table names : FND_INSTALL_PROCESSES AD_DEFFERED_JOBS So we have to take backup of these two tables and the .rf9 files. Apply the prerequisite patch with the appopriate option. This patch will drop the above mentioned tables. Restore the above tables and .rf9 files. Start the next patch and say yes for the question : do you want to continue from the previous session. 2. What issues you encountered while converting OFA To OATM ?. The tool FND_TOP/bin/fndtsmig.pl was asking for the sys pwd and it was not validating even the correct pwd given for sys. Then I have set the 07_DICTIONARY_ACCESSIBILTY=TRUE and bounced instance. This resolved the issue. ############################################################################ NOTES ========== Directories ----------APPL_TOP : Where the Apps files reside. (/m03/db1/appltop) COMMON_TOP : Where the common files resides (/m03/db1/commontop) 806 : Forms , Reports run time engine (/m02/db1/806) IAS : Webserver and Front-end connectivity enginge (/m02/db1/ias) Environment Variables ---------------------DB TIER ------[oracle@srvr33 bin]$ echo $ORACLE_HOME /m01/db2/rdbms APPS TIER ---------[applmgr@srvr33 db2]$ echo $APPL_TOP /m03/db2/appltop [applmgr@srvr33 db2]$ echo $COMMON_TOP

/m03/db2/commtop [applmgr@srvr33 appltop]$ echo $ORACLE_HOME /m02/db2/806 [applmgr@srvr33 appltop]$ echo $IAS_ORACLE_HOME /m02/db2/ias [applmgr@srvr33 appltop]$ echo $JAVA_TOP /m03/db2/commtop/java [applmgr@srvr33 appltop]$ echo $APPLCSF /m03/db2/commtop/admin [applmgr@srvr33 appltop]$ echo $AD_TOP /m03/db2/appltop/ad/11.5.0 [applmgr@srvr33 appltop]$ echo $FND_TOP /m03/db2/appltop/fnd/11.5.0 Apps Version ------------11.5.9 11.5.10.0 11.5.10.2 12.0.0.0 DB version ---------9.2.0.3 9.2.0.5 9.2.0.6 10g

Admin Scripts Location -----------------------Apps Tier --------/m03/db2/commtop/admin/scripts/db2_srvr33 ls -l awk '{print $9}' adalnctl.sh adautocfg.sh adcmctl.sh addisctl.sh adexecsql.pl adpreclone.pl adrepctl.sh adstpall.sh adstrtal.sh gsmstart.sh Db Tier ------/m01/db2/rdbms/appsutil/scripts/db2_srvr33 ls -l awk '{print $9}' adautocfg.sh adchknls.pl addbctl.sh addlnctl.sh adexecsql.pl adlsnodes.sh adpreclone.pl adstopdb.sql adstrtdb.sql

########################################################################### APPS AND DATABASE TIER CLONING ================================== 1. Manual Cloning (Hot & Cold) 2. Rapid Cloning 3 Refreshing DB only (Hot & Cold) 4. Rman Cloning ############################################################################# MANUAL CLONING =============== DB TIER ====== Existing db is db3 and cloned one is db4 STEPS ======= 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. Install the apps software and create the database. Create new directories for cloning the RDBMS and Database and APPS. Apply the patch for the interoperability for Listener. Apply patch to upgrade the OUI if you want to do rapid clone. Tar the RDBMS home copy the tar file and untar at the new location. Take backup of /etc/inventory.xml file. Set the environment by setting the variables to the new name db4. Run the env file. Relink the rdbms executables. Register the OH. Build the xml file. Run the autoconfig. Generate the backup control file to trace at the source db. Shut down the source db and listener. Copy the datafiles, ctl files, redo logs to db4 folder. Edit the pfile with the relavant changes. Edit the create control file script with the relavant changes. Run the create control file.

EXERCISE =========== 1. Install the apps software and create the database. [root@srvr33 ~]# cd /stage/1159/startCD/Disk1/rapidwiz ./rapidwiz 2. Create new directories for cloning the RDBMS and Database and APPS. [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# mkdir mkdir mkdir mkdir chown chown chown chown -p -p -p -p -R -R -R -R /m01/db4/rdbms /prod/db4/oradata /m02/db4/{806,ias} /m03/db4/{appltop,commtop} oracle:dba /m01/db4 applmgr:dba /m02/db4 applmgr:dba /m03/db4 oracle:dba /prod/db4

[root@srvr33 ~]# chmod -R 777 /prod/db4 [root@srvr33 ~]# chmod -R 777 /m01/db4 [root@srvr33 ~]# chmod -R 777 /m02/db4 [root@srvr33 ~]# chmod -R 777 /m03/db4 [root@srvr33 ~]# ll /m03/db4 total 8 drwxrwxrwx 2 applmgr dba 4096 Jan 20 13:19 appltop drwxrwxrwx 2 applmgr dba 4096 Jan 20 13:19 commtop [root@srvr33 ~]# ll /m02/db4 total 8 drwxrwxrwx 2 applmgr dba 4096 Jan 20 13:18 806 drwxrwxrwx 2 applmgr dba 4096 Jan 20 13:18 ias [root@srvr33 ~]# ll /m01/db4 total 4 drwxrwxrwx 2 oracle dba 4096 Jan 20 13:13 rdbms [root@srvr33 ~]# ll /prod/db4 total 4 drwxrwxrwx 2 oracle dba 4096 Jan 20 13:15 oradata 3. Apply the patch for the interoperability for Listener. (Not Necessary,because already been applied in source database) Login as a applmgr user & run env file before applying a patch. [applmgr@srvr33 3830807]$ . /m03/db3/appltop/APPSdb3_srvr33.env ./patch.sh 4. Apply patch to upgrade the ADX.F & OUI if you want to do rapid clone. 5. Tar the RDBMS home cd /m01/db3/rdbms tar -cvf rdbmsdb3.tar * 6. copy the tar file and untar at the new location. cp /m01/db3/rdbms/rdbmsdb3.tar /m01/db4/rbdms/. cd /m01/db4/rbdms/ tar -xvf rdbmsdb3.tar 7. Take backup of /etc/inventory.xml file. cp /etc/oraInventory/ContentsXML/inventory.xml inventory.xml_bkp 8. Set the environment by setting the variables to the new name db4. cd /m01/db4/rbdms/ mv db3_srvr33.env db4_srvr33.env vi db4_srvr33.env Edit this file with db4 for all the occurances of db3 :%s/db3/db4/g 9. Run the env file. . /m01/db4/rdbms/db4_srvr33.env 10. Relink the rdbms executables. which relink /m01/db4/rdbms/bin/relink relink all 11. Register the OH. cd /m01/db4/rdbms/oui/bin ./runInstaller -attachHome ORACLE_HOME=/m01/db4/rdbms ORACLE_HOME_NAME=db4rdbms "INVENTORY_LOCATION=/etc/oraInventory" In case this above command fails modify the inventory.xml file with this entry <HOME NAME="rdbms_db4" LOC="/m01/db4/rdbms" TYPE="O" IDX="28"/>

12. Build the xml file. cd /m01/db4/rdbms/appsutil/ mv db3_srvr33.xml db4_srvr33.xml vi db4_srvr33.xml :%s/db3/db4/g :%s/1525/1558/g 13. Run the autoconfig. Enter the full path to the context file: /m01/db4/rdbms/appsutil/db4_srvr33.xml Enter the APPS user password: apps Using AutoConfig to configure the Database environment Loading ORACLE_HOME environment from /m01/db4/rdbms Using context: /m01/db4/rdbms/appsutil/db4_srvr33.xml Context Value Management will now update the context file Updating context file ... COMPLETED updating rdbms version in context file to db920 updating rdbms type to 32 bits in context file Configuring templates from ORACLE_HOME ... The logfile for this session is located at: /m01/db4/rdbms/appsutil/log/ db4_srvr33/01200257/adconfig.log Note: verify whether Tnsnames.ora & Listener.ora file updated with db4 or not 14. Generate the backup control file to trace at the source db. Alter database backup controlfile to trace; 15. 16. 17. 18. Shut Copy Edit Edit down the source db the datafiles, ctl the pfile with the the create control and listener. files, redo logs to db4 folder. relavant changes. file script with the relavant changes.

CREATE CONTROLFILE REUSE SET DATABASE "DB4" RESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 5 MAXDATAFILES 512 MAXINSTANCES 1 MAXLOGHISTORY 7260 LOGFILE GROUP 1 ( '/prod/db4/oradata/log01a.dbf', '/prod/db4/oradata/log01b.dbf' ) SIZE 10M, GROUP 2 ( '/prod/db4/oradata/log02a.dbf', '/prod/db4/oradata/log02b.dbf' ) SIZE 10M DATAFILE '/prod/db4/oradata/system01.dbf', ............................... '/prod/db4/oradata/system03.dbf', ALTER DATABASE OPEN RESETLOGS;

9 db3 Note:db3 get modified to db4 after running autoconfig in AppsTier. Drop & recreate Directory Objects.env db4_srvr33.BSS. COMPLETED updating rdbms version in context file to db920 updating rdbms type to 32 bits in context file Configuring templates from ORACLE_HOME .. 25.env 22. Change sys & system pwd if needed. Add the Tempfiles to the database ALTER TABLESPACE TEMP ADD TEMPFILE '/prod/db4/oradata/temp01.log APPS TIER ========== 1.. Relink the 806 Home a)Modify the Env file [applmgr@srvr33 806]$ mv db3_srvr33.COM SQL> alter database rename global_name to db4. Connect To The database update the Global_name SQL> select * from global_name. 3.19. 24.COM SQL> conn apps/apps Connected. 21.5. The logfile for this session is located at: /m01/db4/rdbms/appsutil/log/db4_ srvr33/01200438/adconfig. Tar all the files in 806.US. Drop & recreate DBLINKS. Copy & UnTar the Tar file to respective Locations of Detination. Database altered. .dbf' SIZE 1048576000 REUSE AUTOEXTEND OFF.sh Enter the APPS user password: apps Using AutoConfig to configure the Database environment Loading ORACLE_HOME environment from /m01/db4/rdbms Using context: /m01/db4/rdbms/appsutil/db4_srvr33.. 23.xml Context Value Management will now update the context file Updating context file . RELEASE_NAME APPLICATIONS_SYSTEM_NAME -----------------------------11.ORACLE.commtop.APPLICATIONS_SYSTEM_NAME from fnd_product_groups. SQL> select RELEASE_NAME. GLOBAL_NAME ---------------------------------------------------------------------DB4.bss. Run the create control file in startup nomount state @controlfile. SQL> select * from global_name.ias./adautocfg. GLOBAL_NAME ------------------------------------DB3. Run The autoconfig in dbTier [oracle@srvr33 db4_srvr33]$ .sql 20. 2.appltop.com..

mk ins_graphics60d.mk ins_nau.mk install Note:Update the below entry in inventory.mk env_oemagent.mk install [applmgr@srvr33 806]$ cd network/lib/ [applmgr@srvr33 lib]$ ls *mk env_network.env [applmgr@srvr33 ias]$ cd network/lib/ [applmgr@srvr33 lib]$ ls *mk env_network.env [applmgr@srvr33 appltop]$ cd admin/ [applmgr@srvr33 admin]$ ls adovars.mk ins_oemagent.env [applmgr@srvr33 appltop]$ vi db4_srvr33.mk env_forms60.mk ins_names.mk ins_procbuilder.mk ins_net_server.env .env [applmgr@srvr33 appltop]$ vi APPSdb4_srvr33.xml <HOME NAME="APPS_ias" LOC="/m02/db4/ias" TYPE="O" IDX="29"/> 5.mk [applmgr@srvr33 lib]$ make -f ins_net_client.mk cus_graphics60r.env [applmgr@srvr33 admin]$ vi adovars.env db4_srvr33.env. Relink the ias Home a)Modify the Env file [applmgr@srvr33 ias]$ mv db3_srvr33.env [applmgr@srvr33 ias]$ vi db4_srvr33.env db4_srvr33.ora tnsnames.env :%s/db3/db4/g [applmgr@srvr33 806]$ .mk ins_graphics60w.mk env_graphics60.mk ins_net_client.mk ins_forms60w.mk ins_network.mk [applmgr@srvr33 lib]$ make -f ins_graphics60w.env adovars.mk cus_graphics60w.env APPSdb4_srvr33.mk ins_oemagent.mk ins_graphics60r.mk install [applmgr@srvr33 806]$ cd reports60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_reports60w.mk ins_reports60w.env :%s/db3/db4/g [applmgr@srvr33 appltop]$ mv db3_srvr33.env :%s/db3/db4/g [applmgr@srvr33 appltop]$ . APPSdb4_srvr33.env b)Relink the Make files [applmgr@srvr33 806]$ cd forms60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_forms60w.mk install [applmgr@srvr33 806]$ cd graphics60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_graphics60d.mk [applmgr@srvr33 lib]$ make -f ins_procbuilder.Xml files in Appltop [applmgr@srvr33 appltop]$ mv APPSdb3_srvr33.ora open both the files & modify :%s/db3/db4/g :%s/1630/1558/g 4.env :%s/db3/db4/g [applmgr@srvr33 ias]$ .mk [applmgr@srvr33 lib]$ make -f ins_forms60w.mk [applmgr@srvr33 lib]$ make -f ins_network.[applmgr@srvr33 806]$ vi db4_srvr33.mk [applmgr@srvr33 lib]$ make -f ins_reports60w. db4_srvr33.mk ins_cman. db4_srvr33. Modify the Env's & adovars.mk install [applmgr@srvr33 806]$ cd procbuilder60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_procbuilder.Tnsnames cd /m02/db4/806/network/admin [applmgr@srvr33 admin]$ mv db3_srvr33/ db4_srvr33 [applmgr@srvr33 admin]$ ls db4_srvr33/ listener.mk env_reports60.mk install c)Modify the Context_name folder & Listener.mk env_oemagent.mk env_procbuilder.

dbport.server_id from fnd_nodes. Check Whether AOL contains new database name or not? SQL> select RELEASE_NAME.TARGET_CLEAN().SERVER_ADDRESS .so to Clean that we have a procedure. commit.sh Enter the APPS user password: apps This will register target Application system name in to AOL refer fnd_nodes.forms. Search the xml fie with the following keywords.APPLICATIONS_SYSTEM_NAME from fnd_product_groups. APPSdb4_srvr33.env [applmgr@srvr33 appltop]$ tnsping db4 TNS Ping Utility for Linux: Version 8.web. SQL>select * from fnd_nodes. Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=srvr33)(PORT=1558)) OK (20 msec) [applmgr@srvr33 admin]$ ls db3_srvr33./adconfig./forms_port. Clean up the Application Object Library.xml :%s/db3/db4/g Note:Modify the ports for reports.:%s/db3/db4/g [applmgr@srvr33 appltop]$ . SQL> select * from fnd_nodes./reports_port.5.0/bin [applmgr@srvr33 bin]$ . db3 port no is 1525 db4 port no is 1558 The Diff is 33. no rows selected 7.3.web.dbport.it will points out to source database./web_port 6.5. PL/SQL procedure successfully completed.xml [applmgr@srvr33 admin]$ vi db4_srvr33.0 .fnd_product_groups.xml [applmgr@srvr33 admin]$ mv db3_srvr33. [applmgr@srvr33 admin]$ cd /appl_top/ad/11.env 8. It will display many rows.DOMAIN.6. NODE_NAME SERVER_ID ---------------------------------------------------------------------SRVR33 610C02BF14CEC951E040A8C021001DED39887971914708318863730225275302 ============================================================================ .HOST.9 db4 SQL> select node_name.forms. RELEASE_NAME APPLICATIONS_SYSTEM_NAME -----------------------------11. SQL> desc fnd_conc_clone PROCEDURE SETUP_CLEAN PROCEDURE TARGET_CLEAN SQL> exec fnd_conc_clone. All rights reserved.. /dbport. Set The Env [applmgr@srvr33 appltop]$ . Run Autoconfig Note:Never use adautocfg.0.xml db3_srvr33.because it contains previous database URLinformation like NODE_NAME.sh from commontop to run Autoconfig.add this 33 to reports. APPSdb4_srvr33.Production on 21-JAN-2009 13:40:04 (c) Copyright 1997 Oracle Corporation.xml db4_srvr33.

5.10.env cd /m02/db3/ias/appsoui/setup perl OUIsetup.zip file to ORACLE_HOME(DBTIER) & give write permisions e) Unzip the appsutil.So apply the patch for the ias oui. 11.16.19) 3.F patch to APPSTIER which will updates the Oracle App's file System with RAPID CLONE files. c) Run Autoconfig(If AD version is >=I it will automatically run autoconfig at the end. Steps For RapidClone ==================== 11.Otherwise we have to manually run. But the ias will have a lower verison.9 a) Apply Inter-Operability Patch for Listener Compatibility.F(3453499) (contd in same window so no need to run env again. Run the env file .0 <--. It will create a oui folder Login as applmgr. The required version is 2. /m01/db3/rdbms/apploui/oui more oraparam.qualified version /m02/db3/ias/apploui/oui more oraparam.ini 2. 11.) d) Go to AD_TOP/bin Run perl admkappsutil.5.f/3453499 [applmgr@srvr33 ~]$adpatch 2.0.5.2.10 a) Apply ADX.2 Directly go for Rapid Clone.0 From stage copy the required patch into ias directory and unzip.zip file in appltop/admin/out directory Copy appsutil.RAPID CLONING ============== PreRequisites for Different Versions ==================================== 1.zip file to ORACLE_HOME(DBTIER) & give write permisions c) Unzip the appsutil.17.ini 2.2.zip & Run Autoconfig d) Check OUI versions of RDBMS & ias (2.5.1.2.19) 2.pl Then it will generate appsutil.pl Then it will generate appsutil. Verify the OUI version of the source system.2.) [applmgr@srvr33 ~]$cd /stage/Patches_for_upgrade/ ADX.0. /m03/db3/appltop/APPSdb3_srvr33.F patch to APPSTIER which will updates the Oracle App's file System with RAPID CLONE files.0.0. b) Apply ADX.0.19.zip & Run Autoconfig f) Check OUI versions of RDBMS & ias (2. Here the RDBMS will have a qualified version for rapidclone.pl Apply Rapidclone patch ADX.9 ======= 1. .0.zip file in appltop/admin/out directory Copy appsutil. b) Go to AD_TOP/bin Run perl admkappsutil. 11.

xml with Target system name.env [applmgr@srvr33 ~]$which admkappsutil.xml. [oracle@srvr33 ~]$chmod 777 appsutil.xml files in appltop & relink .zip to ORACLE_HOME(DBTIER).pl dbTier b)Prepare the source system App's Tier [applmgr@srvr33 ~]$cd /m03/db3/commtop/admin/scripts/context_name/ [applmgr@srvr33 ~]$ perl adpreclone. a)Prepare the source system database Tier [oracle@srvr33 ~]$ cd /m01/db3/rdbms/appsutil/scrripts/context_name/ [oracle@srvr33 ~]$ perl adpreclone.sh 3.F.pl appsTier This will recreate env. Note:In 11.zip .5.startup database & listener b)configure the Target System appsTier [applmgr@srvr33 ~]$cd /m03/db4/commtop/clone/bin [applmgr@srvr33 ~]$perl adcfgclone.5.copy TechStack & database to Target system Login as applmgr user. . /m03/db3/appltop/APPSdb3_srvr33.pl appsTier 4. It will create clone directory and required executables in source system. 5.copy atTechStack & appltop to Target system Note:While copying the dbTier database & Listener should be DOWN.0/bin/admkappsutil.Then it will relink and register the Home in inventory./adautocfg.xml & it will start all appsTier services.This will also recreate controlfile.register ias home in inventory. [applmgr@srvr33 ~]$cd /m03/db3/commtop/admin/scripts/context_name/ [applmgr@srvr33 ~]$.sh [applmgr@srvr33 ~]$ .pl [applmgr@srvr33 ~]$cd $AD_TOP/bin [applmgr@srvr33 ~]$perl admkappsutil.Then Run Autoconfig. ============================================================================ REFRESH (DB TIER ONLY) ====================== DB3 is cloned to DB4./adautocfg. [oracle@srvr33 ~]$cd /m01/db3/rdbms [oracle@srvr33 ~]$cp /m03/db3/appltop/admin/out/appsutil. Clone Both Tiers use Rapid clone to create template files for cloning on source system.9 we have to run Autoconfig after ADX.pl dbTier It will recreate env.zip Run Autoconfig [oracle@srvr33 ~]$cd /appsutil/scripts/context_name/ [oracle@srvr33 ~]$. Since we have not applied any patches to the both the TE CHSTACKs and COMMON_TOP.zip [oracle@srvr33 ~]$unzip -o appsutil.open new sessions for both the tiers [oracle@srvr33 ~]$cd /m01/db4/rdbms/appsutil/clone/bin [oracle@srvr33 ~]$ perl adcfgclone.pl /m03/db3/appltop/ad/11.zip in /m03/db3/appltop/admin/out/ Copy appsutil. Configuring the Target System(DB4) a)configure the Target System dbTier Note:Do not run any Env files.pfile.because AD basic version is H.pl This will create appsutil. Copy the Source System both Tiers to Target System Login as oracle user.APPL_TOP.

commit. It will display many rows. We will loose this file if you copy the co mmon top and appl top directories from db3 to db4. 6. no rows selected 12. This is necessary because the db4_srvr33. 5. Run Autoconfig Note:Never use adautocfg.so to Clean that we have a procedure.. PL/SQL procedure successfully completed.it will point to source database. 8. Add the temp file for the temp tablespace.because it contains previous database URLinformation like NODE_NAME. Copy the data files and archive log files of db3 database to db4 folders. RELEASE_NAME APPLICATIONS_SYSTEM_NAME ------------------------------ . 7.APPLICATIONS_SYSTEM_NAME from fnd_product_groups.5. Check Whether AOL contains new database name or not? SQL> select RELEASE_NAME.sh Enter the APPS user password: apps This will register target Application system name in to AOL refer fnd_nodes.fnd_product_groups. 2. Recover the database db4 using the backup control file option. [applmgr@srvr33 admin]$ cd /appl_top/ad/11. 1. We need to clone appltop and common top also to do this refresh.env 14.xml file before starting the following process from db4 database.DOMAIN. SQL>select * from fnd_nodes. Remove the database from db4 and remove appltop and commontop files from db4 folders. At the end of the recovery session./adconfig. Restore the /m03/db4/appltop/admin/db4_srvr33. Put the db3 databse in archive log mode and then put all the tablespaces in backup mode.HOST. Put the db3 database in end backup mode. Tar and untar commntop and appltop binaries from db3 to db4.xml is alredy configured with the dbport and paths when colned to db3 to db4.We are refreshing only the database using hot clone method and then configuring appltop and common top. 3.0/bin [applmgr@srvr33 bin]$ . 9. 4. Create the control file and create the db4 database.sh from commontop to run Autoconfig. apply the db3 online redo logs and complete the mediarecovery.SERVER_ADDRESS . Clean up the Application Object Library. SQL> desc fnd_conc_clone PROCEDURE SETUP_CLEAN PROCEDURE TARGET_CLEAN SQL> exec fnd_conc_clone. 10.xml from the backup location to this folder 13. SQL> select * from fnd_nodes.TARGET_CLEAN(). APPSdb4_srvr33. STEPS ===== Take backup of the /m03/db4/appltop/admin/db4_srvr33. Set The Env [applmgr@srvr33 appltop]$ .

xml]:/m03/db4/appltop/admin/db4_srvr33.11.3.0/admin/template/adxmlctx.server_id from fnd_nodes.pl file [applmgr@srvr33 bin]$ perl adclonectx.xml Creating the new APPL_TOP Context file from : /m03/db4/appltop/ad/11. Enter the port pool number:[0-99] 44 Web Listener port is 8044 Complete port information available at /m03/db4/appltop/admin/out /db3_srvr33/portpool.5.pl contextfile=/m03/db4/appltop /admin/db4_srvr33. Multi Node . Single Node 2.9 db4 SQL> select node_name.xml Log file located at /tmp/CloneContext_01220620.5.1_20]: The new context file has to contain port numbers related to target system.log ########################################################################## INSTALLATIONS ================ 1.xml file with a SCRIPT Run the adclonectx. Clone Context will validate the port availability. NODE_NAME SERVER_ID ------------------------------------------------------------This patch genera tes a report stating what ought to do and not.lst New context path and file name [/m03/db4/appltop/admin/ db3_srvr33.1 on the target system [/opt/21jdk1.3.tmp The new APPL_TOP context file has been created : /m03/db4/appltop/admin/db4_srvr33.---------SRVR33 612415061A23A2A1E040A8C0210026F436496500723470128142398631643816 Note: Build the Context_name.xml Enter the values for the new APPL_TOP Context: Do you want the inputs to be validated (y/n) [n] ?: Does the target system have more than one application tier server node (y/n) [n] ?: Is the target system APPL_TOP divided into multiple mount points (y /n) [n] ?: Target system APPL_TOP mount point [/m03/db4/appltop]:/m03/db4 /appltop Target system COMMON_TOP directory [/m03/db4/commtop]:/m03/db4 /commtop Location of JDK 1. Clone Context uses the same port pool mechanism as the Rapid Install Once you choose a port pool.

ias} /m03/db1/distd/{appltop. 2.DEVELOPER.commtop} /prod/db1/oradata oracle:dba /m01/db1 applmgr:dba /m02/db1 applmgr:dba /m03/db1 oracle:dba /prod/db1 777 /prod/db1 777 /m01/db1 777 /m02/db1 777 /m03/db1 2. Multi Node =================== 1. Distributed Appl Top. [root@srvr33 ~]# cd /stage/1159/startCD/Disk1/rapidwiz .5.ias} <--.ias.ORACLE_HOME /m02/db1/{806.ias} [root@srvr44 ~]# mkdir -p /u02/db1/distd/{appltop.9 onwards) ======================= STEPS ======= 1.IAS /m03/db1/{appltop. [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# mkdir mkdir mkdir mkdir chown chown chown chown chmod chmod chmod chmod -p -p -p -p -R -R -R -R -R -R -R -R /m01/db1/rdbms <---. Distributed Appl Top ( 11. Shared Appl Top(Appltop.commtop} . Common Top). Shared Apps Tier(806. Single Node =============== STEPS ======== 1./rapidwiz ---------------------------------------------------------------------------2. Create the required directories. [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# mkdir mkdir mkdir mkdir chown chown chown chown chmod chmod chmod chmod -p -p -p -p -R -R -R -R -R -R -R -R /m01/db1/rdbms <---. Install the software.commtop} /prod/db1/oradata oracle:dba /m01/db1 applmgr:dba /m02/db1 applmgr:dba /m03/db1 oracle:dba /prod/db1 777 /prod/db1 777 /m01/db1 777 /m02/db1 777 /m03/db1 [root@srvr44 ~]# mkdir -p /u01/db1/{806. 3. Common Top).ORACLE_HOME /m02/db1/{806.1. Create the required directories. 1.Appltop.

ias} [root@srvr44 ~]# chown -R applmgr:dba /u02/db1 [root@srvr44 ~]# chmod -R 777 /u02/db1 NFS settings -------------Go to application > system settings > server setting > nfs Basic : select /m03 mountpoint and provide server name.10) ============================ STEPS ====== 1.F on the Admin server first followed by Autoconfig. 2. Copy the config file to srvr44.and run Autoconfig on web_server node atlast.Run cfgclone for appsTier on srvr33 srvr44. [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# mkdir mkdir mkdir mkdir chown chown chown chown chmod chmod chmod chmod -p -p -p -p -R -R -R -R -R -R -R -R /m01/db1/rdbms <---. Apply the interoperability patch 4.ias} <--. Create the required directories. 5. Install the software follow the stadard procedure for the installation on srvr33. Prepare both he servers for preclone a) Run preclone for dbTier on srvr33.5.commtop} /prod/db1/oradata oracle:dba /m01/db1 applmgr:dba /m02/db1 applmgr:dba /m03/db1 oracle:dba /prod/db1 777 /prod/db1 777 /m01/db1 777 /m02/db1 777 /m03/db1 [root@srvr44 ~]# mkdir -p /u02/db1/{806. User Access : Treat remote root user as loca root. complete the installation using the config file.read write General Options : Sync write operations on request force sync of write operations immediately.DEVELOPER. . b) Run cfgclone for dbTier on srvr33.Run preclone for appsTier on srvr33 srvr44. 3. Shared Appl Top (11. Apply ADX.IAS /m03/db1/shared/{appltop.Then apply Apply ADX.[root@srvr44 ~]# chown -R applmgr:dba /u02/db1 [root@srvr44 ~]# chmod -R 777 /u02/db1 2.F on other nodes.ORACLE_HOME /m02/db1/{806.

5. Techstack validation patch. Install a fresh 11. complete the installation using the config file.5. This patch generates a report stating what ought to do and not.because already been applied in source database) Login as a applmgr user & run env file before applying a patch.sh Pre Upgrade steps ----------------Connect as sysdba . Post upgrade steps -----------------8. we have to add new tablespaces for new products and increase the size of the existing TS. OFA to OATM (Oracle Apps Tablespace Model) -. Rollup patch (TXK) OR Autoconfig. MP ( Maintainance Pack).env . Inter-operability patch.optional If we are not moving to OATM . ADI. This patch generates a report stating what ought to do and not. Product Inter-operability patch 9./patch.2 and ADX.9 instance if not available TEMPLATE ======== Pre Upgrade steps ----------------1.F Patches to be applied 3. Apply the patch for the interoperability for Listener. Mount the /m03 directory on the srvr44 srvr44 : mount -t srvr33:/m03 /m03 -o nolock ########################################################################### UPGRADE 11.9 TO 11. [root@srvr44 ~]#service nfs start mount -t nfs srvr33:/m03 /m03 -o nolock 2.commtop} of srvr33 have to be mounted on srvr44 server so that the appltop and common top will be shared by both the servers. TUMS (Upgrade Manual Script) for maintainance. Compile Invalid Objects 10. (Not Necessary.5. 6.10 =========================== 1. 5. Install the software follow the stadard procedure for the installation on srvr33. 2. 4. [applmgr@srvr33 3830807]$ .[root@srvr33 ~]# service nfs start The appltop and commn top directory /m03/db1/shared/{appltop. Copy the config file to srvr44. Upgrade --------7. STEPS ======== Apply Inter-Operability. /m03/db3/appltop/APPSdb3_srvr33.Create /m03 directory in srvr44. 3.

sql connect as sysdba sql> @adtums.html in OURDIR directory cd $AD_TOP/patch/115/sql/adtums. status from dba_registry.env [applmgr@srvr33] adpatch Note:After applying this tums patch it will generate adtums. vi /m01/db4/rdbms/appsutil/outbound/db4_srvr33/tumsmp. You must apply the AD Minipack You must implement or update AutoConfig You must run the 11.select comp_name . /m01/db4/rdbms/ appsutil/outbound/db4_srvr33 select * from fnd_product_groups.5. 1.10 technology stack validation utility You may choose to convert to the new tablespace model based on Database object type You must configure the database for new products and new tablespace requirements You may choose to prepare Marketing and Sales modules for update You must perform this Leads migration step You may choose to do this TCA contacts unmerge process now to reduce downtime You must upgrade Applications Desktop Integrator . S COUNT(*) . /m03/db4/appltp/APPSdb4_srvr33. write on directory ourdir to apps. COUNT(*) ---------380 Create directory ourdir as '/m01/db4/rdbms/appsutil/outbound/db4_srvr33'. select status.Status from fnd_product_installations.sql 'OUTDIR'.---------I 89 N 85 S 24 select count(*) from dba_tablespaces. SQL> select patch_level from fnd_product_installations where patch_level like 2 '%AD%'. PL/SQL procedure successfully completed. conn apps/apps SQL> show parameter UTL_FILE_DIR.AD. PATCH_LEVEL -----------11i. NAME TYPE VALUE -----------------------------------. [applmgr@srvr33] cd /stage/Patches_for_Upgrade/tumspatch/4238286/ [applmgr@srvr33] .count(*) from fnd_product_installations group by status.H select patch_level.html This file displays the versions of the products and the patches to be applied.-----------------------------------utl_file_dir string /usr/tmp. connect as sysdba Grant read . TUMS (Upgrade Manual Script) for maintainance.sql & generates the report tumsmp. version.

env [applmgr@srvr33 ~]$which admkappsutil.0/bin/admkappsutil.zip [applmgr@srvr33]# unzip -o patch. ADI. Apply Rapidclone patch ADX.9 we have to run Autoconfig after ADX. /m03/db3/appltop/APPSdb3_srvr33.F(3453499) [applmgr@srvr33 ~]$cd /stage/Patches_for_upgrade/ ADX.You must unzip the American English Maintenance Pack zip file You must unzip and merge NLS Maintenance packs 2.env [applmgr@srvr33]# vi /m03/db4/appltop/admin/db4_srvr33./adautocfg.pl This will create appsutil.sh install Down all Apps services.sh [applmgr@srvr33 ~]$ . Note:In 11.pl /m03/db3/appltop/ad/11. [oracle@srvr33 ~]$cd /m01/db3/rdbms [oracle@srvr33 ~]$cp /m03/db3/appltop/admin/out/appsutil. Note: Even Though http server is Down Patch is asking to stop http server.zip .1 FEB 2005 CUMULATIVE UPDATE cd /stage/Patches_for_upgrade/rollup_patch/4489303/ cd /fnd/patch/115/bin perl txktxkprepatchcheck. b)[applmgr@srvr33]# . This patch includes the latest AutoConfig patches provided by Bug 4175764: ADX:11i.zip in /m03/db3/appltop/admin/out/ Copy appsutil.0/bin/ [applmgr@srvr33 ~]$.zip Then it will create appsoui directory Run Autoconfig [oracle@srvr33 ~]$cd rdbms/appsutil/scripts/context_name/ [oracle@srvr33 ~]$. This will be TRUE in 1159.pl -script=ValidateRollup -outfile= $APPLTMP/txkValidateRollup.ADXE.5.2(u4337683.sql APPLSYS This script will change the 07_dictionary_accesability to FALSE.sh connect /as sysdba SQL>@/m03/db4/appltop/admin/adgrants.5.f/3453499 [applmgr@srvr33 ~]$adpatch Then Run Autoconfig. Rollup patch (TXK) OR Autoconfig.F.pl [applmgr@srvr33 ~]$cd $AD_TOP/bin [applmgr@srvr33 ~]$perl admkappsutil.In this case start & stop all services again. [applmgr@srvr33 ~]$cd /m03/db3/appltop/ad/11. [oracle@srvr33 ~]$chmod 777 appsutil.zip [oracle@srvr33 ~]$unzip -o appsutil. 3.zip [applmgr@srvr33]# .drv) and ADX.html -appspass=apps View the report a)Apply patch to ias(3072811) [applmgr@srvr33]#cd /stage/Patches_for_upgrade/rollup_patch/ ias_patch/ [applmgr@srvr33]# unzip -o p3072811_1022_LINUX./adconfig.because AD basic version is H.zip to ORACLE_HOME(DBTIER).F(u3453499./patch. /m03/db4/appltop/APPSdb4_srvr33.5.drv) Patches to be applied eg : adpatch supply the driver here.xml /oemcomm : remove # .

use adadmin utility [applmgr@srvr33]#cd /stage/Patches_for_upgrade/rollup_patch/4489303 adpatch At the end it will run Autoconfig. [oracle@srvr33 ~]$cd /m01/db3/rdbms [oracle@srvr33 ~]$cp /m03/db3/appltop/admin/out/appsutil. [oracle@srvr33 ~]$chmod 777 appsutil.sh 4.zip [oracle@srvr33 ~]$unzip -o appsutil.zip in /m03/db3/appltop/admin/out/ Copy appsutil./adautocfg.pl) o This will create appsutil.html -appspwd=apps This will generates a report in commtop/temp/txkValidateRollup. c) Now Apply Rollup Patch(4489303) Enable The maintenance mode. Run the AppsTier Env.pl This will create appsutil. /m03/db4/appltop/APPSdb4_srvr33. * On the Database Tier (as the ORACLE user): o Copy or FTP the appsutil.zip Run AutoConfig. [applmgr@srvr33]# Run The Env [applmgr@srvr33]# . DATABASE TIER ============= [applmgr@srvr33 ~]$ /stage/Patches_for_upgrade/techstack_patch [applmgr@srvr33 ~]$ cd 4318672 [applmgr@srvr33 ~]$ adpatch Update RDBMS ORACLE_HOME with AutoConfig files: ------------------------------------------------Update the RDBMS ORACLE_HOME file system with the AutoConfig files by performing the following steps: * On the Application Tier (as the APPLMGR user): o Log in to the APPL_TOP environment (source the environment file) o Create appsutil.5.pl /m03/db3/appltop/ad/11.zip Then it will create appsoui directory Run Autoconfig [oracle@srvr33 ~]$cd rdbms/appsutil/scripts/context_name/ [oracle@srvr33 ~]$. Techstack validation patch.0/bin/admkappsutil. Run the Utility on Database Server Node: ---------------------------------------- .zip file to the <RDBMS ORACLE_HOME> o cd <RDBMS ORACLE_HOME> unzip -o appsutil.html with STATUS ALLPASS.env [applmgr@srvr33 ~]$which admkappsutil.pl -script=ValidRollup -outfile=$APPLTMP/ txkValidateRollup.zip in $APPL_TOP/admin/out .zip to ORACLE_HOME(DBTIER).zip ./toplevel: remove # cd /stage/Patches_for_upgrade/rollup_patch/4489303/ cd /fnd/patch/115/bin perl txktxkprepatchcheck.pl [applmgr@srvr33 ~]$cd $AD_TOP/bin [applmgr@srvr33 ~]$perl admkappsutil.zip file $ADPERLPRG $AD_TOP/bin/admkappsutil.pl (On Windows: %ADPERLPRG% %AD_TOP%\bin\admkappsutil.

.dbf' resize 2000m..sql @?/rdbms/admin/utlrp. SQL> alter database tempfile '/prod/db4/oradata/temp01.env [oracle@srvr33 bin]$ perl TXKScript. APPS TIER ========== [applmgr@srvr33]$ cd /m03/db4/appltop/fnd/11./db4_srvr33./.0/patch/115/bin [applmgr@srvr33]$ perl TXKScript.pl -script=$ORACLE_HOME/appsutil/ bin/txkVal11510MP.. Database altered.[oracle@srvr33 bin]$ pwd /m01/db4/rdbms/appsutil/bin [oracle@srvr33 bin]$ .env [oracle@srvr33 bin]$ perl TXKScript. SQL> alter database datafile '/prod/db4/oradata/system03.zip [applmgr@srvr33 806]$ cd developer6i_patch17/ [applmgr@srvr33 developer6i_patch17]$ .html The above report should show the status as ALLPASS for the db tier. [applmgr@srvr33]$cd /m02/db4/806/ [applmgr@srvr33]$ unzip -o p4183804. . Database altered.pl -txktop=$ORACLE_HOME/appsutil -appspass=apps outfile=$ORACLE_HOME/appsutil/temp/txkVal11510MP_DB.dbf' resize 1500m../db4_srvr33. SQL> alter database datafile '/prod/db4/oradata/system02.dbf' resize 2000m.html For 806 Home -----------[applmgr@srvr33]$ cd /stage/Patch_for_upgrade/tech_stack/ [applmgr@srvr33]$ cp p4183804./patch_install. Database altered.sql shut immediate startup exit [oracle@srvr33 bin]$ lsnrctl start db4 [oracle@srvr33 bin]$ pwd /m01/db4/rdbms/appsutil/bin [oracle@srvr33 bin]$ .pl -txktop=$APPLTMP -appspass=apps -outfile=$APPLTMP/txkVal11510MP_DB2. Database altered..pl -txktop=$ORACLE_HOME/appsutil -appspass=apps outfile=$ORACLE_HOME/appsutil/temp/txkVal11510MP_DB2.html SQL> alter database datafile '/prod/db4/oradata/system01. SQL> shut immediate Edit in pfile O7_DICTIONARY_ACCESSIBILITY = false _B_TREE_BITMAP_PLANS=false [oracle@srvr33]$ cd /stage/9208/Disk1 [oracle@srvr33]$ ./.sh SQL> SQL> SQL> SQL> SQL> SQL> ./runInstaller for Opatch error : chmod -R 777 Opatch for dbsnmp error : ignore it.5.pl -script=$ORACLE_HOME/appsutil/ bin/txkVal11510MP. startup migrate @?/rdbms/admin/catpatch.zip /m02/db4/806/.pl -script=$FND_TOP/patch/115/bin/txkVal11510MP .dbf' resize 2000m.

mk install Fixing The Bug: [applmgr@srvr33 lib]$ cd /stage/Patches_for_upgrade/techstack_patch/ [applmgr@srvr33 techstack_patch]$ cd bug4493729/ [applmgr@srvr33 bug4493729]$ ls patch.mk [applmgr@srvr33 lib]$ make -f ins_procbuilder.mk env_procbuilder.mk ins_forms60w.mk ins_graphics60r.mk env_forms60.env [applmgr@srvr33 ias]$ echo $ORACLE_HOME /m02/db4/ias [applmgr@srvr33 ias]$ cd bin/ [applmgr@srvr33 bin]$ ls runInstaller runInstaller [applmgr@srvr33 bin]$ .tar [applmgr@srvr33 2376472]$ tar -xvf lnx32_8174_patchset.txt [applmgr@srvr33 bug4493729]$ sh patch.mk [applmgr@srvr33 lib]$ make -f ins_graphics60w.sh [applmgr@srvr33 806]$ cd reports60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_reports60w.mk [applmgr@srvr33 lib]$ make -f ins_reports60w.mk env_reports60.mk env_oemagent. db4_srvr33.mk cus_graphics60r.mk install For ias Home -----------[applmgr@srvr33 lib]$ cd /stage/Patches_for_upgrade/techstack_patch/ [applmgr@srvr33 techstack_patch]$ cd 2376472/ [applmgr@srvr33 2376472]$ unzip p2376472.sh readme.mk ins_network.mk ins_graphics60w./runInstaller Give the Following path for Source File /stage/Patches_for_upgrade/techstack_patch/2376472/stage/products.mk install [applmgr@srvr33 806]$ cd procbuilder60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_procbuilder.mk [applmgr@srvr33 lib]$ make -f ins_reports60w.zip Archive: p2376472.mk ins_graphics60d.jar [applmgr@srvr33 bin]$ cd /stage/Patches_for_upgrade/techstack_patch/ [applmgr@srvr33 techstack_patch]$ cd 3835781/ [applmgr@srvr33 3835781]$ unzip -o p3835781_102_LINUX.mk ins_reports60w.tar [applmgr@srvr33 2376472]$ cd /m02/db4/ias/ [applmgr@srvr33 ias]$ .zip .mk ins_procbuilder.mk install [applmgr@srvr33 806]$ cd reports60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_reports60w.mk ins_oemagent.mk [applmgr@srvr33 lib]$ make -f ins_network.mk ins_reports60w.Relink the 806 Home Relink the Make files [applmgr@srvr33 806]$ cd forms60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_forms60w.mk install Note:This relink will through an error because of bug4493729 [applmgr@srvr33 806]$ cd graphics60/lib/ [applmgr@srvr33 lib]$ ls *mk cus_graphics60d.mk env_graphics60.mk [applmgr@srvr33 lib]$ make -f ins_forms60w.mk install [applmgr@srvr33 806]$ cd network/lib/ [applmgr@srvr33 lib]$ ls *mk env_network.mk env_reports60.mk cus_graphics60w.html inflating: lnx32_8174_patchset.zip inflating: README.

sh jinit.zip [applmgr@srvr33 jinit]$ cd jinitsw/ p5300474_131_GENERIC. .0/patch/115/bin [applmgr@srvr33]$ perl TXKScript.16 jinit_classid=clsid:9b935470-ad4a-11d5-b63e-00c04faedb18 . /m03/db4/appltop/APPSdb4_srvr33.cmd jinit.[applmgr@srvr33 3835781]$ .1.env [applmgr@srvr33 ~]$ cd /stage/Patches_for_upgrade/techstack_patch/ [applmgr@srvr33 techstack_patch]$ cd jinit/ jinitsw p4517707_11i_GENERIC.cfg jinit_ver_name=Version=1.zip [applmgr@srvr33 jinit]$ cd 5117525/ [applmgr@srvr33 5117525]$ adpatch [applmgr@srvr33 5117525]$ cd fnd/patch/115/bin/ [applmgr@srvr33 bin]$ ls appsweb.exe /m03/db4/commtop/util/jinitiator/.zip Archive: p5300474_131_GENERIC..sh 13126 Starting JInitiator Interoperability Upgrade Script.env [applmgr@srvr33]$ cd /m03/db4/appltop/fnd/11.pl -script=$FND_TOP/patch/115/bin/txkVal11510MP .html inflating: jinit13126.8.sh 13126 Script which will update the new Jinitiator version./jinit.zip inflating: readme.log for any er rors. /m02/db4/ias/db4_srvr33..zip p5117525_11i_GENERIC. jinit .sh L165329./jinit.env [applmgr@srvr33 3835781]$ . /m03/db4/appltop/APPSdb4_srvr33.8. Note:Here still it uses earlier jinitiator version.com:8007/OA_HTML/oajinit./patch.cfg [applmgr@srvr33 ~]$ grep jinit /m03/db4/commtop/html/bin/appsweb_db4_srvr33..use the JInitiator plugin (default) plugin=jinit jinit_name=oajinit.pl -txktop=$APPLTMP -appspass=apps -outfile=$APPLTMP/txkVal11510MP_DB2. [applmgr@srvr33 ~]$ echo $FORMS60_WEB_CONFIG_FILE /m03/db4/commtop/html/bin/appsweb_db4_srvr33.Installing mod_plsql patch Successful copy to /m02/db4/ias/Apache/modplsql/* Patch Ended at Thu Jan 29 19:09:21 IST 2009 **Patch Completed Successfully **.1.exe jinit_url=/jinitiator/ jinit_download_page=/jinitiator/us/jinit_download.csh -m midtier -o /m02/db4/ias Welcome to mod_plsql/OWA Patch ============================== Patch Started at Thu Jan 29 19:09:21 IST 2009 Backup done for files to /m02/db4/ias/Apache/modplsql/prepatch .htm jinit_appletcache=on sun_plugin_url=http://srvr33.so after Inter-operability go to fnd/patch/115/bin Run .log L165379.zip [applmgr@srvr33 jinitsw]$ unzip -o p5300474_131_GENERIC.cmd appsweb..5.log [applmgr@srvr33 bin]$ .bss.16 jinit_mimetype=application/x-jinit-applet. [applmgr@srvr33 bin]$ .exe Apply Inter-Operability Patch ----------------------------[applmgr@srvr33 jinit]$ unzip -o p5117525_11i_GENERIC.html The above report should show the status as ALLPASS for the AppsTier Upgrading JAVA & Jinitiator --------------------------[applmgr@srvr33 ~]$ . Scan log /stage/Patches_for_upgrade/techstack_patch/3835781/patch.version=1.exe [applmgr@srvr33 ~]$ cp jinit13126.

3.2972148 Use Merge [applmgr@srvr33 bin]$ cd /stage/Patches_for_upgrade/ [applmgr@srvr33 Patches_for_upgrade]$ cd javapac/ [applmgr@srvr33 javapac]$ cd javapatch/ [applmgr@srvr33 javapatch]$ mkdir java_pre_b4m java_pre_afmer Copy p2939083_11i_GENERIC.ldt f2972148.txt ak backup icx j3503919.cfg [applmgr@srvr33 bin]$ grep jinit /m03/db4/commtop/html/bin/appsweb_db4_srvr33.zip 3503919_README.version=1.3 a)Update The Current View Snapshot using adadmin [applmgr@srvr33 ~]$ . Maintain snapshot information 2.txt b)Apply java Prereq's patches 2809327.ldt 2972148_README.zip 2939083 p2809327_11i_GENERIC.drv j2809327.txt backup fnd b2809327. Update current view snapshot This will Create a Snapshot file /m03/db4/appltop/admin/db4/out/ snapdnld.2939083.env [applmgr@srvr33 ~]$ adadmin 2.Enter the complete path including the filename to the Application context file [ /m03/db4/appltop/admin/db4_srvr33. Maintain Applications Files menu 5.txt b2939083.ldt ieo jcopy .ldt f2939083.26 Now XML uses new Jinitiator version 1.zip.1.26 jinit_mimetype=application/x-jinit-applet. /m03/db4/appltop/APPSdb4_srvr33. /m03/db4/appltop/APPSdb4_srvr33.drv c)Apply Product Inter-Operability Patches using Merge [applmgr@srvr33 bin]$ cd /stage/Patches_for_upgrade/ [applmgr@srvr33 Patches_for_upgrade]$ cd javapac/ [applmgr@srvr33 javapac]$ cd javapatch/ [applmgr@srvr33 javapatch]$ mkdir java_InterOp_b4m java_InterOp_afmer Unzip 3199598 3503919 3695147 to java_InterOp_b4m [applmgr@srvr33 javapatch]$ cd java_intero_b4m 3199598 3503919 3695147 [applmgr@srvr33 javapatch]$ admrgpch /stage/Patches_for_upgrade/javapac/ javapatch/java_InterOp_b4m/ /stage/Patches_for_upgrade/javapac/javapatch/ java_InterOp_afmer/.xml]: At the end it will Run AutoConfig [applmgr@srvr33 bin]$ . p2972148_11i_GENERIC.c fg jinit_ver_name=Version=1.zip 2939083_README.1.zip p2972148_11i_GENERIC.ldt cjava_pre_afmer. [applmgr@srvr33 javapatch]$ cd java_pre_afmer/ 2809327_README.html ad b3695147.zip to java_pre_b4m & unzip [applmgr@srvr33 java_pre_b4m]$ ls 2809327 2972148 p2939083_11i_GENERIC.env [applmgr@srvr33 bin]$ echo $FORMS60_WEB_CONFIG_FILE /m03/db4/commtop/html/bin/appsweb_db4_srvr33.p2809327_11i_GENERIC.txt b2972148.ldt j2972148.zip 3503919_README.zip. [applmgr@srvr33 javapatch]$ cd java_intero_afm/ 3199598_README.zip [applmgr@srvr33 javapatch]$ admrgpch /stage/Patches_for_upgrade/javapac/ javapatch/java_pre_b4m/ /stage/Patches_for_upgrade/javapac/javapatch/ java_pre_afmer/.3.html as cs ieb j3695147.ldt fnd ipd 3199598_README.zip [applmgr@srvr33 javapatch]$ adpatch Provide cjava_pre_afmer.txt ast f3199598.

env APPL_TOP environment file.pl java=/m03/db4/commtop/util/java1..sh Using Application context file /m03/db4/appltop/admin/db4_srvr33.txt README.pl [applmgr@srvr33 bin]$ perl adjavamig..drv g3239047.5.2_04 files to this directory [applmgr@srvr33 bin]$ cd /m03/db4/appltop/fnd/11. Run Autoconfig 2.G [applmgr@srvr33 javapatch]$ cd 3975013/(AD) [applmgr@srvr33 3975013]$ ls ad backup j3975013./txkJdkM.drv d3239047. Enter the full path for the JDK installation: /m03/db4/commtop/util/java1.Find out the missing prereq patch & apply otherwise skip it by using adctrl option 8.4 ...ldt f3503919.xml.sh completed [applmgr@srvr33 bin]$ echo $AFJVAPRG /m03/db4/commtop/util/java1.3695147_README. Sourcing /m03/db4/appltop/db4_srvr33.1.ldt marker1.ldt f3975013.4 Enter the full file path to the Context file: /m03/db4/appltop/admin/db4_srvr33.4/bin/java [applmgr@srvr33 bin]$ echo $ADJVAPRG /m03/db4/commtop/util/java1..3..4 Copy j2sdk1.4/bin/java [applmgr@srvr33 bin]$ cd $AD_TOP/bin [applmgr@srvr33 bin]$ perl adjava adjava adjavamig. You will have to run AutoConfig to finish the new JDK migration Do you want to run AutoConfig now (y/n) [y] : User response: txkJdkM.1_20/bin/java [applmgr@srvr33 db4_srvr33]$ cd /m03/db4/commtop/util/ [applmgr@srvr33 util]$ mkdir java1.txt [applmgr@srvr33 3975013]$ adpatch Provide u3975013.8/bin/jre [applmgr@srvr33 db4_srvr33]$ echo $AFJVAPRG /opt/21jdk1.Apply TXK -I we have already applied & version is L.D.html u3975013. d)Now Apply BIS Patch 38494718(Business Intelligence) only if you use Discover Server.ldt iex u_merged.drv Note:If any worker is Failed.drv [applmgr@srvr33 javapatch]$ adpatch Provide u_merged. e)[applmgr@srvr33 javapatch]$ cd 3239047/(J2SE Inter-Oper Patch) [applmgr@srvr33 3239047]$ ls *drv c3239047.html b3199598.zip README..drv Java ---[applmgr@srvr33 db4_srvr33]$ echo $ADJVAPRG /m03/db4/commtop/util/jre/1.txt b3503919. Source the environment before running AD utilities The logfile for this session is located at: .0/patch/115/bin/ [applmgr@srvr33 bin]$ . xml Post Migration Steps 1.drv b3975013.4..ldt f3695147.drv [applmgr@srvr33 3239047]$ adpatch Apply C..ldt ieu jtf 3695147_README.

OLAP and Oracle Data Mining options JServer Release 9./m03/db4/appltop/admin/db4_srvr33/01311933/adjavamig.0.drv 5.sh Enter the full path to the Context file: /m03/db4/appltop/admin/db4_srvr33.Production With the Partitioning.zip p3480000_11i_LINUX_1of4./adconfig.8. MP ( Maintainance Pack). Inter-operability patch. OFA to OATM (Oracle Apps Tablespace Model) -. APPSdb4_srvr33.8. Do you want to run the script:yes Maintenance Patch ----------------[applmgr@srvr33 bin]$ cd /prod/mp/ [applmgr@srvr33 mp]$ ls 3480000 p3480000_11i_LINUX_2of4.sql Attention: This script requires 3270 MB of available disk space on the database server node.0 .log Run AutoConfig [applmgr@srvr33 bin]$ . Please ensure that this much disk space is available before running this script.0 .zip p3480000_11i_LINUX_3of4.sql :%s#?/dbf/#/prod/db4/oradata# [applmgr@srvr33 sql]$ sqlplus SQL*Plus: Release 8. Product Inter-operability patch 9.xm Enter the APPS user password:apps Apply Tablespace patch ---------------------cd /stage/Patches_for_upgrade/tablespacePatch/3180164 cd ad/patch/115/sql conn apps/apps @adgnofa.env [applmgr@srvr33 appltop]$ adadmin .zip [applmgr@srvr33 mp]$ cd 3480000/ [applmgr@srvr33 mp]$ adpatch provide u3480000.Production on Sat Jan 31 20:04:04 2009 (c) Copyright 1999 Oracle Corporation.2.0 .sql ALL [applmgr@srvr33 sql]$ vi adcrtbsp.zip p3480000_11i_LINUX_4of 4.optional If we are not moving to OATM . Compile Invalid Objects ############################################################################# ADADMIN: [applmgr@srvr33 appltop]$ .0. 6. All rights reserved. Post upgrade steps -----------------8.0.Production SQL> @adruncts.2. we have to add new tablespaces for new products and increase the size of the existing TS. Enter user-name: system/manager Connected to: Oracle9i Enterprise Edition Release 9.6. Upgrade --------7.0.

Generate Applications Files menu Maintain Applications Files menu Compile/Reload Applications Database Entities menu Maintain Applications Database Entities menu Change Maintenance Mode Exit AD Administration Enter your choice [6] : 1 Generate Applications Files ---------------------------------------1. 3. 2. Compile APPS schema Compile menu information . 2. 3. 4. 5.AD Administration Main Menu -------------------------------------------------1. 2. 3. 2. 5. Relink Applications programs Create Applications environment file Copy files to destinations Convert character set Maintain snapshot information Check for missing files Return to Main Menu Enter your choice [6] : 3 Compile/Reload Applications Database Entities --------------------------------------------------1. 7. 6. Generate message files Generate form files Generate report files Generate graphics files Generate product JAR files Return to Main Menu Enter your choice [6] : 2 Maintain Applications Files ---------------------------------------1. 6. 6. 4. 4. 5.

3. APPSdb4_srvr33.env [applmgr@srvr33 appltop]$ adctrl AD Controller Menu --------------------------------------------------1. 4. See the Oracle Applications Utilities manual for more information about Please select an option: 1. -----------------------------------------------------------------------------ADC TRL: [applmgr@srvr33 appltop]$ . Compile flexfields Reload JAR files to database Return to Main Menu Enter your choice [6] : 4 Maintain Applications Database Entities --------------------------------------------------1. 2. 5. 6. 5. Validate APPS schema Re-create grants and synonyms for APPS schema Maintain multi-lingual tables Check DUAL table Convert to Multiple Reporting Currencies Convert to Multi-Org Return to Main Menu Enter your choice [6] : 5 Change Maintenance Mode ---------------------------------------Maintenance Mode is currently: [Enabled]. 4. Maintenance mode should normally be enabled Oracle Applications and disabled when users to the system. Show worker status Tell worker to restart a failed job . 3. 2. Enable Maintenance Mode Disable Maintenance Mode Return to Main Menu when patching are logged on Maintenance maintenance mode.3. 7. 2.

5.wmem_default=262144 net.3.core. New UNIX password: BAD PASSWORD: it is based on a dictionary Retype new UNIX password: passwd: all authentication tokens updated word successfully.oracle. 4.hostname=srvr33 net. /etc/sysctl.6 ( Free ware from www. applmgr with dba group assigned. 6.file-max=65536 net. Set the kernel parameters required for oracle.core.rmem_max=262144 net.sem=250 32000 100 128 fs. groupadd -g dba 3.core. Tell worker to quit Tell manager that a worker failed its job Tell manager that a worker acknowledges quit Restart a worker on the current machine 7. New UNIX password: BAD PASSWORD: it is based on a dictionary Retype new UNIX password: passwd: all authentication tokens updated [root@srvr33 ~]# passwd oracle Changing password for user oracle. Install linux 4.ipv4.ip_local_port_range=1024 65000 kernel. Create users & pwd for oracle.wmem_max=26214 5.core_uses_pid = 1 kernel. word successfully. Set the file limit /etc/security/limits. useradd -u 500 -g dba -d /home/oracle oracle useradd -u 501 -g dba -d /home/applmgr applmgr As root [root@srvr33 ~]# passwd applmgr Changing password for user applmgr. 4. Create group dba. Load the additional rpms required for oracle .shmmax=2147483648 kernel. 2.core.rmem_default=262144 net.conf kernel. Exit ############################################################################# UNIX SYSTEM SETUP ==================== 1.com/linux).conf oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 655536 applmgr soft nproc 2047 applmgr hard nproc 16384 applmgr soft nofile 1024 applmgr hard nofile 655536 6.

.drv 6. Apply AD_I_2.rpm -ivh compat-libcwait-2. copy the appsutil.drv -rwxrwxrwx 1 applmgr dba 63496 Apr 21 2004 d3381489.0]: Enter the Database Connect String: db1 Enter the password for your 'SYSTEM' ORACLE schema: Successfully connected to database db1 using SYSTEM user.env [applmgr@srvr33 oatm]$ perl /m03/db1/appltop/fnd/11. Export parameter in bash_profile for root.0/bin/fndtsmig.drv [applmgr@srvr33 3381489]$ adpatch c3381489. Run Autoconfig 4.i386.drv d3381489.drv -rwxrwxrwx 1 applmgr dba 151056 Apr 21 2004 c3381489.rpm 7.F Patch 3. USA All rights reserved. This will launch a menu driven application.drv g3381489.19 ############################################################################# ORACLE FLEXIBLE ARCHITECTURE (OFA) T0 ORACLE APPLICATIONS TABLESPACE MODEL (OATM) =========================================== 1.5.pl +=======================================================================+ Copyright (c) 2003 Oracle Corporation Redwood Shores.i386.0-5.5.oracle. California. [applmgr@srvr33 oatm]$ .1-1. Run appsutil.drv -rwxrwxrwx 1 applmgr dba 17837 Apr 21 2004 g3381489. +=======================================================================+ Welcome to the Oracle Applications Tablespace Migration Utility +=======================================================================+ Enter your FND_TOP[/m03/db1/appltop/fnd/11. Install 1159 instance. cd /stage/Patches_for_upgrade/oatm/3381489 [applmgr@srvr33 3381489]$ ls -l *.applmgr export LD_ASSUME_KERNEL=2.pl scirpt.pl. /m03/db1/appltop/APPSdb1_srvr33.Rollup Patches (OPTIONAL) Apply ADX.4. As applmgr Run $FNT_TOP/bin/fndtsmig. mkdir /prod/db1/oradata/oatm 7.rpm rpm -ivh compat-oracle-rhel4-1.zip to db tier & give 777 Permissions and run autoconfig in the db tier 5.Apply InterOperability Listener Patch(806) 2. Apply OATM patch. As oracle user create a directory to hold new tablespaces.

Calculate total space required by each new tablespace to migrate each Oracle Application product schema (relevant for a schema-by-schema migration) 4. 6.2 Sizing Program has never been run. Migration Sizing Reports Create New Tablespaces Generate Migration Commands Execute Migration Commands Run Migration Status Reports Run Post Migration Steps Run Customization Steps [N]ext [Q]uit Please enter your option .. This may take upto 20min. Display Sizing Exception report [Q]uit [B]ack [N]ext Please enter your option . Calculate total space required by each Oracle Applications schema. 3. Please wait. with details for each object 5. Generate a Report with the list of all the Oracle Application product schemas that can be migrated 2. Enter the ORACLE Application Object Library Schema name[APPS]: Enter the password for APPS: Successfully connected to database db1 using APPS user. they will also help you determine the type of migration approach that best suits your needs 1. Calculate total space required by each new tablespace to migrate all Oracle Application product schemas (relevant for a complete migration) 3. Additionally.1 Migration Sizing Reports These reports are provided to help you gauge the space requirements for the new Tablespaces.. Oracle Applications Tablespace Migration Utility Main Menu 1. 5. Creating the required packages. 4. Recommended .. 2. 7. Enter the APPLSYS Schema name[APPLSYS]: Determining if APPS has the required privileges APPS does not have the required privileges. Enter the Extent Allocation type A(utoallocate) or U(niform Extent Size)[U]: U Enter Uniform Extent Size for the Tablespaces in KBytes[128]: Executing the Sizing program for all schemas. These will be granted before continuing with the migration..Enter the password for your 'SYS' ORACLE schema: Successfully connected to database db1 using SYS user.

936 1.1 Enter the Extent Allocation type A(utoallocate) or U(niform Extent Size)[U]: Enter Uniform Extent Size for the Tablespaces in KBytes[128]: ***************************************************************** The utility will append a sequence number to the tablespace name and a .144 1.926.147.369.120 APPS_TS_QUEUES 52.070.992 63.--------------. Generate new tablespace creation script 2. Please edit the generated script to change the file name/size ***************************************************************** Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter Enter the the the the the the the the the the the the the the the the the the the absolute path for the datafiles directory: /prod/db1/oatmdata Number of Datafiles for Transaction data tablespace[1]: Datafile Size for Transaction data tablespace (MB): 2048 Number of Datafiles for Transaction index tablespace[1]: 3 Datafile Size for Transaction index tablespace (MB): 1600 Number of Datafiles for Reference(SEED) tablespace[1]: 1 Datafile Size for Reference tablespace (MB): 2048 Number of Datafiles for Interface tablespace[1]: 1 Datafile Size for Interface tablespace (MB): 700 Number of Datafiles for Summary tablespace[1]: 1 Datafile Size for Summary tablespace (MB): 700 Number of Datafiles for Nologging tablespace[1]: 1 Datafile Size for Nologging tablespace (MB): 60 Number of Datafiles for Archive tablespace[1]: 1 Datafile Size for Archive tablespace (MB): 800 Number of Datafiles for Queue tablespace[1]: 1 Datafile Size for Queue tablespace (MB): 80 Number of Datafiles for Media tablespace[1]: 1 Datafile Size for Media tablespace (MB): 500 Tablespace creation script /prod/db1/oatm/crtts.152 10.619.591 20. Datafile size should not be greater than OS file size limit.760 APPS_TS_INTERFACE 527.sql created .120 1.B Please enter your option .440 APPS_TS_MEDIA 349.320 720.641.814.671.dbf extension to generate the datafile names. Create new tablespaces [Q]uit [B]ack [N]ext Please enter your option .250.384 373.324 1.Estimated space space in KB existing Tablespace required in KB (20% Buffer) objects in KB -------------------------------------.175 456.784 46.2 Create New Tablespaces 1.541 24.--------Total(in KB): 8.456.000 4.600 APPS_TS_TX_DATA 1.440 ---------------.--------------APPS_TS_ARCHIVE 600.312 419.680 APPS_TS_SEED 1.760 APPS_TS_TX_IDX 3.400 Please enter your option .386 7.200 2.580 271.872 633.511.920 APPS_TS_SUMMARY 498.605.680 APPS_TS_NOLOGGING 38.--------------.447 381.816 598.

Migrate all Schemas 2.Press Return key to continue.. Oracle Applications Tablespace Migration Utility Main Menu 1. Migrate a list of Schemas [Q]uit [B]ack [N]ext . Connected. 3. 5. 1.2 Generating Migration commands for all schemas... constraints. Please enter your option ..2 Creating Tablespaces. PLEASE TAKE A COMPLETE BACKUP OF THE DATABASE BEFORE MIGRATION 1.. Please check the log /prod/db1/oatm/fndgmcmd02041 75723. This may take upto 30min.. Please enter your option . Generate migration commands for all schemas 3. Tablespace created. Please correct/drop these before generating migration commands 2. stop/start for queues. 6. 2. Migration Sizing Reports Create New Tablespaces Generate Migration Commands Execute Migration Commands Run Migration Status Reports Run Post Migration Steps Run Customization Steps [N]ext [Q]uit Please enter your option . Generate migration commands for a list of schemas [Q]uit [B]ack [N]ext Please enter your option . Command generation successful. Please wait.. stop/start for queues.4 Execute Migration Commands Execution of Migration commands including disable commands for triggers constraints.3 Generate Migration Commands Generation of Migration commands including disable/enable commands for triggers.log Press Return key to continue. Invalid Indexes Report. 4. Please wait.. 7. policies.

Migration processes for tables with LONG and LONG RAW columns started.Run all the options one after one. [Q]uit [B]ack Please enter your option .6 Run Post Migration Steps 1..log for errors Sequential migration process started. Run migration error report [Q]uit [B]ack [N]ext Please enter your option . Please monitor the log file /prod/db1/oatm /fndemseq0204181316. Run audit report 2. 3. Register new tablespace .tablespace type Change name of the existing tablespace Register object classification Change object classification [Q]uit [B]ack Please enter your option .. 2. Please wait.log for errors Press Return key to continue.5 Run Migration Status Reports 1.Run both options Please enter your option . Please enter your option . Enable constraints/triggers/policies & start queues 3.. Please enter your option .1 Are you sure you want to migrate all schemas[N]: Y Enter the maximum number of parallel processes[2]: Starting the Migration process for all schemas. Please monitor the log file /prod/db1/oatm /fndemcmd0204181316.7 Customization 1.Please enter your option .log for errors Parallel migration processes started. 4.Run all the options one after one. ############################################################################# . Resize old tablespaces Note: Please complete refresh all the Materialized Views in Oracle Applications before using the system.. Run migration progress report 2. Please mo nitor the log file /prod/db1/oatm/fndmlong0204181315.

support_cp. 3.path from fnd_appl_tops.commtop} applmgr:dba /u02/db2 applmgr:dba /u03/db2 777 /u02/db2 777 /u03/db2 2.status. [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr33 [root@srvr77 [root@srvr77 [root@srvr77 [root@srvr77 [root@srvr77 [root@srvr77 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# mkdir mkdir mkdir mkdir chown chown chown chown chmod chmod chmod chmod mkdir mkdir chown chown chmod chmod -p -p -p -p -R -R -R -R -R -R -R -R -p -p -R -R -R -R /m01/db2/rdbms /prod/db2/oradata /m02/db2/{806.ias} /u03/db2/{appltop. conn apps/apps SQL>select node_name.5.9 Distributed Appltop 11. Ccm on srvr33..commtop} oracle:dba /m01/db2 applmgr:dba /m02/db2 applmgr:dba /m03/db2 oracle:dba /prod/db2 777 /prod/db2 777 /m01/db2 777 /m02/db2 777 /m03/db2 /u02/db2/{806.name. Create the directories.10.5.host from fnd_nodes.DISTRIBUTED APPLTOP TO SHARED APPLTOP [MERGE APPLTOP] -----------------------------------------------------Note: 11. Admin. Install 11.2 Shared Application Tier STEPS ====== 1. NODE_NAME S S S S S -----------------------------.HOST -----------------------------------------------------------------AUTHENTICATION N N N N N SRVR33 Y N N Y Y srvr33 SRVR77 N Y Y N Y srvr77 SQL>desc fnd_appl_tops SQL>select node_id..support_admin .ias} /m03/db2/{appltop.10 Shared Appltop 11.0 on srvr33 and srvr77 ( Refer Multinode Install)..5..5. PATH -----------------NAME -----------------/m03/db2/appltop srvr33 . Web and Forms server on srvr77.support_web.10.support_forms. Rdbms. verify whether Single-Node or Multi-Node & Appltop's Location.

APPSdb2_srvr77. ADX.env [applmgr@srvr33 ~]# cd /stage/Patches_for_upgrade/AD_I_2/4377683 [applmgr@srvr33 ~]# adpatch [applmgr@srvr77 [applmgr@srvr77 [applmgr@srvr77 [applmgr@srvr77 ~]# ~]# ~]# ~]# cd /u03/db2/appltop .F ----[applmgr@srvr33 [applmgr@srvr33 [applmgr@srvr33 [applmgr@srvr33 [applmgr@srvr77 [applmgr@srvr77 [applmgr@srvr77 [applmgr@srvr77 ~]# ~]# ~]# ~]# ~]# ~]# ~]# ~]# cd /m03/db2/appltop ./adautocfg.sh apps/apps AD Mini-Pack 1. Now Applying ADX ADX.pl [applmgr@srvr33 ~]$cd $AD_TOP/bin [applmgr@srvr33 ~]$perl admkappsutil. /m03/db2/appltop/APPSdb2_srvr33.env cd /stage/Patches_for_upgrade/ADX. APPSdb2_srvr33.zip .zip to ORACLE_HOME(DBTIER). [oracle@srvr33 ~]$chmod 777 appsutil.zip [oracle@srvr33 ~]$unzip -o appsutil. /m03/db2/commtop/admin/scripts/db2_srvr33 [root@srvr33 db2_srvr33]# ll ./adstpall.env cd /stage/Patches_for_upgrade/ADX. AD_I_2.pl /m03/db2/appltop/ad/11.5.pl This will create appsutil.sh .0/bin/admkappsutil.F/3453499 adpatch cd /u03/db2/appltop .1 or higher is required . Enable Maintenance Mode [applmgr@srvr33 ~]# cd /m03/db2/appltop [applmgr@srvr33 ~]# . Apply Application Tier Patches verify that these minimum s/w levels are met.If necessary.F . shut the services.zip Then it will create appsoui directory Run Autoconfig [oracle@srvr33 ~]$cd rdbms/appsutil/scripts/context_name/ [oracle@srvr33 ~]$. APPSdb2_srvr33.zip in /m03/db2/appltop/admin/out/ Copy appsutil.env [applmgr@srvr33 ~]$which admkappsutil.update to the required level by applying the appropriate Patch. [oracle@srvr33 ~]$cd /m01/db2/rdbms [oracle@srvr33 ~]$cp /m03/db2/appltop/admin/out/appsutil. APPSdb2_srvr77./u03/db2/appltop srvr77 4.env cd /stage/Patches_for_upgrade/AD_I_2/4377683 adpatch Disable Maintenance Mode.F/3453499 adpatch ADI2 ---Note: Apply the Patch in Admin Node First & last on web-node. [applmgr@srvr33 ~]$ .

txt You can now go ahead and run the preparation on the subsequent node(s) while thi s process completes.Maintain Applications Files menu 5. perl /u03/db2/appltop/ad/11.pl appsTier merge Running adgenhfver..pl with command. This will take some time. Maintain Snapshot Information Log in to each Application Tier node as the applmgr user Run Maintain Snapshot task in AD Administration tool [applmgr@srvr33 ~]# cd /m03/db2/appltop [applmgr@srvr33 ~]# . Running Rapid Clone with command..0/patch/115/sql/admsnlst. Log in as a applmgr user [applmgr@srvr77 ~]# cd /u03/db2/commtop/admin/scripts/db2_srvr77 [applmgr@srvr77 ~]# perl adpreclone.Maintain snapshot information 2.0/bin/adclone.Maintain snapshot information 2.txt" [applmgr@srvr77 ~]# cd /u03/db2/appltop [applmgr@srvr77 ~]# . that can be merged with srvr77: srvr33(ADMIN. Merging Existing Appltops a)Prepare the Primary Node application tier for Merging. sqlplus -s apps/apps @/u03/db2/appltop/ad/11..pl isPrimary=y applsysusr=APPLSYS tempdir=/u03/db2/commtop/temp Please enter the APPS User [APPS]: apps Please enter the APPS password: apps This is the merge Primary node: PLATFORM: linux Current APPL_TOP: srvr77 APPL_TOPs belonging to db2.. Choose WEB-Node as Primary Node(srvr77).5.Update current view snapshot LOCATION:"/m03/db2/appltop/admin/db2/out/snapshot. CONCURRENT_PROCESSING) Do you want to include srvr33 in the merge ? [y]: y Generating the high version files manifest.5.5. APPSdb2_srvr33.tx t Y Manifest located in: /u03/db2/appltop/admin/db2/out/hfilever_appl_top.5.. perl /u03/db2/appltop/ad/11.srvr77 APPLSYS /u03/db2/appltop/admin/db2/out/hfilever_appl_top..env [applmgr@srvr33 ~]# adadmin 2.pl java=/u02/db2/ias/appsoui . please wait.0/bin/adgenhfver. APPSdb2_srvr77.env [applmgr@srvr77 ~]# adadmin 2.Maintain Applications Files menu 5.sql db2 srvr77 srvr33.Update current view snapshot 6.

. sqlplus -s apps/apps @/m03/db2/appltop/ad/11.pl isPrimary=n applsysus r=APPLSYS tempdir=/m03/db2/commtop/temp Please enter the APPS User [APPS]: apps Please enter the APPS password: apps Current APPL_TOP: srvr33 This is a subsequent node to be merged into the primary node. The program is going to ask you for information about the new system: Provide the values required for creation of the new APPL_TOP Context file..0/patch/115/sql/admsnlst..log Completed Merge APPL_TOP preparation for current Node./jre/1. Downloading the high version files manifest from the database.0/bin/adclone...xml merge showProgress Beginning appltop Merge .1 mode=stage stage=/m03/db2/commtop/clone component=appltop method=CUST OM appctx=/m03/db2/appltop/admin/db2_srvr33. Sat Feb 7 14:46:07 2009 Log in as a applmgr user to ecah of secondary nodes being merged [applmgr@srvr33 ~]# cd /m03/db2/commtop/admin/scripts/db2_srvr33 [applmgr@srvr33 ~]# perl adpreclone.Take new Sessions & dont Run ENV [applmgr@srvr77 ~]# cd /u03/db2/commtop/clone/bin [applmgr@srvr77 ~]# perl adcfgclone.0/bin/adgenhfver.1 mode=stage stage=/u03/db2/commtop/clone component=appsTier method=CUS TOM appctx=/u03/db2/appltop/admin/db2_srvr77. [applmgr@srvr33 ~]# cd $COMMON_TOP/clone/appl [applmgr@srvr33 ~]# scp -rp srvr33 srvr77:/u03/db2/commtop/clone/appl/.5.Sat Feb 7 14:09:02 2009 Log file located at /m03/db2/appltop/admin/db2_srvr33/log/MergeApplTop_02070209.pl appltop merge Running adgenhfver.pl with command.srvr77 using srvr77 as the Primary node..5. c)Log in to Primary Node.sql db2 srvr33 srvr33...pl appsTier Enter the APPS password [APPS]: apps First Creating a new context file for the cloned system. Sat Feb 7 15:16:15 2009 b)Copy required files to Primary Node(WEB-NODE) for merging. perl /m03/db2/appltop/ad/11. .5.txt Running Rapid Clone with command.pl java=/m02/db2/ias/appsoui /jre/1.. Found the manifest for merging srvr33.3..3.srvr77 APPLSYS /m03/db2/appltop/admin/db2/out/hfilever_appl_top.Sat Feb 7 14:01:20 2009 Log file located at /u03/db2/appltop/admin/db2_srvr77/log/StageAppsTier_02070201 .xml merge showProgress Beginning application tier Stage . log Completed Merge APPL_TOP preparation for current Node.tx t N Manifest located in: /m03/db2/appltop/admin/db2/out/hfilever_appl_top. perl /m03/db2/appltop/ad/11.

.xml merge showProgress cont extValidated=true Beginning application tier Apply .pl java=/u03/db2/commtop/clone/b in/.6 ORACLE_HOME directory [/u02/db2/806]: Target system iAS ORACLE_HOME directory [/u02/db2/ias]: Do you want to preserve the Display set to srvr33:0. /m01/db2/rdbms/appsutil/outbound/db2_srvr33 Choose a value which will be set as APPLPTMP value on the target node [1]: Backing up /u03/db2/appltop/admin/db2_srvr77.Do you want to use a virtual hostname for the target node (y/n) [n] ?: Target system database SID [db2]: Target system database server node [srvr33]: Target system database domain name [bss. 1..xml to /u03/db2/appltop/admin/db2_s rvr77.bak Creating the new APPL_TOP Context file from : /u03/db2/appltop/ad/11. .5.tmp The new APPL_TOP context file has been created : /u03/db2/appltop/admin/db2_srvr77. /usr/tmp 2.lst UTL_FILE_DIR on database tier consists of the following directories. component=appsTier meth od=CUSTOM appctxtg=/u03/db2/appltop/admin/db2_srvr77.com]: Does the target system have more than one application tier server node (y/n) [y] ?:n Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?: Target system APPL_TOP mount point [/u03/db2/appltop]: Target system COMMON_TOP directory [/u03/db2/commtop]: Target system 8.Sat Feb 7 15:25:47 2009 Log file located at /u03/db2/appltop/admin/db2_srvr77/log/ApplyAppsTier_02070325 .log Running Rapid Clone with command: perl /u03/db2/commtop/clone/bin/adclone..xml.xml Log file located at /u03/db2/commtop/clone/bin/CloneContext_02070321.0.0 (y/n) [y] ?: Enter the Database listener port [1571]: Database port is 1571 Do you want the middle-tier services on the target system to have the same port values as the source system (y/n) [y] ?: Web Listener port is 8050 Complete port information available at /u03/db2/appltop/admin/out/db2_srvr77/por tpool.0/admin/template/adxmlctx.log Completed Apply../jre mode=apply stage=/u03/db2/commtop/clone/bin/.

0/perl/FND/CP/Logfile.5.pm /u03/db2/appltop/au/11.log RC-00123: Warning: ORACLE_HOME APPSIAS_db2 already exists inside the inventory Executing merge appl top for JRI merge merge jri files with command : JRI log file located at. /u03/db2/appltop/admin/db2/out/jri_logfile.loc Log file located at /etc/oraInventory/logs/OracleHomeCloner_02070409. Finishing tasks [applmgr@srvr77 ~]# cd /u03/db2/appltop [applmgr@srvr77 ~]# .0/perl/FND/CP.pm /u03/db2/appltop/au/11.. ORACLE_HOME NAME : APPSIAS_db2 ORACLE_HOME PATH : /u02/db2/ias Using Inventory location in /etc/oraInst.Sat Feb 7 16:09:32 2009 Beginning APPSIAS_db2 registration to central inventory.env [applmgr@srvr77 ~]# adadmin Run the following tasks in adadmin tool for all the products * Generate JAR Files 1.sh version 115.o /u03/db2/appltop/au/11.txt Copying master archive from /u03/db2/commtop/clone/bin/.Maintain Applications Files menu 6.5.0/lib/fdcpspn. /u03/db2/appltop/admin/db2/out/jri_report.Generate message files * Relink Executables 2.Generate Applications Files menu 1.txt JRI report file located at. APPSdb2_srvr77.Check for missing files Copy from srvr33 to srvr77 Missing files or directories needed in Application Object Library ---------------------------------------------------------------/u03/db2/appltop/fnd/11.5.5.0/bin/POCIRM /u03/db2/appltop/po/11./appl/srvr33/java/* to /u03/db2/commtop/java Completed copying master archive to /u03/db2/commtop/java Starting application Services for db2: Running: /u03/db2/commtop/admin/scripts/db2_srvr77/adstrtal.Generate Applications Files menu 5.5.5.16 Executing service control script: /u03/db2/commtop/admin/scripts/db2_srvr77/ 7.Relink Applications programs * Check for missed Files 2..pm Missing files or directories needed in Purchasing ---------------------------------------------------------------/u03/db2/appltop/po/11..Maintain Applications Files menu 1.Generate product JAR files * Generate Message files 1.0/lib/pocis.o Missing files or directories needed in Bills of Material .0/perl/FND/CP/ReqContext.sh APPS/<appspwd> You are running adstrtal.

0 (y/n) [y] ?: Database port is 1571 Do you want the middle-tier services on the target system to have the same port values as the source system (y/n) [y] ?: Web Listener port is 8050 Complete port information available at /u03/db2/appltop/admin/out/db2_srvr33/por tpool.pl sharedappltop contextfile=/u03/db2/appl top/admin/db2_srvr77.xml Enter the APPS user password:apps .0.6 ORACLE_HOME directory [/u02/db2/806]:/m02/db2/806 Target system iAS ORACLE_HOME directory [/u02/db2/ias]:/m02/db2/ias Do you want to preserve the Display set to srvr77:0.---------------------------------------------------------------/u03/db2/appltop/bom/11.commtop] on srvr33 give applmgr:dba permissions to /u03 9.tmp The new APPL_TOP context file has been created : /u03/db2/appltop/admin/db2_srvr33. Generate xml file in srvr55 [applmgr@srvr33 ]$ cd /u03/db2/appltop/admin/ [applmgr@srvr33 ]$ ls db2_srvr77.xml [applmgr@srvr33 ]$ cd /u03/db2/appltop/ad/115/bin [applmgr@srvr33 ]$ perl adpreclone.o 8.xml Log file located at /u03/db2/appltop/admin/db2/out/CloneContext_02070528. 1.5.0/bin [applmgr@srvr33 bin]$ . /usr/tmp 2. Run AutoConfig on srvr33 [applmgr@srvr33 ]$ cd /u03/db2/appltop/ad/11. Mount /u03[appltop.lst APPS password is required to validate database connection using database port 15 71 Enter APPS Password [APPS]: UTL_FILE_DIR on database tier consists of the following directories. /m01/db2/rdbms/appsutil/outbound/db2_srvr33 Choose a value which will be set as APPLPTMP value on the target node [1]: Creating the new APPL_TOP Context file from : /u03/db2/appltop/ad/11.5.5.0/lib/cmllcw. Do you want to use a virtual hostname for the target node (y/n) [n] ?: Do you want to add admin server node (y/n) [y] ?: Do you want to add concurrent processing server node (y/n) [y] ?: Do you want to add forms server node (y/n) [y] ?: Do you want to add web server node (y/n) [y] ?: Target system 8.log 10.0/admin/template/adxmlctx.sh Enter the full path to the Context file: /u03/db2/appltop/admin/ db2_srvr33.xml Provide the values required for creation of the new APPL_TOP Context file./adconfig.

806.log Prompt for confirmation [y/n] : /u03/db2/appltop/a : : : : : primary /u02/db2/806 /u02/db2/ias /u03/db2/config/sr : y : apps : /u03/db2/commtop/a : n Application's Context file Saved as : /u03/db2/appltop/admin/db2_srvr77.env ############################################################################# CONVERTING AN MERGED APPLTOP TO SHARED APPS TIER (APPLTOP.ias) on srvr33 in order to convert to SHARED APPS TIER. Create config Directory in /u03 where appltop & commtop located.0/patch/115/bin/ [applmgr@srvr77 bin]$ ls txkSOHM.0.0.. [applmgr@srvr33 ~]$ cd /u03/db2 [applmgr@srvr33 ~]$ mkdir config [applmgr@srvr33 ~]$ cd config [applmgr@srvr33 ~]$ mkdir srvr33 srvr77 [applmgr@srvr33 db2]$ chmod -R 777 config/ 2.env APPSORA.env APPSdb2_srvr77. /u03/db2/config/srvr77/iAS . APPSdb2_srvr77. COMMONTOP.xml Type of Instance [primary/secondary] Absolute path of Shared Oracle Home top Absolute path of 8.env db2_srvr33. /u03/db2/config/srvr77/iAS/Apache/Apache/htdocs/discwb4/apple . Log in as applmgr user in srvr77 [applmgr@srvr77 ~]$ cd /u03/db2/appltop/ [applmgr@srvr77 appltop]$ ls *.env APPSdb2_srvr77.env APPSORA.env db2_srvr77...6 .0. IAS) Note: Mount /u02(apTechstack ie 806.env db2_srvr33.env db2.env db2_srvr77.6 Shared Oracle Home : /u02/db2/806 Absolute path of iAS Shared Oracle Home : /u02/db2/ias Absolute path of config top : /u03/db2/config/srvr77 Oracle Application apps schema password : apps *** USER FEEDBACK *** Absolute path of Application's Context XML file dmin/db2_srvr77..env cd /u03/db2/appltop ls *..env APPSdb2_srvr33.[applmgr@srvr33 ]$ [applmgr@srvr33 ]$ APPSdb2_srvr33. [applmgr@srvr33 ~]$ chmod -R 777 /u02/db2 1.xml.pl Absolute path of Application's Context XML file : /u03/db2/appltop/admin/db2_ srvr77.xml Type of Instance [primary/secondary] : primary Absolute path of 8..pl txkSOHM.env db2.SOH Creating Creating Creating Creating Creating directory directory directory directory directory /u03/db2/config/srvr77/8.5.pl [applmgr@srvr77 bin]$ perl txkSOHM. /u03/db2/config/srvr77/iAS/Apache/Jserv/logs/jvm .env [applmgr@srvr77 appltop]$ cd /u03/db2/appltop/fnd/11.6 Shared Oracle Home Absolute path of iAS Shared Oracle Home Absolute path of config top vr77 Run AutoConfig [y/n] Oracle Application apps schema password Absolute path of the log file dmin/log/db2_srvr77/txkSetSOHM..env [applmgr@srvr77 appltop]$ . /u03/db2/config/srvr77/iAS/Apache/Apache/logs ..

key New value : /u03/db2/config/srvr77/iAS/Apache/Apache/conf/ssl. Context Variable: s_confighome_top Present value : New value : /u03/db2/config/srvr77 **** Searching Applications Context file for substitutions of: /u03/db2/config/srvr77/8.ora New value : /u03/db2/config/srvr77/8.crt/server.0..pid Context Variable: s_web_ssl_directory Present value : /u02/db2/ias/Apache/Apache/conf New value : /u03/db2/config/srvr77/iAS/Apache/Apache/conf Context Variable: s_web_ssl_keyfile Present value : /u02/db2/ias/Apache/Apache/conf/ssl.crt/ca-bundl e.6 /u03/db2/config/srvr77/iAS Context Variable: s_weboh_tnsadmin Present value : /u02/db2/ias/network/admin/db2_srvr77 New value : /u03/db2/config/srvr77/iAS/network/admin/db2_srvr77 Context Variable: s_tools_tnsadmin Present value : /u02/db2/806/network/admin/db2_srvr77 New value : /u03/db2/config/srvr77/8.6/forms60/wallet Context Variable: s_ifile Present value : /u02/db2/806/network/admin/db2_srvr77/db2_srvr77_ifile.key/server.secret.6/forms60/wallet Context Variable: s_forms60_wallet Present value : /u02/db2/806/forms60/wallet New value : /u03/db2/config/srvr77/8.key Context Variable: s_frmWalletDir Present value : /u02/db2/806/forms60/wallet New value : /u03/db2/config/srvr77/8.6/network/admin/db2_srvr77 Context Variable: s_web_pid_file Present value : /u02/db2/ias/Apache/Apache/logs/httpd.crt New value : /u03/db2/config/srvr77/iAS/Apache/Apache/conf/ssl.0.0.crt New value : /u03/db2/config/srvr77/iAS/Apache/Apache/conf/ssl.pid New value : /u03/db2/config/srvr77/iAS/Apache/Apache/logs/httpd.6/network/admin/db2_srvr77/db2_srvr .key/server.crt/ca-bundle..0.k ey Context Variable: s_web_ssl_certfile Present value : /u02/db2/ias/Apache/Apache/conf/ssl.t .secret.key New value : /u03/db2/config/srvr77/iAS/Apache/Jserv/conf/jserv.crt/server.0.c rt Context Variable: s_web_ssl_certchainfile Present value : /u02/db2/ias/Apache/Apache/conf/ssl.crt Context Variable: s_jserv_secret_key Present value : /u02/db2/ias/Apache/Jserv/conf/jserv.

0.ora New value : /u03/db2/config/srvr77/iAS/network/admin/db2_srvr77/db2_srvr77 _ifile.log .ora Context Variable: s_iASconfig_home Present value : /u02/db2/ias New value : /u03/db2/config/srvr77/iAS Context Variable: s_806config_home Present value : /u02/db2/806 New value : /u03/db2/config/srvr77/8.env APPSdb2_srvr33. APPSdb2_srvr33.xml Type of Instance [primary/secondary] : secondary Absolute path of 8.6/network/admin/db2_srvr77/db2_srvr 77_listener_ifile. The log file for this session is located at: /u03/db2/commtop/admin/log/db2_srvr 77/txkSetSOHM_ac.0.0/patch/115/bin/ [applmgr@srvr33 bin]$ ls txkSOHM.env db2_srvr33.pl successfully completed 3.env db2.log AutoConfig successfully completed AutoConfig log : /u03/db2/commtop/admin/log/db2_srvr77/txkSetSOHM_ac.6 *** RUNNING AUTOCONFIG *** AutoConfig completed successfully.env db2_srvr77.77_ifile.6 Shared Oracle Home : /u02/db2/806 Absolute path of iAS Shared Oracle Home : /u02/db2/ias Absolute path of config top : /u03/db2/config/sr vr33 Run AutoConfig [y/n] : y Oracle Application apps schema password : apps Absolute path of the log file : /u03/db2/commtop/a dmin/log/db2_srvr33/txkSetSOHM.pl txkSOHM.ora Context Variable: s_listener_ifile Present value : /u02/db2/806/network/admin/db2_srvr77/db2_srvr77_listener_ifil e.6 Shared Oracle Home : /u02/db2/806 Absolute path of iAS Shared Oracle Home : /u02/db2/ias Absolute path of config top : /u03/db2/config/srvr33 Oracle Application apps schema password : apps *** USER FEEDBACK *** Absolute path of Application's Context XML file : /u03/db2/appltop/a dmin/db2_srvr33.env APPSdb2_srvr77.env [applmgr@srvr33 appltop]$ .ora Context Variable: s_ias_ifile Present value : /u02/db2/ias/network/admin/db2_srvr77/db2_srvr77_ifile.xml Type of Instance [primary/secondary] : secondary Absolute path of Shared Oracle Home top : Absolute path of 8.ora New value : /u03/db2/config/srvr77/8.pl Absolute path of Application's Context XML file : /u03/db2/appltop/admin/ db2_srvr33.log txkSOHM.pl [applmgr@srvr33 bin]$ perl txkSOHM.env [applmgr@srvr33 appltop]$ cd /u03/db2/appltop/fnd/11.0.env APPSORA.5.0. Login as a applmgr user in srvr33 [applmgr@srvr33 ~]$ cd /u03/db2/appltop/ [applmgr@srvr33 appltop]$ ls *.

6 .xml.0.crt Context Variable: Present value : New value : Context Variable: Present value : New value : s_jserv_secret_key /m02/db2/ias/Apache/Jserv/conf/jserv.6/forms60/wallet .. Creating directory /u03/db2/config/srvr33/iAS/Apache/Apache/htdocs/discwb4/apple t .crt/ca-bundl e..key New value : /u03/db2/config/srvr33/iAS/Apache/Apache/conf/ssl.key /u03/db2/config/srvr33/iAS/Apache/Jserv/conf/jserv. Context Variable: s_confighome_top Present value : New value : /u03/db2/config/srvr33 **** Searching Applications Context file for substitutions of: /u03/db2/config/srvr33/8.6 /u03/db2/config/srvr33/iAS Context Variable: s_weboh_tnsadmin Present value : /m02/db2/ias/network/admin/db2_srvr33 New value : /u03/db2/config/srvr33/iAS/network/admin/db2_srvr33 Context Variable: s_tools_tnsadmin Present value : /m02/db2/806/network/admin/db2_srvr33 New value : /u03/db2/config/srvr33/8.6/network/admin/db2_srvr33 Context Variable: s_web_pid_file Present value : /m02/db2/ias/Apache/Apache/logs/httpd.secret.c rt Context Variable: s_web_ssl_certchainfile Present value : /m02/db2/ias/Apache/Apache/conf/ssl.crt New value : /u03/db2/config/srvr33/iAS/Apache/Apache/conf/ssl.0.pid Context Variable: s_web_ssl_directory Present value : /m02/db2/ias/Apache/Apache/conf New value : /u03/db2/config/srvr33/iAS/Apache/Apache/conf Context Variable: s_web_ssl_keyfile Present value : /m02/db2/ias/Apache/Apache/conf/ssl.secret. Creating directory /u03/db2/config/srvr33/iAS/Apache/Jserv/logs/jvm .crt New value : /u03/db2/config/srvr33/iAS/Apache/Apache/conf/ssl.. Creating directory /u03/db2/config/srvr33/iAS/Apache/Apache/logs .key s_frmWalletDir /m02/db2/806/forms60/wallet /u03/db2/config/srvr33/8.0...crt/server..Prompt for confirmation [y/n] : n Application's Context file Saved as : /u03/db2/appltop/admin/db2_srvr33..k ey Context Variable: s_web_ssl_certfile Present value : /m02/db2/ias/Apache/Apache/conf/ssl.key/server.0..pid New value : /u03/db2/config/srvr33/iAS/Apache/Apache/logs/httpd...key/server.SOH Creating directory /u03/db2/config/srvr33/8.crt/ca-bundle. Creating directory /u03/db2/config/srvr33/iAS .crt/server.

6/forms60/wallet Context Variable: s_ifile Present value : /m02/db2/806/network/admin/db2_srvr33/db2_srvr33_ifile.ora New value : /u03/db2/config/srvr33/iAS/network/admin/db2_srvr33/db2_srvr33 _ifile.ora Context Variable: s_iASconfig_home Present value : /m02/db2/ias New value : /u03/db2/config/srvr33/iAS Context Variable: s_806config_home Present value : /m02/db2/806 New value : /u03/db2/config/srvr33/8.6/network/admin/db2_srvr33/db2_srvr 33_ifile.0/bin:${LD_LIBRARY_PATH:=} Context Variable: s_disco_jretop" osd="Linux Present value : /m02/db2/806/jre1183o New value : /u02/db2/806/jre1183o Context Variable: s_lock_pid_dir Present value : /m02/db2/ias/Apache/Apache/logs New value : /u02/db2/ias/Apache/Apache/logs .ora Context Variable: s_ias_ifile Present value : /m02/db2/ias/network/admin/db2_srvr33/db2_srvr33_ifile.0/bin:${LD_LIBRARY_PATH:=} New value : /m02/db2/ias/lib:/u02/db2/806/network/jre11/lib/i686/native_th reads:/u02/db2/806/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11 .0.Context Variable: s_forms60_wallet Present value : /m02/db2/806/forms60/wallet New value : /u03/db2/config/srvr33/8.6 **** Searching Applications Context file for substitutions of: /u02/db2/806 /u02/db2/ias Context Variable: s_conc_java_ldlib" osd="UNIX Present value : /m02/db2/ias/lib:/m02/db2/806/network/jre11/lib/i686/native_th reads:/m02/db2/806/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11 .5.0.ora New value : /u03/db2/config/srvr33/8.5.0.5.ora Context Variable: s_listener_ifile Present value : /m02/db2/806/network/admin/db2_srvr33/db2_srvr33_listener_ifil e.ora New value : /u03/db2/config/srvr33/8.0/bin:${LD_LIBRARY_PATH:=} New value : /u02/db2/ias/lib:/m02/db2/806/network/jre11/lib/i686/native_th reads:/m02/db2/806/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11 .6/network/admin/db2_srvr33/db2_srvr 33_listener_ifile.0/bin:${LD_LIBRARY_PATH:=} Context Variable: s_conc_java_ldlib" osd="UNIX Present value : /m02/db2/ias/lib:/m02/db2/806/network/jre11/lib/i686/native_th reads:/m02/db2/806/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11 .5.0.

env New value : /u02/db2/806/db2_srvr33.2_04/bin:$PATH New value : /u02/db2/806/bin:/usr/bin:/usr/sbin:/u03/db2/commtop/util/java /1.env New value : /u02/db2/ias/db2_srvr33.4/j2sdk1.env Context Variable: s_weboh_oh Present value : /m02/db2/ias New value : /u02/db2/ias Context Variable: s_tp Present value : /m02/db2/ias New value : /u02/db2/ias Context Variable: s_weboh_path" osd="Linux Present value : /m02/db2/ias/bin:/usr/bin:/usr/sbin:/m02/db2/ias/Apache/jdk/bi n:$PATH New value : /u02/db2/ias/bin:/usr/bin:/usr/sbin:/u02/db2/ias/Apache/jdk/bi n:$PATH Context Variable: s_weboh_java Present value : /m02/db2/ias/Apache/jdk New value : /u02/db2/ias/Apache/jdk .Context Variable: s_websrv_wallet_file Present value : /m02/db2/ias/Apache/Apache/conf New value : /u02/db2/ias/Apache/Apache/conf Context Variable: s_core_dest Present value : /m02/db2/ias/Apache/Apache/logs New value : /u02/db2/ias/Apache/Apache/logs Context Variable: s_func_comp_loc Present value : /m02/db2/ias/Apache/Jserv/servlets New value : /u02/db2/ias/Apache/Jserv/servlets Context Variable: s_tools_home_file" osd="unix Present value : /m02/db2/806/db2_srvr33.4.2_04/bin:$PATH Context Variable: s_tools_ldlib" osd="Linux Present value : /m02/db2/806/lib:/usr/X11R6/lib:/usr/openwin/lib New value : /u02/db2/806/lib:/usr/X11R6/lib:/usr/openwin/lib Context Variable: s_tools_oranls" osd="unix Present value : /m02/db2/806/ocommon/nls/admin/data New value : /u02/db2/806/ocommon/nls/admin/data Context Variable: s_tools_locpref Present value : /m02/db2/806/tools/admin New value : /u02/db2/806/tools/admin Context Variable: s_web_home_file" osd="unix Present value : /m02/db2/ias/db2_srvr33.4.4/j2sdk1.env Context Variable: s_tools_oh Present value : /m02/db2/806 New value : /u02/db2/806 Context Variable: s_tools_path" osd="Linux Present value : /m02/db2/806/bin:/usr/bin:/usr/sbin:/u03/db2/commtop/util/java /1.

4.2_04/lib/tools.00503:/u02/db2/ias/Apache/perl/ lib/site_perl/5.4.zip:/u02/db2/806/forms60/java:/u03/db2/commtop/java Context Variable: s_adovar_afclasspath" osd="unix Present value : /u03/db2/commtop/util/java/1.4/j2sdk1.2_04/jr e/lib/charsets.jar:/u03/db2/commtop/util/java/1.4/j2sdk1.4.00503:/m02/db2/ias/Apache/perl/ lib/site_perl/5.2_04/lib/tools.jar:/u03/d b2/commtop/util/java/1.zip:/u03/db2/commtop/java/app s.jar:/u03/db2/commtop/util/java/1.4/j2sdk1.4/j2sdk1.jar:/u03/d b2/commtop/util/java/1.2_04/jre/lib/rt.2_04/lib/dt.4.4.4.app New value : /u02/db2/ias/Apache/modplsql/cfg/wdbsvr.0/bin:${LD_LIB RARY_PATH:=} Context Variable: s_adperlprg" osd="unix Present value : /m02/db2/ias/Apache/perl/bin/perl New value : /u02/db2/ias/Apache/perl/bin/perl Context Variable: s_perl5lib" osd="unix Present value : /m02/db2/ias/Apache/perl/lib/5.4.4/j2sdk1.4.zip:/u03/db2/commtop/java/app s.5.4/j2sdk1.2_04/jr e/lib/charsets.2_04/lib/tools.4.4.jar:/u03/db2/commtop/java/appsborg2.4/j2sdk1.jar:/u03/db2/commtop/util/java/ 1.Context Variable: s_weboh_ldlib" osd="Linux Present value : /m02/db2/ias/lib:/usr/X11R6/lib New value : /u02/db2/ias/lib:/usr/X11R6/lib Context Variable: s_weboh_oranls" osd="unix Present value : /m02/db2/ias/ocommon/nls/admin/data New value : /u02/db2/ias/ocommon/nls/admin/data Context Variable: s_weboh_locpref Present value : /m02/db2/ias/tools/admin New value : /u02/db2/ias/tools/admin Context Variable: s_wv_gateway_cfg Present value : /m02/db2/ias/Apache/modplsql/cfg/wdbsvr.zip:/m02/db2/806/forms60/java:/u03/db2/commtop/java New value : /u03/db2/commtop/util/java/1.4/j2sdk1.0/perl New value : /u02/db2/ias/Apache/perl/lib/5.4.jar:/u03/db2/commtop/util/java/ 1.2_04/jr e/lib/charsets.zip:/u03/db2/commtop/java/app s.4/j2sdk1.2_04/lib/tools.2_04/lib/dt.jar:/u03/db2/commtop/util/java/ 1.app Context Variable: s_adovar_classpath" osd="unix Present value : /u03/db2/commtop/util/java/1.2_04/jre/lib/rt.4/j2sdk1.5.4/j2sdk1.2_04/lib/dt.4.0/bin:${LD_LIB RARY_PATH:=} New value : /u02/db2/806/network/jre11/lib/i686/native_threads:/u02/db2/80 6/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11.4/j2sdk1.jar:/u03/d b2/commtop/util/java/1.005:/u03/db2/appltop/au/11.4.5.jar:/u03/db2/commtop/util/java/1.jar:/u03/db2/commtop/java/appsborg2.005:/u03/db2/appltop/au/11.jar:/u03/db2/commtop/java/appsborg2.5.2_04/jre/lib/rt.zip:/u02/db2/806/forms60/java:/u03/db2/commtop/java Context Variable: s_adovar_ldlib" osd="Linux Present value : /m02/db2/806/network/jre11/lib/i686/native_threads:/m02/db2/80 6/network/jre11/lib/linux/native_threads:/u03/db2/appltop/cz/11.2_04/jr e/lib/charsets.4/j2sdk1.jar:/u03/db2/commtop/util/java/ 1.4.4/j2sdk1.zip:/u03/db2/commtop/java/app s.4/j2sdk1.0/perl *** RUNNING AUTOCONFIG *** AutoConfig could not successfully execute the following scripts: Directory: /u03/db2/commtop/admin/install/db2_srvr33 .2_04/lib/dt.jar:/u03/db2/commtop/util/java/1.2_04/jre/lib/rt.jar:/u03/db2/commtop/java/appsborg2.zip:/m02/db2/806/forms60/java:/u03/db2/commtop/java New value : /u03/db2/commtop/util/java/1.4.4/j2sdk1.jar:/u03/d b2/commtop/util/java/1.4.

1 rdbms into the above 10grdbms directory. Install companion CD into the above direcroty. [applmgr@srvr33]# cd /ADX. 7.0.2.2. Apply inter-operability pathch ( 4653225) for 10gR2 [applmgr@srvr33]# cd /stage/Patches_for_upgrade/4653225 [applmgr@srvr33]# adpatch provide the driver u4653225. SQL> select * from ad_bugs where bug_number='4489303'. Create a directory for installing 10g rdbms. Apply the Inter-Operability Patch(4653225) For this apply the pre-req patches.F (3453499) 4.sh INSTE8_PRF 1 ############################################################################# UPGRADING ORACLE APPS FROM 11.drv 6. 9.10. Rollup level L (4489303) ADX.Apply 10./runInstaller [oracle@srvr33]#cd /stage/10gPatchset [oracle@srvr33]# .0. [oracle@srvr33]# mkdir -p /m01/db3/10grdbms [root@srvr33]# chown -R oracle:dba /m01/db3/ [root@srvr33]# chmod -R 777 /m01/db3/ [oracle@srvr33]#cd /stage/10gRDBMS/Disk1 [oracle@srvr33]# .0. 2. no rows SQL> select * from ad_bugs where bug_number='3453499'. Start the DB/Listener. no rows Enable maintainance mode [applmgr@srvr33]# cd /stage/Patches_for_upgrade/rollup [applmgr@srvr33]# cd 4489303/fnd/patch115/bin [applmgr@srvr33]# perl txktxkprepatchcheck.pl -script=ValidateRollup outfile=$APPLTMP/txkValidateRollup.cmd if it throws any error. Note:open this driver file & remove adconfig.drv.html -appspass=apps ALL PASS [applmgr@srvr33]# cd 4489303 [applmgr@srvr33]# adpatch Provide u4489303.drv 5.admk80ln.2.0 (R12) ----------------------------------------------------------STEPS ===== 1.0 TO 12. Upgrade the database to 10g.F/3453499 [applmgr@srvr33]# adpatch provide driver u3453499.4 Patchset into the above directory. Create an instance of 115102.0.0. Install the 10.5. 3. Start a new session login as oracle ./runInstaller 8.

[oracle@srvr33 ~]$cd /m01/db3/rdbms [oracle@srvr33 ~]$cp /m03/db3/appltop/admin/out/appsutil.pl This will create appsutil. 2.2.[oracle@srvr33]# cd /m01/db3/10grdbms/bin [oracle@srvr33]# dbua select the advance button select the existing db of 9. xml and network related files in the new oracle rdbms home. The upgrade process will take about 8 Hrs./adautocfg. [oracle@srvr33 ~]$chmod 777 appsutil. [oracle@srvr33 db3_srvr33]$ ls listener_ifile. 3. 10. /m03/db3/appltop/APPSdb3_srvr33.We will not have the env.zip [oracle@srvr33 ~]$unzip -o appsutil.pl /m03/db3/appltop/ad/11. . so copy them from the old home to the new home locations.ora sqlnet_ifile.sh [oracle@srvr33]# cd /m01/db3/10grdbms [oracle@srvr33]# .env [applmgr@srvr33 ~]$which admkappsutil.udump.zip in /m03/db3/appltop/admin/out/ Copy appsutil.ora .ora tnsnames.zip .0/bin/admkappsutil.zip Run Autoconfig [oracle@srvr33 ~]$cd /appsutil/scripts/context_name/ [oracle@srvr33 ~]$. create directories for dump & network files [oracle@srvr33]# mkdir -p /m01/db3/10grdbms/admin/db3_srvr33/ {bdump. copy the xml file and edit with the relavant paths.6 version to be upgraded.0.ora :%s/rdbms/rdbms10g/g [oracle@srvr33 db3_srvr33]$ vi tnsnames. 1.cdump} [oracle@srvr33]# chmod -R 777 /m01/db3/10grdbms/admin/db3_srvr33 [oracle@srvr33]# mkdir -p /m01/db3/10grdbms/network/admin/db3_srvr33/ [oracle@srvr33 db3_srvr33]$ pwd /m01/db3/rdbms10g/network/admin/db3_srvr33 [oracle@srvr33 db3_srvr33]$ cp /m01/db3/rdbms/network/admin/db3_srvr33/ *.5.pl [applmgr@srvr33 ~]$cd $AD_TOP/bin [applmgr@srvr33 ~]$perl admkappsutil. Database altered. db3_srvr33.ora listener.ora [oracle@srvr33 db3_srvr33]$ vi listener. Total System Global Area 608174080 bytes Fixed Size 1268872 bytes Variable Size 427819896 bytes Database Buffers 167772160 bytes Redo Buffers 11313152 bytes SQL> alter database mount.env SQL> startup nomount ORACLE instance started.ora :%s/rdbms/rdbms10g/g [applmgr@srvr33 ~]$ . copy the env file and edit with the relavant paths.zip to ORACLE_HOME(DBTIER).

0 .0.4.0.4.SQL> alter database open.4.0.0 .0.2.0 .0 Production TNS for Linux: Version 10. [root@srvr33]# cd /stage/r12/startCD/Disk1/rapidwiz [root@srvr33]# .This directory is only for installing the rdbms along with the apps.Production SQL> show parameter bdump SQL> show parameter back NAME -----------------------------------background_core_dump background_dump_dest TYPE VALUE -------------------------------string partial string /m01/db3/rdbms/admin/db3_srvr3 3/bdump backup_tape_io_slaves boolean FALSE db_flashback_retention_target integer 1440 fast_start_parallel_rollback string LOW rollback_segments string transactions_per_rollback_segment integer 5 SQL> select count(*) from dba_objects where status='INVALID'. Install R12 Software.2. Database altered.Create directories for installing R12 apps Remove File from appltop & commtop.4.4./rapidwiz Choose upgrade option . [root@srvr33]# chmod -R 777 /m01/db3 /m03/db3 [root@srvr33]# chmod -R 777 /m02/db3 /m03/db3 [root@srvr33]# chmod -R 777 /m03/db3 /m03/db3 13.0.2.Prod PL/SQL Release 10. Will not be used as we have already installed and patched rdbms in 10grdbms directory above. COUNT(*) ---------181 SQL> @?/rdbms/admin/utlrp 12.Production CORE 10. BANNER ---------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10. SQL> select * from v$version.0 .2.2.Production NLSRTL Version 10.10gas} [applmgr@srvr33]# cd /m03/db3/appltop [applmgr@srvr33]# rm -rf * [applmgr@srvr33]# cd /m03/db3/commtop [applmgr@srvr33]# rm -rf * [root@srvr33]# mkdir -p /m03/db3/{insttop} [root@srvr33]# mkdir -p /m01/db3/r12 -. [root@srvr33]# mkdir -p /m02/db3{10gdev.

/m01/db3/10grdbms/db3_srvr33.2 <-.2 cd $AU SQL> select patch_level from fnd_patch_installations where patch_level like '%AD%'. Upgrade the product groups and AD product by applying patches in the subsequent steps.I.I.appltop. SQL> @adcrtbps.AD.sql apps apps This script generates a script called adcrtbps.sql SQL> select * from fnd_product_groups.should become R12.5.sql APPLSYS cd $APPL_TOP/admin SQL> @adgncons. Run he sql scripts before applying the patches.0 15. 14.AD. . 12.env SQL> conn apps/apps SQL> select release_name from fnd_product_groups.sql.0.0. As sysdba cd $AD_Top/patch/115/sql SQL> @adgrants.txt. Up grade the AD products. Run the R12 env file .10. This scripts creates 2 new tablespaces required. Edit this file with the relavant paths.-With this option it will not create DB Choose decline option Choose Create upgrade File System Give the same listener port number here Give the insttop. 11i. remove izu entries form $APPL_TOP/admin/topfile. RELEASE_NAME -------------------------------------------------11. We are getting error with respect to IZU product when applying the following patch. To fix this.2 15.commontop paths here The isnstallation process will take about 2 Hrs.

AD.estuate SID:ESTSLFC1 PORT:1521 Url-http://salesforce.drv At this stage the AD products get upgraded.1 Port is 1521 Url http://salesforce.I.2 16.1. R12.197.estuate:8002 for R12. ############################################################################# Note: for 11i apps port is IP:76.estuate:8000 Url is _ . SQL> select patch_level from fnd_patch_installations where patch_level like '%AD%'.[applmgr@srvr33]# cd /stage/r12patches/4502962 [applmgr@srvr33]# adpatch provide driver u4502962. Upgrade the AOL with the following patch.60 Host Name:salesforce.19.

Sign up to vote on this title
UsefulNot useful