您的位置:首页 > 博客中心 > 数据库 >

Linux 6.3下安装Oracle Enterprise Cloud Control 12c

时间:2022-03-13 23:21

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

 

1、安装前的准备
a) os安装参考
  


b) Oracel software安装及创建DB参考
  
   

 

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 <sys pasword> -SYSMAN_PWD <sysman password> 

 

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.ycdata.net:7802/em
  有关clould control启动关闭安装信息,请参考:

 

5、现场花絮

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

 

热门排行

今日推荐

热门手游