2013年3月7日 星期四

Oracle Database - 移除Oracle Management Agent in Silent Mode



  • Deinstalling Oracle Management Agent in Silent Mode


/u01/oracle/agent11g/oui/bin/runInstaller -silent -deinstall "REMOVE_HOMES={/u01/oracle/agent11g}" -removeallfiles


/u01/oracle/agent11g/bin/emctl pingOMS



emctl upload agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.


Solution
1. Stop the agent:
<AGENT_HOME>/BIN> emctl stop agent

2. Secure the agent which will generate a new key:
<AGENT_HOME>/BIN> emctl secure agent

3.  Start the agent:
<AGENT_HOME>/BIN> emctl start agent

4. Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization

5. Once the Agent resynchronization works fine,  perform an upload agent:
<AGENT_HOME>/BIN> ./emctl upload

沒有留言:

張貼留言