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

1 comment:

Sumit Gupta said...

Hi Buddy,

My requirement is to move Oracle Agent from one drive to another drive since we have to return old drive to other team & environment is Oracle fail safe, Can you provide steps for moving oracle agent from one drive to another drive in Windows server 2003.

Thanks in Advance
Sumit Gupta