install oracle ebs r12.1.1 on oel5.6 x86(include demo)

42
Download Install files from : https://edelivery.oracle.com http://www.ochef.net 1

Upload: ochef-yang

Post on 13-May-2015

3.673 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

Download Install files from : https://edelivery.oracle.com

http://www.ochef.net 1

Page 2: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

My Environment:Linux Version:[root@ebsr12 ~]# cat /etc/issueOracle Linux Server release 5.6[root@ebsr12 ~]# cat /etc/redhat‐release Red Hat Enterprise Linux Server release 5.6 (Tikanga)[root@ebsr12 ~]# cat /etc/oracle‐release Oracle Linux Server release 5.6

Kernel Version:[root@ebsr12 ~]# uname ‐r2.6.18‐238.el5PAE

Hardware:IBM X3650 M2:7GB Memory  、 7   CPU @2.27GHz IBM DS4800 Storage:500GB Disk

http://www.ochef.net 2

Page 3: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

Disk space:[root@ebsr12 ~]# df ‐hFilesystem Size      Used    Avail      Use%     Mounted on/dev/mapper/EBSVG‐LV01       9.7G   2.1G     7.2G   23%       //dev/mapper/EBSVG‐LV04      382G     227G  135G  63%  /d01/dev/mapper/EBSVG‐LV03        97G    52G      41G      57%  /src/dev/sda1               99M       13M   82M     14%  /boottmpfs 3.5G         0        3.5G       0%  /dev/shm

说明:/src用于存放安装文件、补丁和简体中文语言包。全部解压后52GB(包括补丁)。/d01用于安装Oracle EBS R12。若要安装VIS Demo,需要227GB

强烈建议使用linux LVM来管理空间,在空间不够的情况下可以灵活增、减空间。

http://www.ochef.net 3

Page 4: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

系统环境配置:

• 检查系统安装包的完整性

download:http://oss.oracle.com/projects/compat‐oracle/files/Enterprise_Linux/

http://www.ochef.net 4

Page 5: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

• 系统主机名配置

[root@ebsr12 ~]# cat /etc/hosts# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1               localhost.localdomain localhost192.168.0.212       ebsr12.kimo.com              ebsr12::1              localhost6.localdomain6    localhost6

[root@ebsr12 ~]# cat /etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=ebsr12.kimo.comGATEWAY=192.168.0.1

ping测试网络。

http://www.ochef.net 5

Page 6: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

• 系统参数调整:

[root@ebsr12 ~]# vi /etc/sysctl.confkernel.msgmnb = 65536kernel.msgmax = 8192kernel.shmmax = 4294967296kernel.shmall = 2097152kernel.sem = 256 32000 100 142 kernel.shmmni = 4096 kernel.msgmni = 2878 fs.file‐max = 131072 net.ipv4.ip_local_port_range = 10000 65000 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144net.core.wmem_max = 262144 修改立即生效

# sysctl ‐p

http://www.ochef.net 6

Page 7: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

[root@ebsr12 ~]# vi /etc/resolv.confappend :options attempts:5options timeout:15

[root@ebsr12 ~]# vi /etc/security/limits.confappend:hard    nofile 65535soft     nofile 4096hard    nproc 16384soft    nproc 2047

OS Library Patch for Oracle HTTP Server (on Oracle Linux 5 and RHEL 5 only) Download and apply the patch 6078836 from My Oracle Support to fix an issue with the Oracle HTTP Server (missing libdb.so.2) bundled with the E‐Business Suite technology stack.

http://www.ochef.net 7

Page 8: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

修改库文件链接:

[root@ebsr12 ~]# unlink /usr/lib/libXtst.so.6[root@ebsr12 ~]#  ln ‐s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

创建用户、用户组:

[root@ebsr12 ~]# groupadd oinstall[root@ebsr12 ~]# groupdd dba[root@ebsr12 ~]# useradd ‐g oinstall ‐d /home/oracle ‐G dba oracle [root@ebsr12 ~]# passwd oracle [root@ebsr12 ~]# chown ‐R oracle.oinstall /src[root@ebsr12 ~]# chown ‐R oracle.oinstall /d01 

http://www.ochef.net 8

Page 9: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

修改oracle用户环境:

[oracle@ebsr12 ~]$ vi /home/oracle/.bash_profileappend:LD_ASSUME_KERNEL=2.6.18‐238.el5 export LD_ASSUME_KERNEL

建立Oracle产品信息的Inventory目录:

[oracle@ebsr12 ~]$ mkdir /d01/oraInventory

[root@ebsr12 ~]# vi /etc/oraInst.locappend:inventory_loc=/d01/oraInventory

http://www.ochef.net 9

Page 10: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

[oracle@ebsr12 ~]$ mkdir ‐p /src/StageR12 [oracle@ebsr12 ~]$ unzip ‐d /src/StageR12/*.zip        

(R12的安装文件:B53824‐01到V15574‐01)

全部解压后会自动生创建以下目录:

[oracle@ebsr12 StageR12]$ ls ‐ldrwxr‐xr‐x  70  oracle oinstall 4096 Apr 12 10:47 oraAppDBdrwxr‐xr‐x  14  oracle oinstall 4096 Apr 12 11:32 oraAppsdrwxr‐xr‐x   5  oracle oinstall 4096 Apr 11 17:31 oraASdrwxr‐xr‐x   9  oracle oinstall 4096 Apr 12 11:46 oraDBdrwxr‐xr‐x   6  oracle oinstall 4096 Apr 11 17:15 startCD

http://www.ochef.net 10

Page 11: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

Install EBS R12• 安装startCD补丁

Download: p8639046_R12_GENERIC.zip   TO   /src/StageR12解压缩覆盖原有startCD[oracle@ebsr12 StageR12]$unzip ‐o p8639046_R12_GENERIC.zip

原有startCD的安装向导版本是12.1.1.9,补丁是12.1.1.11的[oracle@ebsr12 rapidwiz]$ ./RapidWizVersion

Oracle Applications Rapid Install WizardVersion 12.1.1.11

http://www.ochef.net 11

Page 12: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

• 开始安装

[oracle@ebsr12 rapidwiz]$ ./rapidwiz

http://www.ochef.net 12

Page 13: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 13

Page 14: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 14

Page 15: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 15

Page 16: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 16

Page 17: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

这一步可以选择数据库安装类型:Fresh或VIS Demo。全新安装会要求选择license的类型,国家语言和数据库字符集。

http://www.ochef.net 17

Page 18: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 18

Page 19: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

这一步是安装节点信息,若要打造高可用环境,其它节点信息需要增加。建议:多节点安装时,先安装Database Node,再安装Apps Node。

http://www.ochef.net 19

Page 20: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

系统环境检查

http://www.ochef.net 20

Page 21: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 21

Page 22: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 22

Page 23: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 23

Page 24: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

这一步执行时间视机器性能而定,若安装demo时间会更久(以本文环境大约5小时),需要耐心等待。

http://www.ochef.net 24

Page 25: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 25

Page 26: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

http://www.ochef.net 26

Page 27: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

所有部件安装完成。

http://www.ochef.net 27

Page 28: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

在浏览器中打开系统界面,http://ebsr12.kimo.com:8000

http://www.ochef.net 28

Page 29: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

系统默认用户与密码:sysadmin/sysadmin访问类型:Standard Accessibility

http://www.ochef.net 29

Page 30: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

安装后环境设置:

设置数据库用户的环境:

[oracle@ebsr12 ~]$ cp /home/oracle/.bash_profile /home/oracle/.ora[oracle@ebsr12 ~]$ vi  /hme/oracle/.oraappend:. /d01/oracle/VIS/db/tech_st/11.1.0/VIS_ebsr12.env             (注意. /之间的格)

设置应用服务器的环境:

[oracle@ebsr12 ~]$ cp /home/oracle/.bash_profile /home/oracle/.app[oracle@ebsr12 ~]$ vi  /hme/oracle/.appappend:. /d01/oracle/VIS/apps/apps_st/appl/APPSVIS_ebsr12.env  (注意. /之间的格)

http://www.ochef.net 30

Page 31: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

服务的启动与停止操作:

数据库服务:

[oracle@ebsr12 ~]$ source /home/oracle/.ora[oracle@ebsr12 ~]$ cd $ORACLE_HOME/appsutil/scripts/VIS_ebsr12/Listener启动、停止命令语法:

[oracle@ebsr12 VIS_ebsr12]$ ./addlnctl.sh  {start|stop|status} listener_name数据库启动、停止命令语法:

[oracle@ebsr12 VIS_ebsr12]$ ./addbctl.sh [start|stop] {immediate|abort|normal}

Apps服务

[oracle@ebsr12 ~]$ source /home/oracle/.app[oracle@ebsr12 ~]$ cd /d01/oracle/VIS/inst/apps/VIS_ebsr12/admin/scriptsApps启动、停止命令语法:

[oracle@ebsr12 scripts]$ ./adstrtal.sh   <appsuser_name/apps_password>

http://www.ochef.net 31

Page 32: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

安装简体中文语言包:V16181‐01设定语言包和基本语言

1) 登录EBS系统 http://ebsr12.kimo.com:80002) 在左边区域里选择[System Administration],在中间区域选择[License Manager],

然后选择[Languages],单击[EDIT]3) 英文是默认选项,选择[Simplified Chinese],单击[Next]4) 选择[Simplified Chinese]为基本语言,设置完成后Submit

http://www.ochef.net 32

Page 33: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

使用AD Utility开启维护模式及多语言表

操作之前停止apps服务

[oracle@ebsr12 ~]$ source /home/oracle/.app[oracle@ebsr12 ~]$ adadmin在这期间系统会要求输入一些参数,除SYSTEM的密码manager, APPS密码apps外,其它保持默认就可以了。若是全新数据库安装,需要根据实际情况确定。

接着会出现如下的界面:

http://www.ochef.net 33

Page 34: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

选择以下顺序开启维护模式:

4. Maintain Applications Database Entities menu

3. Maintain multi‐lingual tables 

5. Return to Main Menu

5. Change Maintenance Mode

1. Enable Maintenance Mode

3. Return to Main Menu

6. Exit AD Administration

http://www.ochef.net 34

Page 35: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

安装简体语言包补丁:p8576725_12.1.0_R12_GENERIC.ZIP该补丁主要解决安装语言包速度过慢的问题。

[oracle@ebsr12 patch]$ unzip  p8576725_12.1.0_R12_GENERIC.ZIP[oracle@ebsr12 ~]$ source /home/oracle/.app[oracle@ebsr12 ~]$ cd /src/patch/8576725

使用自动补丁工具应用补丁

[oracle@ebsr12 8576725]$ adpatch在这期间同样会要求你输入一些参数,以上文相同。在要求输入patch文件时,输入u8576725.drv。等待安装完成,如果报错停止安装了,请检查patch日志,处理错误后再次应用补丁。

http://www.ochef.net 35

Page 36: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

安装简体语言包

[oracle@ebsr12 ~]$ cd /src/patch[oracle@ebsr12 patch]$ unzip V16181‐01.ZIP[oracle@ebsr12 patch]$ cd 6678700_ZHS[oracle@ebsr12 6678700_ZHS]$ adpatch在这期间同样会要求你输入一些参数,以上文相同,在要求输入patch文件时,请输入u6678700.drv。

这一步执行中会遇到BUG,在AD自动补丁工具日志中显示以下内容:

Error in the patch log file :...

ATTENTION: All workers either have failed or are waiting:FAILED: file XLIFFLoader.class on worker ....ATTENTION: Please fix the above failed worker(s) so the manager can continue....

http://www.ochef.net 36

Page 37: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

BUG处理方法

根据Oracle MOS文档内容[ID 880149.1]1. Open a new shell and set the Application environment using command :APPS<CONTEXT_NAME>.env[oracle@ebsr12 ~]$ source /home/oracle/.app

2. Execute the following commands:= To reload XML

adjava ‐ms128m ‐mx256m ‐nojit oracle.apps.xdo.oa.util.XDOLoader UPLOAD‐DB_USERNAME <apps_un> ‐DB_PASSWORD <apps_pw> ‐JDBC_CONNECTION"(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname with domain>)(PORT=<your port>)))(CONNECT_DATA=(SID=<your sid>)))"‐LOB_TYPE DATA_TEMPLATE ‐APPS_SHORT_NAME OFA ‐LOB_CODE FADTXD ‐LANGUAGE 00‐XDO_FILE_TYPE XML‐DATA‐TEMPLATE ‐FILE_NAME$FA_TOP/patch/115/publisher/defs/FADTXD.xml

http://www.ochef.net 37

Page 38: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

= To reload RTFadjava ‐ms128m ‐mx256m ‐nojit oracle.apps.xdo.oa.util.XDOLoader UPLOAD‐DB_USERNAME <apps_un> ‐DB_PASSWORD <apps_pw> ‐JDBC_CONNECTION"(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname with domain>)(PORT=<your port>)))(CONNECT_DATA=(SID=<your sid>)))"‐LOB_TYPE TEMPLATE_SOURCE ‐APPS_SHORT_NAME OFA ‐LOB_CODE FADTXD ‐LANGUAGE en‐TERRITORY US ‐XDO_FILE_TYPE RTF ‐TRANSLATE Y ‐FILE_NAME$FA_TOP/patch/115/publisher/templates/US/FADTXD.rtf

Note:  Please change:<apps_un> with your apps user ;<apps_pw> with your apps password ;<your hostname with domain> with hostname and domain like: test1.oracle.com ;<your port> with your port number ;<your sid> with your SID.3. Restart the failed worker. (awork tool)

http://www.ochef.net 38

Page 39: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

Awoker管理工具:

[oracle@ebsr12 ~]$ source /home/oracle/.app [oracle@ebsr12 ~]$ adctrl

剩下的工作就是漫长的等待直到结束。http://www.ochef.net 39

Page 40: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

使用AD Utility关闭维护模式

http://www.ochef.net 40

Page 41: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

选择以下顺序关闭维护模式:

5. Change Maintenance Mode

2. Disable Maintenance Mode

3. Return to Main Menu

6. Exit AD Administration

http://www.ochef.net 41

Page 42: Install oracle ebs r12.1.1 on OEL5.6 x86(include demo)

重新启动APP服务,打开http://ebsr12.kimo.com:8000/,选择“简体中文”登录。

至此,安装全部结束。

http://www.ochef.net 42