Documente Academic
Documente Profesional
Documente Cultură
3 on
RedHat Linux x86_64 - 5.5
Interoperability Notes Oracle EBS R12 with Oracle Database 11gR2 (11.2.0.2) [ID 1367644.1]
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
ksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
numactl-devel-0.9.8.x86_64
sysstat-7.0.2
Page 1 of 35
Check the sysctl.conf file for below mentioned parameters.
# cd /etc
# vi sysctl.conf
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
• Copy from existing $ORACLE_HOME/network to new $ ORACLE_HOME
Go to New Oracle Home change the listener.ora file from old ORACLE_HOME to New ORACLE_HOME
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
• Edit sqlnet.ora (Change Old ORACLE_HOME to New ORACLE_HOME)
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
• $ cd $ORACLE_HOME/appsutil
• $ vi PROD_proderp.xml
Change all the places 11.1.0 to 11.2.0
Page 13 of 35
Warning: Permanently added 'proderp,172.16.254.70' (RSA) to the list of known hosts.
oraprd@proderp's password:
appsutil.zip 100% 2731KB 2.7MB/s 00:00
[applprd@erpprod bin]$
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
Page 14 of 35
/u05/db/tech_st/11.2.0/OPatch/opatch
OPatch succeeded.
[oraprd@proderp patch]$
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...
Page 15 of 35
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidepctype.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidepctype.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidinstall.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidmetadata.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidmetatable.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdidprivs.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/mgdsys.sql"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/prvtmgdidcodetypeb.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/prvtmgdidcodeutlb.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/admin/prvtmgdidepctypeb.plb"
Copying file to "/prod/erpora/tech_st/11.2.0/md/support/patchset_mgdsys_validity.sql"
ApplySession adding interim patch '4247037' to inventory
OPatch succeeded.
Page 16 of 35
Running prerequisite checks...
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u05/db/tech_st/11.2.0')
OPatch succeeded.
Page 17 of 35
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=proderp.mashkur.com.ae)(PORT=1521)))
The command completed successfully
[oraprd@proderp ~]$
Login as sysdba
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>
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
$ cd $ORACLE_HOME/bin
Page 19 of 35
If u will not find any oracle home edit your oratab from /etc/
Page 20 of 35
# a database.
Page 21 of 35
Page 22 of 35
Page 23 of 35
For above mentioned message:
connect as sys
Page 24 of 35
drop user sysman cascade;
drop role mgmt_user;
drop user mgmt_view cascade;
drop public synonym mgmt_target_blackouts;
drop public synonym setemviewusercontext;
Page 25 of 35
Page 26 of 35
Ignore this error for EBZ – R12.1.x.x
After Completing the Upgrade. Please check the logs , if any error is there ?
POST UPGRADE
Page 27 of 35
Check the .env file and replace all 11.1.0 to 11.2.0
If you use Oracle E- Business Suite 11i or R12 then you have to remove the environment variable ORA_TZFILE
also from the database environment file.
######################
# 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!
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Page 28 of 35
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
………..
Page 29 of 35
[applprd@erpprod admin]$ ls -ltr adgrants.sql
-rwxr-xr-x 1 applprd dba 53060 Jan 28 2012 adgrants.sql
[applprd@erpprod admin]$ scp adgrants.sql oraprd@proderp:/u05/db/tech_st/
oraprd@proderp's password:
adgrants.sql 100% 52KB 51.8KB/s 00:00
[applprd@erpprod admin]$
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
---------------------------------------------------
--- adgrants.sql started at 2012-11-29 09:43:40 ---
Page 30 of 35
RUN adctxprv.sql
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Connecting to SYSTEM
Connected.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oraprd@proderp tech_st]$
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Page 31 of 35
[applprd@erpprod sql]$ pwd
/soft/db/apps/apps_st/appl/fnd/12.0.0/patch/115/sql
[applprd@erpprod sql]$ ls -ltr wfaqupfix.sql
-rwxr-xr-x 1 applprd dba 4631 Jan 28 2012 wfaqupfix.sql
[applprd@erpprod sql]$ pwd
/soft/db/apps/apps_st/appl/fnd/12.0.0/patch/115/sql
[applprd@erpprod sql]$ ls -ltr wfaqupfix.sql
-rwxr-xr-x 1 applprd dba 4631 Jan 28 2012 wfaqupfix.sql
[applprd@erpprod sql]$
[applprd@erpprod sql]$ scp wfaqupfix.sql oraprd@proderp:/u05/db/tech_st/
oraprd@proderp's password:
wfaqupfix.sql 100% 4631 4.5KB/s 00:00
[applprd@erpprod sql]$ sqlplus apps/apps @wfaqupfix.sql APPLSYS APPS
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[applprd@erpprod sql]$
$ vi adautocfg.sh
Page 32 of 35
[oraprd@proderp PROD_proderp]$ ./adautocfg.sh
Enter the APPS user password:
The log file for this session is located at:
/u05/db/tech_st/11.2.0/appsutil/log/PROD_proderp/10131338/adconfig.log
GO TO APPS TIER.
$adadmin
Page 33 of 35
3. Compile/Reload Applications Database Entities menu
6. Exit AD Administration
$ cd $ADMIN_SCRIPTS_HOME
Page 34 of 35
$ ./adautocfg.sh
$ ./adstrtall.sh apps/apps
Page 35 of 35