Cold Clone Process Overview
Cold Clone Process Overview
Updating the 'hold_flag' for concurrent requests is a control measure that ensures no new processes are executed before final verification of the cloned environment. By setting the 'hold_flag' to 'Y' for requests in particular statuses ('P', 'I', 'Q', 'F'), administrators can prevent the inadvertent execution of application-specific or batch jobs that could produce unexpected results or load the system incorrectly. This step is crucial for maintaining system stability during the post-cloning phase.
Once the source system data is copied, configuring the target system involves running scripts to set up both the database and application tiers. Specifically, execute 'perl adcfgclone.pl dbTier' to configure the database tier by specifying hostname, SID, and port, and to recreate control files which bring up the database. Similarly, execute 'perl adcfgclone.pl appsTier' in the $COMMON_TOP/clone/bin directory for application tier configuration. This includes setting parameters such as hostname, port, and APPL_TOP, creating a new context file, and starting the application services.
Stopping the application and the database before copying ensures the integrity and consistency of the data being transferred. Running applications might have active processes that can alter data, leading to inconsistencies or corruption in the copied system. By shutting down services, we ensure that the data is static and unchanged during the copy process, thus maintaining the integrity of the target system.
Post-clone tasks, including updating the 'Site Name' in the database, are critical for ensuring the cloned system reflects its new environment and does not interfere with production settings. Changing the 'Site Name' helps identify the environment correctly as a clone, preventing users from confusing it with the production environment. It also helps in maintaining unique profiles and ensuring configurations such as workflow and payment settings are appropriate for the non-production instance.
The command 'perl adpreclone.pl dbTier' is used to prepare the database tier of the source system for cloning. This script gathers necessary information such as the context file and templates, and places them in the clone folder location, which is $ORACLE_HOME/appsutil/clone. This step is crucial for creating an exact copy of the database configuration on the target system.