在<OEL 5上快速部署Enterprise Manager Cloud Control 12c(12.1)>中我介绍了如何安装配置Oracle Enterprise Manager Cloud Control 12c(12.1) Server ,我们知道光有EM Server而不部署Agent是无法发挥其管理特性的。 接下来我们会再次通过实践了解Em 12c(12.1)中部署Agent代理程序的过程,整个过程和10g/11g Grid Control中的Deploy Agent有较大的区别。   这里我们要注意一点,OMS 12c(12.1) 只能和12.1 的Agent 代理程序配合工作,而不能使用之前任何版本的Agent。"Enterprise Manager Cloud Control can communicate only with Oracle Management Agent 12c and not with any other earlier release of the Management Agent. You can not configure your exising Agents to communicate with Enterprise Manager 12c OMS."

系统和软件包要求

推荐在Oracle Enterprise Linux 5.7或6.1上安装EM 12c的agent , 可以从edelivery.oracle.com 下载到这2款操作系统的安装介质。 以下演示中的主机均采用Oracle Enterprise Linux 5.7 操作系统。 以下表格列出了在Oracle Linux 6或5.x上 安装EM 12c agent ,所要求预装的操作系统软件包,这些软件包可以直接从OS安装DVD介质中找到:

Platform 32-Bit Packages for 32-Bit Platform 64-Bit Packages for 64-Bit Platform
Oracle Linux 6
  • make-3.81
  • binutils-2.17.50.0.6
  • gcc-4.1.1
  • libstdc++ 4.1.1
  • make-3.81
  • binutils-2.17.50.0.6
  • gcc -4.1.1
  • libstdc++ -4.1.1
Oracle Linux 5.xRed Hat Enterprise Linux 5.x
  • make-3.81
  • binutils-2.17.50.0.6
  • gcc-4.1.1
  • libstdc++-4.1.1
Oracle Linux 5.6Red Hat Enterprise Linux 5.6

  • 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

Oracle Linux 5.3 and 5.4 Red Hat Enterprise Linux 5.3 and 5.4

  • make-3.81
  • binutils-2.17.50.0.6
  • gcc -4.1.1
  • libstdc++ -4.1.1

更多关于OS软件要求的信息,可以直接访问EM 安装手册 <Meeting Package, Kernel Parameter, and Library Requirements>章节。   准备工作   1. 12c 部署agent 要求在创建必要的credential profile,该credential profile将包含能够从OMS server ssh到目标节点target node的用户身份认证,且要求该用户能够在target node上以sudo执行root用户的权限。 这里我们以oracle用户为例,我们将以目标节点上的oracle用户身份创建credential profile,首先我们要确保oracle用户能够以sudo 执行root用户的权限,这需要用到/etc/sudoers配置文件:

!确保/usr/local/bin/sudo 这个符号链接存在[root@vrh2 ~]# ln -s /usr/bin/sudo /usr/local/bin/sudo[root@vrh2 m01]# ls -l /etc/sudoers
-r--r----- 1 root root 3407 Oct 18 19:30 /etc/sudoers[root@vrh2 m01]# cp /etc/sudoers /etc/sudoers.bak 打开/etc/sudoers 将以下三处修改修改前:
Defaults   requiretty修改后:
Defaults:oracle !requiretty修改前:
Defaults   !visiblepw修改后:
Defaults   visiblepw修改前:
##
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL修改后##
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
oracle  ALL=(ALL)       ALL                        --这里加一行以上三处修改完成后,save 文件 测试oracle 能否正常sudo [root@vrh2 m01]# su  - oracle[oracle@vrh2 ~]$ ls -l /root
ls: /root: Permission denied[oracle@vrh2 ~]$ sudo ls -l /root[sudo] password for oracle:
total 88
-rw------- 1 root root  1832 Aug 11 05:26 anaconda-ks.cfg
drwxr-xr-x 2 root root  4096 Aug 10 21:31 Desktop
-rw-r--r-- 1 root root 56307 Aug 11 05:26 install.log
-rw-r--r-- 1 root root  4136 Aug 11 05:26 install.log.syslog

2. 在目标节点上创建必要的目录 :

[root@vrh2 m01]# mkdir /m01[root@vrh2 m01]# chown oracle:oinstall /m01

3.  确保OMS server 和target server 间的通信畅通,如没有使用dns 服务 ,那么不要忘记将host/ip 信息写入到/etc/hosts文件中,如果漏掉这部将报target node can not be  reached 错误   正式安装   首先再次以sysman身份登录EM https console,如https://192.168.1.169:7799/em。 点击右上角的setup-> Add Target -> Add Targets Manually     进入Add Targets Manually页面,选择" Add Host Target" ,并点击Add Host ...按钮:     在"add Target - Host and Platform "页面使用默认的"session name"即可,点选"+Add"按钮填入主机名和平台信息: 注意这里推荐填入规范的hostname,如"vrh2.oracle.com", 注意主机名不能带下划线 "_", 若Platform下拉列表中没有你要的平台那么说明在该平台上还没有12.1 的agent可用。     输入完成后点击Next进入"Add Target -  Installation Details " 页面,点中deployment details 出现下来菜单选择Fresh Agent install ,并填入installation base directory 等目录信息。   接着在Named confidential 点击蓝色的"+" 图形按钮,会跳出 create new Named confidential 的窗口,填入之前配好的oracle用户的信息:     完成后点击Ok,回到原"Add Target -  Installation Details "界面,确认并点击Next:     进入Review页面,确认信息正确并点击Deploy Agent:     完成后会进入Agent Deployment summary 页面 ,这里存在三个阶段:

  1. Initialization    -- 拷贝agent介质到目标服务器
  2. Remote Prerequisite Check   -- 检测目标服务器的安装先决条件
  3. Agent Deployment             --具体的Installation Agent 、Secure Agent 和 执行root.sh

若一开始没有正确配置用户的sudo ,则可能在Remote Prerequisite Check阶段出现检测警告,例如下图:     如果一切顺利,以上三个阶段完成后Agent即在运作了:     Agent Deployment 的日志存放在 $OMS_HOME/sysman/prov/agentpush/$date目录下,也可以从EM的网页界面上找到这些日志的具体位置。   之后点击Target -> host可以看到新加入的主机:     之后点击Target -> Database  -> add 添加数据库配置信息:   在host栏填入新增加的目标服务器,并点击continue:     EM 会自动找出目标服务器上已有的数据库, 点击Configure 填入dbsnmp用户的密码后保存并Continue:     之后点击Target -> database 就可以看到新增的数据库了:     点击数据库名 -> 点击Performance -> Performance Home后可以看到新的12c   的性能总览图:

快速部署Enterprise Manager Cloud Control 12c(12.1) Agent相关推荐

  1. 使用 Oracle Enterprise Manager Cloud Control 12c 安装和管理 Oracle Data Guard

    2019独角兽企业重金招聘Python工程师标准>>> 使用 Oracle Enterprise Manager Cloud Control 12c 安装和管理 Oracle Dat ...

  2. Oracle Enterprise Manager Cloud Control 13c 配置——Linux目标重定向(EMCC12c代理升级EMCC13c)

    背景描述: 1,当前有一套EMCC12c的监控,最近规划将EMCC12c的监控迁移到EMCC13c的监控,原有的EMCC12c监控的目标端需要重新定向到EMCC13c 2,参考资料: (Redirec ...

  3. Oracle Enterprise Manager Cloud Control 13c部署文档

    一.软件准备 名称 版本号 软件包 OS 7.6 CentOS Linux release 7.6.1810 (Core) Oracle Database 19c 19.3 LINUX.X64_193 ...

  4. Enterprise Manager Cloud Control 安装

    参考文件: https://docs.oracle.com/cd/cloud-control-13.3/index.htm 软件需求: 系统版本: Red Hat Enterprise Linux S ...

  5. Oracle Enterprise Manager Cloud Control最新文档合集

    2019独角兽企业重金招聘Python工程师标准>>> Oracle Enterprise Manager Cloud Control最新文档合集 Oracle企业管理器系列产品为当 ...

  6. Oracle Enterprise Manager Cloud Control 13c 配置——设置页面不失效

    默认情况下Oracle Enterprise Manager Cloud Control 13c   数据库控件的会话超时为45分钟. 这意味着,如果HTTP客户机会话空闲45分钟或更长时间,它将断开 ...

  7. Oracle Enterprise Manager Cloud Control 13c部署文档(二)——LINUX添加目标代理

    在EMCC13c中部署agent的方法分两种,一种是通过EMCC13c的控制台通过ssh直接把agent"推送"安装到被管理端.这样的方法在linux平台的OMS和被管理端比较简单 ...

  8. 安装Oracle Enterprise Manager Cloud Control 客户端

    把Cloud Control Server的ip加入解析: root@datagard121-2 oracle]# cat $_ 127.0.0.1 localhost localhost.local ...

  9. oracle linux7.9安装 Oracle Enterprise Manager Cloud Control13.5

    本章介绍如何在使用现有的.经过认证的 Oracle 数据库来存储 Oracle 管理信息库(管理信息库)的同时安装新的企业管理器系统. 安装软件下载 Oracle Enterprise Manager ...

最新文章

  1. 局域网连接其他机器命令_弱电工程师必备技能,PING命令使用方法大全
  2. java writestartarray_jackson的基础知识
  3. 小爱同学app安卓版_这一届的小爱Play,居然连喵都敢撩……
  4. HTTP RTSP RTMP RTP 协议简说 流媒体学习(一)
  5. 用java雷电游戏_Java实现仿雷电游戏
  6. java什么是子类_java什么是子类?
  7. 一个.NET Core开发者的Linux入门学习笔记
  8. 封装一个Array 数据 绑定 html select 方法
  9. Apache Druid(一)简介
  10. PTA-6-1 数组循环右移 (20分)(C语言)
  11. 你知道,什么时候用Vue计算属性吗?
  12. 甲骨文通知用户需付费取得 Java 8 更新
  13. 【TJOI2016】【bzoj4552】排序(二分答案+线段树01排序)
  14. BlackBone工具集合:注入、hook、驱动程序
  15. VB简易密码登录窗体设计
  16. AD14.3绘制PCB教程
  17. antd menu 样式修改
  18. HWA是什么?HWA会带来什么影响?和 HiRes,LDAC,L2HC有什么区别?
  19. 前端实现图片快速反转替换_在canvas上实现元素图片镜像翻转动画效果的方法
  20. PMP证书好考吗?难度如何?

热门文章

  1. 第一阶段冲刺 第二天
  2. 数据结构 线性链表栈
  3. db2 jdbc连接字符串中 指定currentSchema
  4. 在word中,整篇文章想要在每一章另起一页
  5. c#多维数组的建立及操作 总结
  6. codeigniter mysql error_CodeIgniter:无法使用提供的设置错误消息连接到数据库服务器...
  7. leetcode机器人运动范围Java_【LeetCode】面试题13. 机器人的运动范围
  8. 计算机毕业设计制作模仿网站的期末作业通过神器——各种扒站方法(网站,软件)
  9. qt 设置按钮大小_Qt官方示例双向按钮
  10. 音频文件 数据库存储_数据库系统是什么?它由哪几部分组成?