Tuesday, May 26, 2015

How To Change Agent / Repository URL in Oracle Grid Agent

How To Change Agent / Repository URL in Oracle Grid Agent


Here's what you need to do to change the Agent URL on a secured Grid agent:

  • shut down the agent
  • make sure there are no agent processes running (ps -ef | grep em)
  • remove following files :

                rm -rf sysman/emd/state/*
                rm -rf sysman/emd/collection/*
                rm -rf sysman/emd/upload/*
                rm -rf sysman/emd/lastupld.xml
                rm -rf sysman/emd/agntstmp.txt
                rm -rf sysman/emd/protocol.ini
  • Go to $AGENT_HOME/sysman/config and open emd.properties
    change the below entry to point to new server,
    EMD_URL=http://localhost:1830/emd/main
  •  "emctl unsecure agent", "emctl clearstate agent" 
  • re-secure the agent (emclt secure agent)
  • start the agent

No comments:

Post a Comment

  How to Change Instance Type & Security Group of EC2 in AWS By David Taylor Updated April 29, 2023 EC2 stands for Elastic Compute Cloud...