SlideShare a Scribd company logo
1 of 26
1. HOW TO USE THIS MANUAL
This user manual contains a Table of Contents.




Each chapter of this table of contents contains information and as well as step-by-step instructions on
how to perform tasks.




BACKUP PROCEDURES                                                               Page 1 of 26
2. PSM BACKUP PROCEDURE

    1.     Cloned Backup Server – Copy of Production Server Database and Application

It is recommended that a Production Server must be cloned on Backup machine that in case of disaster,
the backup server can be used as a production server until the unavailability of actual production server.

    2.     Cloning Procedure

Production Server cloning steps are:

        Production Server(PS) Database and Application Shutdown (see Annexure-A) (DB and Application
         Cloning Detail Steps)
        Apply pre-requisite patches and scripts on source machine (Production Server) recommended by
         Annexure-A (DB and Application Cloning Detail Steps)
        Copy folders in a sequence recommended by Annexure-A to target machine i.e. Backup Server (BPS)
        Apply Cloning scripts as mentioned in Annexure-A(DB and Application Cloning Detail Steps)
        Apply post cloning steps mentioned in Annexure-A (DB and Application Cloning Detail Steps)

Further, the following are the routine backup procedures:

It is recommended and suggested by Sidat Hyder Morshed Associates that the following backup plan
should be implemented to backing up the production server and to avoid data loss.


    3.     Daily Full Backup Procedure

        Daily Full Cold Backup should be taken on the backup machine (BPS) using local intranet or Media
         (CD, DVD, TAPE) or any of the networks drive/part mounted on backup machine (BPS)
        Backup should be Restore on daily basis on Backup Machine (BPS)
        After Restoring Backup, the Application and Database of backup server must be tested
        See Annexure-B( Updating of Backup Server Daily )

    4.     Monthly Full Backup Procedure

        Monthly Full Cold Backup should be taken on the backup machine (BPS) using local intranet or
         Media (CD,DVD,TAPE) or any of the networks drive/part mounted on backup machine
        Monthly Backup should be Restore on monthly basis on Backup Machine (BPS). When any changes
         in apps means apply any patches
        After Restoring Backup, the Application and Database of backup server must be tested
        See Annexure-C ( Updating of Backup Server Monthly )


    5.     Retention Policy for Database

        Last day of the Week Backup (Friday) and retain four weak backup or as per PSM policy.
        Last Friday of the Month for Monthly Backup and retain 12 month or as per PSM policy.
        Yearly backup on June 30th and retain it for three years or as per PSM policy.
        * PS = Production Server



BACKUP PROCEDURES                                                                         Page 2 of 26
   * BPS = Backup Production Server




BACKUP PROCEDURES                      Page 3 of 26
3. ANNEXURE- A

1.   DB and Application Cloning Detail Steps

login as: oracle
oracle@192.175.175.98's password:
Last login: Thu Jul 3 12:53:19 2008
-bash: [$USER=oracle]: command not found

Navigate to this path

[oracle@prod ~]$ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/scripts/PROD_prod

[oracle@prod PROD_prod]$ ls

adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql
adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql

[oracle@prod PROD_prod]$ perl adpreclone.pl dbTier

Enter the APPS user password:

 [oracle@prod PROD_prod]$ pwd
/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/scripts/PROD_prod
[oracle@prod PROD_prod]$

After completion navigate to this path

[oracle@prod scripts]$ cd /u01/oracle/PROD/inst/apps/PROD_prod/admin/scripts

And run this script

[oracle@prod scripts]$ perl adpreclone.pl appsTier

Running Rapid Clone with command...
Thu Jul 3 21:52:42 2008
perl /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/bin/adclone.pl
java=/u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk mode=stage
stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM
appctx=/u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml showProgress
APPS Password :

Beginning application tier Stage - Thu Jul 3 21:52:42 2008

/u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false
-Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/PROD/apps/tech_st/10.1.3/lib/xmlparserv2.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/jdbc/lib/
ojdbc14.jar:/u01/oracle/PROD/apps/apps_st/comn/java/classes:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/j
lib/OraInstaller.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/jlib/ewt3.jar:/u01/oracle/PROD/apps/tech_st
/10.1.3/oui/jlib/share.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/jlib/srvm.jar:/u01/oracle/PROD/apps/te
ch_st/10.1.3/jlib/ojmisc.jar oracle.apps.ad.clone.StageAppsTier -e



BACKUP PROCEDURES                                                                 Page 4 of 26
/u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml -stage
/u01/oracle/PROD/apps/apps_st/comn/clone -tmp /tmp -method CUSTOM -showProgress

Log file located at /u01/oracle/PROD/inst/apps/PROD_prod/admin/log/StageAppsTier_07032152.log

 /   0% completed

Completed Stage...
Thu Jul 3 21:53:02 2008
Completed perl /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/bin/adclone.pl
java=/u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk mode=stage
stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM
appctx=/u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml showProgress ...
Thu Jul 3 21:53:02 2008

After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./
lsnrstop.sh and . ./dbstop.sh)

[oracle@prod scripts]$ ./adstpall.sh      apps/apps

Then go to another BPS machine and first make folder and name them by these convention

$ cd /u01
$ mkdir oracle
$ cd /oracle
$ mkdir PROD
$ cd /PROD
$ mkdir apps
$ cd /apps
$ mkdir /apps_st

After making directories then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/appl/ /u01/oracle/PROD/apps/apps_st/



It asks for password give the password of Production Server which is “production” Every time when you
copy it ask for password so give this password and it starts the copy from source to destination. After
completing copy, run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/comn/ /u01/oracle/PROD/apps/apps_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then make directory by this command

$ mkdir tech_st (in the apps directory)

Then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.2/ /u01/oracle/PROD/apps/tech_st/




BACKUP PROCEDURES                                                                    Page 5 of 26
It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.3/ /u01/oracle/PROD/apps/tech_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing this go to PROD directory and make directory “db”

$ mkdir db
$ mkdir apps_st

After making apps_st directory then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then make directory by this command

$ mkdir tech_st (in the db directory)

Then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/inst/ /u01/oracle/PROD/apps/apps_st/appl/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination .When it is completed then copy of production is completed and started first
database and then application by running the scripts.

After Copying all these items to BPS machine then start the configuration of cloning. Which is as under?

Navigate to this path

[oracle@backup ~]$ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin

And run this script by this command




BACKUP PROCEDURES                                                                 Page 6 of 26
Step: 1) $ perl adcfgclone.pl dbTier




BACKUP PROCEDURES                      Page 7 of 26
Step: 2) Give the parameters means target host name, system database name, directory for source home




BACKUP PROCEDURES                                                            Page 8 of 26
Step: 3) Give path of utl_file_directory , # of Data_top , RDBMS Oracle Home directory , using same
port values of source




BACKUP PROCEDURES                                                              Page 9 of 26
Step :4) After giving all these parameters then script is running and after completion database and
listener processes are automatically started




After Completing the configuration of Database then started the application configuration. Take the new
terminal and navigate to this path by this command




BACKUP PROCEDURES                                                              Page 10 of 26
Step: 5)[oracle@backup ~]$ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/
and run the script
$ perl adcfgclone.pl appsTier




BACKUP PROCEDURES                                                         Page 11 of 26
Step: 6) Give the parameters of Hostname; database SID, Server Node which is as follows




BACKUP PROCEDURES                                                           Page 12 of 26
Step: 7) Give another parameters




BACKUP PROCEDURES                  Page 13 of 26
Step: 8) give these last parameters




After giving all these parameters the script is running automatically and after completion of application
configuration the application is started automatically. Here cloning is completed and cloned backup
server is providing for further procedure.




BACKUP PROCEDURES                                                                Page 14 of 26
4. ANNEXURE- B

    1.   Updating of Backup Server Daily


First make the copy of /u01/oracle/PROD/db to another location in backup (BPS) server. By this procedure
Open Computer from desktop and open filesystemu01oraclePRODdb right click the db and click
“copy file” and paste into u02.When it is completed then remove the same name folders from backup
server by this procedure
Open Computer from desktop and open filesystemu01oraclePRODdbapps_st and remove
“data” folder after this
Open Computer from desktop and open filesystemu01oraclePRODdbtech_st and remove the
“10.2.0” folder.

    2.   Updating of Database

Go to production server. Login in production server as oracle user
login as: oracle
oracle@192.175.175.98's password:
Last login: Thu Jul 3 12:53:19 2008
-bash: [$USER=oracle]: command not found
[oracle@prod ~]$ cd $ORACLE_HOME
[oracle@prod 10.2.0]$ cd appsutil

[oracle@prod appsutil]$ cd scripts/

[oracle@prod scripts]$ ls
PROD_prod

[oracle@prod scripts]$ cd PROD_prod/

[oracle@prod PROD_prod]$ ls
adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql
adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql
[oracle@prod PROD_prod]$ perl adpreclone.pl dbTier

Enter the APPS user password:

After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./
lsnrstop.sh and . ./dbstop.sh)

When it is completed, go to backup (BPS) server and run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. When it is completed then run

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/




BACKUP PROCEDURES                                                                  Page 15 of 26
It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. Make sure that in copy no files are missing even a single file. When copy is
completed then navigate to this path
$ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin and

Step: 1) run the script by this command ($ perl adcfgclone.pl dbTier)




BACKUP PROCEDURES                                                               Page 16 of 26
Step: 2) Give the parameters means target host name, system database name, directory for source home




BACKUP PROCEDURES                                                           Page 17 of 26
Step: 3) Give path of utl_file_directory , # of Data_top , RDBMS Oracle Home directory , using same
port values of source




BACKUP PROCEDURES                                                            Page 18 of 26
Step :4) After giving all these parameters then script is running and after completion database and
listener processes are automatically started




BACKUP PROCEDURES                                                             Page 19 of 26
Step: 5) after completing the configuration of Database then started the application configuration. Take
the new terminal and navigate to

$ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/
and run the script

$ perl adcfgclone.pl appsTier
/u01/oracle/PROD/apps/apps_st/appl/inst/apps/PROD_backup/appl/admin/PROD_backup.xml

After completing, the application start automatically and you test both application and database. Here
updating of database is completed.




BACKUP PROCEDURES                                                                Page 20 of 26
5. ANNEXURE- C

    1.   Updating of Backup Server Monthly


    2.   Updating of Application

If you apply any patch on production server or on month end then you also updates the application in
backup server by following procedure

First make copy of “apps and db” in backup server to another location in backup server. By this
procedure
Open Computer from desktop and open filesystemu01oraclePRODdb right click the db and click
“copy file” and paste into u02.When it is completed then make sure the same name folders are not
present in backup server means “data” folder in “apps_st” directory and “10.2.0” folder in “tech_st”
directory should remove.
 After this then
Open computer form desktop and open filesystemu01oraclePRODapps right click the apps and
click “copy file” and paste into u02.
When it is completed then make sure the same name folders are not present in backup server means go to
this path
Open computer form desktop and open filesystemu01oraclePRODapps/apps_st/
In this “appl , comn” folder should remove, after this
Open computer form desktop and open filesystemu01oraclePRODapps/tech_st/
And in this “10.1.2, 10.1.3” should remove. After Completion

Go to Production Server and navigate to

[oracle@prod ~]$ cd $ORACLE_HOME
[oracle@prod 10.2.0]$ cd appsutil

[oracle@prod appsutil]$ cd scripts/

[oracle@prod scripts]$ ls
PROD_prod

[oracle@prod scripts]$ cd PROD_prod/

[oracle@prod PROD_prod]$ ls
adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql
adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql
[oracle@prod PROD_prod]$ perl adpreclone.pl dbTier

Enter the APPS user password:

When it is completed then navigates to this path

[oracle@prod scripts]$ cd /u01/oracle/PROD/inst/apps/PROD_prod/admin/scripts

And run this script




BACKUP PROCEDURES                                                             Page 21 of 26
[oracle@prod scripts]$ perl adpreclone.pl appsTier

After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./
lsnrstop.sh and . ./dbstop.sh) Then go to backup server and run this command. Make sure that in copy no
files are missing even a single file

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. When it is completed then run

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completion then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/appl/ /u01/oracle/PROD/apps/apps_st/

Then it asks for password give the password of Production Server which is “production” and it starts the
copy from source to destination. After completing copy then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/comn/ /u01/oracle/PROD/apps/apps_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.2/ /u01/oracle/PROD/apps/tech_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completing copy then run this command

$ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.3/ /u01/oracle/PROD/apps/tech_st/

It asks for password give the password of Production Server which is “production” and it starts the copy
from source to destination. After completion then update the database by the procedure of “ANNEXURE-
B” from Step: 1 to Step: 4.

After Completing the configuration of Database then started the application configuration.
Take the new terminal and navigate to this path

[oracle@backup ~]$ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/

And run this script




BACKUP PROCEDURES                                                               Page 22 of 26
[oracle@backup bin]$ perl adcfgclone.pl appsTier




BACKUP PROCEDURES                                  Page 23 of 26
Give the parameters of Hostname; database SID, Server Node which is as follows




BACKUP PROCEDURES                                                         Page 24 of 26
Give other parameters




BACKUP PROCEDURES       Page 25 of 26
Give these last parameters




After giving all these parameters the script is running automatically and after completion of application
configuration the application is started automatically




BACKUP PROCEDURES                                                                Page 26 of 26

More Related Content

What's hot

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
 
Backup andrecoverychecklist
Backup andrecoverychecklistBackup andrecoverychecklist
Backup andrecoverychecklistpraveen_01236
 
Server control utility reference
Server control utility referenceServer control utility reference
Server control utility referenceFemi Adeyemi
 
Les 10 Tune Rman
Les 10 Tune RmanLes 10 Tune Rman
Les 10 Tune Rmanvivaankumar
 
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
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_pptmaclean liu
 
Oracle flashback
Oracle flashbackOracle flashback
Oracle flashbackCambodia
 

What's hot (20)

Les 12 fl_db
Les 12 fl_dbLes 12 fl_db
Les 12 fl_db
 
Les 10 fl1
Les 10 fl1Les 10 fl1
Les 10 fl1
 
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
 
Les 16 resource
Les 16 resourceLes 16 resource
Les 16 resource
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
 
Les 20 dup_db
Les 20 dup_dbLes 20 dup_db
Les 20 dup_db
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
Les 11 fl2
Les 11 fl2Les 11 fl2
Les 11 fl2
 
Backup andrecoverychecklist
Backup andrecoverychecklistBackup andrecoverychecklist
Backup andrecoverychecklist
 
Server control utility reference
Server control utility referenceServer control utility reference
Server control utility reference
 
Les 09 diag
Les 09 diagLes 09 diag
Les 09 diag
 
Les 18 space
Les 18 spaceLes 18 space
Les 18 space
 
Les 04 config_bu
Les 04 config_buLes 04 config_bu
Les 04 config_bu
 
Les 10 Tune Rman
Les 10 Tune RmanLes 10 Tune Rman
Les 10 Tune Rman
 
Les 19 space_db
Les 19 space_dbLes 19 space_db
Les 19 space_db
 
Les 13 memory
Les 13 memoryLes 13 memory
Les 13 memory
 
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
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
 
Oracle flashback
Oracle flashbackOracle flashback
Oracle flashback
 

Similar to 6048618 cloning-procedure-of-r12-single-tier

Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1Mmusi Dithotse
 
R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01zeesniper
 
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...Symantec
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?vasuballa
 
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONAHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONZahid02
 
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
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradationinfluxbob
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26zeesniper
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migrationMlx Le
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Oracle Database Backup Cloud Service
Oracle Database Backup Cloud ServiceOracle Database Backup Cloud Service
Oracle Database Backup Cloud ServiceMarketingArrowECS_CZ
 
Microsoft Windows Server AppFabric
Microsoft Windows Server AppFabricMicrosoft Windows Server AppFabric
Microsoft Windows Server AppFabricMark Ginnebaugh
 

Similar to 6048618 cloning-procedure-of-r12-single-tier (20)

Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1
 
R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01R12 d49656 gc10-apps dba 01
R12 d49656 gc10-apps dba 01
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
 
Ae backup
Ae backupAe backup
Ae backup
 
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONAHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
 
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
 
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
 
Oracle applications 11i dba faq
Oracle applications 11i dba faqOracle applications 11i dba faq
Oracle applications 11i dba faq
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
Oracle Database Backup Cloud Service
Oracle Database Backup Cloud ServiceOracle Database Backup Cloud Service
Oracle Database Backup Cloud Service
 
Microsoft Windows Server AppFabric
Microsoft Windows Server AppFabricMicrosoft Windows Server AppFabric
Microsoft Windows Server AppFabric
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

6048618 cloning-procedure-of-r12-single-tier

  • 1. 1. HOW TO USE THIS MANUAL This user manual contains a Table of Contents. Each chapter of this table of contents contains information and as well as step-by-step instructions on how to perform tasks. BACKUP PROCEDURES Page 1 of 26
  • 2. 2. PSM BACKUP PROCEDURE 1. Cloned Backup Server – Copy of Production Server Database and Application It is recommended that a Production Server must be cloned on Backup machine that in case of disaster, the backup server can be used as a production server until the unavailability of actual production server. 2. Cloning Procedure Production Server cloning steps are:  Production Server(PS) Database and Application Shutdown (see Annexure-A) (DB and Application Cloning Detail Steps)  Apply pre-requisite patches and scripts on source machine (Production Server) recommended by Annexure-A (DB and Application Cloning Detail Steps)  Copy folders in a sequence recommended by Annexure-A to target machine i.e. Backup Server (BPS)  Apply Cloning scripts as mentioned in Annexure-A(DB and Application Cloning Detail Steps)  Apply post cloning steps mentioned in Annexure-A (DB and Application Cloning Detail Steps) Further, the following are the routine backup procedures: It is recommended and suggested by Sidat Hyder Morshed Associates that the following backup plan should be implemented to backing up the production server and to avoid data loss. 3. Daily Full Backup Procedure  Daily Full Cold Backup should be taken on the backup machine (BPS) using local intranet or Media (CD, DVD, TAPE) or any of the networks drive/part mounted on backup machine (BPS)  Backup should be Restore on daily basis on Backup Machine (BPS)  After Restoring Backup, the Application and Database of backup server must be tested  See Annexure-B( Updating of Backup Server Daily ) 4. Monthly Full Backup Procedure  Monthly Full Cold Backup should be taken on the backup machine (BPS) using local intranet or Media (CD,DVD,TAPE) or any of the networks drive/part mounted on backup machine  Monthly Backup should be Restore on monthly basis on Backup Machine (BPS). When any changes in apps means apply any patches  After Restoring Backup, the Application and Database of backup server must be tested  See Annexure-C ( Updating of Backup Server Monthly ) 5. Retention Policy for Database  Last day of the Week Backup (Friday) and retain four weak backup or as per PSM policy.  Last Friday of the Month for Monthly Backup and retain 12 month or as per PSM policy.  Yearly backup on June 30th and retain it for three years or as per PSM policy.  * PS = Production Server BACKUP PROCEDURES Page 2 of 26
  • 3. * BPS = Backup Production Server BACKUP PROCEDURES Page 3 of 26
  • 4. 3. ANNEXURE- A 1. DB and Application Cloning Detail Steps login as: oracle oracle@192.175.175.98's password: Last login: Thu Jul 3 12:53:19 2008 -bash: [$USER=oracle]: command not found Navigate to this path [oracle@prod ~]$ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/scripts/PROD_prod [oracle@prod PROD_prod]$ ls adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql [oracle@prod PROD_prod]$ perl adpreclone.pl dbTier Enter the APPS user password: [oracle@prod PROD_prod]$ pwd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/scripts/PROD_prod [oracle@prod PROD_prod]$ After completion navigate to this path [oracle@prod scripts]$ cd /u01/oracle/PROD/inst/apps/PROD_prod/admin/scripts And run this script [oracle@prod scripts]$ perl adpreclone.pl appsTier Running Rapid Clone with command... Thu Jul 3 21:52:42 2008 perl /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/bin/adclone.pl java=/u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk mode=stage stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctx=/u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml showProgress APPS Password : Beginning application tier Stage - Thu Jul 3 21:52:42 2008 /u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/PROD/apps/tech_st/10.1.3/lib/xmlparserv2.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/jdbc/lib/ ojdbc14.jar:/u01/oracle/PROD/apps/apps_st/comn/java/classes:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/j lib/OraInstaller.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/jlib/ewt3.jar:/u01/oracle/PROD/apps/tech_st /10.1.3/oui/jlib/share.jar:/u01/oracle/PROD/apps/tech_st/10.1.3/oui/jlib/srvm.jar:/u01/oracle/PROD/apps/te ch_st/10.1.3/jlib/ojmisc.jar oracle.apps.ad.clone.StageAppsTier -e BACKUP PROCEDURES Page 4 of 26
  • 5. /u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml -stage /u01/oracle/PROD/apps/apps_st/comn/clone -tmp /tmp -method CUSTOM -showProgress Log file located at /u01/oracle/PROD/inst/apps/PROD_prod/admin/log/StageAppsTier_07032152.log / 0% completed Completed Stage... Thu Jul 3 21:53:02 2008 Completed perl /u01/oracle/PROD/apps/apps_st/appl/ad/12.0.0/bin/adclone.pl java=/u01/oracle/PROD/apps/tech_st/10.1.3/appsutil/jdk mode=stage stage=/u01/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctx=/u01/oracle/PROD/inst/apps/PROD_prod/appl/admin/PROD_prod.xml showProgress ... Thu Jul 3 21:53:02 2008 After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./ lsnrstop.sh and . ./dbstop.sh) [oracle@prod scripts]$ ./adstpall.sh apps/apps Then go to another BPS machine and first make folder and name them by these convention $ cd /u01 $ mkdir oracle $ cd /oracle $ mkdir PROD $ cd /PROD $ mkdir apps $ cd /apps $ mkdir /apps_st After making directories then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/appl/ /u01/oracle/PROD/apps/apps_st/ It asks for password give the password of Production Server which is “production” Every time when you copy it ask for password so give this password and it starts the copy from source to destination. After completing copy, run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/comn/ /u01/oracle/PROD/apps/apps_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then make directory by this command $ mkdir tech_st (in the apps directory) Then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.2/ /u01/oracle/PROD/apps/tech_st/ BACKUP PROCEDURES Page 5 of 26
  • 6. It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.3/ /u01/oracle/PROD/apps/tech_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing this go to PROD directory and make directory “db” $ mkdir db $ mkdir apps_st After making apps_st directory then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then make directory by this command $ mkdir tech_st (in the db directory) Then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/inst/ /u01/oracle/PROD/apps/apps_st/appl/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination .When it is completed then copy of production is completed and started first database and then application by running the scripts. After Copying all these items to BPS machine then start the configuration of cloning. Which is as under? Navigate to this path [oracle@backup ~]$ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin And run this script by this command BACKUP PROCEDURES Page 6 of 26
  • 7. Step: 1) $ perl adcfgclone.pl dbTier BACKUP PROCEDURES Page 7 of 26
  • 8. Step: 2) Give the parameters means target host name, system database name, directory for source home BACKUP PROCEDURES Page 8 of 26
  • 9. Step: 3) Give path of utl_file_directory , # of Data_top , RDBMS Oracle Home directory , using same port values of source BACKUP PROCEDURES Page 9 of 26
  • 10. Step :4) After giving all these parameters then script is running and after completion database and listener processes are automatically started After Completing the configuration of Database then started the application configuration. Take the new terminal and navigate to this path by this command BACKUP PROCEDURES Page 10 of 26
  • 11. Step: 5)[oracle@backup ~]$ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/ and run the script $ perl adcfgclone.pl appsTier BACKUP PROCEDURES Page 11 of 26
  • 12. Step: 6) Give the parameters of Hostname; database SID, Server Node which is as follows BACKUP PROCEDURES Page 12 of 26
  • 13. Step: 7) Give another parameters BACKUP PROCEDURES Page 13 of 26
  • 14. Step: 8) give these last parameters After giving all these parameters the script is running automatically and after completion of application configuration the application is started automatically. Here cloning is completed and cloned backup server is providing for further procedure. BACKUP PROCEDURES Page 14 of 26
  • 15. 4. ANNEXURE- B 1. Updating of Backup Server Daily First make the copy of /u01/oracle/PROD/db to another location in backup (BPS) server. By this procedure Open Computer from desktop and open filesystemu01oraclePRODdb right click the db and click “copy file” and paste into u02.When it is completed then remove the same name folders from backup server by this procedure Open Computer from desktop and open filesystemu01oraclePRODdbapps_st and remove “data” folder after this Open Computer from desktop and open filesystemu01oraclePRODdbtech_st and remove the “10.2.0” folder. 2. Updating of Database Go to production server. Login in production server as oracle user login as: oracle oracle@192.175.175.98's password: Last login: Thu Jul 3 12:53:19 2008 -bash: [$USER=oracle]: command not found [oracle@prod ~]$ cd $ORACLE_HOME [oracle@prod 10.2.0]$ cd appsutil [oracle@prod appsutil]$ cd scripts/ [oracle@prod scripts]$ ls PROD_prod [oracle@prod scripts]$ cd PROD_prod/ [oracle@prod PROD_prod]$ ls adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql [oracle@prod PROD_prod]$ perl adpreclone.pl dbTier Enter the APPS user password: After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./ lsnrstop.sh and . ./dbstop.sh) When it is completed, go to backup (BPS) server and run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. When it is completed then run $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/ BACKUP PROCEDURES Page 15 of 26
  • 16. It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. Make sure that in copy no files are missing even a single file. When copy is completed then navigate to this path $ cd /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/clone/bin and Step: 1) run the script by this command ($ perl adcfgclone.pl dbTier) BACKUP PROCEDURES Page 16 of 26
  • 17. Step: 2) Give the parameters means target host name, system database name, directory for source home BACKUP PROCEDURES Page 17 of 26
  • 18. Step: 3) Give path of utl_file_directory , # of Data_top , RDBMS Oracle Home directory , using same port values of source BACKUP PROCEDURES Page 18 of 26
  • 19. Step :4) After giving all these parameters then script is running and after completion database and listener processes are automatically started BACKUP PROCEDURES Page 19 of 26
  • 20. Step: 5) after completing the configuration of Database then started the application configuration. Take the new terminal and navigate to $ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/ and run the script $ perl adcfgclone.pl appsTier /u01/oracle/PROD/apps/apps_st/appl/inst/apps/PROD_backup/appl/admin/PROD_backup.xml After completing, the application start automatically and you test both application and database. Here updating of database is completed. BACKUP PROCEDURES Page 20 of 26
  • 21. 5. ANNEXURE- C 1. Updating of Backup Server Monthly 2. Updating of Application If you apply any patch on production server or on month end then you also updates the application in backup server by following procedure First make copy of “apps and db” in backup server to another location in backup server. By this procedure Open Computer from desktop and open filesystemu01oraclePRODdb right click the db and click “copy file” and paste into u02.When it is completed then make sure the same name folders are not present in backup server means “data” folder in “apps_st” directory and “10.2.0” folder in “tech_st” directory should remove. After this then Open computer form desktop and open filesystemu01oraclePRODapps right click the apps and click “copy file” and paste into u02. When it is completed then make sure the same name folders are not present in backup server means go to this path Open computer form desktop and open filesystemu01oraclePRODapps/apps_st/ In this “appl , comn” folder should remove, after this Open computer form desktop and open filesystemu01oraclePRODapps/tech_st/ And in this “10.1.2, 10.1.3” should remove. After Completion Go to Production Server and navigate to [oracle@prod ~]$ cd $ORACLE_HOME [oracle@prod 10.2.0]$ cd appsutil [oracle@prod appsutil]$ cd scripts/ [oracle@prod scripts]$ ls PROD_prod [oracle@prod scripts]$ cd PROD_prod/ [oracle@prod PROD_prod]$ ls adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql [oracle@prod PROD_prod]$ perl adpreclone.pl dbTier Enter the APPS user password: When it is completed then navigates to this path [oracle@prod scripts]$ cd /u01/oracle/PROD/inst/apps/PROD_prod/admin/scripts And run this script BACKUP PROCEDURES Page 21 of 26
  • 22. [oracle@prod scripts]$ perl adpreclone.pl appsTier After this closing the application and database by this command or by script ($. ./appstop.sh ,. ./ lsnrstop.sh and . ./dbstop.sh) Then go to backup server and run this command. Make sure that in copy no files are missing even a single file $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/apps_st/data/ /u01/oracle/PROD/db/apps_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. When it is completed then run $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/db/tech_st/10.2.0/ /u01/oracle/PROD/db/tech_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completion then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/appl/ /u01/oracle/PROD/apps/apps_st/ Then it asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/apps_st/comn/ /u01/oracle/PROD/apps/apps_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.2/ /u01/oracle/PROD/apps/tech_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completing copy then run this command $ scp –r oracle@192.175.175.98:/u01/oracle/PROD/apps/tech_st/10.1.3/ /u01/oracle/PROD/apps/tech_st/ It asks for password give the password of Production Server which is “production” and it starts the copy from source to destination. After completion then update the database by the procedure of “ANNEXURE- B” from Step: 1 to Step: 4. After Completing the configuration of Database then started the application configuration. Take the new terminal and navigate to this path [oracle@backup ~]$ cd /u01/oracle/PROD/apps/apps_st/comn/clone/bin/ And run this script BACKUP PROCEDURES Page 22 of 26
  • 23. [oracle@backup bin]$ perl adcfgclone.pl appsTier BACKUP PROCEDURES Page 23 of 26
  • 24. Give the parameters of Hostname; database SID, Server Node which is as follows BACKUP PROCEDURES Page 24 of 26
  • 25. Give other parameters BACKUP PROCEDURES Page 25 of 26
  • 26. Give these last parameters After giving all these parameters the script is running automatically and after completion of application configuration the application is started automatically BACKUP PROCEDURES Page 26 of 26