Académique Documents
Professionnel Documents
Culture Documents
======================
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
14. Generate the backup control file to trace at the source db.
Alter database backup controlfile to trace;
15. Shut down the source db and listener.
16. Copy the datafiles, ctl files, redo logs to db4 folder.
17. Edit the pfile with the relavant changes.
18. Edit the create control 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;
19. Run the create control file in startup nomount state
@controlfile.sql
20. Add the Tempfiles to the database
ALTER TABLESPACE TEMP ADD TEMPFILE '/prod/db4/oradata/temp01.dbf'
SIZE 1048576000 REUSE AUTOEXTEND OFF;
21. Connect To The database update the Global_name
SQL> select * from global_name;
GLOBAL_NAME
-------------------------------------
DB3.US.ORACLE.COM
SQL> alter database rename global_name to db4.bss.com;
Database altered.
SQL> select * from global_name;
GLOBAL_NAME
----------------------------------------------------------------------
DB4.BSS.COM
SQL> conn apps/apps
Connected.
SQL> select RELEASE_NAME,APPLICATIONS_SYSTEM_NAME from
fnd_product_groups;
RELEASE_NAME APPLICATIONS_SYSTEM_NAME
------------------------------
11.5.9 db3
Note:db3 get modified to db4 after running autoconfig in AppsTier.
22. Change sys & system pwd if needed.
23. Drop & recreate DBLINKS.
24. Drop & recreate Directory Objects.
25. Run The autoconfig in dbTier
[oracle@srvr33 db4_srvr33]$ ./adautocfg.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.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/01200438/adconfig.log
APPS TIER
==========
1. Tar all the files in 806,ias,appltop,commtop.
2. Copy & UnTar the Tar file to respective Locations of Detination.
3. Relink the 806 Home
a)Modify the Env file
[applmgr@srvr33 806]$ mv db3_srvr33.env db4_srvr33.env
[applmgr@srvr33 806]$ vi db4_srvr33.env
:%s/db3/db4/g
[applmgr@srvr33 806]$ . db4_srvr33.env
b)Relink the Make files
[applmgr@srvr33 806]$ cd forms60/lib/
[applmgr@srvr33 lib]$ ls *mk
cus_forms60w.mk env_forms60.mk ins_forms60w.mk
[applmgr@srvr33 lib]$ make -f ins_forms60w.mk install
[applmgr@srvr33 806]$ cd reports60/lib/
[applmgr@srvr33 lib]$ ls *mk
cus_reports60w.mk env_reports60.mk ins_reports60w.mk
[applmgr@srvr33 lib]$ make -f ins_reports60w.mk install
[applmgr@srvr33 806]$ cd graphics60/lib/
[applmgr@srvr33 lib]$ ls *mk
cus_graphics60d.mk cus_graphics60w.mk ins_graphics60d.mk
ins_graphics60w.mk
cus_graphics60r.mk env_graphics60.mk ins_graphics60r.mk
[applmgr@srvr33 lib]$ make -f ins_graphics60w.mk install
[applmgr@srvr33 806]$ cd procbuilder60/lib/
[applmgr@srvr33 lib]$ ls *mk
cus_procbuilder.mk env_procbuilder.mk ins_procbuilder.mk
[applmgr@srvr33 lib]$ make -f ins_procbuilder.mk install
[applmgr@srvr33 806]$ cd network/lib/
[applmgr@srvr33 lib]$ ls *mk
env_network.mk env_oemagent.mk ins_network.mk ins_oemagent.mk
[applmgr@srvr33 lib]$ make -f ins_network.mk install
c)Modify the Context_name folder & Listener,Tnsnames
cd /m02/db4/806/network/admin
[applmgr@srvr33 admin]$ mv db3_srvr33/ db4_srvr33
[applmgr@srvr33 admin]$ ls db4_srvr33/
listener.ora tnsnames.ora
open both the files & modify
:%s/db3/db4/g
:%s/1630/1558/g
4. Relink the ias Home
a)Modify the Env file
[applmgr@srvr33 ias]$ mv db3_srvr33.env db4_srvr33.env
[applmgr@srvr33 ias]$ vi db4_srvr33.env
:%s/db3/db4/g
[applmgr@srvr33 ias]$ . db4_srvr33.env
[applmgr@srvr33 ias]$ cd network/lib/
[applmgr@srvr33 lib]$ ls *mk
env_network.mk ins_cman.mk ins_nau.mk ins_net_server.mk
env_oemagent.mk ins_names.mk ins_net_client.mk ins_oemagent.mk
[applmgr@srvr33 lib]$ make -f ins_net_client.mk install
Note:Update the below entry in inventory.xml
<HOME NAME="APPS_ias" LOC="/m02/db4/ias" TYPE="O" IDX="29"/>
5. Modify the Env's & adovars.env,Xml files in Appltop
[applmgr@srvr33 appltop]$ mv APPSdb3_srvr33.env APPSdb4_srvr33.env
[applmgr@srvr33 appltop]$ vi APPSdb4_srvr33.env
:%s/db3/db4/g
[applmgr@srvr33 appltop]$ mv db3_srvr33.env db4_srvr33.env
[applmgr@srvr33 appltop]$ vi db4_srvr33.env
:%s/db3/db4/g
[applmgr@srvr33 appltop]$ . APPSdb4_srvr33.env
[applmgr@srvr33 appltop]$ cd admin/
[applmgr@srvr33 admin]$ ls adovars.env
adovars.env
[applmgr@srvr33 admin]$ vi adovars.env
:%s/db3/db4/g
[applmgr@srvr33 appltop]$ . APPSdb4_srvr33.env
[applmgr@srvr33 appltop]$ tnsping db4
TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 21-JAN-2009
13:40:04
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=srvr33)(PORT=1558))
OK (20 msec)
[applmgr@srvr33 admin]$ ls db3_srvr33.xml
db3_srvr33.xml
[applmgr@srvr33 admin]$ mv db3_srvr33.xml db4_srvr33.xml
[applmgr@srvr33 admin]$ vi db4_srvr33.xml
:%s/db3/db4/g
Note:Modify the ports for reports,forms,web,dbport.
db3 port no is 1525
db4 port no is 1558
The Diff is 33,add this 33 to reports,forms,web,dbport.
Search the xml fie with the following keywords.
/dbport,/reports_port,/forms_port,/web_port
6. Clean up the Application Object Library,because it contains previous
database URLinformation like NODE_NAME,HOST,DOMAIN,SERVER_ADDRESS ..
SQL>select * from fnd_nodes;
It will display many rows,so to Clean that we have a procedure.
SQL> desc fnd_conc_clone
PROCEDURE SETUP_CLEAN
PROCEDURE TARGET_CLEAN
SQL> exec fnd_conc_clone.TARGET_CLEAN();
PL/SQL procedure successfully completed.
commit;
SQL> select * from fnd_nodes;
no rows selected
7. Run Autoconfig
Note:Never use adautocfg.sh from commontop to run Autoconfig,it will
points out to source database.
[applmgr@srvr33 admin]$ cd /appl_top/ad/11.5.0/bin
[applmgr@srvr33 bin]$ ./adconfig.sh
Enter the APPS user password:
apps
This will register target Application system name in to AOL refer
fnd_nodes,fnd_product_groups.
Set The Env
[applmgr@srvr33 appltop]$ . APPSdb4_srvr33.env
8. Check Whether AOL contains new database name or not?
SQL> select RELEASE_NAME,APPLICATIONS_SYSTEM_NAME from fnd_product_groups;
RELEASE_NAME APPLICATIONS_SYSTEM_NAME
------------------------------
11.5.9 db4
SQL> select node_name,server_id from fnd_nodes;
NODE_NAME SERVER_ID
----------------------------------------------------------------------
SRVR33 610C02BF14CEC951E040A8C021001DED39887971914708318863730225275302
============================================================================
RAPID CLONING
==============
PreRequisites for Different Versions
====================================
1. 11.5.9
a) Apply Inter-Operability Patch for Listener Compatibility.
b) Apply ADX.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.Otherwise we have to manually run.)
d) Go to AD_TOP/bin
Run perl admkappsutil.pl
Then it will generate appsutil.zip file in appltop/admin/out directory
Copy appsutil.zip file to ORACLE_HOME(DBTIER) & give write permisions
e) Unzip the appsutil.zip & Run Autoconfig
f) Check OUI versions of RDBMS & ias (2.2.0.19)
2. 11.5.10
a) Apply ADX.F patch to APPSTIER which will updates the Oracle App's file
System with RAPID CLONE files.
b) Go to AD_TOP/bin
Run perl admkappsutil.pl
Then it will generate appsutil.zip file in appltop/admin/out directory
Copy appsutil.zip file to ORACLE_HOME(DBTIER) & give write permisions
c) Unzip the appsutil.zip & Run Autoconfig
d) Check OUI versions of RDBMS & ias (2.2.0.19)
3. 11.5.10.2
Directly go for Rapid Clone.
Steps For RapidClone
====================
11.5.9
=======
1. Verify the OUI version of the source system. The required version
is 2.2.0.19.0. Here the RDBMS will have a qualified version for
rapidclone. But the ias will have a lower verison.So apply the patch
for the ias oui.
/m01/db3/rdbms/apploui/oui
more oraparam.ini
2.2.0.16.0 <--- qualified version
/m02/db3/ias/apploui/oui
more oraparam.ini
2.1.0.17.0
From stage copy the required patch into ias directory and unzip.
It will create a oui folder
Login as applmgr.
Run the env file
. /m03/db3/appltop/APPSdb3_srvr33.env
cd /m02/db3/ias/appsoui/setup
perl OUIsetup.pl
2. Apply Rapidclone patch ADX.F(3453499) (contd in same window so no
need to run env again.)
[applmgr@srvr33 ~]$cd /stage/Patches_for_upgrade/
ADX.f/3453499
[applmgr@srvr33 ~]$adpatch
Then Run Autoconfig.
Note:In 11.5.9 we have to run Autoconfig after ADX.F,because AD basic
version is H.
[applmgr@srvr33 ~]$cd /m03/db3/commtop/admin/scripts/context_name/
[applmgr@srvr33 ~]$./adautocfg.sh
[applmgr@srvr33 ~]$ . /m03/db3/appltop/APPSdb3_srvr33.env
[applmgr@srvr33 ~]$which admkappsutil.pl
/m03/db3/appltop/ad/11.5.0/bin/admkappsutil.pl
[applmgr@srvr33 ~]$cd $AD_TOP/bin
[applmgr@srvr33 ~]$perl admkappsutil.pl
This will create appsutil.zip in /m03/db3/appltop/admin/out/
Copy appsutil.zip to ORACLE_HOME(DBTIER).
[oracle@srvr33 ~]$cd /m01/db3/rdbms
[oracle@srvr33 ~]$cp /m03/db3/appltop/admin/out/appsutil.zip .
[oracle@srvr33 ~]$chmod 777 appsutil.zip
[oracle@srvr33 ~]$unzip -o appsutil.zip
Run Autoconfig
[oracle@srvr33 ~]$cd /appsutil/scripts/context_name/
[oracle@srvr33 ~]$./adautocfg.sh
3. Clone Both Tiers
use Rapid clone to create template files for cloning on source system.
It will create clone directory and required executables in source
system.
a)Prepare the source system database Tier
[oracle@srvr33 ~]$ cd /m01/db3/rdbms/appsutil/scrripts/context_name/
[oracle@srvr33 ~]$ perl adpreclone.pl dbTier
b)Prepare the source system App's Tier
[applmgr@srvr33 ~]$cd /m03/db3/commtop/admin/scripts/context_name/
[applmgr@srvr33 ~]$ perl adpreclone.pl appsTier
4. Copy the Source System both Tiers to Target System
Login as oracle user,copy TechStack & database to Target system
Login as applmgr user,copy atTechStack & appltop to Target system
Note:While copying the dbTier database & Listener should be DOWN.
5. Configuring the Target System(DB4)
a)configure the Target System dbTier
Note:Do not run any Env files,open new sessions for both the tiers
[oracle@srvr33 ~]$cd /m01/db4/rdbms/appsutil/clone/bin
[oracle@srvr33 ~]$ perl adcfgclone.pl dbTier
It will recreate env,pfile,xml with Target system name.Then it will
relink and register the Home in inventory.xml.This will also
recreate controlfile,startup database & listener
b)configure the Target System appsTier
[applmgr@srvr33 ~]$cd /m03/db4/commtop/clone/bin
[applmgr@srvr33 ~]$perl adcfgclone.pl appsTier
This will recreate env,xml files in appltop & relink ,register ias
home in inventory.xml & it will start all appsTier services.
============================================================================
REFRESH (DB TIER ONLY)
======================
DB3 is cloned to DB4. Since we have not applied any patches to the both the TE
CHSTACKs and COMMON_TOP,APPL_TOP.
We are refreshing only the database using hot clone method and then configuring
appltop and common top.
We need to clone appltop and common top also to do this refresh.
STEPS
=====
Take backup of the /m03/db4/appltop/admin/db4_srvr33.xml file before
starting the following process from db4 database. This is necessary
because the db4_srvr33.xml is alredy configured with the dbport
and paths when colned to db3 to db4. We will loose this file if you copy the co
mmon top and appl top directories from db3 to db4.
1. Remove the database from db4 and remove appltop and commontop files
from db4 folders.
2. Tar and untar commntop and appltop binaries from db3 to db4.
3. Put the db3 databse in archive log mode and then put all the tablespaces
in backup mode.
4. Copy the data files and archive log files of db3 database to db4 folders.
5. Put the db3 database in end backup mode.
6. Create the control file and create the db4 database.
7. Recover the database db4 using the backup control file option.
8. At the end of the recovery session, apply the db3 online redo logs
and complete the mediarecovery.
9. Add the temp file for the temp tablespace.
10. Clean up the Application Object Library,because it contains previous
database URLinformation like NODE_NAME,HOST,DOMAIN,SERVER_ADDRESS ..
SQL>select * from fnd_nodes;
It will display many rows,so to Clean that we have a procedure.
SQL> desc fnd_conc_clone
PROCEDURE SETUP_CLEAN
PROCEDURE TARGET_CLEAN
SQL> exec fnd_conc_clone.TARGET_CLEAN();
PL/SQL procedure successfully completed.
commit;
SQL> select * from fnd_nodes;
no rows selected
12. Restore the /m03/db4/appltop/admin/db4_srvr33.xml from the backup
location to this folder
Migration processes for tables with LONG and LONG RAW columns started. Please mo
nitor the log file /prod/db1/oatm/fndmlong0204181315.log for errors
Sequential migration process started. Please monitor the log file /prod/db1/oatm
/fndemseq0204181316.log for errors
Parallel migration processes started. Please monitor the log file /prod/db1/oatm
/fndemcmd0204181316.log for errors
Press Return key to continue...
Please enter your option - 5
Run Migration Status Reports
[Q]uit [B]ack
Please enter your option - Run all the options one after one.
#############################################################################
DISTRIBUTED APPLTOP TO SHARED APPLTOP [MERGE APPLTOP]
------------------------------------------------------
Note:
11.5.9 Distributed Appltop
11.5.10 Shared Appltop
11.5.10.2 Shared Application Tier
STEPS
======
1. Create the directories.
Rdbms, Admin, Ccm on srvr33.
Web and Forms server on srvr77.
[root@srvr33 ~]# mkdir -p /m01/db2/rdbms
[root@srvr33 ~]# mkdir -p /prod/db2/oradata
[root@srvr33 ~]# mkdir -p /m02/db2/{806,ias}
[root@srvr33 ~]# mkdir -p /m03/db2/{appltop,commtop}
[root@srvr33 ~]# chown -R oracle:dba /m01/db2
[root@srvr33 ~]# chown -R applmgr:dba /m02/db2
[root@srvr33 ~]# chown -R applmgr:dba /m03/db2
[root@srvr33 ~]# chown -R oracle:dba /prod/db2
[root@srvr33 ~]# chmod -R 777 /prod/db2
[root@srvr33 ~]# chmod -R 777 /m01/db2
[root@srvr33 ~]# chmod -R 777 /m02/db2
[root@srvr33 ~]# chmod -R 777 /m03/db2
[root@srvr77 ~]# mkdir -p /u02/db2/{806,ias}
[root@srvr77 ~]# mkdir -p /u03/db2/{appltop,commtop}
[root@srvr77 ~]# chown -R applmgr:dba /u02/db2
[root@srvr77 ~]# chown -R applmgr:dba /u03/db2
[root@srvr77 ~]# chmod -R 777 /u02/db2
[root@srvr77 ~]# chmod -R 777 /u03/db2
2. Install 11.5.10.0 on srvr33 and srvr77 ( Refer Multinode Install).
3. verify whether Single-Node or Multi-Node & Appltop's Location.
conn apps/apps
SQL>select node_name,support_cp,support_forms,support_web,support_admin
,status,host from fnd_nodes;
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,name,path from fnd_appl_tops;
PATH
------------------
NAME
------------------
/m03/db2/appltop
srvr33
/u03/db2/appltop
srvr77
4. Apply Application Tier Patches
verify that these minimum s/w levels are met.If necessary,update to the
required level by applying the appropriate Patch.
shut the services.
/m03/db2/commtop/admin/scripts/db2_srvr33
[root@srvr33 db2_srvr33]# ll
./adstpall.sh apps/apps
AD Mini-Pack 1.1 or higher is required .
Now Applying ADX ADX.F , AD_I_2.
ADX.F
-----
[applmgr@srvr33 ~]# cd /m03/db2/appltop
[applmgr@srvr33 ~]# . APPSdb2_srvr33.env
[applmgr@srvr33 ~]# cd /stage/Patches_for_upgrade/ADX.F/3453499
[applmgr@srvr33 ~]# adpatch
[applmgr@srvr77 ~]# cd /u03/db2/appltop
[applmgr@srvr77 ~]# . APPSdb2_srvr77.env
[applmgr@srvr77 ~]# cd /stage/Patches_for_upgrade/ADX.F/3453499
[applmgr@srvr77 ~]# adpatch
ADI2
----
Note: Apply the Patch in Admin Node First & last on web-node.
Enable Maintenance Mode
[applmgr@srvr33 ~]# cd /m03/db2/appltop
[applmgr@srvr33 ~]# . APPSdb2_srvr33.env
[applmgr@srvr33 ~]# cd /stage/Patches_for_upgrade/AD_I_2/4377683
[applmgr@srvr33 ~]# adpatch
[applmgr@srvr77 ~]# cd /u03/db2/appltop
[applmgr@srvr77 ~]# . APPSdb2_srvr77.env
[applmgr@srvr77 ~]# cd /stage/Patches_for_upgrade/AD_I_2/4377683
[applmgr@srvr77 ~]# adpatch
Disable Maintenance Mode.
[applmgr@srvr33 ~]$ . /m03/db2/appltop/APPSdb2_srvr33.env
[applmgr@srvr33 ~]$which admkappsutil.pl
/m03/db2/appltop/ad/11.5.0/bin/admkappsutil.pl
[applmgr@srvr33 ~]$cd $AD_TOP/bin
[applmgr@srvr33 ~]$perl admkappsutil.pl
This will create appsutil.zip in /m03/db2/appltop/admin/out/
Copy appsutil.zip to ORACLE_HOME(DBTIER).
[oracle@srvr33 ~]$cd /m01/db2/rdbms
[oracle@srvr33 ~]$cp /m03/db2/appltop/admin/out/appsutil.zip .
[oracle@srvr33 ~]$chmod 777 appsutil.zip
[oracle@srvr33 ~]$unzip -o appsutil.zip
Then it will create appsoui directory
Run Autoconfig
[oracle@srvr33 ~]$cd rdbms/appsutil/scripts/context_name/
[oracle@srvr33 ~]$./adautocfg.sh
5. 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 ~]# . APPSdb2_srvr33.env
[applmgr@srvr33 ~]# adadmin
2.Maintain Applications Files menu
5.Maintain snapshot information
2.Update current view snapshot
LOCATION:"/m03/db2/appltop/admin/db2/out/snapshot.txt"
[applmgr@srvr77 ~]# cd /u03/db2/appltop
[applmgr@srvr77 ~]# . APPSdb2_srvr77.env
[applmgr@srvr77 ~]# adadmin
2.Maintain Applications Files menu
5.Maintain snapshot information
2.Update current view snapshot
Provide the values required for creation of the new APPL_TOP Context file.
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.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.0.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.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.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /m01/db2/rdbms/appsutil/outbound/db2_srvr33
Choose a value which will be set as APPLPTMP value on the target node [1]:
#############################################################################
CONVERTING AN MERGED APPLTOP TO SHARED APPS TIER
(APPLTOP, COMMONTOP, 806, IAS)
Note: Mount /u02(apTechstack ie 806,ias) on srvr33 in order to convert to SHARED
APPS TIER.
[applmgr@srvr33 ~]$ chmod -R 777 /u02/db2
1. Create config Directory in /u03 where appltop & commtop located.
[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. Log in as applmgr user in srvr77
[applmgr@srvr77 ~]$ cd /u03/db2/appltop/
[applmgr@srvr77 appltop]$ ls *.env
APPSdb2_srvr33.env APPSORA.env db2_srvr33.env
APPSdb2_srvr77.env db2.env db2_srvr77.env
[applmgr@srvr77 appltop]$ . APPSdb2_srvr77.env
[applmgr@srvr77 appltop]$ cd /u03/db2/appltop/fnd/11.5.0/patch/115/bin/
[applmgr@srvr77 bin]$ ls txkSOHM.pl
txkSOHM.pl
[applmgr@srvr77 bin]$ perl txkSOHM.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.0.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 : /u03/db2/appltop/a
dmin/db2_srvr77.xml
Type of Instance [primary/secondary] : primary
Absolute path of Shared Oracle Home top :
Absolute path of 8.0.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
vr77
Run AutoConfig [y/n] : y
Oracle Application apps schema password : apps
Absolute path of the log file : /u03/db2/commtop/a
dmin/log/db2_srvr77/txkSetSOHM.log
Prompt for confirmation [y/n] : n
Application's Context file Saved as : /u03/db2/appltop/admin/db2_srvr77.xml.SOH
Creating directory /u03/db2/config/srvr77/8.0.6 ...
Creating directory /u03/db2/config/srvr77/iAS ...
Creating directory /u03/db2/config/srvr77/iAS/Apache/Apache/logs ...
Creating directory /u03/db2/config/srvr77/iAS/Apache/Jserv/logs/jvm ...
Creating directory /u03/db2/config/srvr77/iAS/Apache/Apache/htdocs/discwb4/apple
t ...
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.0.6
/u03/db2/config/srvr77/iAS
****
Searching Applications Context file for substitutions of:
/u03/db2/config/srvr33/8.0.6
/u03/db2/config/srvr33/iAS
****
Searching Applications Context file for substitutions of:
/u02/db2/806
/u02/db2/ias
COUNT(*)
----------
181
SQL> @?/rdbms/admin/utlrp
12.Create directories for installing R12 apps
Remove File from appltop & commtop.
[root@srvr33]# mkdir -p /m02/db3{10gdev,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 -- This directory is only for
installing the rdbms along with the apps. Will not be used
as we have already installed and patched rdbms in 10grdbms
directory above.
[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. Install R12 Software.
[root@srvr33]# cd /stage/r12/startCD/Disk1/rapidwiz
[root@srvr33]# ./rapidwiz
Choose upgrade option
-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,appltop,commontop paths here
The isnstallation process will take about 2 Hrs.
14. Upgrade the product groups and AD product by applying patches in
the subsequent steps.
Run the R12 env file
. /m01/db3/10grdbms/db3_srvr33.env
SQL> conn apps/apps
SQL> select release_name from fnd_product_groups;
RELEASE_NAME
--------------------------------------------------
11.5.10.2
cd $AU
SQL> select patch_level from fnd_patch_installations where
patch_level like '%AD%';
11i.AD.I.2 <-- should become R12.AD.I.2
15. Run he sql scripts before applying the patches.
As sysdba
cd $AD_Top/patch/115/sql
SQL> @adgrants.sql APPLSYS
cd $APPL_TOP/admin
SQL> @adgncons.sql apps apps
This script generates a script called adcrtbps.sql.
Edit this file with the relavant paths.
This scripts creates 2 new tablespaces required.
SQL> @adcrtbps.sql
SQL> select * from fnd_product_groups;
12.0.0.0
15. Up grade the AD products.
We are getting error with respect to IZU product when applying
the following patch. To fix this, remove izu entries form
$APPL_TOP/admin/topfile.txt.
[applmgr@srvr33]# cd /stage/r12patches/4502962
[applmgr@srvr33]# adpatch
provide driver u4502962.drv
At this stage the AD products get upgraded.
SQL> select patch_level from fnd_patch_installations where
patch_level like '%AD%';
R12.AD.I.2
#############################################################################