Oracle EMCC 13.5安装过程

0    1817    8

Tags:

👉 本文共约5857个字,系统预计阅读时间或需23分钟。

下载EMCC软件

https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html

https://www.oracle.com/enterprise-manager/downloads/linux-x86-64-13c-rel5-downloads.html

image-20210517142626360

Directions

  1. Download all the files including .bin in same directory. No need to unzip the downloaded software.
  2. As the install user who will be installing the product, set the execute permission for the .bin file. Example: chmod +x em13500_linux64.bin
  3. Installation guides and general Enterprise Manager documentation can be found here.

安装的产品

As part of a new Enterprise Manager system, the installation wizard does the following:

  • Installs Oracle WebLogic Server 12c Release 2 (12.2.1.4.0).

  • Installs Java Development Kit (JDK) 1.8.0_261.

  • Installs Oracle Management Service 13c Release 5.

  • Installs Oracle Management Agent 13c Release 5 in the agent base directory you specify (outside the middleware home).

  • Installs Oracle JRF 12c Release 2 (12.2.1.4.0).

  • Installs Oracle Web Tier 12c Release 2 (12.2.1.4.0).

  • Creates a plug-in directory and installs the following default plug-ins.

    • Oracle Database Plug-in

    • Oracle Fusion Middleware Plug-in

    Note:

    Starting with 13c Release 1, as part of the Oracle Fusion Middleware Plug-in deployment, one Java Virtual Machine Diagnostics (JVMD) Engine is installed by default on the OMS. For every additional OMS you deploy, you receive one JVMD Engine by default with that OMS.

    JVMD enables administrators to diagnose performance problems in Java applications in the production environment. By eliminating the need to reproduce problems, it reduces the time required to resolve these problems, thus improving application availability and performance.

    While JVMD Engine is installed by default on the OMS host, you will still need JVMD Agents to be manually deployed on the targeted JVMs. For instructions to deploy the JVMD Agent, see Installing JVM Diagnostic Agents.

    • Oracle Exadata Plug-in

    • Oracle Cloud Framework Plug-in

    • Oracle System Infrastructure Plug-in

    • Any other additional plug-ins you choose to deploy

  • Creates an Oracle WebLogic domain called GCDomain. For this WebLogic Domain, a default user account, weblogic, is used as the administrative user. In advanced installation, you can choose to change this if you want.

  • Creates a Node Manager user account called nodemanager. A Node Manager enables you to start, shut down, or restart an Oracle WebLogic Server instance remotely, and is recommended for applications with high availability requirements.

    Note:

    On Microsoft Windows, a Node Manager service is NOT created. This is an expected behavior.

  • Configures an Oracle Management Service Instance Base location (gc_inst) outside the Oracle Middleware home (Middleware home), for storing all configuration details related to the OMS. In advanced installation, you can choose to change this location if you want.

    For example, if the Middleware home is /u01/software/em13c/oraclehome, then the instance base location is /u01/software/em13c/gc_inst. You can choose to change this, if you want, in the installer. However, you can change it for only advanced installation and not for simple installation.

  • Configures Oracle Management Repository in the existing, certified Oracle Database. If the database instance is created using the database template offered by Oracle, then this step is skipped.

    Note:

    The existing, certified Oracle Database must be one of the certified databases listed in the Enterprise Manager certification matrix available on My Oracle Support, or a database instance created with a preconfigured Oracle Management Repository (Management Repository) using the database templates offered by Oracle.

    To access the Enterprise Manager certification matrix, follow the steps outlined in Accessing the Enterprise Manager Certification Matrix.

    For information about creating a database instance with a preconfigured Management Repository using the database templates offered by Oracle, refer to Creating a Database Instance with Preconfigured Repository Using Database Templates.

    The database can be on a local or remote host, and if it is on a remote host, it must be monitored by Oracle Management Agent. However, Oracle Real Application Clusters (Oracle RAC) databases must only be on a shared disk.

  • Runs the following configuration assistants to configure the installed components for simple as well as advanced installation:

    • Plug-ins Prerequisites Check

    • Repository Configuration

    Note:

    If you use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then Repository Out-of-Box Configuration is run instead of Repository Configuration.

    • MDS Schema Configuration

    Note:

    If you use a database instance that was created with a preconfigured Management Repository using the database templates offered by Oracle, then MDS Schema Configuration is not run.

    • OMS Configuration

    • Plug-ins Deployment and Configuration

    • Start Oracle Management Service

    • Agent Configuration Assistant

兼容性:

Oracle Management Service 13c Release 5 can communicate only with the following Oracle Management Agents versions you may have deployed from earlier Enterprise Manager Cloud Control versions: 13.4.0.0.0 and 13.3.0.0.0.

Table 5-2 Compatibility Between OMS and Management Agents Across 13c and 12c Releases

-Oracle Management Agent 12c Release 5 (12.1.0.5)Oracle Management Agent 13c Release 1Oracle Management Agent 13c Release 2Oracle Management Agent 13c Release 3Oracle Management Agent 13c Release 4
Oracle Management Service 13c Release 5NoNoNoYesYes

系统条件

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/embsc/installing-oracle-enterprise-manager-cloud-control.html#GUID-87104EF1-E52A-457A-8590-C1245E393AD4

端口

The following are the default ports used for installation:

  • Enterprise Manager Cloud Control

    Table 2-2 Default Port for Enterprise Manager Grid Control

    -Upload PortConsole Port
    HTTP PortThe first available free port from the range 4889 to 4898 is selected.The first available free port from the range 7788 - 7798 is selected.
    HTTPS Port1159If 1159 is not available, then the first available free port from the range 4899 to 4908 is selected.The first available free port from the range 7799 - 7809 is selected.
  • Oracle Management Agent

    The default upload port for Management Agent is 3872. The same port is used for both HTTP and HTTPS. If 3872 is not available, then the first available free port from the range 1830 to 1849 is selected.

  • Administration Server

    The default HTTPS port for Admin Server is 7101. If 7101 is not available, then the first available free port from the range 7101 to 7200 is selected.

  • Node Manager

    The default HTTPS port is the first available free port from the range 7401 to 7500 is selected.

  • Managed Server

    The default HTTP port is the first available free port from the range 7201 to 7300 is selected.

    The default HTTPS port is the first available free port from the range 7301 to 7400 is selected.

  • JVM Diagnostics Managed Server

    If SLB is not configured, then the aforementioned HTTP and HTTPS upload ports of Enterprise Manager Cloud Control are used. If SLB is configured, then the ports configured for JVM Diagnostics on the SLB are used. Alternatively, in addition to the SLB configuration, if the HTTP upload port is enabled for Enterprise Manager Cloud Control, then the HTTP upload port also can be used by the JVM Diagnostics Agents for communicating with the JVM Diagnostics Engine.

  • Oracle HTTP Server

    The default HTTP port for Oracle HTTP Server is 9788. If 9788 is not available, then the first available free port from the range 9751 to 9800 is selected.

    The default HTTPS port for Oracle HTTP Server is 9899. If 9899 is not available, then the first available free port from the range 9851 to 9900 is selected.

  • Java Object Cache (JOC)

    The default JOC port is 23456. If 23456 is not available, no alternate port is used, so ensure that port 23456 is free.

安装

官方文档:https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/index.html

修改系统参数

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/embsc/package-kernel-parameter-and-library-requirements-enterprise-manager-cloud-control.html#GUID-7C29D5C1-5331-45D4-AAC4-87FA2D3C04A0

 避免端口被占用,修改最小端口到11000。

修改/etc/sysctl.conf 文件,修改如下内容

修改nproc Kernel Parameter

 修改kernel.shmmax内核参数

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/embsc/package-kernel-parameter-and-library-requirements-enterprise-manager-cloud-control.html#GUID-A1AEBDCD-4211-4A2A-9DBA-710C9B7FA522

如果OMS(Oracle Management Server)和OMR(Management Repository)在不同的主机上,那么OMS的主机kernel.shmmax参数设置为小于4G或者4294967295。直接修改/etc/sysctl.conf文件修改,然后运行sysctl -p生效即可。

如果OMS和Management Repository(database)在同一个主机上,那么kernel.shmmax参数以Oracle数据库文档要求的为准。

这里我们将OMS和OMR都放在一台机器上。

 修改参数禁用Address Space Layout Randomization (ASLR)

kernel.randomize_va_space=0

kernel.exec-shield=0

参考:ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds (文档 ID 1345364.1)

[root@cos73emcc133lhr ~]# sysctl -p

创建OEM安装目录

注意:请确保/u01目录的剩余空间足以安装EMCC。EMCC 13.3软件安装完成后,大约需要26G的空间;而agent大约需要2G的空间。

在安装过程中,/tmp目录至少需要12G的空间,或者至少有一个目录的空闲空间有12G,需要存放临时解压文件,安装完成后会释放该空间。

数据库准备(OMR)

OMR:Oracle Management Repository

OEM 13c只支持从版本12.1.0.2.0开始的OMR数据库,这里使用19c的数据库。

注意:不能安装EM,即DC。

EMCC 13.3可以监控11g的数据库,例如11g的rac。

注意:OS的内存我设置了16G,数据库的内存我设置了8G,否则会报错。等OMS安装成功后,再把OS和数据库的内存缩小。

开始安装EMCC(Enterprise Manager Cloud Control)

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/embsc/installing-oracle-enterprise-manager-cloud-control.html#GUID-C3103C35-2FF8-45CD-A459-4B0466AF8235

Oracle EMCC 13.5安装过程

Oracle EMCC 13.5安装过程

Oracle EMCC 13.5安装过程

image-20210517171109305

image-20210517171242373

image-20210517171339025

image-20210517171455842

密码:lhr666666

本人提供Oracle、MySQL、PG等数据库的培训和考证业务,私聊QQ646634621或微信db_bao,谢谢!

image-20210517171759686

image-20210517172447359

redo建议300Mb/组,我们这个环境是200Mb,忽略这个问题。

Oracle EMCC 13.5安装过程

密码: lhr666666

Oracle EMCC 13.5安装过程

Oracle EMCC 13.5安装过程

Oracle EMCC 13.5安装过程

开始安装,大概5小时左右。

Oracle EMCC 13.5安装过程

Oracle EMCC 13.5安装过程

修改/etc/oratab文件

修改/etc/oratab文件,加入以下内容:

EMCC访问地址

https://192.168.66.35:37803/em

用户名:sysman

密码:lhr666666

OMS启动日志:

/u01/app/oracle/middleware/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log, emoms.trc, emoms_pbs.trc

OMS启动和关闭:

emctl start oms

emctl stop oms

设置开机启动

标签:

头像

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

2 × 3 =

 

嘿,我是小麦,需要帮助随时找我哦
  • 18509239930
  • 个人微信

  • 麦老师QQ聊天
  • 个人邮箱
  • 点击加入QQ群
  • 个人微店

  • 回到顶部
返回顶部