Showing posts with label Move OEM Grid Agent to another OMS. Show all posts
Showing posts with label Move OEM Grid Agent to another OMS. Show all posts

Monday, March 31, 2008

Move OEM Grid Agent to another OMS

1. Stop the agent: emctl stop agent

2. edit the emd.properties file REPOSITORY_URL parameter to reflect the new OMS information

3. Clean up the agent files

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

4. emctl clearstate

5. emctl start agent

6. emctl upload

7. emctl status agent