当前位置:Gxlcms > mysql > Linux6.3下安装OracleEnterpriseCloudControl12C

Linux6.3下安装OracleEnterpriseCloudControl12C

时间:2021-07-01 10:21:17 帮助过:32人阅读

Oracle enterprise cloud control 12C的安装是一个比较复杂的过程,因为他需要依赖于Oracel database以及Oracle Weblogic。现在O

Linux 6.3下安装Oracle Enterprise Cloud Control 12C

[日期:2014-09-03] 来源:Linux社区 作者:Leshami [字体:]

Oracle enterprise cloud control 12C的安装是一个比较复杂的过程,因为他需要依赖于Oracel database以及Oracle Weblogic。现在Oracle已经整合了Weblogic到cloud control安装包中还是省事很多,,本文是基于Oracle Linux 6.3上安装Oracle enterprise cloud control 12C,以下是具体描述。

Oracle 11g 在RedHat Linux 5.8_x64平台的安装手册

Linux-6-64下安装Oracle 12C笔记

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

1、安装前的准备
a) os安装参考
Virtual Box下安装Oracle Linux 6.3

b) Oracel software安装及创建DB参考
使用yum快速部署Oracle安装环境(11g)
Oracle Linux 6.3下安装Oracle 11g R2(11.2.0.3)

2、JAVA运行环境部署
[root@oel64 src]# pwd
/usr/local/src
[root@oel64 src]# chmod u+x jdk-6u45-linux-x64-rpm.bin
[root@oel64 src]# ./jdk-6u45-linux-x64-rpm.bin

3、 Cloud Control所需的rpm包
Package Requirements for Oracle Management Service
make-3.81
binutils-2.20.51.0.2-5.11
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1
libstdc++-4.4.4
libXtst-1.0.99.2-3.el6.x86_64.rpm
sysstat-9.0.4
glibc-devel-2.12-1.7.el6.i686 (This is a 32-bit package)
glibc-devel-2.12-1.7.el6.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

Package Requirements for Oracle Management Agent
make-3.81
binutils-2.20.51.0.2-5.11
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1.7
libstdc++-4.4.4
sysstat-9.0.4

#使用下面的方式校验rpm包
[root@oel63 ~]# rpm -qa make binutils gcc libaio glibc-common libstdc++ sysstat --queryformat "%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n"
glibc-common-2.12-1.132.el6_5.1(x86_64)
sysstat-9.0.4-20.el6(x86_64)
libaio-0.3.107-10.el6(x86_64)
gcc-4.4.7-4.el6(x86_64)
binutils-2.20.51.0.2-5.34.el6(x86_64)
libstdc++-4.4.7-4.el6(x86_64)
make-3.81-20.el6(x86_64)

[root@oel63 ~]# rpm -qa glibc-devel --queryformat "%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n"
glibc-devel-2.12-1.132.el6_5.1(x86_64)

#在安装的时候出现了一个错误提示,无法找到glibc-devel-2.12-1.7-i686
[root@oel63 ~]# yum install glibc-devel*i686
[root@oel63 ~]# rpm -qa | grep glibc-devel
glibc-devel-2.12-1.132.el6_5.1.i686
glibc-devel-2.12-1.132.el6_5.1.x86_64

4、配置数据库选项
a) 如果当前数据库配置了dbconsole,先deconfig
[oracle@oel63 ~]$ emctl status dbconsole #这个查询表明本机没有配置dbconsole
OC4J Configuration issue. /u01/ora11g/db_1/oc4j/j2ee/OC4J_DBConsole_oel63.ycdata.net_ora11g not found.
#使用下面的命令deconfig dbconsole
$ emca -deconfig dbcontrol db -repos drop -SYS_PWD -SYSMAN_PWD

b) 相关参数修改
SQL> ALTER SYSTEM SET processes=300 SCOPE=SPFILE;

SQL> ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;

SQL> ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;

SQL> ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;

SQL> ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;

SQL> ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

SQL> shutdown immediate;

SQL> startup

4、安装cloud control
[oracle@oel63 ~]$ mkdir -p /u01/oms12cr3
[oracle@oel63 ~]$ mkdir -p /u01/agent12cr2
# Author: Leshami
# Blog :
[oracle@oel63 ~]$ cd /usr/local/src/em12cc/
[oracle@oel63 em12cc]$ ls
em12103p1_linux64_disk1.zip em12103p1_linux64_disk2.zip em12103p1_linux64_disk3.zip

[oracle@oel63 em12cc]$ unzip em12103p1_linux64_disk1.zip
[oracle@oel63 em12cc]$ unzip em12103p1_linux64_disk2.zip
[oracle@oel63 em12cc]$ unzip em12103p1_linux64_disk3.zip

[oracle@oel63 em12cc]$ export DISPLAY=192.168.7.133:0.0
[oracle@oel63 em12cc]$ ./runInstaller

#把这2行添加到~/.bash_profile
export OMS_HOME=/u01/oms12cr3/oms
export AGENT_HOME=/u01/agent12cr2/core/12.1.0.3.0
$ source ~/.bash_profile
安装完毕后可以通过下面的URL登陆到oms https://oel63.linuxidc.net:7802/em
有关clould control启动关闭安装信息,请参考:Oracle cloud control 12c 的启动与关闭

更多详情见请继续阅读下一页的精彩内容:

linux

人气教程排行