Forum Stats

  • 3,708,902 Users
  • 2,241,153 Discussions
  • 7,840,697 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to Move or Migrate 13c Agent Base Directory to Different Location

Perform the following steps to move or migrate 13c agent base directory to a different location:

1. Rename existing <AGENT_BASE>/sysman/install/AgentMigrate.pl to AgentMigrate.pl.org

2. Download AgentMigrate_updated.txt from this document to agent machine and copy the AgentMigrate_updated.pl to <AGENT_BASE>/sysman/install directory

3. Rename the file AgentMigrate_updated.txt to AgentMigrate.pl

4. Run the following commands to migrate the agent base directory:

     a. <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.

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

          Here, <AGENT_INSTANCE_HOME> represents the current agent instance home, and <AGENT_BASE_DIRECTORY> represents the new agent base directory where agent needs to be migrated

     Example:
     $ /u03/anandu/agent/agent_13.1.0.0.0/perl/bin/perl /u03/anandu/agent/agent_13.1.0.0.0/sysman/install/create_plugin_list.pl -instancehome /u03/anandu/agent/agent_inst
     $ /u03/anandu/agent/agent_13.1.0.0.0/perl/bin/perl /u03/anandu/agent/agent_13.1.0.0.0/sysman/install/AgentMigrate.pl -instanceHome /u03/anandu/agent/agent_inst -newAgentBaseDir /u03/anandu/agent_migrate

5. Once above command completes successfully, verify the agents and target status in 13c Cloud Control

Sign In or Register to comment.