Oracle 12c OEM Cloud Control OMS安裝

parknkjun發表於2015-01-31

一、硬體要求

安裝Enterprise Manager Cloud Control 12c的硬體要求如以下列表,要求至少4G記憶體:

Table 2–1  CPU, RAM, Heap Size, and Hard Disk Space Requirements Per OMS                                                                   

Small                                                 Medium                                             Large   

_________________________________________________________________________________________________  _______

(1 OMS, <1000                                (2 OMSes, >=1000                               (> 2 OMSes,       

Targets, <100                                    but <10,000 Targets,                             >=10,000 Targets,        

Agents, <10                                      >=100 but <1000                                  >=1000 Agents,         

Concurrent User Sessions)                     Agents,>=10 but <25                             >=25 but <=50          

                             Concurrent User                                    Concurrent User         

          Sessions)                                            Sessions)               

CPU Cores/Host                        2                                                        4                                                  8

RAM                                        4GB                                                    6 GB                                             8 GB

RAM with ADP1, JVMD2               6 GB                                                 10 GB                                          14 GB

Oracle WebLogic Server JVM Heap

Size                                          1.7 GB                                                  4 GB                                         8 GB

Hard Disk Space3                        7 GB                                                    7 GB                                          7 GB

Hard Disk Space with ADP, JVMD 10 GB                                                   12 GB                                        14 GB

1 ADP Manager is Application Dependency and Performance

2 JVMD is JVM Diagnostics

3 Without Oracle Software Library configured
二、
系統和軟體包要求
以下表格列出在各系統安裝EM 12c所要求安裝的作業系統軟體包,這些軟體包可以從ISO檔案或DVD安裝個質中找到:
Table 3–1 Package Requirements for Oracle Management Service


Platform

32-Bit Packages for 32-Bit

Platform

64-Bit Packages for 64-Bit

Platform

Oracle Linux 6.x

(Red Hat 6 Kernel and

Unbreakable Enterprise

Kernel (UEK))

make-3.81

binutils-2.17.50.0.6

gcc-4.1.1

libaio-0.3.106

glibc-common-2.3.4

compat-libstdc++296-2.96

libstdc++ 4.1.1

libstdc++devel-4.1.0

setarch-1.6

sysstat-5.0.5

compat-db 4.1.25

xorg-x11-utils (This package is

required only for GUI-based

interactive installation, and not

for silent installation)

make-3.81

binutils-2.17.50.0.6

gcc-4.1.1

libaio-0.3.106

glibc-common-2.3.4

libstdc++-4.1.1

sysstat-5.0.5

glibc-devel-2.5-49-i686

(This is a 32-bit package)

glibc-devel-2.5-49-x86_64

(This is a 64-bit package)

Oracle Linux 5.x

Red Hat Enterprise

Linux 5.x

make-3.81

binutils-2.17.50.0.6

gcc-4.1.1

libaio-0.3.106

glibc-common-2.3.4

compat-libstdc++296-2.96

libstdc++ 4.1.1

libstdc++devel-4.1.0

setarch-1.6

sysstat-5.0.5

compat-db 4.1.25

rng_utils-2.0

libXtst-1.0.1-3.1(i386)

xorg-x11-utils (This package is

required only for GUI-based

interactive installation, and not

for silent installation)

make-3.81

binutils-2.17.50.0.6

gcc -4.1.1

libaio-0.3.106

glibc-common-2.3.4

libstdc++ -4.1.1

setarch-1.6

sysstat-5.0.5

rng-utils-2.0

libXtst-1.0.1-3.1(x86_64)

xorg-x11-utils (This

package is required only for

GUI-based interactive

installation, and not for

silent installation)

In addition, install the 32-bit

version as well as the 64-bit

version of glibc-devel-2.5-49 to

avoid any linking errors while

installing the OMS. The

installer checks for this

package, so if this package is

not installed, the installer

displays an error.

IBM AIX 5.3.00.04

Note: Maintenance level

4 and higher are

supported for AIX 5.3.

Check the maintenance

level using the following

command:

oslevel -r

Not Supported

bos.perf.proctools(0.0)

bos.adt.base(0.0)

bos.adt.libm(0.0)

IBM AIX 6.1

Note: All maintenance

levels are supported.

Check the maintenance

level using the following

command:

oslevel -r

Not Supported

bos.adt.base(0.0)

bos.adt.lib(0.0)

bos.adt.libm(0.0)

bos.perf.libperfstat(0.0)

bos.perf.perfstat(0.0)

bos.perf.proctools(0.0)

rsct.basic.rte(0.0)

rsct.compat.clients.rte(0.0)

xlC.aix61.rte.(9.0.0.0)

xlC.rte.(9.0.0.0)

IBM AIX 7.1

Note: All maintenance

levels are supported.

Check the maintenance

level using the following

command:

oslevel -r

Not Supported

bos.adt.base(0.0)

bos.adt.lib(0.0)

bos.adt.libm(0.0)

bos.perf.libperfstat(0.0)

bos.perf.perfstat(0.0)

bos.perf.proctools(0.0)

rsct.basic.rte(0.0)

rsct.compat.clients.rte(0.0)

xlC.aix61.rte.(9.0.0.0)

xlC.rte.(9.0.0.0)

三、準備工作
3.1軟體下載
em12104_linux64_disk1.zip
em12104_linux64_disk2.zip
em12104_linux64_disk3.zip
下載地址:http://www.oracle.com/technetwork/oem/grid-control/downloads/linuxx8664soft-085949.html
3.2引數設定

如果資料庫配置了dbcontrol,使用如下命令將其刪除:

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD <sysman password>

sqlplus / AS SYSDBA

 

ALTER SYSTEM SET processes=300 SCOPE=SPFILE;

ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;

ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;

ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;

ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;

ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

 

-- May be required if using older versions of DB.

--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;

--ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;

 

-- Restart the instance.

SHUTDOWN IMMEDIATE

STARTUP
3.3建立目錄
[oracle@11g ~]# mkdir -p /u02/app/oracle/Middleware
3.4解壓檔案
[oracle@11g software]$ unzip em12_linux64_disk1.zip
[oracle@11g software]$ unzip em12_linux64_disk2zip
[oracle@11g software]$ unzip em12_linux64_disk3zip


四、開始安裝

[oracle@11g install]$ ./runInstaller

啟動OUI圖形介面,去掉” I wish to receive security update…”,點選NEXT!

選擇”Skip”跳過更新,點選NEXT!

Prerequisite checks安裝檢測,如遇報錯,請根據提示修改,點選NEXT!

選擇create a new Enterpris Manager->Simple,點選NEXT!

輸入Middleware和agent安裝目錄,主機名,如下圖,點選NEXT!

設定Weblogic,MDS,sysman等使用者管理密碼,配置database連線,去掉configure oracle Software Library勾選,如下圖,點選next.

安裝概要,如下圖,點選”install “

開始安裝,如下圖:

此過程可以點選VIEW LOG檢視配置日誌:

root使用者執行指令碼,如下圖:

oem埠號為:7799,console埠號為7101,具體地址如下圖:


開啟瀏覽器,輸入地址https://hostname:7799/em(7799預設埠)訪問EM Cloud Control 12c,輸入sysman的身份認證

首次登陸會出現可訪問性首選項選擇,可根據自己的需求進行選擇,這裡選擇“我將在以後處理”

接受許可協議

首次登陸會出現overview的介面,可根據自己的需求,愛好選擇屬於自己的個人主頁。


使用如下命令停止OMSAgent服務:

Export OMS_HOME=/u02/app/oracle/Middleware/oms/bin

Export AGENT_HOME=/u02/app/oracle/Middleware/agent/core/12.1.0.4.0/bin

$OMS_HOME/bin/emctl stop oms –all

$AGENT_HOME/bin/emctl stop agent

 

使用如下命令啟動OMSAGENT服務:

Export OMS_HOME=/u02/app/oracle/Middleware/oms/bin

Export AGENT_HOME=/u02/app/oracle/Middleware/agent/core/12.1.0.4.0/bin

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26175573/viewspace-2121479/,如需轉載,請註明出處,否則將追究法律責任。

相關文章