Moving the Central Agent Base Directory Outside Oracle Middleware Home

To move the central agent base directory outside Oracle Middleware Home, follow these steps:

  1. Run the following script:

    <AGENT_HOME>/perl/bin/perl <AGENT_HOME>/sysman/install/create_plugin_list.pl -instancehome <AGENT_INSTANCE_HOME>
    

    Here, <AGENT_HOME> represents the current central agent Oracle home, and <AGENT_INSTANCE_HOME> represents the current central agent instance home.

  2. Run the following script:

    <AGENT_HOME>/perl/bin/perl <AGENT_HOME>/sysman/install/AgentMigrate.pl -instanceHome <AGENT_INSTANCE_HOME> -newAgentBaseDir <AGENT_BASE_DIRECTORY>
    

    Here, <AGENT_HOME> represents the current central agent Oracle home, <AGENT_INSTANCE_HOME> represents the current central agent instance home, and <AGENT_BASE_DIRECTORY> represents the new location to which you want to migrate the central agent base directory.

    To verify whether the migration was successful, switch to the Cloud Control console and perform these steps:

    1. From the Targets menu, select All Targets. Select the central agent target. On the Management Agent home page, in the Summary section, verify the Oracle home path and the agent state directory path. Ensure that both these paths point to the new locations.

    2. Access the home pages of the targets monitored by the central agent. Check the status of these targets. Ensure that they are up and running.