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運行環境部署
[[email protected] src]# pwd
/usr/local/src
[[email protected] src]# chmod u+x jdk-6u45-linux-x64-rpm.bin
[[email protected] 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包
[[email protected] ~]# 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)
[[email protected] ~]# 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
[[email protected] ~]# yum install glibc-devel*i686
[[email protected] ~]# 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
[[email protected] ~]$ 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
[[email protected] ~]$ mkdir -p /u01/oms12cr3
[[email protected] ~]$ mkdir -p /u01/agent12cr2
# Author: Leshami
# Blog :
[[email protected] ~]$ cd /usr/local/src/em12cc/
[[email protected] em12cc]$ ls
em12103p1_linux64_disk1.zip em12103p1_linux64_disk2.zip em12103p1_linux64_disk3.zip
[[email protected] em12cc]$ unzip em12103p1_linux64_disk1.zip
[[email protected] em12cc]$ unzip em12103p1_linux64_disk2.zip
[[email protected] em12cc]$ unzip em12103p1_linux64_disk3.zip
[[email protected] em12cc]$ export DISPLAY=192.168.7.133:0.0
[[email protected] 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 的啟動與關閉