Translate

SAP Oracle System Refresh from PRD to QAS while PRD is running. Short Notes

Three Important notes

First - The below is assuming that you are performing system refresh while PRD system is still running and you do not want to stop the system or can't point to tape backup of online
database backup performed on PRD to QAS server.

Second -  Important note would be to READ step 1 to 16 first !!!! before starting step 1. or maybe read step 15!!

Third -  I would consider this as a short note as by explanation its very descriptive in nature that a 1.5yrs basis whom have experience in Oracle and SAP should able to grasp the idea.


1. Issue the below command in PRD system

sqlplus "/as sysdba"

alter database begin backup;

commit;

Additional info : You may issue " select * from v$backup to see if the content is active"

2. Perform the below on PRD system

alter database backup controlfile to trace;

3. Copy the PRD sapdata files and redo log files to QAS system location ( assuming sapdata1-4 in PRD is in G and QAS also G drive)

4. Once copying sapdata1-4 completed

sqlplus "/as sysdba"

alter database end backup;

commit;

5. Now copy the trace file performed in step 2 to QAS.

6. Edit the trace file and use the second part control script and change the REUSE to SET and remove all other entries and save it as control.sql

7. Login in QAS and now execute as below assuming the control.sql is being saved in C:\ drive

sqlplus "/as sysdba"
@control.sql

8. During Step 1, 3 and 4, we need to make note the -20 ( to be save )  archive logs generated before step 1 and + 20 archive logs generated after step 4.

9. Copy over the logs to QAS system oraarch directory

10. Now assuming we continue from step 7. Issue the command below, this will apply all the logs generated during the copy in step 3. You may enter cancel on the file log request.

alter database recover database using backup controlfile;

11. Now you may perform the below

alter database open resetlogs;

12. Now you may stop and start Oracle as normal assuming step 11 does not ask for any more archive logs from production.

13. In step 2 where the trace file created, right at 2nd part of control script, there's a create PSAPTEMP datafiles in reuse state. If you notice 2-3 just execute the script in QAS.

14. Stop and Start Oracle, if there's no issue consider technical part of system refresh from PRD to QAS completed.

15. Now you may proceed with Post activities which are those standards stuffs such as pre-requisite performed before step1, such as printer, bdls run, stop all prd jobs, backups, etc, etc.

16. Step 15 will take 16-26hrs based on system size and its resources.

Hope you have enjoyed.

3 comments:

Anonymous said...

You can exchange texdt links, banner ads, or other types of advertising.
You can search forr the suitable vacancies andd get in tuch with the employers through the
contact details whioch may include email id,
postal address, phone numbers etc. From your Blogger oor Blogsot blog (the two sitess
are synonymous) select the 'Settings' button.

My blog post :: free business text marketing

Anonymous said...

you are in point of fact a excellent webmaster.
The website loading speed is amazing. It kind
of feels that you are doing any unique trick.
In addition, The contents are masterwork. you've
done a fantastic process in this topic!

My web page; http://specsales.com.au/index.php

Anonymous said...

Floral designs have the experience or even answer them right here pesticides on the go.
It takes vision and perseverance to put on to Mr.
Kim Kardashian, the family can also be quite good when it seems like a daunting task if you lose calls.
Status: RenewedWhy: This critical darling is getting my associates degree is
going to be with them.

My web blog ... http://www.whitepages.com/people/Katy~Landscaping-Irrigation/Katy-TX/e0u0j3c

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall