windows下部署12c oms agent 及清除agent
1. Stop the Agent on the target machine:
cd <AGENT_HOME>/bin
emctl stop agent
2. Login to the Repository Ddatabase (via sqlplus) as user SYSMAN and execute the following command:
For example:
SQL> exec mgmt_admin.cleanup_agent('agentmachine.domain:3872');
3. De-install the Agent on the target machine.
首先在server端安裝元件,需賬號密碼
emcli login -username=sysman -password=123456
在windows端建立目錄,c:\soft和c:\agent
agentDeploy.bat -ignorePrereqs AGENT_BASE_DIR=C:\agent OMS_HOST=172.16.5.233 EM_UPLOAD_PORT=4900 AGENT_REGISTRATION_PASSWORD=Oracle123 ORACLE_HOSTNAME=pzyserver08
安裝後會報錯,切換到bin/emctl下,執行emctl status agent和emctl start agent以及emctl upload
如果遇到
After reinstallation need to add agent and host target and then need to perform sync operation for the upload to be successful.
Perform the following steps to resolve the issue:
1. Start the agent:
<AGENT_INST>/bin/emctl start agent
2. Issue following command to add agent and host targets:
<AGENT_INST>/bin/emctl config agent addinternaltargets
This would list the agent target in Setup > Add Target > Auto Discovery Results > Non-Host Targets.
3. Secure the agent:
<AGENT_INST>/bin/emctl secure agent
This would show the host and agent in pending status under Targets > All targets.
4. Do the following steps to show the status of host and agent as up:
<AGENT_INST>/bin/emctl stop agent
<AGENT_INST>/bin/emctl clearstate agent
<AGENT_INST>/bin/emctl start agent
Once done, the host and agent status would be shown as up.
5. Do a resync of agent as per Note 1376968.1.
Follow these steps to perform agent resynchronization :
6. Verify the agent upload:
<AGENT_INST>/bin/emctl upload
Agent uploads will be successful and remaining targets can be discovered.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21302630/viewspace-1775226/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 本地部署modelscope-agent
- windows下安裝Jenkins以及配置分散式agent節點WindowsJenkins分散式
- Apline部署K3s的Agent
- 千問AI agent qwan_agent使用AI
- DevOps專題|基礎Agent部署系統dev
- Linux下Apache遮蔽user-agentLinuxApache
- 智慧體Agent智慧體
- Java Agent(上)Java
- JVMTI Agent 工作原理及核心原始碼分析JVM原始碼
- 哪吒探針Windows安裝出現Failed to install Nezha Agent: service nezha-agent already exists 如何解決WindowsAI
- zabbix安裝agent
- SSH Agent 的作用
- 資料庫agent資料庫
- java agent簡介Java
- Zabbix Agent安裝
- EV_AGENT[4409]: Agent Main --Estream construct failed. Err: RWSockErr: in RWSocket::getpeername: NOTAIStruct
- Linux 使用ssh-agentLinux
- Zabbix Agent配置問題
- Java Agent 開發初探Java
- opentelemetry-java-agent文件Java
- linux重啟zabbix agentLinux
- Java 安全之Java AgentJava
- WGCLOUD的服務端server主機也要部署agent監測嗎GCCloud服務端Server
- Rewrite %{HTTP_USER_AGENT}用法HTTP
- Papers of Multi Agent Reinforcement Learning(MARL)
- LangChain的Agent使用介紹LangChain
- qemu-guest-agent詳解
- APM Java agent 引數配置Java
- Error in invoking target 'agent nmhs' of makefileError
- Zabbix-agent主動模式模式
- LAMBDA: A Large Model Based Data Agent
- Zabbix Agent 安裝與使用
- IAST技術知識-Java環境Agent部署知識乾貨分享ASTJava
- newrelic python agent 原始碼分析-1Python原始碼
- Zabbix Agent active主動模式配置模式
- Multi-Agent Oriented Programming PDF Download
- 基於JVMTI的Agent實現JVM
- RAG-Multi-Modal-Generative-AI-AgentAI
- zabbix-agent修改主動模式模式