在EMCC13c中部署agent的方法分两种,一种是通过EMCC13c的控制台通过ssh直接把agent“推送”安装到被管理端。这样的方法在linux平台的OMS和被管理端比较简单,由于Linux平台有自带的ssh工具,不须要进行ssh工具的配置。

可是windows的平台的OMS和被管理端要进行安装Cygwin工具(windows平台上运行的类UNIX模拟环境),前期的准备步骤比較多。另外一种方法是通过目标端手动安装代理的方法,这样的方法在windows的被管理端上安装agent相对照较简单一些。当然这样的方法在Linux上也适用。

1,获取Agent软件

默认安装完EMCC13c上面只有一个13.3.0.0.0 Linuxx86_64版本的agent。但是其他操作系统平台的agent需要自行下载。

1.1 离线模式获得更新目录

通过链接下载最新的更新目录:(需要mos账号的权限)

https://updates.oracle.com/Orion/Download/download_patch/p9348486_112000_Generic.zip

将下载的的文件上传到OMS主机

运行emcli 命令导入下载的文件到OMS服务器实例

--命令的路径
[oracle@gridcontrol bin]$ pwd
/u01/app/weblogic/bin
--登录到EM
[oracle@gridcontrol bin]$ ./emcli  login -username=sysman  -password=sysman12
Login successful
--同步emcli及OMS
[oracle@gridcontrol bin]$ ./emcli sync
Synchronized successfully
--获取所有的target信息
[oracle@gridcontrol bin]$ ./emcli get_targets
--导入更新目录
[oracle@gridcontrol bin]$ ./emcli import_update_catalog -file=/soft/p9348486_112000_Generic.zip -omslocal
Processing catalog for Agent Software
Processing update: Agent Software - Agent Software (12.1.0.5.0) for Microsoft Windows (32-bit)
…………
Successfully uploaded the Self Update catalog to Enterprise Manager. Use the Self Update Console to view and manage updates.
Time taken for import catalog is 02:32.146.
[oracle@gridcontrol bin]$ ./emcli logout
Logout successful

这时在上面的页面,可以看到新的可用代理

1.2 下载agent软件

通过该网址下载windows 64位 13.3的agent软件

https://updates.oracle.com/Orion/Services/download/p28239183_112000_Generic.zip?aru=22301228&patch_file=p28239183_112000_Generic.zip

如果使用“推送”的方式部署代理,需要完成下述操作。如果是在目标端手动安装,请跳过。

[oracle@gridcontrol ~]$ cd /u01/app/weblogic/bin
[oracle@gridcontrol bin]$./emcli  login -username=sysman
Enter password : Login successful
[oracle@gridcontrol bin]$ ./emcli sync
Synchronized successfully
[oracle@gridcontrol bin]$ ./emcli import_update -omslocal -file=/soft/p28239183_112000_Generic.zip
Processing update: Agent Software - Agent Software (13.3.0.0.0) for Microsoft Windows x64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.

这样在添加目标的时候,可以看到如下的界面,代理软件已经可用

2,Linux平台目标添加

EMCC13c平台包含Linux操作系统下agent代理,因此可以在EMCC13c web管理平台,使用“推送”的方式将agent代理安装在远程被监控的主机上。

2.1 目标端配置hosts以及sudo权限的授予

[oracle@lsyf ~]$ su - root
Password:
[root@lsyf ~]# vi /etc/hosts
10.3.2.206 gridcontrol
10.81.33.250 lsyf.jxjzt
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@lsyf ~]# cp /etc/sudoers /etc/sudoers_bak
[root@lsyf ~]# chmod 777 /etc/sudoers
[root@lsyf ~]# vi /etc/sudoers
修改前:
Defaults   requiretty
修改后:
Defaults   !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                        --这里加一行
oot@lsyf ~]# chmod 440 /etc/sudoers
--验证
[root@lsyf ~]# su - oracle
[oracle@lsyf ~]$ sudo ls -l /root/We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:#1) Respect the privacy of others.#2) Think before you type.#3) With great power comes great responsibility.[sudo] password for oracle:
total 120
-rw-------. 1 root root  2690 Apr 29 15:52 anaconda-ks.cfg
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Desktop
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Documents
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Downloads
-rw-r--r--. 1 root root 60932 Apr 29 15:52 install.log
-rw-r--r--. 1 root root 11186 Apr 29 15:49 install.log.syslog
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Music
-rw-r--r--. 1 root root  5355 Jul  4 22:00 ntpdate.log
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Pictures
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Public
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Templates
drwxr-xr-x. 2 root root  4096 Apr 29 15:59 Videos

2.2 监控服务端hosts配置

[root@gridcontrol ~]# vi /etc/hosts
10.3.2.206   gridcontrol
10.81.33.250 lsyf.jxjzt  --添加目标端ip和主机#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

2.3 推送agent代理到目标端并安装

目标端创建存放agent目录
[oracle@lsyf ~]$ cd /u01
[oracle@lsyf u01]$ mkdir agent

这时Linux平台的目标代理已经安装成功。

Oracle Enterprise Manager Cloud Control 13c部署文档(二)——LINUX添加目标代理相关推荐

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

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

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

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

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

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

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

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

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

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

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

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

  7. 快速部署Enterprise Manager Cloud Control 12c(12.1) Agent

    在<OEL 5上快速部署Enterprise Manager Cloud Control 12c(12.1)>中我介绍了如何安装配置Oracle Enterprise Manager Cl ...

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

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

  9. Enterprise Manager Cloud Control 安装

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

最新文章

  1. 2007图灵奖得主离开了:模型检测先驱Edmund Clarke因新冠逝世
  2. linux连接磁盘阵列,CentOS/Linux 连接 iSCSI 磁盘阵列
  3. php新手最容易犯的错误,学习PHP过程中容易犯的一些错误
  4. 03 Android应用界面编程
  5. html 网页主题设置吗,如何使用css样式对html页面进行背景设置呢?
  6. Linux 命令(60)—— strip 命令
  7. python核心编程-第三章-个人笔记
  8. 安徽安全员B考试最新多选题库(2)
  9. 【第六届蓝桥杯】奇妙的数字
  10. 在页面超链接a前加上图标
  11. logit回归模型假设_LOGISTIC回归分析
  12. 【HDU2825】AC自动机+状压DP
  13. 思岚雷达A2在Linux下的使用教程
  14. 压缩解压缩文件zlib
  15. waves服务器系统盘,Waves Soundgrid服务器(DIY)
  16. 带你几分钟学会MarkDown基本语法
  17. java解析文件_Java读取文件方法大全
  18. m基于Simulink的高速跳频通信系统抗干扰性能分析
  19. 公开招标、竞争性谈判标准?_竞争还是合作? 拨打电话的4条标准
  20. IIC软件协议及硬件知识汇总

热门文章

  1. 图论: 二部图的匹配问题 总结
  2. 研究表明多喝水对心脏好,喝少了身体会有这5种变化
  3. 认识 fcntl 接口函数(文件非阻塞设置)
  4. 力争下游:腾讯和淘宝的站位
  5. windows安装godoc
  6. mpvue-echarts柱状图数据偏少时不自适应拉开柱子间距
  7. Android逆向工具简单介绍
  8. python分词是什么意思_Python分词
  9. 我刚刚学摄影 我想提高我的摄影水平
  10. 避免在移动端页面中使用100vh