In this blog post, we will see an example EBS 12.2 installation , which is done on a Linux x86-64 system.
The aim of this installation is to obtain an EBS 12.2.5 instance running on Oracle Linux 6 64-bit.
We will use the latest startCD, so we will have an 12C database in our newly installed EBS 12.2.5 instance. This document involves some post upgrade steps, which may be required or changed according to your needs. The underlying server system used for this installation is based on a single node server environment. However, the steps are quite similar in a multi node system.
The general overview of the process is to install Oracle Linux, install EBS 12.2.0 and upgrade it to EBS 12.2.5. This blog post is a little different than my earlier post, as it will be like a compilation, but still it will give the valuable filtered information required for EBS 12.2. installations.
Please do not take the configuration values, licensed products as well as the post upgrade steps used in this document as the orders :), because they are only there for giving you the general explanation of the installation process, as they may vary according to your environments and needs.
Main Document: Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)
1. Installation Linux 6.5
2. Installing rpms for EBS 12.2 and RDBMS 12C
[root@ermantest yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
Note : use vi editor to open repo and change enable 0 to 1 for addon and latest repositery
yum install -y oracle-ebs-server-R12-preinstall
yum install –y oracle-rdbms-server-12cR1-preinstall
3. Check all rpms
rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | grep openmotif21
4. Run ldconfig –v command to relink all symbolic libraries
5. Disable selinux and shutdown iptables,ip6tables services also on run levels
vi /etc/selinux/config ( change SELINUX=enforcing to SELINUX=disabled )
service iptables stop
service ip6tables stop
chkconfig --level 0123456 ip6tables off
chkconfig --level 0123456 iptables off
6. Check kernel settings for the parameters are correctly set
Note: If the current value for any parameter is higher than the value listed in the following table, then do not change the value of that parameter.
vi /etc/sysctl.conf
kernel.semmsl 256
kernel.semmns 32000
kernel.semopm 100
kernel.semmni 142
kernel.shmall 20971524
kernel.shmmax Half the size of the physical memory (in bytes), and at least 42949672952
kernel.shmmni 4096
kernel.msgmax 8192
kernel.msgmnb 65535
kernel.msgmni 2878
fs.file-max 6815744
fs.aio-max-nr 1048576
net.ipv4.ip_local_port_range 9000 65500
net.ipv4.tcp_tw_recycle 05
net.core.rmem_default 262144
net.core.rmem_max 4194304
net.core.wmem_default 262144
net.core.wmem_max 1048576
Note : Parameter kernel.sem = 250 32000 100 128 is changed to kernel.sem = 250 32000 100 142
7. Check Domain Name System (DNS) Resolver Parameters , it should be below
options attempts:5
options timeout:15
8. Verifying Host Names
· Verify that the /etc/hosts file is formatted as follows:
127.0.0.1 localhost.localdomain localhost
[ip_address] [node_name].[domain_name] [node_name]
· Verify that the /etc/sysconfig/network file is formatted as follows:
HOSTNAME=[node_name].[domain_name]
or as follows:
HOSTNAME=[node_name]
NISDOMAIN=[domain_name]
· If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.
· If you changed any files in the previous steps, restart the system
9. Modify ulimit settings in limits.conf
vi /etc/security/limits.conf
# oracle-rdbms-server-11gR2-preinstall setting for nofile soft limit is 1024
oracle soft nofile 4096
# oracle-rdbms-server-11gR2-preinstall setting for nofile hard limit is 65536
oracle hard nofile 65536
# oracle-rdbms-server-11gR2-preinstall setting for nproc soft limit is 2047
oracle soft nproc 2047
# oracle-rdbms-server-11gR2-preinstall setting for nproc hard limit is 16384
oracle hard nproc 16384
# oracle-rdbms-server-11gR2-preinstall setting for stack soft limit is 10240KB
oracle soft stack 10240
# oracle-rdbms-server-11gR2-preinstall setting for stack hard limit is 32768KB
oracle hard stack 32768
10. Download EBS Installation Packages, Oracle E-Business Suite (12.2.5)
V100052-01_1of3.zipOracle E-Business Suite Release 12.2.0 Rapid Install Start Here 725.3 MB
V100052-01_2of3.zipOracle E-Business Suite Release 12.2.0 Rapid Install Start Here 81.6 MB
V100052-01_3of3.zipOracle E-Business Suite Release 12.2.0 Rapid Install Start Here 97.3 MB
V100059-01_1of2.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases PROD - Disk 1 1007.0 MB
V100059-01_2of2.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases PROD - Disk 1 1.6 GB
V100060-01_1of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases PROD - Disk 2 1.6 GB
V100060-01_2of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases PROD - Disk 2 1.1 GB
V100060-01_3of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases PROD - Disk 2 1.0 GB
V100061-01.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Technology one-off Patches 839.9 MB
V100078-01.zipOracle E-Business Suite Release 12.2 Supplemental Documentation - REVIEW FIRST 21.6 MB
V100079-01.zipOracle E-Business Suite Release 12.2 Supplemental Media 603.2 MB
100102-01.zipOracle Database 12c Release 1 (12.1.0.2.0) EXAMPLES for Linux x86-64 476.1 MB
V77840-01_1of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 514.5 MB
V77840-01_2of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 527.6 MB
V77840-01_3of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 459.4 MB
V77840-01_4of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 530.4 MB
V77840-01_5of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 571.4 MB
V77840-01_6of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 554.9 MB
V77840-01_7of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 526.7 MB
V77840-01_8of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 596.3 MB
V77840-01_9of9.zipOracle E-Business Suite Release 12.2.5 Update Pack for Linux x86-64 100.5 MB
V77972-01.zipOracle E-Business Suite Release 12.2.5 Documentation Library 730.2 MB
Oracle Database (12.1.0.2.0)
V46095-01_1of2.zipOracle Database 12c Release 1 (12.1.0.2.0) 1.6 GB
V46095-01_2of2.zipOracle Database 12c Release 1 (12.1.0.2.0) 967.5 MB
Oracle E-Business Suite (12.2.0)
V35802-01.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install AS10.1.2 711.6 MB
V35803-01_1of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install APPL_TOP - Disk 1 1.2 GB
V35803-01_2of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install APPL_TOP - Disk 1 1022.8 MB
V35803-01_3of3.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install APPL_TOP - Disk 1 1.3 GB
V35804-01_1of2.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install APPL_TOP - Disk 2 1.2 GB
V35804-01_2of2.zipOracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install APPL_TOP - Disk 2 1.6 GB
Oracle Web Tier (11.1.1.9.0)
V75792-01.zipOracle Fusion Middleware Web Tier Utilities 11g Patch Set 7 (11.1.1.9.0) for Linux x86-64 2.0 GB
Oracle WebLogic Server (10.3.6.0.0)
V29856-01.zipOracle WebLogic Server 11gR1 (10.3.6) Generic and Coherence 1018.5 MB
11. Create Stage
[root@ermantest EBS1225]# cd startCD/Disk1/rapidwiz/bin/
[root@ermantest bin]# ./buildStage.sh
Oracle E-Business Suite Rapid Install
Version 12.2.0
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 1
Rapid Install Platform Menu
1. Oracle Solaris SPARC (64-bit)
2. Linux x86 (64-bit)
3. IBM AIX on Power Systems (64-bit)
4. HP-UX Itanium
5. Exit Menu
Enter your choice [5]: 2
Running command:
……………..
Specify the directory containing the zipped installation media:
/ebssetupfiles/EBS1225/
File list:
/ebssetupfiles/EBS1225/startCD/Disk1/rapidwiz/bin/stageData/zipFiles.dat
The following files are missing from /ebssetupfiles/EBS1225/.
Return to the Oracle Software Delivery Cloud and download them:
====================================================
Part number: V100053-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 1
File name: V100053-01_1of2.zip
====================================================
Part number: V100053-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 1
File name: V100053-01_2of2.zip
====================================================
Part number: V100054-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 2
File name: V100054-01.zip
====================================================
Part number: V100055-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 3
File name: V100055-01.zip
====================================================
Part number: V100056-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 4
File name: V100056-01.zip
====================================================
Part number: V100057-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 5
File name: V100057-01.zip
====================================================
Part number: V100058-01
Description:
Oracle E-Business Suite Release 12.2.0 for Linux x86-64 Rapid Install Databases VISION - Disk 6
File name: V100058-01.zip
====================================================
WARNING: Some of the required zip files have not yet been downloaded. Do you want to continue, and obtain them later? (Y)/N
Y
Note that: During creation of stage , enter to continue couple of times
12. Start E-Business Installation / EBS 12.2.0 installation
[root@ermantest rapidwiz]# pwd
/ebssetupfiles/EBS1225/startCD/Disk1/rapidwiz
[root@ermantest rapidwiz]# ./rapidwiz
13. Now follow the screens
If we encounter some errors for database pre-install checks and/or for filesystems, fix them as documented below ;
Open new terminal with root user and run xhost +
Database Pre-installchecks;
Create oraInst.loc file and point it to the inventory location, which can be ORACLE_BASE directory.
ORACLE_HOME==/u01/oracle/TEST/12.1.0
ORACLE_BASE==/u01/oracle/TEST
So the orainventory should be in ora base directory
[oracle@ermanrtest app]$ cat /etc/oraInst.loc
inventory_loc=/u01/oracle/TEST/oraInventory
inst_group=dba
For filesystem check error ;
chmod –R 777 /u01 (or any appropriate file permissions)
After installation is completed we can connect to the EBS and check the version 12.2.0 and go for next step...
At this point, EBS 12.2.0 installation is complete, so we continue with the EBS 12.2.5 upgrade.
--PREPARING for 12.2.0 to 12.2.5 upgrade--
APPLYING TECHNOLOGY PATCHES FOR 12.2.0 Oracle E-Business Suite Release 12.2.5 Readme (Doc ID 1983050.1) Master Note
1. EBS Technology Codelevel Checker (ETCC) (Doc ID 1594274.1)
Note: This patch verifies the missing bugfixes which is not applied for db and middle tiers. You can apply the patches directly to the related component but I recommend you go for the next steps and crosscheck the output of the log with the table you will see in section 3.2
Download patch 17537119
Upload patch to DB and APP node
For DB Node :
mkdir –p $ORACLE_HOME/appsutil/etcc
copy all files in the patch to the directory “mkdir –p $ORACLE_HOME/appsutil/etcc”
cd $ORACLE_HOME/appsutil/etcc
./checkDBpatch.sh
For APP Node :
cd
./checkMTpatch.sh
2. Apply RDBMS (12.1.0.2) Patches
Note: Shutdown database before apply patches
7. Apply Oracle Reports and Forms Pathes ( 10.1.2.3.0 ) Note : Any configuration file changes suggested in post-install steps can be skipped, as those changes are controlled through technology stack templates initialized by AutoConfig. Any recommendation in any Forms patch readme to redeploy Forms ear file can be skipped as it is automatically deployed by Oracle E-Business Suite service control scripts before starting services. Please regenerate jars from adadmin after applying any of the forms patch, do not opt to force the regeneration of all JAR files. If the patch is being applied in the patch file system then ensure Online Patching prepare phase (adop phase=prepare) has completed successfully first before running adadmin. If the patch is being applied in the run file system, run adadmin after applying the patch Note: The 10.1.2.3 distribution is 32-bit, even on 64-bit platforms. Download the available patch for your platform.
Default Oracle Home path is already set to 10.1.2 directory but if you need to set or to be make sure use below command export ORACLE_HOME=/u01/oracle/TEST/fs1/EBSapps/10.1.2 export PATH=$ORACLE_HOME/OPatch:$PATH opatch lsinventory [applmgr@ermantest~]$ opatch lsinventory Oracle Home : /u01/oracle/TEST/fs1/EBSapps/10.1.2 Oracle Home Inventory : /u01/oracle/TEST/fs1/EBSapps/10.1.2/inventory Central Inventory : /u01/oracle/TEST/oraInventory from : /etc/oraInst.loc OUI location : /u01/oracle/TEST/fs1/EBSapps/10.1.2/oui OUI shared library : /u01/oracle/TEST/fs1/EBSapps/10.1.2/oui/lib/linux/liboraInstaller.so Java location : /u01/oracle/TEST/fs1/EBSapps/10.1.2/jdk/jre/bin/java Opatch apply After apply patch Run adadmin Generate jar files ( dont use force ) 8. Apply Oracle Home Patch (Version 10.1.0.5.0)
There is no patch to apply if you installed EBS with the latest startCD. Check “Table 3 - Patches and bug numbers for 10.1.0.5.0” in the document.
9. Apply patch for Oracle Fusion Middleware (FMW) webtier 11.1.1.9
Note: When obtaining patches listed in these tables, download and install the 64-bit version of the patches.
Not included in any startCD
|
12.2.0.51
| 13964737 (see Footnote 4)
| YVDZ
| 13964737
|
Not included in any startCD
| 20780171 (see Footnote 1)
| EJUW
| 20780171
|
13729611 (see Footnote 2)
| L34G
| 13729611
|
17319481 (see Footnote 2)
| N5FK
| 17319481
|
19687084 (see Footnote 2)
| 8FBW
| 19687084
|
22128205 (see Footnote 2)
| GK5N
| 22128205,13337000, 21562338
|
| |
12. Apply R12.TXK.C.Delta.7 patches Applying the Latest AD and TXK Release Update Packs to Oracle E-Business Suite Release 12.2 (Doc ID 1617461.1) · Run ETCC according to the section “3.1.1 Prerequisite. · Source the run edition environment file. . /u01/oracle/TEST/fs1/EBSapps/appl/APPSTEST_ermtest.env sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start ( It is already started for upgrade patch ) · Start up only Weblogic AdminServer service on the run edition application tier file system · Apply below patches Unzip patches and run adgrants Patch 20745242 (R12.AD.C.Delta.7) Patch 22123818:R12.AD.C Patch 20784380 (R12.TXK.C.Delta.7) Patch 22363475:R12.TXK.C Patch 22495069:R12.TXK.C Note : Compare adgrants.sql versions with in the patch directory and $APPL_TOP/admin vi 20745242/admin/adgrants.sql vi $APPL_TOP/admin/adgrants.sql sqlplus / as sysdba @/app/oracle/PROD/fs_ne/EBSapps/patch/20745242/admin/adgrants.sql apps · Copy all patches to the $PATCH_TOP (/u01/oracle/TEST/fs_ne/EBSapps/patch ) adop phase=apply patches=20745242 hotpatch=yes sqlplus / as sysdba @/app/oracle/PROD/fs_ne/EBSapps/patch/22123818/admin/adgrants.sql apps run etcc on db and app nodes adop phase=apply patches=22123818 hotpatch=yes adop phase=apply patches=20784380,22363475,22495069 hotpatch=yes merge=yes After applied the patch with merge parameter. ( applied Delta Patches ) you will see the env file in your system base directory /u01/oracle/TEST -rw-r--r-- 1 applmgr oinstall 6467 Mar 10 15:06 EBSapps.env · Migrate Latest Code to Database Tier On the Application Tier (as the APPLMGR user): Run AutoConfig on the run file system. . /u01/oracle/TEST/EBSapps.env run cd ADMIN_SCRIPTS_HOME adautocfg.sh Create the appsutil.zip file in /admin/out. perl $AD_TOP/bin/admkappsutil.pl Copy appsutil.zip file to database $ORACLE_HOME
On the Database Tier (as the ORACLE user): Source the environment variables for RDBMS ORACLE_HOME. Uncompress appsutil.zip, under . cd backup appsutil folder unzip -o appsutil.zip cp –pr appsutil_backup/jre appsutil/ perl adbldxml.pl ( there is no Context File in new appsutil directory so regenerate it ) Run AutoConfig on
13. Restart app and DB
--UPGRADING EBS FROM 12.2.0 TO 12.2.5-- Oracle E-Business Suite Release 12.2.5 Readme (Doc ID 1983050.1) Section 7 and 8 Path A — Upgrade and New Installation Customers upgrading to Oracle E-Business Suite 12.2.5 Release Update Pack 14. Source the run edition applications environment.
It is already set in .bash_profile
15. Stop Weblogic AdminServer and Node Manager services. Applying the patch in downtime mode requires all application tier services to be down. Therefore, Weblogic AdminServer and Node Manager that were started previously when applying the latest Release Update Packs for AD and TXK for Release 12.2 need to be shut down. sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh stop sh $ADMIN_SCRIPTS_HOME/adnodemgrctl.sh stop
16. Set the “optimizer_adaptive_features” database parameter to FALSE (required for Database version 12.1.0.2). sqlplus "/as sysdba" alter system set optimizer_adaptive_features=false scope=both; System altered. show parameter optimizer_adaptive_features NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ optimizer_adaptive_features boolean FALSE 17. Apply Oracle E-Business Suite 12.2.5 Release Update Pack Patch 19676458 on the run edition application environment, using downtime mode cd $ADMIN_SCRIPTS_HOME adstpall.sh apps/password adop phase=apply apply_mode=downtime patches=19676458 Note : Restarting 12.2.5 patch fails with "ERRORMSG: Cannot identify any valid application tier nodes/ORA-01400: Cannot Insert NULL Into ("APPLSYS"."FND_NODES"."NODE_NAME")" (Doc ID 2112122.1) 18. Set the “optimizer_adaptive_features” database parameter to TRUE again
sqlplus "/as sysdba"
alter system set optimizer_adaptive_features=true scope=both;
System altered.
19. Start all Application tier services on the run file system.
sh $ADMIN_SCRIPTS_HOME/adstrtal.sh
20. Perform adop cleanup action.
adop phase=cleanup
21. Synchronize file systems
Synchronize the file systems using the command shown below. This action will copy the new run edition code and configuration to the other file system, to ensure that both file systems are in sync before applying patches using the regular adop cycle on the other file system.
adop phase=fs_clone
--POST UPGRADE STEPS--22. Apply Oracle E-Business Suite Release 12.2.5 Online Help Patch 19676460 using adop hotpatch mode on the run file system. adop phase=apply patches=19676460 hotpatch=yes
23. To apply NLS ( Turkish ) Language patch follow the instructions in correct order · Activate the new language using the Oracle Applications Manager (OAM) License Manager. · Maintain snapshot information · Run the AD Administration utility to maintain multi-lingual tables from the Maintain Applications Database Entities menu. · Log on to your Applications' administration node as the APPLMGR user and source the APPL_TOP environment file. If you are on Release 12.2.0 or above, make sure you are connected to the RUN edition. Use the manifest generation tool to generate a manifest file by executing the following command: perl $AD_TOP/bin/adgennls.pl The manifest generated from the tool is located at : $APPL_TOP/admin/$TWO_TASK/out/adgennls.txt
Request a translation sync path using "https://updates.oracle.com/TransSync" Upload and apply patch with adop through an online patching cycle (prepare,apply,finalize,cutover,cleanup)
24. Apply Localizations patches and implement localizations if necessary.
At this point, we reached the end. That is our EBS 12.2.5 is ready for use. But, before I put an end to this blog post, I want to share some useful documents with you. Following is a list of document that may be useful according to your needs.
For NLS- >Oracle E-Business Suite NLS Release Notes, Release 12.2 (Doc ID 1314621.1) For HR Legislative: DATAINSTALL AND HRGLOBAL APPLICATION: 12.2 SPECIFICS (Doc ID 1469456.1) For Localization : Creating CLE Product & Applying Mandatory Patches for R12.2 EMEA Add-on Localizations (Doc ID 1628719.1) --optional EMEA Add-on Localizations - Upgrade steps to 12.2 (Doc ID 1593750.1) --optional For Turkish Localizations -> R12 EMEA Add-on Localizations - Turkey (Doc ID 472686.1)
G?nderen zaman: 6:47:00 AM
Email This BlogThis! Share to Twitter Share to Facebook
当前文章:EBS--EBS12.2.5-12CDBinstallationonLinux
链接分享:http://cdxtjz.cn/article/ghodhg.html
| |