apps cloning
----------------
1) verify source & target nodes softwares versions
perl,jre,jdk,zip
2) apply latest rapid clone patch for all application nodes
3) Run Autoconfig on application Tier
$COMMON_TOP/admin/scripts/<context_name>/adautocfg.sh
4) Copy Autoconfig file to the RDBMS_ORACLE_HOME
Update the RDBMS ORACLE_HOME file system with the AutoConfig files by performing the following steps
i)Login to the applications and set environment file and Create appsutil.zip file
perl $AD_TOP/bin/admkappsutil.pl
ii)Copy this appsutil.zip file to the RDBMS ORACLE_HOME
cd $RDBMS_ORACLE_HOME
unzip -o appsutil.zip
5) Prepare the Source System Database Tier for Cloning
cd $RDBMS_ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>
perl adpreclone.pl dbTier
Note:It will create template file for cloning on the source system,After the source system is copied to the target system,Rapid Clone updates these templetes to contain the new target system configuration settings.Rapid clone will not change the source system configuraion. And same in apps side
6) Prepare the Source System Application Tier for cloning
cd $COMMON_TOP/admin/scripts/<CONTEXT_NAME>
perl adpreclone.pl appsTier
7) Copy the Application Tier File system(after Shutdown the applications)
8) Copy the Database Tier File System(after shutdown the Database)
9) Configure the Target System Database Server
cd $RDBMS_ORACLE_HOME/appsutil/clone/bin
perl adcfgclone.pl dbTier
10) configure the Target System Application Server Nodes
cd $COMMON_TOP/clone/bin
perl adcfgclone.pl appsTier
11) Do the Finishig Tasks like..
i)Update profile options
ii)Upadate printer settings
iii)Update Workflow and other configuration settings
Mr.Tanween,
ReplyDeleteAt this time u might understand how the target will understanding the source machine files..
Kindly review the adcfgclone script.
While u running this in target system, this will promote n number of questions, in this stage only we are going to give the sid and other details of the db, once our inputs are given the scripts itself auto start the db with the listener. in this same way apps also start.
Note: please check what is the functionality of adpreclone, its generate templates of the source system. if we copying the source files into target this files also carry by the file system ie templates.
while running the adcfgclone the templates will remap the files as per your new input.. hope i am correct