Changing emd.properties for Oracle Management Agents

If you need to change which OMS server for a particular management agent by editing the emd.properties file…..

On the target nodes, clean start the agent
$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

Secure the agent (if agent and OMS uses https)
$ORACLE_HOME/bin/emctl secure agent

6. Restart the Agent
$ORACLE_HOME/bin/emctl start agent
$ORACLE_HOME/bin/emctl clearstate agent
$ORACLE_HOME/bin/emctl upload

Advertisements

About April C Sims

Oracle DBA for over a decade...enough said.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s