Oracle 13c OEM 安装测试(13.2.0.0)
来源:互联网 发布:浙江省儿童dna数据库 编辑:程序博客网 时间:2024/04/30 19:17
操作系统:Centos6.5
数据库:Oracle 12.1.0.2
一.软件介质准备:
Oracle database 12c(12.1.2.0) for Linux 64:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/database12c-linux-download-2240591.htmlEnterprise Manager 13c(13.2.0.0) for Linux 64:http://www.oracle.com/technetwork/oem/grid-control/downloads/oem-linux-64-3610092.htmlDatabase Template for EM OMR:http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/db-templates-3233309.html(根据自己的平台版本选择数据库模板,这里,我们选择“Linux x86-64”)
注意:这里也可以不用下载模板,自己手动安装一个数据库即可。
二、安装准备工作
以下包以Redhat为准,其他版本的操作系统以官方首次为准。
官方安装文档:https://docs.oracle.com/cd/E73210_01/EMBSC/GUID-059D95F7-0326-4E0D-9470-6675C1891BA9.htm#EMBSC131
1. Oracle Management Service 依赖如下包
For example, if you run the command on a 64-bit system, you should see something similar to the following: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)
2. Oracle Management Agent 依赖如下包|
make-3.81binutils-2.20gcc-4.4.4libaio-0.3.107glibc-common-2.12-1libstdc++-4.4.4libXtst-1.0.99 (x86_64)sysstat-9.0.4glibc-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)(Applicable only for Oracle Linux 6.2, which includes RH6.2 and UEK 6.2) glibc-2.12-1.47.0.2
3.修改系统参数
避免端口被占用,修改最小端口到11000。
[root@oracle 13c]# cat /proc/sys/net/ipv4/ip_local_port_range900065500[root@oracle 13c]# echo 11000 65000 > /proc/sys/net/ipv4/ip_local_port_range[root@oracle 13c]# cat /proc/sys/net/ipv4/ip_local_port_range1100065000
修改/etc/sysctl.conf 文件,修改如下内容
[root@oracle 13c]# vi /etc/sysctl.conf net.ipv4.ip_local_port_range = 11000 65000[root@oracle 13c]#sysctl -p
然后重启网络。
[root@oracle 13c]# service network restart
4.修改kernel.shmmax内核参数
如果OMS 和 Management Repository(database) 在不同的主机上,那么OMS的主机kernel.shmmax 参数设置为小于4G或者4294967295。 直接修改/etc/sysctl.conf 文件修改,然后运行sysctl –p 生效即可。
如果OMS和Management Repository(database) 在同一个主机上,那么kernel.shmmax 参数以Oracle 数据库文档要求的为准。
这里我们将OMS 和OMR都放在一台机器上。
5.按数据库并修改相应的参数:
OEM 13c 只支持12.1.0.2.0 以上的数据库,所以需要先安装12的DB。具体安装过程这里就不再赘述。
注意:不要安装EM。
安装好数据库之后,要对相应的参数做一定的修改,否则会在安装的时候报错,具体的报错信息会在下面给出:
修改参数:
SQL> alter system set parallel_min_servers=0;SQL> alter system set session_cached_cursors=400 scope=spfile;SQL> alter system set log_buffer=8M scope=spfile;SQL> alter system set memory_max_target=7G scope=spfile;SQL> alter system set memory_target=7G scope=spfile;SQL> alter system set open_cursors=600 scope=spfile;SQL> alter system set pga_aggregate_target=2G scope=spfile;SQL> alter system set processes=800 scope=spfile;SQL> alter system set session_cached_cursors=400 scope=spfile;SQL> alter system set sga_max_size=5G scope=spfile;SQL> alter system set sga_target=5G scope=spfile;SQL> alter system set shared_pool_size=1G scope=spfile;
修改online redo log 大小,以及至少4组redo log
修改之前
SQL> select group#,thread#,bytes/1024/1024 from v$log; GROUP# THREAD# BYTES/1024/1024---------- ---------- --------------- 1 1 50 2 1 50 3 1 50 4 1 50SQL>
修改之后:
SQL> select group#,thread#,bytes/1024/1024 from v$log; GROUP# THREAD# BYTES/1024/1024---------- ---------- --------------- 1 1 300 2 1 300 3 1 300 4 1 300
6.创建OEM安装目录
bishuo:/home/oracle@oracle>mkdir -p /home/oracle/middlewarebishuo:/home/oracle@oracle>mkdir -p /home/oracle/middlewareagent
三、安装 Enterprise Manager Cloud Control
bishuo:/home/oracle/software@oracle>chmod a+x em13200p1_linux64.bin bishuo:/home/oracle/software@oracle>ll总用量 8330984-rw-r--r-- 1 oracle dba 2123211088 12月 21 09:32 em13200p1_linux64-2.zip-rw-r--r-- 1 oracle dba 741526563 12月 21 09:32 em13200p1_linux64-3.zip-rw------- 1 oracle dba 2084231936 12月 21 09:33 em13200p1_linux64-4.zip-rw-r--r-- 1 oracle dba 109191154 12月 21 09:33 em13200p1_linux64-5.zip-rw-r--r-- 1 oracle dba 2146696423 12月 21 09:34 em13200p1_linux64-6.zip-rw-r--r-- 1 oracle dba 771426157 12月 21 09:34 em13200p1_linux64-7.zip-rwxr-xr-x 1 oracle dba 554606940 12月 21 09:34 em13200p1_linux64.bin运行安装:bishuo:/home/oracle/software@oracle>export DISPLAY=192.168.1.98:0.0bishuo:/home/oracle/software@oracle>./em13200p1_linux64.bin 0%...............................................................................100%启动程序日志文件为/tmp/OraInstall2017-12-21_11-22-35AM/launcher2017-12-21_11-22-35AM.log。启动 Oracle Universal Installer检查 CPU 速度是否大于 300 MHz。 实际为 2397.246 MHz 通过检查监视器: 必须配置为至少显示 256 种颜色。 实际为16777216 通过检查交换空间: 必须大于 512 MB。 实际为 7919 MB 通过检查此平台是否需要 64 位 JVM。 实际为64 通过 (不需要 64 位)......
上面有一步骤是修改数据库的参数和修改redo log 大小以及组数,如果不修改的话,则在在这一步骤会出现以下的报错信息:
执行脚本:
[root@oracle u01]# /home/oracle/middleware/allroot.shStarting to execute allroot.sh ......... Starting to execute /home/oracle/middleware/root.sh ....../etc existCreating /etc/oragchomelist file.../home/oracle/middlewareFinished product-specific root actions./etc existFinished execution of /home/oracle/middleware/root.sh ......Starting to execute /home/oracle/middlewareagent/agent_13.2.0.0.0/root.sh ......Finished product-specific root actions./etc existFinished execution of /home/oracle/middlewareagent/agent_13.2.0.0.0/root.sh ......到此安装结束,下面我们登陆访问一下:
- Oracle 13c OEM 安装测试(13.2.0.0)
- 安装oracle OEM 12c的过程(简单版)
- Oracle OEM安装配置
- oracle OEM的安装与配置(常用命令)
- Oracle 11g OEM(企业管理器)安装手册
- oracle重建OEM(dbconsole)
- oracle安装后怎么不能进OEM?
- Oracle 11G安装和重建OEM
- oracle oem
- Oracle OEM
- ORACLE OEM
- ORACLE OEM
- ORACLE OEM简介(如何利用OEM查看oracle当前在执行哪些SQL语句)
- ORACLE OEM简介(如何利用OEM查看oracle当前在执行哪些SQL语句)
- USB接口ID卡读卡器oem软件/读写卡测试程序及源代码/c++builder源代码 (2)
- Oracle 10G OEM
- oracle 10g oem
- oracle oem主机身份证明
- 封装导航栏及返回,获取控件所在控制器 iOS
- 【转载】清华人都如此努力,那我们呢?
- Android系统权限
- elasticsearch 查询语法
- JavaScript 对象的属性类型
- Oracle 13c OEM 安装测试(13.2.0.0)
- IntelliJ IDEA2017.3 激活
- MongoDB和MySQL的区别
- 史上最简单的SpringCloud教程 | 第六篇: 分布式配置中心(Spring Cloud Config)
- 公司通过微信风控系统实时监控员工微信聊天记录
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
- View的滑动冲突
- [杜教筛] 51nod1220. 约数之和
- csdn的第一天