站点图标 Linux-技术共享

Oracle-EBS R12.2的安装教材

参考文档:
12.2 E-Business Suite Applications Installation Rapid Install Steps To Create the Stage Directories In Preparation For A 12.2 Installation (Doc ID 1596433.1)
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)

How To Automatically Set the Current Run or Patch Edition / File System for EBS 12.2 (Doc ID 1545584.1)

OS : redhat 5.7  (因为手头上没有redhat 6对应的专用的补丁,只有redhat5专用的补丁包。所以以redhat5.7为os安装)
EBS版本: 12.2 (从edelivery上下载,下载完毕看一下readme,因为里面的东西不全,要再次下载)

对应的补丁
6078836

对应的OS RPM包
openmotif21-2.1.30-11.EL5.i386_2
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386

设置参数

vi /etc/sysctl.conf
kernel.sem = 250 32000 100 142
kernel.shmall = 4194304
kernel.shmmax = 68719476736
kernel.shmmni = 4096
kernel.msgmax = 8192
kernel.msgmnb = 65535
kernel.msgmni = 2878
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4621440
net.core.rmem_max = 4621440
net.core.wmem_default = 262144
net.core.wmem_max = 262144

设置系统资源限制

vi /etc/security/limits.conf
* hard nofile 65536
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
* hard stack 16384
* soft stack 10240

创建用户及组

/usr/sbin/groupadd -g 600 oinstall
/usr/sbin/groupadd -g 602 dba
/usr/sbin/groupadd -g 603 applgrp

/usr/sbin/useradd -u 601 -g oinstall -G dba oraprod
/usr/sbin/useradd -u 602 -g applgrp applprod

OS补丁

cd /ins/6078836
mv /usr/lib/libdb.so.2 /usr/lib/libdb.so.2.6078836
cp libdb.so.2 /usr/lib
cd /usr/lib
ln -fs libdb.so.2 lindb.so.3

unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

 

创建oraInventory,这个和安装database不一样的地方

vi /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory
inst_group=oinstall

安装包(略,具体看MOS文档)

安装介质

因为从edelivery.oracle.com上下载的安装介质。发现R12.2的大小居然比R12.1的大小还小。
最后在安装的时候,发现,没有以下内容:(随后在edelivery上下载这些)
Prerequisite:
-------------
1. StartCD 12.2.0.51  (Patch#22066363, RAPID INSTALL STARTCD 12.2.0.51) installs Oracle Fusion Middleware 11g PS7 (11.1.1.9.0) and Database 12.1.0.2.

As StartCD 12.2.0.51 requires Oracle Fusion Middleware 11g PS7 (11.1.1.9.0) and Database 12.1.0.2, create the buildStage area afresh using buildStage.sh (buildStage.cmd for Windows) script after downloading the Oracle E-Business Suite Release 12.2 Media Pack.

NOTE: The earlier buildStage area created with StartCD 12.2.0.50 or earlier cannot be re-purposed here as it contains Oracle Fusion Middleware 11g PS6 (11.1.1.7.0) or lower whereas StartCD 12.2.0.51 requires Oracle Fusion Middleware 11g PS7 (11.1.1.9.0) and Database 12.1.0.2.  Stage area has to be created afresh after downloading the latest Oracle E-Business Suite Release 12.2 Media Pack. Refer to 'Oracle E-Business Suite Installation Guide: Using Rapid Install (Part No. E22950)' guide for more information about creating stage area and other prerequisites.

'Oracle E-Business Suite Release Notes, Release 12.2 (Doc ID 1320300.1)' must also be referenced for all other required prerequisites, known issues, etc.

第一次解压的时候,直接使用unzip解压,安装后发现包不全,建议使用start CD里面的脚本解压,有哪些没有的,会提示
提示的内容如下:

pecify the directory containing the zipped installation media:
/12.2.ins/zip/
File list:
/12.2.ins/zip/startCD/Disk1/rapidwiz/bin/stageData/zipFiles.dat
The following files are missing from /12.2.ins/zip/.
Return to the Oracle Software Delivery Cloud and download them:
====================================================
Part number: V46095-01
Description:
Oracle Database 12c Release 1 (12.1.0.2.0)
File name: V46095-01_1of2.zip
====================================================
Part number: V46095-01
Description:
Oracle Database 12c Release 1 (12.1.0.2.0)
File name: V46095-01_2of2.zip
====================================================
Part number: V75792-01
Description:
Oracle Fusion Middleware Web Tier Utilities 11g Patch Set 7 (11.1.1.9.0) for Linux x86-64
File name: V75792-01.zip
====================================================
Part number: V29856-01
Description:
Oracle WebLogic Server 11gR1 (10.3.6) Generic and Coherence
File name: V29856-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 

在edelivery.oracle.com上下载,解压后的文件如下:

[root@erptest zip]# tree -L 2
.
|-- EBSInstallMedia
|   |-- AS10.1.2
|   |-- AppDB
|   `-- Apps
|-- TechInstallMedia
|   |-- database
|   |-- ohs11119
|   `-- wls1036_generic
|-- TechPatches
|   |-- DB
|   `-- MiddleTier
`-- startCD
    |-- Disk1
    |-- README.txt
    |-- ShelExec.exe
    |-- WFEMB
    |-- XMLPUB
    |-- autorun.inf
    |-- component.label
    `-- welcome.html

接下来就是安装。因为db节点和ap节点安装在同一个机器上,机器8G内存,小了点,所以安装了大约5-6个小时(网上看,安装db的时候,因为默认是开了并行的,CPU不足的话,建议改成并行1,否则很慢)

--安装过程

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 下图中,出现过问题的地方

1 ,database pre-install checks ,原因,没有database包

2,check OPMN port availab ,原因,设置了OS的分辨率没有重启

3,file systems,原因,上面的包不全,导致解压的包有些没有的

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

 

imgSpider 采集中...

安装结束,后续其他配置,有空再做。

问题1 ,R12.2里面没有EBSapp.env这个文件,参考MOSHow To Automatically Set the Current Run or Patch Edition / File System for EBS 12.2 (Doc ID 1545584.1),有个脚本,可以查看(需要配置下这个脚本里面的XMLfile路径)。

查看结果为:

[root@erptest 12.2.ins]# su - applprod
Running fsauto 1.0 :
 Context Name (<SID_host>) : PROD_erptest
 RUN Edition APPL_TOP      : /u01/oracle/PROD/fs1
 PATCH Edition APPL_TOP    : /u01/oracle/PROD/fs2
 Non-Editioned File System : /u01/oracle/PROD/fs_ne/EBSapps/appl
 Instance Top Directory    : /u01/oracle/PROD/fs1/inst/apps/PROD_erptest
 APPL_TOP environment file : /u01/oracle/PROD/fs1/EBSapps/appl/APPSPROD_erptest.env
 Admin Scripts Home        : /u01/oracle/PROD/fs1/inst/apps/PROD_erptest/admin/scripts
Setting RUN Edition APPL_TOP environment for /u01/oracle/PROD/fs1 ...
Done.
[applprod@erptest ~]$ echo $APPL_TOP
/u01/oracle/PROD/fs1/EBSapps/appl
[applprod@erptest ~]$ 
退出移动版