重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1857|回复: 0
打印 上一主题 下一主题

[安装] OEMCC 13.5 主机agent部署问题排查

[复制链接]
跳转到指定楼层
楼主
发表于 2021-8-30 10:02:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 郑全 于 2021-8-30 10:03 编辑

以从下面两组日志着手,通过下面两组日志,基本可以排查agent部署过程的所有问题。

服务端日志:/u01/app/oracle/product/oem13.2/gc_inst/em/EMGC_OMS1/sysman/agentpush/2019-10-16_14-39-16-PM/applogs/192.168.10.153_deploy.log

目标端日志:/u01/oem/agent/ADATMP_2019-10-16_14-39-16-PM/agentDeploy_2019-10-16_14_56_26.log

在服务端的日志,大多是一些执行脚本的记录,没有具体的报错信息。

在目标端的日志,会指出具体是那个环节报错。下图为目标端日志,清楚的指出plugins.txt文件找不到。

Entered Post Install...Relaxing execute  permission for other users  on /u01/oem/agent/agent_13.3.0.0.0/install for bug#20005612agenthome is /u01/oem/agent/agent_13.3.0.0.0 /u01/oem/agent/ADATMP_2019-10-16_14-39-16-PM/plugins.txt not found. The Management Agent installation failed. The plug-in oracle.sysman.oh may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring and discovery plug-in.

查找MOS文章EM13c: Agent Push Failed During the Plug-in Deployment With Error "plugins.txt not found" (Doc ID 2563545.1)给出相应解决方法为,调整版本号13.2.0.0.0>>13.3.0.0.0,并把指定文件复制到目标端相应目录重新部署。

Create a directory on the OMS host with name "plugins"Copy these files in the plugins directory.
MW_HOME/sysman/install/plugins/oracle.sysman.oh/13.2.0.0.0/oracle.sysman.oh.agent.plugin-13.2.0.0.0.farb
MW_HOME/sysman/install/plugins/oracle.sysman.oh/13.2.0.0.0/oracle.sysman.oh.discovery.plugin-13.2.0.0.0.farb
Create a file  "plugins.txt" with following conent
.oracle.sysman.oh|13.2.0.0.0| |discoveryPlugin
oracle.sysman.oh|13.2.0.0.0| |agentPlugin

Copy plugins.txt and plugins directory to destination host and place at <AGENT_BASE_DIR>/ADATMP_<TIMESTAMP>/Clicked on Retry Using Same Inputs on UI.
Agent installation should complete.Execute <AGENT_BASE_DIR>/agent_13.2.0.0.0/root.sh as a root user.



传输文件至目标端,重新部署成功。[oracle@oracle01 agent_13.3.0.0.0]$ scp -r plugins plugins.txt weblogic@192.168.10.153:/u01/oem/agent/ADATMP_2019-10-16_14-39-16-PM^C
[oracle@oracle01 agent_13.3.0.0.0]$ pwd
/u01/app/oracle/product/oem13.2/agent/agent_13.3.0.0.0






分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-15 18:45 , Processed in 0.099863 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表