Oracle 13c OEM 安装手册

简介:

1       安装准备工作

 以下包已Redhat 为准,其他版的操作系统以官方手册为准。

 

1.1         Oracle Management Service 依赖如下包

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
glibc-common-2.3.4-2.43(x86_64)
glibc-devel-2.3.4-2.43(x86_64)
glibc-profile-2.3.4-2.43(x86_64)
glibc-headers-2.3.4-2.43(x86_64)
glibc-utils-2.3.4-2.43(x86_64)
glibc-2.3.4-2.43(x86_64)
  
make-3.81
binutils-2.20
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1
libstdc++-4.4.4
libXtst-1.0.99 (x86_64)
sysstat-9.0.4
glibc-devel-2.12-1.7 (i686) (This is a 32-bit package)
glibc-devel-2.12-1.7 (x86_64) (This is a 64-bit package)

 

 

1.2         Oracle Management Agent 依赖如下包

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
make-3.81
binutils-2.20
gcc-4.1.1
libaio-0.3.106
glibc-common-2.3.4
libstdc++-4.1.1
sysstat-5.0.5   
make-3.81
binutils-2.20
gcc-4.1.1
libaio-0.3.106
glibc-common-2.3.4
libstdc++-4.1.1
sysstat-5.0.5

 

这里建议配置好YUM,用yum 来一次安装。 参考:

Linux 平台下 YUM 源配置 手册

 

http://www.cndba.cn/dave/article/154

 

1.3         修改系统参数

1.3.1     验证UDP和TCP 内核参数

 

避免端口被占用,修改最小端口到11000。

 

1
2
3
4
5
6
7
8
[root@www.cndba.cn ~]# cat /proc/sys/net/ipv4/ip_local_port_range
9000         65000
[root@www.cndba.cn ~]#
  
[root@www.cndba.cn ~]# echo 11000 65000 > /proc/sys/net/ipv4/ip_local_port_range
[root@www.cndba.cn ~]# cat /proc/sys/net/ipv4/ip_local_port_range
11000      65000
[root@www.cndba.cn ~]#

 

修改/etc/sysctl.conf 文件,修改如下内容:

1
net.ipv4.ip_local_port_range = 11000 65000

 

然后重启网络服务:

1
[root@www.cndba.cn ~]# service network restart

 

1.3.2     修改kernel.shmmax 内核参数

 

如果OMS 和 Management Repository(database) 在不同的主机上,那么OMS的主机kernel.shmmax 参数设置为小于4G或者4294967295。 直接修改/etc/sysctl.conf 文件修改,然后运行sysctl –p 生效即可。

 

如果OMSManagement Repository(database) 在同一个主机上,那么kernel.shmmax 参数以Oracle 数据库文档要求的为准。

 

 

1.4         安装Oracle 数据库并修改参数

 

OEM 13c 只支持12.1.0.2.0 以上的数据库,所以需要先安装12的DB。 参考:

 

linux 6.4 平台下 Oracle 12c 单实例 安装手册

http://www.cndba.cn/dave/article/323

 

安装DB过程省略,注意:不要安装EM。

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[oracle@www.cndba.cn ~]$ sqlplus / as sysdba
  
SQL*Plus: Release 12.1.0.2.0 Production on Tue Mar 1 15:07:20 2016
  
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
  
  
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
  
SQL>
  
alter  system  set optimizer_adaptive_features= false  scope=both sid= '*' ;
alter  system  set processes=600 scope=spfile;
alter  system  set session_cached_cursors=300 scope=spfile;
alter  system  set sga_target=8g scope=spfile;
alter  system  set shared_pool_size=600m scope=spfile;
alter  system  set pga_aggregate_target=2g scope=spfile;
  
alter  system  set shared_pool_size=1G scope=spfile;
  
/u01/app/oracle1/oradata/orz/redo01. log
  
修改Online redo  log  大小,单个文件最小600M:
SQL> alter database add logfile group 4( '/u01/app/oracle/oradata/dave/redo04.log' ) size 1G;
Database altered.
  
SQL> alter database add logfile group 5( '/u01/app/oracle/oradata/dave/redo05.log' ) size 1G;
Database altered.
  
SQL> alter database add logfile group 6( '/u01/app/oracle/oradata/dave/redo06.log' ) size 1G;
Database altered.
  
SQL> alter database drop logfile group 2;
Database altered.
  
SQL> alter database drop logfile group 1;
Database altered.
  
SQL> alter  system  switch  logfile;
System altered.
  
SQL> alter database clear unarchived logfile group 3;
Database altered.
  
SQL> alter database drop logfile group 3;
Database altered.
  
-- Restart the instance.
SHUTDOWN IMMEDIATE
STARTUP

 

 

1.5         创建OEM安装目录

 

1
2
[oracle@www.cndba.cn /]$ mkdir -p /u01/app/oracle/Middleware
[oracle@www.cndba.cn /]$ mkdir -p /u01/app/oracle/MiddlewareAgent

 

 

2       安装 Enterprise Manager Cloud Control

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[oracle@www.cndba.cn software]$ chmod a+x em13100_linux64.bin
[oracle@www.cndba.cn software]$ ll
total 6616032
-rw-r--r-- 1 oracle oinstall 1315250699 Feb 29 16:02 em13100_linux64-2.zip
-rw-r--r-- 1 oracle oinstall 2145473190 Feb 29 16:06 em13100_linux64-3.zip
-rw-r--r-- 1 oracle oinstall 2141357330 Feb 29 16:07 em13100_linux64-4.zip
-rw-r--r-- 1 oracle oinstall  331590923 Feb 29 15:54 em13100_linux64-5.zip
-rwxr-xr-x 1 oracle oinstall  841114290 Feb 29 15:58 em13100_linux64.bin
[oracle@www.cndba.cn software]$
  
运行开始安装:
[oracle@www.cndba.cn software]$ ./em13100_linux64.bin
0%...............................................................100%
Launcher  log  file is /tmp/OraInstall2016-03-01_02-07-09PM/launcher2016-03-01_02-07-09PM. log .
Starting Oracle Universal Installer
  
Checking  if  CPU speed is above 300 MHz.   Actual 3400.000 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 31999 MB    Passed
Checking  if  this  platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 818155 MB    Passed
  
  
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2016-03-01_02-07-09PM
====Prereq Config Location main===
/tmp/OraInstall2016-03-01_02-07-09PM/stage/prereq
EMGCInstaller args -scratchPath
EMGCInstaller args /tmp/OraInstall2016-03-01_02-07-09PM
EMGCInstaller args -sourceType
EMGCInstaller args network
EMGCInstaller args -timestamp
EMGCInstaller args 2016-03-01_02-07-09PM
EMGCInstaller args -paramFile
EMGCInstaller args /tmp/sfx_0Utw4M/Disk1/install/linux64/oraparam.ini
EMGCInstaller args -nocleanUpOnExit
DiskLoc inside SourceLoc/software
EMFileLoc:/tmp/OraInstall2016-03-01_02-07-09PM/oui/em/
ScratchPathValue :/tmp/OraInstall2016-03-01_02-07-09PM

 

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[root@www.cndba.cn ~]# /u01/app/oracle/Middleware/allroot.sh
  
Starting to execute allroot.sh .........
  
Starting to execute /u01/app/oracle/Middleware/root.sh ......
/etc exist
  
Creating /etc/oragchomelist file...
/u01/app/oracle/Middleware
Finished product-specific root actions.
/etc exist
Finished execution of  /u01/app/oracle/Middleware/root.sh ......
  
  
Starting to execute /u01/app/oracle/MiddlewareAgent/agent_13.1.0.0.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of  /u01/app/oracle/MiddlewareAgent/agent_13.1.0.0.0/root.sh ......
[root@www.cndba.cn ~]#

 

 

 

 

 

在如下平台下安装费时约3小时:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[root@www.cndba.cn ~]#  free  -g
              total       used        free      shared    buffers     cached
Mem:            23         22          0          5          0         15
-/+ buffers/cache:          7         15
Swap:           31          0         31
  
processor : 3
vendor_id        : GenuineIntel
cpu family        : 6
model               : 58
model name    : Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
stepping  : 9
microcode        : 27
cpu MHz           : 3400.000
cache size        : 3072 KB

 

zhuan :http://www.cndba.cn/dave/article/324

文章可以转载,必须以链接形式标明出处。



本文转自 张冲andy 博客园博客,原文链接: http://www.cnblogs.com/andy6/p/6031017.html ,如需转载请自行联系原作者
相关文章
|
4月前
|
SQL Oracle 关系型数据库
Win10下安装Oracle 18c
Win10下安装Oracle 18c
|
5月前
|
SQL Oracle 关系型数据库
本机不安装Oracle客户端,使用PL/SQL Developer连接远程数据库
本机不安装Oracle客户端,使用PL/SQL Developer连接远程数据库
141 0
|
7月前
|
Oracle 关系型数据库 Java
云服务器安装oracle修改IP地址监听器报错问题
当在云服务器中安装oracle时,按照一般的安装步骤安装后,需要修改两个文件的iIP地址才可以在本机进行访问,修改注意点: 监听器部分不要改成服务器的公网IP,要改成服务器的计算机名字才可以,两个配置文件夹均要修改
70 0
|
7月前
|
Oracle 关系型数据库 数据库
contOS7下安装Oracle11g数据库(二)
contOS7下安装Oracle11g数据库(二)
119 0
|
1月前
|
Oracle 关系型数据库 数据库
如何利用 Docker 安装 Oracle 数据库
【2月更文挑战第14天】
92 0
|
4月前
|
Oracle 关系型数据库 数据库
docker下安装oracle11g(一次安装成功)
docker下安装oracle11g(一次安装成功)
89 0
|
5月前
|
Oracle 关系型数据库 数据安全/隐私保护
docker 下安装oracle
docker 下安装oracle
103 0
|
1月前
|
存储 Oracle 关系型数据库
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
|
6月前
|
Oracle 关系型数据库 数据库
Win11系统如何安装Oracle数据库(超级详细)
Win11系统如何安装Oracle数据库(超级详细)
215 0
|
2月前
|
Oracle 关系型数据库 数据安全/隐私保护
Docker安装oracle11g
Docker安装oracle11g步骤

推荐镜像

更多