SlideShare une entreprise Scribd logo
1  sur  6
Oracle Applications 11i Hot Backup Cloning with Rapid Clone

 Source System (PROD):

      (a) P4 3.0 GHz System with 2GB RAM and 200 GB HDD (Redhat Linux AS
4)

                    /d01 ——- 40 GB (Application Tier Files)

                    /d02 ——- 10 GB (10g Oracle Home)

                    /d03 ——- 80 GB (Data Files)

                    /backup —- 100 GB (NFS mount point Shared on TEST
Server)

     Hostname: prodserver

     Application Version: 11.5.10.2

 Database Version: 10.2.0.2 Target System (TEST):

       (b) P4 2.6 GHz system with 1.5 GB RAM with 300 GB HDD (Redhat Linux
AS 4)

                    /d01 ——- 40 GB (Application Tier Files)

                    /d02 ——- 10 GB (10g Oracle Home)

                    /d03 ——- 80 GB (Data Files)

                    /backup —- 100GB (NFS Share Directory)
Hostname: testserver

   Application Version: 11.5.10.2

   Database Version: 10.2.0.2

Note: This target System was previously cloned with cold backup. This is second
time cloning with Hot Backup from PRODSERVER.

Stage1: Prerequisites:

========> Apply OUI22 Patch, 5035661 to every IAS Oracle Home
     and RDBMS Oracle Home to be cloned.
     If you are having 10g Oracle Home,
     there is no need of applying this patch.
     You need to apply this patch on IAS Oracle Home
     (if Database is not 10g)

    A. Applying the patch on the iAS $ORACLE_HOME:
 ====================================================
 (a) Unzip the patch into the <iAS ORACLE_HOME> directory:
    $unzip -od /d01/prodora/iAS p5035661_11i_LINUX.zip
 (b) Source the Apps environment file :
     $. $APPL_TOP/APPSORA.env
 (c) Change directory to the <IAS ORACLE_HOME>/appsoui/setup
    $cd $IAS_ORACLE_HOME/appsoui/setup
 (d) Execute the perl script OUIsetup.pl:
    $perl OUIsetup.pl
 NOTE:
 In the case of a Multi-Node instance, the above process
 should be repeated on the <iAS ORACLE_HOME> of each Node.
(B) Applying the patch on the RDBMS $ORACLE_HOME:
  (This step is not required for my current setup,
  because my database version is 10g R2)
 (a) Unzip the patch into the <RDBMS ORACLE_HOME> directory:
    $unzip -od /u01/proddb/9.2.0 p5035661_11i_LINUX.zip
 (b) Source the DB environment file :
$. $ORACLE_HOME/PROD_prodserver.env
 (c) Change directory to the <RDBMS ORACLE_HOME>/appsoui/setup
   $cd $ORACLE_HOME/appsoui/setup
 (d) Execute the perl script OUIsetup.pl:
   $perl OUIsetup.pl
======> Check all other Requirements as Perl, JRE, JDK, ZIP utilities on Source and Target
Nodes as per
    document “Cloning Oracle Applications Release 11i with Rapid Clone”
=======> Apply the Latest AD Minipack on Application Tier (Latest One is AD.I.5)
=======è Apply the Latest Autoconfig Template Patch and Latest Rapidclone Patches to
Application Tier (Check Metalink for These Patches)
Stage2: Prepare the Source System (PRODSERVER)
    (a) Login into Database Tier as ORACLE user and run the preclone
      $cd $ORACLE_HOME/appsutil/scripts/PROD_prodserver
      $perl adpreclone.pl dbTier
   (b) Login into the Application Tier as APPLMGR User and run the preclone
      $cd $COMMON_TOP/admin/scripts/PROD_prodserver
      $perl adpreclone.pl appsTier
Stage3: Put the Database in Begin Backup Mode and copy the Database Files
     (a) Login into database as sysdba user
        $sqlplus “/as sysdba”
        Sql> alter database begin backup;
    (b) Copy Archive log files created during hot backup to /backup directory.
    (c) Copy the All Data files to /backup directory.
    (d) Backup the control file to trace.
        Sql> alter database backup control file to trace;
        Copy this trace file to /backup directory
    (e) Copy the current init.ora file to /backup directory
    (f) End the Begin Backup Mode.
        Sql> alter database end backup.
Stage4: Copy the Application Tier File System Files
       (a)Login into the Application Tier as APPLMGR user and copy the APPL_TOP,
COMMON_TOP,
        IAS ORACLE HOME and 8.0.6 Oracle Home to /backup directory
Stage5: Copy the Source Database files and Application Files to Target server
   Copy the parameter file, backup control file and archive log files from /backup directory
      to /d01, /d02 and /d03 in target server.
Stage 6: Configure the Target Database (TESTSERVER)

         Log on to the target system as the ORACLE user
                 (1)    Configure the <RDBMS ORACLE_HOME>
                        cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
                         perl adcfgclone.pl dbTechStack
                 (2)    Create the target database control file manually


                        Open the backed up control file
                         a. remove all lines before the startup nomount
statement
                         b. Modify the REUSE to SET
                         c. Modify Source DB SID to Target SID (Here PROD to
TEST)
                          d. Modify NORESETLOGS TO RESETLOGS


                          e. delete all lines after the CHARACTER SET statement
————————————
                       CREATE CONTROLFILE SET DATABASE “TEST”
NORESETLOGS ARCHIVELOG…
LOGFILEGROUP 1
         ‘/d03/log01.log’ SIZE 50M,
         …
DATAFILE
         ‘/d03/system01.dbf’,
         ‘/d03/undotbs01.dbf’,
  …
CHARACTER SET UTF8;
—————————————————–
        On the target system, modify the init.ora to have the target SID and
location of the control file and also make sure that init.ora parameters are set for
archive log mode On the target system,
starup the database in nomount stage
    sql> startup nomount pfile=< Target init.ora path>
    sql> @clone.ctl         ( here clone.ctl is the control file which we have
modified above)
   Once control file is created, database will be in mount stage
        execute recover command using backup control file after the database is
mounted
           SQL> RECOVER DATABASE USING BACKUP CONTROLFILE
UNTIL CANCEL;
After the last archive log has been applied, issue the following command
            SQL> alter database open resetlogs;
After opening the database, add temp files to target database
   (3) Run the library update script against the database
          cd <RDBMS ORACLE_HOME>/appsutil/install/<CONTEXT NAME
sqlplus “/ as sysdba” @adupdlib.sql <libext>
       Where <libext> is “sl” for HP-UX, “so” for any other UNIX platform and
   not required for Windows.
     (4)Configure the target database (the database must be open)
                  cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
                  perl adcfgclone.pl dbconfig <target context file>
           where target context file is: <RDBMS
ORACLE_HOME>/appsutil/<Target CONTEXT_NAME>.xml
  Stage 7 : Configure the Target Application Tier
             Logon to the target system as the APPLMGR user and type the
following commands
                  $Cd $COMMON_TOP/clone/bin
                  $Perl adcfgclone.pl appsTier
   Finishing tasks:
            (1)     Update Profile options
            (2)     Update Printer Settings
            (3)     Update the workflow configuration settings
(4)   Verify the APPLCSF variable setting
            (5)   Update the session_cookie_domain value in icx_parameters
For the finishing tasks, check the finishing tasks section of the following
document
Cloning Oracle Applications Release 11i with rapid clone Note:
230672.1

Contenu connexe

Tendances

还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery还原Oracle中真实的cache recovery
还原Oracle中真实的cache recoverymaclean liu
 
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseOracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseuzzal basak
 
Backup andrecoverychecklist
Backup andrecoverychecklistBackup andrecoverychecklist
Backup andrecoverychecklistpraveen_01236
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Biju Thomas
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different hostOsama Mustafa
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)K Kumar Guduru
 
Oracle upgrade
Oracle upgradeOracle upgrade
Oracle upgradeRaj p
 
Rman cloning when both directory and db name are same.
Rman cloning when both directory and db name are same.Rman cloning when both directory and db name are same.
Rman cloning when both directory and db name are same.subhani shaik
 
Rman cloning guide
Rman cloning guideRman cloning guide
Rman cloning guideAmit87_dba
 
Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product FamilyN/A
 
Oracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingOracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingKyle Hailey
 
How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby databaseJorge Batista
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLNina Kaufman
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_pptmaclean liu
 
Flashback (Practical Test)
Flashback (Practical Test)Flashback (Practical Test)
Flashback (Practical Test)Anar Godjaev
 
Test Dml With Nologging
Test Dml With NologgingTest Dml With Nologging
Test Dml With NologgingN/A
 
Data Migration in Database
Data Migration in DatabaseData Migration in Database
Data Migration in DatabaseJingun Jung
 

Tendances (20)

还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery
 
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseOracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby database
 
Backup andrecoverychecklist
Backup andrecoverychecklistBackup andrecoverychecklist
Backup andrecoverychecklist
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
Beginbackup
BeginbackupBeginbackup
Beginbackup
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Oracle upgrade
Oracle upgradeOracle upgrade
Oracle upgrade
 
Rman cloning when both directory and db name are same.
Rman cloning when both directory and db name are same.Rman cloning when both directory and db name are same.
Rman cloning when both directory and db name are same.
 
Rman cloning guide
Rman cloning guideRman cloning guide
Rman cloning guide
 
Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product Family
 
Oracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 samplingOracle 10g Performance: chapter 00 sampling
Oracle 10g Performance: chapter 00 sampling
 
How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby database
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQL
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
 
Flashback (Practical Test)
Flashback (Practical Test)Flashback (Practical Test)
Flashback (Practical Test)
 
Test Dml With Nologging
Test Dml With NologgingTest Dml With Nologging
Test Dml With Nologging
 
Data Migration in Database
Data Migration in DatabaseData Migration in Database
Data Migration in Database
 
341 Rac
341 Rac341 Rac
341 Rac
 

En vedette

121adpp patching procedures
121adpp patching procedures121adpp patching procedures
121adpp patching proceduresDeepti Singh
 
After the civil war and zitkala sa
After the civil war and zitkala saAfter the civil war and zitkala sa
After the civil war and zitkala saAziz Driouch
 
Ed psych - vigotsky theory - final
Ed psych - vigotsky theory - finalEd psych - vigotsky theory - final
Ed psych - vigotsky theory - finalAziz Driouch
 
Change oracle apps password
Change oracle apps passwordChange oracle apps password
Change oracle apps passwordDeepti Singh
 
121admp maintenance procedures
121admp maintenance procedures121admp maintenance procedures
121admp maintenance proceduresDeepti Singh
 
Time management and organizational strategies
Time management and organizational strategiesTime management and organizational strategies
Time management and organizational strategiesAziz Driouch
 
Apps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsApps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsDeepti Singh
 
Day to day concerns 2
Day to day concerns 2Day to day concerns 2
Day to day concerns 2Aziz Driouch
 
A presentation on pronouns
A presentation on pronounsA presentation on pronouns
A presentation on pronounsAziz Driouch
 

En vedette (15)

121adpp patching procedures
121adpp patching procedures121adpp patching procedures
121adpp patching procedures
 
After the civil war and zitkala sa
After the civil war and zitkala saAfter the civil war and zitkala sa
After the civil war and zitkala sa
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch options
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch options
 
Ed psych - vigotsky theory - final
Ed psych - vigotsky theory - finalEd psych - vigotsky theory - final
Ed psych - vigotsky theory - final
 
Change oracle apps password
Change oracle apps passwordChange oracle apps password
Change oracle apps password
 
121admp maintenance procedures
121admp maintenance procedures121admp maintenance procedures
121admp maintenance procedures
 
Time management and organizational strategies
Time management and organizational strategiesTime management and organizational strategies
Time management and organizational strategies
 
Protesis provisional
Protesis provisional Protesis provisional
Protesis provisional
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
Apps tech bootcamp_descriptions
Apps tech bootcamp_descriptionsApps tech bootcamp_descriptions
Apps tech bootcamp_descriptions
 
11iadutil
11iadutil11iadutil
11iadutil
 
Day to day concerns 2
Day to day concerns 2Day to day concerns 2
Day to day concerns 2
 
Pecha kucha
Pecha kuchaPecha kucha
Pecha kucha
 
A presentation on pronouns
A presentation on pronounsA presentation on pronouns
A presentation on pronouns
 

Similaire à Rapid Clone Oracle Apps 11i from Prod to Test

Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Raheel Syed
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationKanwar Batra
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradationinfluxbob
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tierbalaji29
 
Oracle data guard configuration in 12c
Oracle data guard configuration in 12cOracle data guard configuration in 12c
Oracle data guard configuration in 12cuzzal basak
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26zeesniper
 
Data Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gData Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gIbrahim Malek
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationSreenivasa Setty
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 
Kp.3 pengaturan sistem dan user
Kp.3 pengaturan sistem dan userKp.3 pengaturan sistem dan user
Kp.3 pengaturan sistem dan userDesty Yani
 
D17316 gc20 l05_phys_sql
D17316 gc20 l05_phys_sqlD17316 gc20 l05_phys_sql
D17316 gc20 l05_phys_sqlMoeen_uddin
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cMarkus Flechtner
 
Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgradeguest362312
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14kmsa
 

Similaire à Rapid Clone Oracle Apps 11i from Prod to Test (20)

Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replication
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
Upgrading 11i E-business Suite to R12 E-business Suite
Upgrading 11i E-business Suite to R12 E-business SuiteUpgrading 11i E-business Suite to R12 E-business Suite
Upgrading 11i E-business Suite to R12 E-business Suite
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Oracle data guard configuration in 12c
Oracle data guard configuration in 12cOracle data guard configuration in 12c
Oracle data guard configuration in 12c
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26
 
Data Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gData Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10g
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation Demonstration
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
Kp.3 pengaturan sistem dan user
Kp.3 pengaturan sistem dan userKp.3 pengaturan sistem dan user
Kp.3 pengaturan sistem dan user
 
Database upgradation
Database upgradationDatabase upgradation
Database upgradation
 
D17316 gc20 l05_phys_sql
D17316 gc20 l05_phys_sqlD17316 gc20 l05_phys_sql
D17316 gc20 l05_phys_sql
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgrade
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 

Plus de Deepti Singh

Oracle apps 11i file system
Oracle apps 11i   file systemOracle apps 11i   file system
Oracle apps 11i file systemDeepti Singh
 
File character set converter
File character set converterFile character set converter
File character set converterDeepti Singh
 
File character set converter
File character set converterFile character set converter
File character set converterDeepti Singh
 
Appsdba interview question
Appsdba interview questionAppsdba interview question
Appsdba interview questionDeepti Singh
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing reportDeepti Singh
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing reportDeepti Singh
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification reportDeepti Singh
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification reportDeepti Singh
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration reportDeepti Singh
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration reportDeepti Singh
 

Plus de Deepti Singh (14)

Patch
PatchPatch
Patch
 
Oracle apps 11i file system
Oracle apps 11i   file systemOracle apps 11i   file system
Oracle apps 11i file system
 
Ilm
IlmIlm
Ilm
 
File character set converter
File character set converterFile character set converter
File character set converter
 
File character set converter
File character set converterFile character set converter
File character set converter
 
Appsdba interview question
Appsdba interview questionAppsdba interview question
Appsdba interview question
 
Adsplice
AdspliceAdsplice
Adsplice
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing report
 
Ad job timing report
Ad job timing reportAd job timing report
Ad job timing report
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification report
 
Ad file identification report
Ad file identification reportAd file identification report
Ad file identification report
 
Ad control
Ad controlAd control
Ad control
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration report
 
Ad configuration report
Ad configuration reportAd configuration report
Ad configuration report
 

Rapid Clone Oracle Apps 11i from Prod to Test

  • 1. Oracle Applications 11i Hot Backup Cloning with Rapid Clone Source System (PROD): (a) P4 3.0 GHz System with 2GB RAM and 200 GB HDD (Redhat Linux AS 4) /d01 ——- 40 GB (Application Tier Files) /d02 ——- 10 GB (10g Oracle Home) /d03 ——- 80 GB (Data Files) /backup —- 100 GB (NFS mount point Shared on TEST Server) Hostname: prodserver Application Version: 11.5.10.2 Database Version: 10.2.0.2 Target System (TEST): (b) P4 2.6 GHz system with 1.5 GB RAM with 300 GB HDD (Redhat Linux AS 4) /d01 ——- 40 GB (Application Tier Files) /d02 ——- 10 GB (10g Oracle Home) /d03 ——- 80 GB (Data Files) /backup —- 100GB (NFS Share Directory)
  • 2. Hostname: testserver Application Version: 11.5.10.2 Database Version: 10.2.0.2 Note: This target System was previously cloned with cold backup. This is second time cloning with Hot Backup from PRODSERVER. Stage1: Prerequisites: ========> Apply OUI22 Patch, 5035661 to every IAS Oracle Home and RDBMS Oracle Home to be cloned. If you are having 10g Oracle Home, there is no need of applying this patch. You need to apply this patch on IAS Oracle Home (if Database is not 10g) A. Applying the patch on the iAS $ORACLE_HOME: ==================================================== (a) Unzip the patch into the <iAS ORACLE_HOME> directory: $unzip -od /d01/prodora/iAS p5035661_11i_LINUX.zip (b) Source the Apps environment file : $. $APPL_TOP/APPSORA.env (c) Change directory to the <IAS ORACLE_HOME>/appsoui/setup $cd $IAS_ORACLE_HOME/appsoui/setup (d) Execute the perl script OUIsetup.pl: $perl OUIsetup.pl NOTE: In the case of a Multi-Node instance, the above process should be repeated on the <iAS ORACLE_HOME> of each Node. (B) Applying the patch on the RDBMS $ORACLE_HOME: (This step is not required for my current setup, because my database version is 10g R2) (a) Unzip the patch into the <RDBMS ORACLE_HOME> directory: $unzip -od /u01/proddb/9.2.0 p5035661_11i_LINUX.zip (b) Source the DB environment file :
  • 3. $. $ORACLE_HOME/PROD_prodserver.env (c) Change directory to the <RDBMS ORACLE_HOME>/appsoui/setup $cd $ORACLE_HOME/appsoui/setup (d) Execute the perl script OUIsetup.pl: $perl OUIsetup.pl ======> Check all other Requirements as Perl, JRE, JDK, ZIP utilities on Source and Target Nodes as per document “Cloning Oracle Applications Release 11i with Rapid Clone” =======> Apply the Latest AD Minipack on Application Tier (Latest One is AD.I.5) =======è Apply the Latest Autoconfig Template Patch and Latest Rapidclone Patches to Application Tier (Check Metalink for These Patches) Stage2: Prepare the Source System (PRODSERVER) (a) Login into Database Tier as ORACLE user and run the preclone $cd $ORACLE_HOME/appsutil/scripts/PROD_prodserver $perl adpreclone.pl dbTier (b) Login into the Application Tier as APPLMGR User and run the preclone $cd $COMMON_TOP/admin/scripts/PROD_prodserver $perl adpreclone.pl appsTier Stage3: Put the Database in Begin Backup Mode and copy the Database Files (a) Login into database as sysdba user $sqlplus “/as sysdba” Sql> alter database begin backup; (b) Copy Archive log files created during hot backup to /backup directory. (c) Copy the All Data files to /backup directory. (d) Backup the control file to trace. Sql> alter database backup control file to trace; Copy this trace file to /backup directory (e) Copy the current init.ora file to /backup directory (f) End the Begin Backup Mode. Sql> alter database end backup. Stage4: Copy the Application Tier File System Files (a)Login into the Application Tier as APPLMGR user and copy the APPL_TOP, COMMON_TOP, IAS ORACLE HOME and 8.0.6 Oracle Home to /backup directory Stage5: Copy the Source Database files and Application Files to Target server Copy the parameter file, backup control file and archive log files from /backup directory to /d01, /d02 and /d03 in target server.
  • 4. Stage 6: Configure the Target Database (TESTSERVER) Log on to the target system as the ORACLE user (1) Configure the <RDBMS ORACLE_HOME> cd <RDBMS ORACLE_HOME>/appsutil/clone/bin perl adcfgclone.pl dbTechStack (2) Create the target database control file manually Open the backed up control file a. remove all lines before the startup nomount statement b. Modify the REUSE to SET c. Modify Source DB SID to Target SID (Here PROD to TEST) d. Modify NORESETLOGS TO RESETLOGS e. delete all lines after the CHARACTER SET statement ———————————— CREATE CONTROLFILE SET DATABASE “TEST” NORESETLOGS ARCHIVELOG… LOGFILEGROUP 1 ‘/d03/log01.log’ SIZE 50M, … DATAFILE ‘/d03/system01.dbf’, ‘/d03/undotbs01.dbf’, … CHARACTER SET UTF8; —————————————————– On the target system, modify the init.ora to have the target SID and location of the control file and also make sure that init.ora parameters are set for archive log mode On the target system,
  • 5. starup the database in nomount stage sql> startup nomount pfile=< Target init.ora path> sql> @clone.ctl ( here clone.ctl is the control file which we have modified above) Once control file is created, database will be in mount stage execute recover command using backup control file after the database is mounted SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL; After the last archive log has been applied, issue the following command SQL> alter database open resetlogs; After opening the database, add temp files to target database (3) Run the library update script against the database cd <RDBMS ORACLE_HOME>/appsutil/install/<CONTEXT NAME sqlplus “/ as sysdba” @adupdlib.sql <libext> Where <libext> is “sl” for HP-UX, “so” for any other UNIX platform and not required for Windows. (4)Configure the target database (the database must be open) cd <RDBMS ORACLE_HOME>/appsutil/clone/bin perl adcfgclone.pl dbconfig <target context file> where target context file is: <RDBMS ORACLE_HOME>/appsutil/<Target CONTEXT_NAME>.xml Stage 7 : Configure the Target Application Tier Logon to the target system as the APPLMGR user and type the following commands $Cd $COMMON_TOP/clone/bin $Perl adcfgclone.pl appsTier Finishing tasks: (1) Update Profile options (2) Update Printer Settings (3) Update the workflow configuration settings
  • 6. (4) Verify the APPLCSF variable setting (5) Update the session_cookie_domain value in icx_parameters For the finishing tasks, check the finishing tasks section of the following document Cloning Oracle Applications Release 11i with rapid clone Note: 230672.1