Issue 1::
---------
Error : EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet...*
a) Please use the below steps
$ORACLE_HOME/bin/emctl stop agent
rm -r $ORACLE_HOME/sysman/emd/state/*
rm -r $ORACLE_HOME/sysman/emd/collection/*
rm -r $ORACLE_HOME/sysman/emd/upload/*
*rm $ORACLE_HOME/sysman/emd/lastupld.xml*
*rm $ORACLE_HOME/sysman/emd/agntstmp.txt*
$ORACLE_HOME/bin/emctl clearstate agent
$ORACLE_HOME/bin/emctl start agent
$ORACLE_HOME/bin/emctl upload
If option a doesnt work,
b) Please try below
emctl stop agent
cd $AGENT_HOME
rm sysman/emd/agntstmp.txt
rm sysman/emd/blackouts.xml
rm -r sysman/emd/state/*
rm -r sysman/emd/collection/*
rm -r sysman/emd/upload/*
rm sysman/emd/lastupld.xml
rm sysman/emd/protocol.ini
$ORACLE_HOME/bin/emctl clearstate agent
$ORACLE_HOME/bin/emctl start agent
$ORACLE_HOME/bin/emctl upload
Issue 2::
Move targets to the new OMS::
-----------------------------
To be done on every hosts that should be connected to the additional OMS.
- Login as oracle account
- Setup Agent environment
- *# set the oms/agent environment*
- Stop the Management Agent.
- *# emctl stop agent*
- Adapt the $oh/sysman/config/emd.properties to point to the new OMS
host REPOSITORY_URL==http://*<new fq oms name>*:4889/em/upload
emdWalletSrcUrl=http://*<new fq oms name>*:4889/em/wallets/emd
emdWalletDest=*<OMS HOME>*/sysman/config/server
- Delete all the files in the following directories:
- *rm $oh/sysman/emd/upload/*{}*
- *rm $oh/sysman/emd/state/*
- Restart the Management Agent
- *# emctl start agent*
- Force an upload
- *# emctl upload agent*
- Check the status
- *# emctl status agent*
Issue 3::
---------
When you find "Metric collection error", or "Target is broken state. Reason
- Computer dynamic property takes too long", usually you can find them in
unkown targets, you can use the following method to fix:
Find the metric error target name and type in
$AGENT_HOME/sysman/emd/targets.xml, then
emctl reload agent dynamicproperties <Target name>:<Target type>
Example:
emctl reload agent dynamicproperties sivadb.localhost.com:oracle_database
No comments:
Post a Comment