EMCC 13C agent重新安装,重新接入监控

EMCC 13C agent重新安装,重新接入监控

由于种种原因导致原来接入的EMCC监控,导致监控端异常,数据获取异常。在尝试重启agent端之后,数据还是未能正常获取。

解决方法

重新安装agent端

1、客户端停止emcc agent
$ ./emctl stop agent

2、服务端卸载记录
$ emcli login -username=sysman
$ emcli sync
$ emcli delete_target -name="10.10.xx.xx:3872" -type="oracle_emd" -delete_monitored_targets -async

3、客户端重新安装agent
$ ./agentDeploy.sh RESPONSE_FILE=/opt/emcc_agent/agent.rsp AGENT_BASE_DIR=/opt/emcc_agent -ignorePrereqs --force

.....
The status is 0
Validated the oms host and port :- 10.128.255.67----4903
Getting Inet Addresses for host ITSMbak-236-193
** Agent Port Check completed successfully.**
Validated the agent port :- ----3872
shared agent value is :false
chain install is :false
Agent Configuration completed successfully
The following configuration scripts need to be executed as the "root" user. Root script to run : **/opt/emcc_agent/agent_13.3.0.0.0/root.sh**
/opt/emcc_agent/agent_13.3.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_2024-01-31_15-42-40-PM.log
Waiting for agent targets to get promoted...
Successfully Promoted agent and its related targets to Management Agent


$ cat /opt/emcc_agent/agent.rsp |grep -v ^$ |grep -v ^#
OMS_HOST=10.128.xxx.xxx  ## EMCC服务端地址
EM_UPLOAD_PORT=4903   ## emcc服务端口
AGENT_REGISTRATION_PASSWORD=Bai_yun123
b_startAgent=false
AGENT_BASE_DIR=/opt/emcc_agent
AGENT_INSTANCE_HOME=/opt/emcc_agent/agent_inst
AGENT_PORT=3872
ORACLE_HOSTNAME=10.10.xxx.xxx    ## 客户端地址
EM_INSTALL_TYPE="AGENT"
ORACLE_HOME=/opt/emcc_agent/agent_13.3.0.0.0


4、根据提示在root用户下执行脚本
/opt/emcc_agent/agent_13.3.0.0.0/root.sh

# /opt/emcc_agent/agent_13.3.0.0.0/root.sh
Finished product-specific root actions.
/etc exist

5、服务端重新加入数据库监控
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/7534d99d47074f2eb4195f7c02e9fb22.png)

你可能感兴趣的:(数据库运维案例分享,oracle,数据库)