重庆思庄oracle技术分享- OEMCC 13.5 主机agent部署问题排查

以从下面两组日志着手,通过下面两组日志,基本可以排查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_/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
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值