Professional Documents
Culture Documents
3 on
RedHat Linux x86_64 - 5.5
Interoperability Notes EBS R12 with Database 11gR2 [ID 1058763.1]
Interoperability Notes Oracle EBS R12 with Oracle Database 11gR2 (11.2.0.2) [ID 1367644.1]
b.
Create one directory inside the Current Oracle Home.
o $ mkdir 11.2.0
o $ chmod 775 11.2.0
Page 1 of 35
kernel.shmall = 4294967296
kernel.sem = 256 32000 100 142
kernel.shmmni = 4096
kernel.msgmni = 2878
fs.file-max = 6815744
net.ipv4.ip_local_port_range =9000 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
tcp.ipv4.tcp_wmem = 262144 262144 262144
tcp.ipv4.tcp_rmem = 4194304 4194304 4194304
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65000
# cd /etc/security
# vi limits.conf
################oracle setup##############
* hard nofile 65536
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
##########################################
Installation
$ cd /database
$ ./runInstaller
Page 2 of 35
Page 3 of 35
Page 4 of 35
Page 5 of 35
Page 6 of 35
Page 7 of 35
Page 8 of 35
# GO TO EXAMPLE CD
$ ./runInstaller
Page 9 of 35
Page 10 of 35
Page 11 of 35
PROD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = proderp.mashkur.com.ae)(PORT = 1521))
)
)
SID_LIST_PROD =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME= /u05/db/tech_st/11.2.0)
(SID_NAME = PROD)
)
)
STARTUP_WAIT_TIME_PROD = 0
CONNECT_TIMEOUT_PROD = 10
TRACE_LEVEL_PROD = OFF
LOG_DIRECTORY_PROD = /u05/db/tech_st/11.2.0/network/admin
LOG_FILE_PROD = PROD
TRACE_DIRECTORY_PROD = /u05/db/tech_st/11.2.0/network/admin
TRACE_FILE_PROD = PROD
ADMIN_RESTRICTIONS_PROD = OFF
SUBSCRIBE_FOR_NODE_DOWN_EVENT_PROD = OFF
IFILE=/u05/db/tech_st/11.2.0/network/admin/PROD_proderp/listener_ifile.ora
Page 12 of 35
IFILE=/u05/db/tech_st/11.2.0/network/admin/PROD_proderp/sqlnet_ifile.ora
IFILE=/u05/db/tech_st/11.2.0/network/admin/PROD_proderp/PROD_proderp_ifile.ora
Apply DB Patches
p10160615_112020_Linux-x86-64.zip
p10229719_112020_Linux-x86-64.zip
p12400751_112020_Linux-x86-64.zip
p12942119_112020_Linux-x86-64.zip
p13001379_112020_Generic.zip
p13004894_112020_Linux-x86-64.zip
p10149223_112020_Linux-x86-64.zip
/u05/db/tech_st/11.2.0/OPatch/opatch
[oraprd@proderp patch]$ opatch version
Invoking OPatch 11.2.0.1.1
OPatch Version: 11.2.0.1.1
OPatch succeeded.
[oraprd@proderp patch]$
Go to extracted patch Directory
[erpora@erpuat 4247037]$ opatch apply
Invoking OPatch 11.2.0.1.1
Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home
: /prod/erpora/tech_st/11.2.0
Central Inventory : /prod/erpora/oraInventory
from
: /etc/oraInst.loc
OPatch version : 11.2.0.1.1
OUI version
: 11.2.0.2.0
OUI location : /prod/erpora/tech_st/11.2.0/oui
Log file location : /prod/erpora/tech_st/11.2.0/cfgtoollogs/opatch/opatch2012-11-28_18-29-17PM.log
Patch history file: /prod/erpora/tech_st/11.2.0/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '4247037' to OH '/prod/erpora/tech_st/11.2.0'
Running prerequisite checks...
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '4247037' for restore. This might take a while...
Backing up files affected by the patch '4247037' for rollback. This might take a while...
Patching component oracle.sdo.locator, 11.2.0.2.0...
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/catmgdidcode.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/catnomgdidcode.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidcodetype.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidcodetype.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidcodeutl.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidcodeutl.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdiddeinstall.sql"
Page 15 of 35
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=proderp.mashkur.com.ae)(PORT=1521)))
The command completed successfully
[oraprd@proderp ~]$
Run the pre-upgrade scripts
Copy the utlu112i.sql to common location
[oraprd@proderp admin]$ pwd
/u05/db/tech_st/11.2.0/rdbms/admin
[oraprd@proderp admin]$
[oraprd@proderp admin]$
[oraprd@proderp admin]$ ls -ltr utlu112i.sql
-rw-r--r-- 1 oraprd dba 204205 Aug 19 2010 utlu112i.sql
[oraprd@proderp admin]$
[oraprd@proderp admin]$ cp utlu112i.sql /u05/db/patch/
[oraprd@proderp admin]$
Login as sysdba
[oraprd@proderp ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Oct 11 12:05:09 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Go to $ORACLE_HOME/rdbms/admin (from 11.2.0)
[oraprd@proderp patch]$ ls -ltr *.sql
-rw-r--r-- 1 oraprd dba 204205 Oct 11 12:03 utlu112i.sql
[oraprd@proderp patch]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Oct 11 12:05:53 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Page 18 of 35
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> spool upgrade_1.txt
SQL> @ utlu112i.sql
Oracle Database 11.2 Pre-Upgrade Information Tool 10-11-2012 12:06:58
Script Version: 11.2.0.2.0 Build: 001
.
**********************************************************************
Database:
**********************************************************************
--> name:
PROD
--> version:
11.1.0.7.0
--> compatible: 11.1.0
--> blocksize: 8192
--> platform: Linux x86 64-bit
--> timezone file: V10
.
**********************************************************************
Tablespaces: [make adjustments in the current environment]
**********************************************************************
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 11997 MB
--> CTXD tablespace is adequate for the upgrade.
.... minimum required size: 143 MB
--> ODM tablespace is adequate for the upgrade.
.... minimum required size: 10 MB
--> APPS_UNDOTS1 tablespace is adequate for the upgrade.
.... minimum required size: 106 MB
--> APPS_TS_TX_DATA tablespace is adequate for the upgrade.
.... minimum required size: 22759 MB
--> APPS_TS_QUEUES tablespace is adequate for the upgrade.
.... minimum required size: 1361 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 2225 MB
..
$ cd $ORACLE_HOME/bin
$ ./dbua -initParam "_disable_fast_validate=TRUE"
Page 19 of 35
If u will not find any oracle home edit your oratab from /etc/
[oraprd@proderp ~]$ cat /etc/oratab
#
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
PROD:/u05/db/tech_st/11.2.0:N
[oraprd@proderp ~]$
Page 21 of 35
Page 22 of 35
Page 23 of 35
Page 25 of 35
Page 26 of 35
After Completing the Upgrade. Please check the logs , if any error is there ?
POST UPGRADE
Set ORACLE_HOME TO 11.2.0
Page 27 of 35
######################
# Timezone Specification file
ORA_TZFILE="$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat
export ORA_TZFILE
######################
you must remove it. It shows a file(timezlrg.dat) that no longer exists!
SQL> @catmgdidcode.sql
SQL> @ /prod/erpora/tech_st/11.2.0/rdbms/admin/utlrp.sql
TIMESTAMP
-------------------------------------------------------------------------------COMP_TIMESTAMP UTLRP_BGN 2012-11-29 09:31:44
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
DOC>
..
Copy adgrants.sql
Page 30 of 35
RUN
adctxprv.sql
: /u05/db/tech_st/11.2.0/appsutil/PROD_proderp.xml
$ ./adautocfg.sh
$ ./adstrtall.sh apps/apps
Page 35 of 35