EMCC添加被监控主机和数据库

0    1542    9

Tags:

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

视频可以参考:https://www.dbaup.com/%e3%80%90%e8%bf%9e%e7%bb%ad%e8%a7%86%e9%a2%91%e3%80%91centos-7-3-ecs%e4%b8%8a%e6%90%ad%e5%bb%barac-18c%e5%8d%95%e5%ae%9e%e4%be%8bdgemccdg%e7%9a%84fsfo%e5%bf%ab%e9%80%9f%e6%95%85%e9%9a%9c%e8%bd%ac.html?hilite=%2718c%27

添加其它主机和数据库

添加其它主机(安装agent代理)

AGENT安装目录:

设置 -> 添加目标 ->手动添加目标,下一步,下一步即可。

报错:

Execution of command cd /u01/app/oracle/middleware/agentbase/ADATMP_2018-10-22_15-29-02-PM;/u01/app/oracle/middleware/agentbase/ADATMP_2018-10-22_15-29-02-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=192.168.59.52 AGENT_BASE_DIR=/u01/app/oracle/middleware/agentbase OMS_HOST=cos73emcc133lhr EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oracle/middleware/agentbase/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force on host 192.168.59.52 Failed

Error Message: The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available. Pass in a valid hostname and port number for the OMS to successfully deploy the agent.

Exit Code :1

解决:

在agent端的/etc/hosts文件中加上OMS的解析地址:

root用户执行:

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
AiDBA后续精彩内容已被站长无情隐藏,请输入验证码解锁本文!
验证码:
获取验证码: 请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“AiDBA”或者“dbaup6”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

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

您可能还喜欢...

发表回复