{"id":56,"date":"2009-04-01T16:11:47","date_gmt":"2009-04-01T10:41:47","guid":{"rendered":"http:\/\/www.oratraining.com\/blog\/?p=56"},"modified":"2009-04-01T16:11:47","modified_gmt":"2009-04-01T10:41:47","slug":"cloning-oracle-applications-using-rapid-clone","status":"publish","type":"post","link":"https:\/\/www.oratraining.com\/blog\/2009\/04\/cloning-oracle-applications-using-rapid-clone\/","title":{"rendered":"Cloning Oracle Applications 11i with Rapid Clone"},"content":{"rendered":"<h3><span style=\"font-weight: normal;\">Cloning creates an identical copy of an existing Oracle Applications system. There are various reasons for cloning an Oracle Applications system such as:<\/span><\/h3>\n<ul style=\"text-align: justify;\">\n<li>Creating a copy of the production system for testing updates.<\/li>\n<li>Migrating an existing system to new hardware.<\/li>\n<li>Creating a stage area to reduce patching downtime.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">This document is based on Oracle Metalink document 230672.1 (cloning an Oracle Applications Release 11<em>i<\/em> system).<\/p>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Attention: <\/strong>Windows users. This document typically uses UNIX syntax when specifying directories; Please substitute the appropriate Windows syntax<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul style=\"text-align: justify;\">\n<li>Section 1: Prerequisites<br \/>\nTasks to perform before using Rapid Clone.<\/li>\n<li>Section 2: Clone Oracle Applications 11<em>i<\/em><br \/>\nTasks to prepare, copy, configure, and verify a cloned Applications System.<\/li>\n<li>Section 3: Finishing Tasks<br \/>\nTasks to complete the cloning process.<\/li>\n<li>Section 4: Advanced Cloning Methods<br \/>\nTasks for advanced options such as refreshing and multi-node cloning.<\/li>\n<\/ul>\n<h4 style=\"text-align: justify;\"><em><!--more-->Conventions<\/em><\/h4>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\"><strong><span style=\"text-decoration: underline;\">Convention<\/span><\/strong><strong> <\/strong><\/td>\n<td width=\"350\"><strong><span style=\"text-decoration: underline;\">Meaning<\/span><\/strong><strong> <\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">Source system<\/td>\n<td width=\"350\">Applications system being cloned.<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">Target system<\/td>\n<td width=\"350\">Applications system being created as a copy of the source.<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">APPLMGR<\/td>\n<td width=\"350\">User which owns the applications file system (APPL_TOP and application tier technology stack)<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">ORACLE<\/td>\n<td width=\"350\">User which owns the database file system (RDBMS ORACLE_HOME and database files).<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">CONTEXT_NAME<\/td>\n<td width=\"350\">The CONTEXT_NAME variable refers to the name of the Applications Context file. For systems installed with Rapid Install 11.5.8 or earlier, this value will typically be set to &lt;SID&gt;. For new AutoConfig or Rapid Clone customers, CONTEXT_NAME will be set to &lt;SID&gt;_&lt;HOSTNAME&gt;.<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\"><code>Monospace Text<\/code><\/td>\n<td width=\"350\">Represents command line text. Type this command exactly as shown.<\/td>\n<\/tr>\n<tr>\n<td width=\"58\"><\/td>\n<td width=\"200\">&lt;\u00a0&gt;<\/td>\n<td width=\"350\">Text enclosed in angle brackets represents a variable. Substitute a value for the variable text. Do not type the angle brackets.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\"><a name=\"prereq\"><\/a>Section 1: Prerequisites<\/h3>\n<p style=\"text-align: justify;\">Before cloning, prepare the source system by applying patches and running AutoConfig.<\/p>\n<p style=\"text-align: justify;\">1. <strong>Verify source and target nodes software versions<\/strong><br \/>\nIn addition to the Oracle Applications software requirements (see <em>Installing Oracle Applications Release 11i<\/em> Part No. B10638-01), the following software component versions must exist on the source and\/or target nodes. The location column indicates the node where the software component must be present.<\/p>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong><span style=\"text-decoration: underline;\">Software<\/span><\/strong><strong><\/strong><\/td>\n<td><strong><span style=\"text-decoration: underline;\">Minimum Version<\/span><\/strong><strong><\/strong><\/td>\n<td><strong><span style=\"text-decoration: underline;\">Location<\/span><\/strong><strong><\/strong><\/td>\n<td><strong><span style=\"text-decoration: underline;\">Details<\/span><\/strong><strong><\/strong><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Oracle Universal Installer<\/td>\n<td>2.2.0.19<\/td>\n<td>All source system nodes<\/td>\n<td>Apply OUI22 patch <a href=\"http:\/\/updates.oracle.com\/ARULink\/PatchSearch\/process_form?bug=4017155&amp;language=0&amp;process=Submit\" target=\"_blank\">4017155<\/a> on every iAS and RDBMS ORACLE_HOME to be cloned. Do not apply the patch to your RDBMS\u00a0ORACLE_HOME, if you have Oracle 10g or higher installed.<\/td>\n<\/tr>\n<tr>\n<td>Perl<\/td>\n<td>5.005<\/td>\n<td>Source and target database nodes<\/td>\n<td>Use the Perl shipped with iAS1022 and RDBMS 9i if available or download it from <a href=\"http:\/\/www.perl.com\/pub\/a\/language\/info\/software.html\" target=\"_blank\">Perl.com<\/a>. Perl must be in the PATH before cloning. Windows users: do not use Perl from MKSToolKit.<\/td>\n<\/tr>\n<tr>\n<td>JRE<\/td>\n<td>1.1.8<\/td>\n<td>Source database node<\/td>\n<td>If the RDBMS ORACLE_HOME was not installed using Rapid Install, install JRE 1.1.8 into the &lt;RDBMS ORACLE_HOME&gt;\/jre\/1.1.8 directory.<\/td>\n<\/tr>\n<tr>\n<td>JRE<\/td>\n<td>1.3.1<\/td>\n<td>Source database node<\/td>\n<td>Windows users only: install JRE 1.3.1 into the &lt;RDBMS ORACLE_HOME&gt;\/jre\/1.3.1 directory. See <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#appendixA#appendixA\">Appendix A<\/a> for installation instructions.<\/td>\n<\/tr>\n<tr>\n<td>JDK<\/td>\n<td>1.3.1<\/td>\n<td>Target middle-tier applications nodes<\/td>\n<td>Refer to <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=130091.1\" target=\"_blank\">Upgrading to JDK 1.3 with Oracle Applications 11<em>i<\/em> <\/a>on Oracle<em>MetaLink<\/em> for instructions.<\/td>\n<\/tr>\n<tr>\n<td>Zip<\/td>\n<td>2.3<\/td>\n<td>All source nodes<\/td>\n<td>Download from <a href=\"http:\/\/www.info-zip.org\/\" target=\"_blank\">InfoZip<\/a>. \u00a0Zip must be in your PATH for cloning.<\/td>\n<\/tr>\n<tr>\n<td>OS utilities<\/td>\n<td>N\/A<\/td>\n<td>All target nodes<\/td>\n<td>OS utilities (see 11i Install Manual) must be in the the PATH when running adcfgclone.pl (Unix: make,ld,cc,ar &#8211; Windows: gnumake,link,cc,cmd)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">2. <strong>Windows users only:<\/strong><br \/>\nApply patch <a href=\"http:\/\/updates.oracle.com\/ARULink\/PatchSearch\/process_form?bug=2237858&amp;language=0&amp;process=Submit\" target=\"_blank\">2237858<\/a> to enable long file names support.<\/p>\n<p style=\"text-align: justify;\">3. <strong>Apply the Rapid Clone patch<\/strong><br \/>\nUpdate the Oracle Applications file system with the Rapid Clone files by applying the patch <a href=\"http:\/\/updates.oracle.com\/ARULink\/PatchSearch\/process_form?bug=3453499&amp;language=0&amp;process=Submit\" target=\"_blank\">3453499<\/a> (11i.ADX.F) to all application tier server nodes.<\/p>\n<p style=\"text-align: justify;\">4. <strong>Setup Rapid Clone on the Applications Tier<\/strong><\/p>\n<ul style=\"text-align: justify;\">\n<li>a. If the source Applications system was created with Rapid Install version 11.5.5 or earlier and has not been migrated to AutoConfig, follow the instructions <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=165195.1#implement\" target=\"_blank\"><em>Migrating<\/em><em> to AutoConfig on the Applications Tier<\/em><\/a> in document 165195.1 on Oracle<em>MetaLink<\/em>).<\/li>\n<li>b. All users must run AutoConfig on the Applications Tier (see section 5: <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=165195.1#maintain\" target=\"_blank\"><em>Maintaining System Configurations<\/em><\/a> in document 165195.1 on Oracle<em>MetaLink<\/em>).<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">5. <strong>Setup Rapid Clone on the Database Tier<\/strong><br \/>\nImplement AutoConfig in the RDBMS ORACLE_HOME (Follow the instructions in section <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=165195.1#implement-db\" target=\"_blank\"><em>Migrating to AutoConfig on the Database Tier<\/em><\/a> in document 165195.1 on Oracle<em>MetaLink<\/em>). Follow steps 1 and 4 of Section 5 in the AutoConfig document for all versions of RapidInstall and every time you apply a new version of the Rapid Clone patch.<\/p>\n<h3 style=\"text-align: justify;\"><a name=\"clone\"><\/a>Section 2: Clone Oracle Applications 11<em>i<\/em><\/h3>\n<p style=\"text-align: justify;\">Use Rapid Clone to create template files for cloning on the source system. After the source system is copied to the target, Rapid Clone updates these templates to contain the new target system configuration settings. Rapid Clone will not change the source system configuration.<\/p>\n<p style=\"text-align: justify;\">There are three phases to the cloning process: <a name=\"prepare\"><\/a><\/p>\n<p style=\"text-align: justify;\">1. <strong>Prepare the Source System<\/strong><br \/>\nExecute the following commands to prepare the source system for cloning.<\/p>\n<p style=\"text-align: justify;\"><a name=\"preparerdbms\"><\/a>\u2022a. <strong>Prepare the source system database tier for cloning<\/strong><br \/>\nLog on to the source system as the ORACLE user and run the following commands:<br \/>\n<code>cd &lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/scripts\/&lt;CONTEXT_NAME&gt;<\/code><br \/>\n<code>perl adpreclone.pl <\/code>dbTier<\/p>\n<p style=\"text-align: justify;\"><a name=\"prepareatts\"><\/a>\u2022b. <strong>Prepare the source system application tier for cloning<\/strong><br \/>\nLog on to the source system as the APPLMGR user and run the following commands on each node that contains an APPL_TOP:<br \/>\n<code>cd &lt;COMMON_TOP&gt;\/admin\/scripts\/&lt;CONTEXT_NAME&gt;<\/code><br \/>\n<code>perl adpreclone.pl <\/code>appsTier<\/p>\n<p style=\"text-align: justify;\">2. <strong>Copy the Source System to the Target System<\/strong><br \/>\nCopy the application tier file system from the source Applications system to the target node by executing the following steps in the order listed. \u00a0Ensure the application tier files copied to the target system are owned by the target APPLMGR user, and that the database tier files are owned by the ORACLE user.<\/p>\n<p style=\"text-align: justify;\"><a name=\"copyat\"><\/a>\u2022a. <strong>Copy the application tier file system<\/strong><br \/>\nLog on to the source system application tier nodes as the APPLMGR user.<\/p>\n<ul style=\"text-align: justify;\">\n<li>Shut down the application tier server processes<\/li>\n<li>Copy the following application tier directories from the source node to the target application tier node:<\/li>\n<li><code>&lt;APPL_TOP&gt;<\/code><\/li>\n<li><code>&lt;OA_HTML&gt;<\/code><\/li>\n<li><code>&lt;OA_JAVA&gt;<\/code><\/li>\n<li><code>&lt;OA_JRE_TOP&gt;<\/code><\/li>\n<li><code>&lt;COMMON_TOP&gt;\/<\/code>util<\/li>\n<li><code>&lt;COMMON_TOP&gt;\/clone<\/code><\/li>\n<li><code>&lt;COMMON_TOP&gt;\/_pages<\/code>(when this directory exists)<\/li>\n<li><code>&lt;806 ORACLE_HOME&gt;<\/code><\/li>\n<li><code>&lt;<\/code>iAS<code> ORACLE_HOME&gt;<\/code><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a name=\"copydb\"><\/a>\u2022b. <strong>Copy the database tier file system<\/strong><br \/>\nLog on to the source system database node as the ORACLE user.<\/p>\n<ul style=\"text-align: justify;\">\n<li>Perform a normal shutdown of the source system database<\/li>\n<li>Copy the database (DBF) files from the source to the target system<\/li>\n<li>Copy the source database ORACLE_HOME to the target system<\/li>\n<li>Start up the source Applications system database and application tier processes<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"100%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong> Unix\/Linux users, make sure that the softlinks are preserved when copying.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">3. <strong>Configure the Target System<\/strong><br \/>\nExecute the following commands to configure the target system. You will be prompted for the target system specific values (SID, Paths, Ports, etc)<\/p>\n<p style=\"text-align: justify;\"><a name=\"configdb\"><\/a>\u2022a. <strong>Configure the target system database server<\/strong><br \/>\nLog on to the target system as the ORACLE user and type the following commands to configure and start the database:<br \/>\n<code>cd &lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/clone\/bin<\/code><br \/>\n<code>perl adcfgclone.pl <\/code>dbTier<\/p>\n<p style=\"text-align: justify;\"><a name=\"configat\"><\/a>\u2022b. <strong>Configure the target system application tier server nodes<\/strong><br \/>\nLog on to the target system as the APPLMGR user and type the following commands:<br \/>\n<code>cd &lt;COMMON_TOP&gt;\/clone\/bin<\/code><br \/>\n<code>perl adcfgclone.pl <\/code>appsTier<code> <\/code><\/p>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Attention: <\/strong> Windows user only: add &lt;806 ORACLE_HOME&gt;bin to the system path before running this step.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\"><a name=\"manual\"><\/a><a name=\"verifytarget\"><\/a>Section 3: Finishing Tasks<\/h3>\n<p style=\"text-align: justify;\">This section lists tasks that may be necessary depending on your implementation and the intended use of the cloned system.<\/p>\n<p style=\"text-align: justify;\">1. <strong>Update profile options<\/strong><br \/>\nRapid Clone updates only site level profile options. If any other profile options are set to instance specific values, you must update them manually.<\/p>\n<p style=\"text-align: justify;\">2. <strong>Update printer settings<\/strong><br \/>\nIf the new cloned system needs to utilize different printers, update the target system with the new printer settings now.<\/p>\n<p style=\"text-align: justify;\">3. <strong>Update workflow configuration settings<\/strong><br \/>\nCloning an Oracle Applications instance will not update the host and instance specific information used by Oracle Workflow. Review the following tables and columns to verify there is no instance specific data in the Workflow configuration on the target system.<\/p>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td><strong><span style=\"text-decoration: underline;\">Table Name<\/span><\/strong><strong> <\/strong><\/td>\n<td><strong><span style=\"text-decoration: underline;\">Column Name<\/span><\/strong><strong> <\/strong><\/td>\n<td><strong><span style=\"text-decoration: underline;\">Column Value Details<\/span><\/strong><strong><\/strong><\/td>\n<\/tr>\n<tr>\n<td>WF_NOTIFICATION_ATTRIBUTES<\/td>\n<td>TEXT_VALUE<\/td>\n<td>Value starts with http:\/\/&lt;old web host&gt; : Update to new web host<\/td>\n<\/tr>\n<tr>\n<td>WF_ITEM_ATTRIBUTE_VALUES<\/td>\n<td>TEXT_VALUE<\/td>\n<td>Value starts with &#8220;http:\/\/&lt;old web host&gt; : Update to new web host<\/td>\n<\/tr>\n<tr>\n<td>WF_SYSTEMS<\/td>\n<td>GUID<\/td>\n<td>Create a new system defined as the new global database name using the Workflow Administrator Web Applications responsibility.<\/td>\n<\/tr>\n<tr>\n<td>WF_SYSTEMS<\/td>\n<td>NAME<\/td>\n<td>Value needs to be replaced with the database global name<\/td>\n<\/tr>\n<tr>\n<td>WF_AGENTS<\/td>\n<td>ADDRESS<\/td>\n<td>Update database link with the new database global name.<\/td>\n<\/tr>\n<tr>\n<td>FND_FORM_FUNCTIONS<\/td>\n<td>WEB_HOST_NAME<\/td>\n<td>Update with the new web host name<\/td>\n<\/tr>\n<tr>\n<td>FND_FORM_FUNCTIONS<\/td>\n<td>WEB_AGENT_NAME<\/td>\n<td>Update to point at the new PLSQL listener name<\/td>\n<\/tr>\n<tr>\n<td>FND_CONCURRENT_REQUESTS<\/td>\n<td>LOGFILE_NAME<\/td>\n<td>Update with the correct path to the logfile directory<\/td>\n<\/tr>\n<tr>\n<td>FND_CONCURRENT_REQUESTS<\/td>\n<td>OUTFILE_NAME<\/td>\n<td>Update with the new directory path on the target system<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">4. <strong>Verify the APPLCSF variable setting<\/strong><br \/>\nSource the APPS environment and review that the variable APPLCSF (identifying the top-level directory for concurrent manager log and output files) points to an acceptable directory. To modify it, change the value of <code>s_applcsf<\/code> in the contextfile and run AutoConfig.<\/p>\n<p style=\"text-align: justify;\">5. <strong>Update the SESSION_COOKIE_DOMAIN value in ICX_PARAMETERS<\/strong><br \/>\nIf the target system is in a different domain name than the source system and SESSION_COOKIE_DOMAIN was not null in the source system, update that value to reflect the new domain name.<\/p>\n<p style=\"text-align: justify;\">6. <strong>Windows users only reboot the target machine<\/strong><br \/>\nOnce cloning is completed reboot to enable the services.<\/p>\n<h3 style=\"text-align: justify;\"><a name=\"options\"><\/a>Section 4: Advanced Cloning Options<\/h3>\n<p style=\"text-align: justify;\">This section describes advanced cloning procedures.<\/p>\n<p style=\"text-align: justify;\">1. <strong>Refreshing a target system<\/strong><br \/>\nYou may need to refresh the target system periodically to synchronize it with changes from the source.<\/p>\n<p style=\"text-align: justify;\">To refresh the target system, perform the following steps as described in previous sections:<\/p>\n<ul style=\"text-align: justify;\">\n<li>a. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#prepare#prepare\">Prepare the Source System<\/a><\/li>\n<li>b. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#copy#copy\">Copy the Source System to the Target System<\/a><\/li>\n<li>o Copy the application tier file system if the APPL_TOP, 806 ORACLE_HOME, or iAS ORACLE_HOME needs to be refreshed. Copy the portion of the application tier file system which has been updated.<\/li>\n<li>o Copy the database tier file system if the RDBMS ORACLE_HOME or the database needs to be refreshed. If refreshing the database, the ORACLE_HOME should be refreshed at the same time.<\/li>\n<li>c. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#configure#configure\">Configure the Target System<\/a><br \/>\nSpecify the existing target system context file when running adcfgclone.pl commands:<\/li>\n<li>o <code>perl adcfgclone.pl <\/code>dbTier<code> &lt;Database target context file&gt;<\/code><br \/>\nwhere database context file is:<br \/>\n<code>&lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/&lt;Target CONTEXT_NAME&gt;.xml<\/code><\/li>\n<li>o <code>perl adcfgclone.pl <\/code>appsTier<code> &lt;<\/code>Appltop<code> target context file&gt;<\/code><br \/>\nwhere appltop context file is:<br \/>\n<code>&lt;APPL_TOP&gt;\/admin\/&lt;Target CONTEXT_NAME&gt;.xml<\/code><\/li>\n<li>d. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#manual#manual\">Finishing Tasks<\/a><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">2. <strong>Cloning a single-node system to a multi-node system<\/strong><br \/>\nThis procedure allows the original single-node system to be cloned into a multi-node system. An Applications system comprises five server types:<\/p>\n<ul style=\"text-align: justify;\">\n<li>o Database server (database tier)<\/li>\n<li>o Forms server (application tier)<\/li>\n<li>o Web server (application tier)<\/li>\n<li>o Concurrent Processing server (application tier)<\/li>\n<li>o Administration server (application tier)<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">During the single-node to multi-node cloning process, each of these servers can be placed on its own node, resulting in a multi-node target system.<\/p>\n<ul style=\"text-align: justify;\">\n<li>f. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#prereq#prereq\">Perform prerequisites<\/a><br \/>\nPerform these steps on all source and target nodes.<\/li>\n<li>g. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#clone#clone\">Clone Oracle Applications 11<em>i<\/em><\/a><br \/>\nPrepare, copy and configure the cloned Applications System. When creating more than one application tier server node from a single node system, the copy and configure steps must be performed on each target node. You can specify the server type for each target node while answering the prompts during the configuration step.<br \/>\nThe database ORACLE_HOME and database only need to be copied to the node on which the database will be run.<\/li>\n<li>h. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#manual#manual\">Finishing Tasks<\/a><\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>Another way of changing a single-node system to a multi-node system is to share the APPL_TOP. See <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=233428.1\" target=\"_blank\">document 233428.1 <\/a>on Oracle<em>MetaLink<\/em> for details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">3. <strong>Cloning a multi-node system to a multi-node system with same number of nodes<\/strong><br \/>\nA multi-node system can be cloned provided the number of nodes and distribution of servers in the target system matches that of the source system.<\/p>\n<p style=\"text-align: justify;\">To clone a multi-node system to a multi-node system, perform the cloning process on each node. For example, if the source system contains three nodes, perform the cloning process three times.<\/p>\n<ul style=\"text-align: justify;\">\n<li>o Clone source system node 1 to target system node 1.<\/li>\n<li>o Clone source system node 2 to target system node 2.<\/li>\n<li>o Clone source system node 3 to target system node 3.<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"80%\">\n<tbody>\n<tr>\n<td><strong>Attention: <\/strong>The database server node must be cloned first.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">4. <strong>Adding a new node to an existing system<\/strong><br \/>\nYou can use Rapid Clone to clone a node and add it to the existing Application System. The new node will run the same or a subset of the server types running on the source node. Follow the instructions in the Application Tier part of <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#clone#clone\">Clone Oracle Applications 11<em>i<\/em><\/a>:<\/p>\n<ul style=\"text-align: justify;\">\n<li>o Prepare the source system, copy it to the new node and configure it.<\/li>\n<li>o After adcfgclone.pl completes, source the Applications environment and run the following commands on the target system:<\/li>\n<li>o <tt>cd &lt;COMMON_TOP&gt;\/clone\/bin<\/tt><\/li>\n<li>o <tt>perl adaddnode.pl<\/tt><\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>If the SQL*Net Access security is enabled in the existing system (enabled by default from 11i10), you first need to authorize the new node to access the database through SQL*Net. See <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=281758.1\" target=\"_blank\"><em>Managed SQL*Net Access from Hosts<\/em><\/a> in document 281758.1 on Oracle<em>Metalink<\/em> for instructions on how to achieve this from OAM.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">5. <strong>Reducing the number of nodes of a multi-node system (merge APPL_TOP)<\/strong><br \/>\nYou can use Rapid Clone to clone a multi-node system to a single-node system (or a multi-node system with fewer nodes) by merging the APPL_TOPs filesystem together. Follow the procedure for <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=233428.1#merge\" target=\"_blank\"><em>Merging<\/em><em> existing APPL_TOPs<\/em><\/a> in document 233428.1 on Oracle<em>MetaLink<\/em>.<\/p>\n<p style=\"text-align: justify;\">6. <strong>Cloning a RAC system<\/strong><br \/>\nYou can use Rapid Clone to clone a RAC system. While cloning, you have the possibility to remove or add nodes to the cluster in the target RAC system. To clone a RAC system, perform the following tasks:<\/p>\n<ul style=\"text-align: justify;\">\n<li>a. Verify the prerequisites<\/li>\n<li>o Apply TXK patch <a href=\"http:\/\/updates.oracle.com\/ARULink\/PatchSearch\/process_form?bug=3571388&amp;language=0&amp;process=Submit\" target=\"_blank\">3571388<\/a> (AutoConfig support for Oracle RAC instances)<\/li>\n<li>o Migrate the source system cluster ORACLE_HOMES to AutoConfig as documented in <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=165195.1\" target=\"_blank\">document 165195.1<\/a> on Oracle<em>MetaLink<\/em><\/li>\n<li>b. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#prepare#prepare\">Prepare the Source System<\/a><br \/>\nChoose one of the ORACLE_HOMEs on the source cluster. This ORACLE_HOME will be used as a master to create all the target cluster system ORACLE_HOME. Run &#8220;perl adpreclone.pl dbTier&#8221; on it.<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>You also have the option to clone each ORACLE_HOME from the source RAC cluster to the target cluster. In that case, run adpreclone.pl on every ORACLE_HOME.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul style=\"text-align: justify;\">\n<li>b. Copy the Source System to the Target Syste\n<ul>\n<li>Copy the master ORACLE_HOME from the source system to each node that will compose the target cluster. For example, if your source RAC system had 2 nodes, and you want to clone it to a 3 node target RAC system, you should copy the source master ORACLE_HOME to the 3 nodes on the target system<\/li>\n<li>o Copy the database files from the source to target system.<\/li>\n<\/ul>\n<\/li>\n<li>c. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#configure#configure\">Configure the Target System<\/a>\n<ul>\n<li>o Log on to any ORACLE_HOME in the target cluster and run<\/li>\n<li><code>o adcfgclone.pl <\/code>dbTier<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">This step configures the first node of the target system RAC cluster and recreates the database control files. The prompts, however, will gather information about every node in the target RAC cluster and the data will be re-used when configuring each subsequent node in the next step.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">o For each remaning RDBMS ORACLE_HOME in the target system, run the following command as the ORACLE file system owner:<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u00a7 <code>adcfgclone.pl <\/code>dbTier<\/li>\n<li>o If your database is version 10g or higher, run the following commands to register the database and the instance to the cluster manager .<\/li>\n<li>\u00a7 <code>srvctl add database -d &lt;<\/code>database_name<code>&gt; -o &lt;<\/code>oracle_home<code>&gt;<\/code><\/li>\n<li>\u00a7 <code>srvctl add instance -d &lt;<\/code>database_name<code>&gt; <\/code><br \/>\n<code>-<\/code>i<code> &lt;<\/code>instance_name<code>&gt; -n &lt;<\/code>host_name<code>&gt;<\/code><\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>If the cluster manager is not on Linux (ORACM) or the database is version 10g or higher, manually start up the cluster manager on the target system before running adcfgclone.pl<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul style=\"text-align: justify;\">\n<li>d. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#clone#clone\">Clone the application tier<\/a><br \/>\nFollow the steps in section 2 to prepare, copy and configure the application tier. When prompted for the database SID, specify any one of the RAC service names.<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>To clone from RAC to non-RAC, follow the same above steps but copy the master ORACLE_HOME to one target node only, and answer &#8220;No&#8221; to the question &#8220;Target instance is a Real Application Cluster (RAC) instance (y\/n)&#8221;, when prompted by adcfgclone.pl.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">7. <strong>Adding a node to an existing RAC Cluster<\/strong><br \/>\nYou can use Rapid Clone to add one or several nodes to an existing RAC Cluster. Perform the following tasks:<\/p>\n<ul style=\"text-align: justify;\">\n<li>a. Choose any one of the ORACLE_HOMEs in the existing cluster and run &#8220;perl adpreclone.pl dbTier&#8221; on it. This ORACLE_HOME will be used as a master to create the additional node(s).<\/li>\n<li>b. Copy the master ORACLE_HOME filesystem to the new node(s).<\/li>\n<li>c. Reconfigure the RAC Cluster to include the new node(s):<\/li>\n<li>o Log on to the new node, or any one of the new nodes if adding more than one, and run the following command:<\/li>\n<li>\u00a7 <code>cd \/<\/code>appsutil<code>\/clone\/bin<\/code><\/li>\n<li>\u00a7 <code>perl adcfgclone.pl <\/code>dbTier<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>You will be prompted for information about all the nodes forming the new cluster and asked to perform the next step before completing adcfgclone.pl on this node.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul style=\"text-align: justify;\">\n<li>o When instructed so by the previous step, log on to every node from the original cluster and run the following command on each of them:<\/li>\n<li>\u00a7 <code>cd \/<\/code>appsutil<code>\/clone\/bin<\/code><\/li>\n<li>\u00a7 <code>perl adcfgclone.pl <\/code>addracnode<code> &lt;context file&gt;<\/code><\/li>\n<li>o Go back to the first node and complete adcfgclone.pl<\/li>\n<li>o If you are adding more than one node to the original cluster, log on to each of the remaining new nodes and run<\/li>\n<li>\u00a7 <code>cd \/<\/code>appsutil<code>\/clone\/bin<\/code><\/li>\n<li>\u00a7 <code>perl adcfgclone.pl <\/code>dbTier<\/li>\n<\/ul>\n<table style=\"text-align: justify;\" border=\"0\" cellpadding=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Note: <\/strong>If the cluster manager is not on Linux (ORACM) or the database is version 10g or higher, manually start up the cluster manager on the target systems before running adcfgclone.pl<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">8. <strong>Cloning a Shared File System<\/strong><br \/>\nYou can use Rapid Clone to clone a shared APPL_TOP system. Since all the nodes share a unique APPL_TOP you only need to fully clone one of the source system nodes to its target machine and add more nodes directly sharing the APPL_TOP on the target system. Choose one of the shared APPL_TOP nodes on source system (the rest of this section will refer to it as Node A) and perform the following tasks:<\/p>\n<ul style=\"text-align: justify;\">\n<li>a. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#prereq#prereq\">Perform prerequisites<\/a><br \/>\nPerform these steps on Node A and and every target nodes.<\/li>\n<li>b. <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=230672.1&amp;p_showHeader=1&amp;p_showHelp=0#clone#clone\">Clone Oracle Applications 11<em>i<\/em><\/a><br \/>\nPerform a full clone (Prepare, copy and configure steps) of the Database Tier and Node A (Application tier).<\/li>\n<li>c. <span style=\"text-decoration: underline;\">Add the shared file system nodes to the target system<\/span><br \/>\nOn the target system, follow the instructions for <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showNOT?p_id=233428.1#add\" target=\"_blank\"><em>adding a node to a shared APPL_TOP system<\/em><\/a> in document 233428.1 on Oracle<em>Metalink<\/em> and add more nodes sharing the target system APPL_TOP to match the source system topology.<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\"><a name=\"appendixA\"><\/a>Appendix A: Install JRE 1.3.1 into RDBMS ORACLE_HOME<\/h3>\n<p style=\"text-align: justify;\">Windows customers will need to perform the following steps:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Download JRE 1.3.1 from <a href=\"http:\/\/java.sun.com\/\" target=\"_blank\">Sun Microsystems<\/a>.<\/li>\n<li>Run the install executable<\/li>\n<li>When prompted for the location to install jre, click browse and enter the location:<br \/>\n<code>&lt;RDBMS ORACLE_HOME&gt;<\/code>jre<code>1.3.1<\/code><\/li>\n<li>Accept the default installation options.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">JRE 1.3.1 will be installed into the &lt;RDBMS ORACLE_HOME&gt;jre1.3.1 directory.<\/p>\n<h3 style=\"text-align: justify;\"><a name=\"appendixB\"><\/a>Appendix B: Recreating database control files manually in Rapid Clone.<\/h3>\n<p style=\"text-align: justify;\">This Appendix documents the steps to allow manual creation of the target database control files within the Rapid Clone process. Examples of when to use this method are for databases on raw partitions or hot backup cloning. Replace section 2.3a (Configure the target system database server) with the following steps:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Log on to the target system as the ORACLE user<\/li>\n<li>Configure the &lt;RDBMS ORACLE_HOME&gt;<\/li>\n<li>o <code>cd &lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/clone\/bin<\/code><\/li>\n<li>o <code>perl adcfgclone.pl <\/code>dbTechStack<\/li>\n<li>Create the target database control files manually<\/li>\n<li>Start the target system database in open mode<\/li>\n<li>Run the library update script against the database<\/li>\n<li>o <code>cd &lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/install\/&lt;CONTEXT NAME&gt;<\/code><\/li>\n<li>o <code>sqlplus \"\/ as <\/code>sysdba<code>\" @<\/code>adupdlib.sql<code> &lt;<\/code>libext<code>&gt;<\/code><br \/>\nwhere &lt;libext&gt; is &#8220;sl&#8221; for HP-UX, &#8220;so&#8221; for any other UNIX platform and not required for Windows.<\/li>\n<li>Configure the target database (the database must be open)<\/li>\n<li>o <code>cd &lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/clone\/bin<\/code><\/li>\n<li>o <code>perl adcfgclone.pl <\/code>dbconfig<code> &lt;target context file&gt;<\/code><br \/>\nwhere target context file is:<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><code>&lt;RDBMS ORACLE_HOME&gt;\/<\/code>appsutil<code>\/&lt;Target CONTEXT_NAME&gt;.xml<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloning creates an identical copy of an existing Oracle Applications system. There are various reasons for cloning an Oracle Applications system such as: Creating a copy of the production system for testing updates. Migrating an existing system to new hardware. Creating a stage area to reduce patching downtime. This document is based on Oracle Metalink [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28,4,5],"tags":[52,98,99,114,116],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-cloning-oracle-applications","category-oracle","category-applications","tag-cloning","tag-oracle-applications","tag-oracle-apps","tag-rapid-clone","tag-rapidclone"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":0,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}