Home > OEM > How to change emd.properties for OEM agent?

How to change emd.properties for OEM agent?

October 10, 2011

emd.properties is the configuration file which is used to by agent. It is located @ $ORACLE_HOME/sysman/config. If there is a need to change the contents of this file. Please follow the below method.

1)      On the target nodes, perform the following. i.e deleting the agent related files.

$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
rm $ORACLE_HOME/sysman/emd/blackouts.xml
rm $ORACLE_HOME/sysman/emd/protocol.ini

2)     Secure the agent

$ORACLE_HOME/bin/emctl secure agent

3)     Restart the agent.

$ORACLE_HOME/bin/emctl start agent

4)     Do the clear state of the agent.

$ORACLE_HOME/bin/emctl clearstate agent

5)     Upload manually.

$ORACLE_HOME/bin/emctl upload agent

Advertisements
Categories: OEM
%d bloggers like this: