The installation of Oracle Enterprise Cloud Control 12c is a complex process because he needs to rely on Oracel database and Oracle Weblogic. Now that Oracle has integrated the WebLogic into the Cloud control installation package, this article is based on Oracle Linux 6.3 installed on Oracle Enterprise Cloud Control 12c, which is described below.
1, pre-installation preparation
A) OS Installation reference
Install Oracle Linux 6.3 under Virtual box
b) Oracel software install and create DB reference
Rapid deployment of Oracle installation Environment using YUM (11g)
Oracle Linux 6.3 Installs Oracle 11g R2 (11.2.0.3)
2. Java Runtime Environment deployment
[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. The RPM package required by Cloud control
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 was a 32-bit package)
Glibc-devel-2.12-1.7.el6.x86_64 (This was 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 {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)
#在安装的时候出现了一个错误提示, I can't find 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. Configure Database Options
A) If the current database is configured with Dbconsole, first 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) Modification of relevant parameters
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. Install Cloud Control
[Email protected] ~]$ mkdir-p/U01/OMS12CR3
[Email protected] ~]$ mkdir-p/U01/AGENT12CR2
# Author:leshami
# Blog: Http://blog.csdn.net/leshami
[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
After installation, you can login to OMS https://oel63.ycdata.net:7802/em via the following URL.
For information about Clould control startup shutdown, refer to: Start and shutdown of Oracle cloud control 12c
5. On-Site trailer
Install Oracle Enterprise Cloud Control 12c under Linux 6.3