Vous êtes sur la page 1sur 8

11/5/2017 SystemCopyGuide|BASISTutorial|STechies

BASIS DownloadApp
TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES
Feedback Write
Searche.g.SAPABAP NewUser? Register Login

Interview Courses& Transaction SAPCareer


Tutorials Forum Books Jobs SampleResume Articles
Questions Institutes Codes Guidance

Tutorials
HomeBASISBASISTutorial LoginToFollow QuickGuidetoPatchingyourSAP
SystemCopyGuide System
R/3Systemcopy
By:saket|22Jun20085:19pm| 3Comments

14 0 0 0 Like
Homogenioussystemcopydoc
(steps).
SYSTEMCOPY

Forums
HomogeneousSystemCopyusing HeterogeneousSystemCopyvs.
Online/OfflineDatabaseBackup FullBackupRestore
ReasonsforCopyingaSAPSystem PartialSAPSystem
SAP recommends that you make a system heterogeneoustransfertorCopy
copy in order to build a test, demo, training or HOMOGENeousSystemCopy
standby system (Oracle and Informix: standby BestPractices/Workaround
systems cannot be created with a system SystemRefreshandSystemCopy
copy). You should perform upgrades in a test HASYSTEMINSTALLATION
systemfirst.Thiswayyoucanidentifycustomer GUIDE
specific problems which might result from
modifications. Thus, we can sort the general
needsforasystemcopyasfollow:

Tocreateanewtrainingsystemforend
userorprojectteameducation

TocreateaDEMOsystem

TocreateaTestsystemforupgradeorotherpurposes.

Torecoverasystemonanothermachinewiththesameplatformafteracrash.

Tocopylargeclients.Ifaclientverylargetoexport/import,itisbettertodoasystemcopyrather
thanclienttransport.

If a system copy takes place between systems with same platform ( operating system and database
system),wecallthisHOMOGENEOUSSYSTEMCOPY.

If The system copy takes place between systems with different platforms ( at least one of the
componentmustbedifferent,OSorRDBMS),wecallthisHETEROGENEOUSSYSTEMCOPY.

There3waysofaHomogeneousSystemCopyinR/3Systems.

HomogeneousSystemCopyusingOnline/OfflineDatabaseBackup.

HomogeneousSystemCopyusingR3LOADProcedure.

HomogeneousSystemCopyusingR3COPYProcedure.

The procedure described tested on AIX 4.3.3/Oracle 8.1.7, AIX 5.1/Oracle 8.1.7, AIX 5.1/Oracle 9.2.0
andWin2K/Oracle8.1.7platforms.

The command reference given in this guide is taken from a homogeneous system copy done on AIX
4.3.3/Oracle8.1.7platform.DifferencesofotherplatformssuchasWindowswillbeshowninthesame
sections.

HomogeneousSystemCopyusingOnline/OfflineDatabaseBackup

This guide is prepared for a Homogeneous System Copy using Online/Offline Database
Backup.StepsforaHomogeneoussystemcopyarebrieflyasbelow:

PreparationsonTargetSystem. ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 1/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

RestoreOnline/OfflineBackupofSourceSystemontoTargetSystem.
BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES
CreateCONTROLFILEcreationscriptonSourceSystem.

ModificationofCONTROLFILEscriptandcreationofCONTROLFILEsofTargetSystem.

RecoveryofOracleDatabaseonTargetSystem.

CompletionofSystemCopy
$149 $536

Prerequisites
Followingconditionsmustbeprovidedtocopyasystem:

$249 $249
BothSourceandTargetSystemsmusthaveSameOperatingSystemandDatabaseSystem.Also
Patchlevelsmustbesame.
Youhavesufficientfreespaceforsapdatadirectoriesontargetsystem.

ForWindowssystems,youhavetocreatealldriveswheredatafilesresidesonsourcesystem.
$416 $249
Usemostcurrentdatabasebackupinordertoshortendatabasecreationtime.
Procedure $249 $249

1.DataandLogdirectoriesontargetsystemmustbecleanedbeforerestoringsourcedatabase.Here
belowarethecommandstocleandirectories.Beforethis,youhavetostopallSAPandOracle
processes.
$149 $599
#suadm#stopsapall#exit#suora#lsnrctlstop#exit#cd/oracle//#rmrfsapdata?/*#rmrf
origlog?/*#rmrfmirrlog?#rmrfsapreorg/*#rmrfsaparch/*#rmrfsaptrace/usertrace/*#rmrf
saptrace/background/*#rmrfsapbackup/*#rmrfsapcheck/*

$549 $358

Youhavetoresizethefollowingfilesystemsbeforerestoreprocess.Takeintoaccountsizesof
sourcesystem.

/oracle//sapdata1/oracle//sapdata2/oracle//sapdata3/oracle//sapdata4/oracle//sapdata5
/oracle//sapdata6/oracle//saparch

Aftercleaningnecessaryfilesystems/directories,youhavetorestoremostcurrentdatabasebackup
totargetsystem.Forthis,findthedetailbackuplog(e.g.bdkxxsrh.anf)forthatbackuponsource
system.Youcandeterminethisfromback.logsummarybackuplogfileorusingDB12.

Books
SAPSYSTEMMEASUREMENT
DB12BackupLogs GUIDE
SAPAdministrationPractical
Guide
SystemAdministrator'sGuidefor
Windows
USMMSAPSYSTEM
MEASUREMENTGUIDE
SystemCopyGuideforSAP
ASKUS!
SystemsBasedonSAP
14 0 0 0 Like Getsolutionsfromourexperts!
NetWeaver7.3
https://www.stechies.com/systemcopyguides/ 2/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES


Jobs
OpeningforSr.SAPBasisConsultant@
Bangalore(Immediate
Exp:615years|City:Bangalore

SAPwithPortuguese&EnglishLangaugeSupport
|36Years
Exp:36years|City:Hyderabad

SAPBasisConsultant|38yrs|Mumbai|
DynamixBalwaGr
Exp:38years|City:Mumbai
back.logFile
SAPBasisConsultant|611yrs|Pune|Xoriant
Solutions
Copythisdetailedbackuplogfileinto/oracle//sapbackupdirectoryontargetsystem.UseBRRESTORE
command below to restore the source database on target system. You can also restore datafiles and
Exp:611years|City:Pune

SAPBasisConsultant|35Years|Pune|TATA
online redolog files (if you are using offline backup) using backup tools such as BACKFM tool of IBM
TECHNOLOGIE
TSM.
Exp:35years|City:Pune

3.a.Mountthenecessarybackupvolumeontargetsystem.

3.b.Usethefollowingcommandtobeginrestore:

#suora#cdsapbackup#brrestoremfullbc(det_log_file=forexamplebdkxxsrh.anf)

At the first step of restore, system will recognize that the Oracle SID is different on target machine
(wheretherestorecommandexecuted)andinbackup.Also,Oracle_Homeparametersinbackupand
incurrentsystemwillbedifferentandrecognizedbybrrestore.Buttherestorecommandwillrestorethe
datafilestomatchcurrentsystemsfilesystem.Hereisasamplelogofarestore.

Allthedatafilesandonlineredologfiles(onlyforOfflineDBBackup)mustbesuccessfullyrestored.

Atthisstep,thereare3probabilitythatmustbetakeintoaccountforthefollowingsteps.

Youareusinganonlinedatabasebackupofsourcesystemtocreatetargetsystem.

Youhavetofindandputallarchivefilescreatedduringonlinebackupintotargetsystemsarchive
directorytobeabletorecoverdatabase.Youcanalsoapplyallthearchivescreatedfromtheonline
backupstarttimetolatestavailable.

YouareusinganofflinedatabasebackupofsourcesystemwhichisrunninginARCHIVELOGmodeto
createtargetsystem.

Youmayfindthearchivefilescreatedafterofflinebackuponsourcesystemtomakedatabasecurrent
ontargetsystemviaapplyingduringrecovery. ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 3/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

YouareusinganofflinedatabasebackupofsourcesystemwhichisrunninginNOARCHIVELOGmode
BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES
tocreatetargetsystem.

Youdon'thaveanyarchivefilescreatedonsourcesystemsoyoudon'tneedanything.

Thosedifferenceswillbedetailedinrecoverystep.

4.Afterrestoringdatafilesandredologfiles,ascriptsmustbepreparedonsourcesystemtocreate
CONTROLFILEoftargetsystem.Forthisyouhave2option.

4.a.YoucanuseR3COPYprogramwhichisunder"/kernel/UNIX/COMMON"directoryofKernelCD.
ThisprogramcanbeusedonlyonUNIXsystems.ForWindowssystems,"4.b"optionmustbeused.
Runthisprogrambyorauseronsourcesystem.Aftersomeconfirmations,executestep"(a)Source
system:GeneratingthescriptCONTROL.SQL".ThiswillcreateascriptnamedCONTROL.SQLunder
/oracle//sapreorgdirectory.Copythisscriptintotargetsystem(anydirectory).Thisfileisreadyfor
executionanddoesn'trequireanymodification.

4.b.SVRMGRLorSQLPLUScancreateascrpittocreatecontrolfileusingcurrentCONTROLFILE
content.LogintosourcesystemasorauserandexecutethefollowingSVRMGRL/SQLPLUS
commands.Tobeabletoexecutefollowingcommands,databasemustbeatleastinMOUNTmode..

#svrmgrlSVRMGR>connectinternalSVRMGR>alterdatabasebackupcontrolfiletotraceSVRMGR>
exit

Asaresultofthiscommand,atracefile(e.g.ora_54764_hvd.trc)willbecreatedunder
/oracle//saptace/usertracedirectory.Filecanbedeterminedbysortingaccordingto
modification/creationdates(UNIX:#lsltr).Mostcurrentfilemustbecheched.

YouhavetoeditthisfiletobeabletouseforCONTROLFILEcreationontargetsystem.

RenamefilenameasCONTROL.SQL

OpenfiletoeditusingVI(UNIX)orNOTEPAD(WIN).

Removealllinesbefore"STARTUPMOUNT"line.Deleteallcommented"#"lines.Alsoremoveall
linesafterCHARACTERSETWE8DEC"line.

ChangeallSourceSID'stoTargetSIDviafollowingcommands.

UNIX(VI)::%s///gWIN(NOTEPAD):CTRL+H

Changetheline

CREATECONTROLFILEREUSEDATABASESSIDNORESETLOGSARCHIVELOG

asfollow

CREATECONTROLFILEREUSESETDATABASETSIDRESETLOGSARCHIVELOG

Ifyouwanttochangedatafileorredologfiledestinations,firstmovethefilesontargetdestinationat
OSlevel,theneditCONTROL.SQLfilefornewdestinations.

ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 4/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

5.AfterCONTROL.SQLscriptpreparation,followingcommandsmustberuntocreateCONTROLFILE
BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES
oftargetsystem:

#suora

#svrmgrlSVRMGR>connectinternalSVRMGR>@//control.sql

Youhavetoguaranteethesuccessfulcompletionofthiscommandasfollow:

SVRMGR>@control.sqlStatementprocessed.SVRMGR>

6.DatabasewillbeininconsistentstatusaftercreationofCONTROLFILE.Thiscanbeviewedbytrying
toopenthedatabase.

SVRMGR>alterdatabaseopenalterdatabaseopen*ORA01589:mustuseRESETLOGSor
NORESETLOGSoptionfordatabaseopenSVRMGR>alterdatabaseopenresetlogsalterdatabase
openresetlogs*ORA01195:onlinebackupoffile1needsmorerecoverytobeconsistentORA01110:

datafile1:'/oracle//sapdata1/system_1/system.data1'

Atthisstep,arecoverymustbemadeinordertobeabletousethedatabase.

7.3typeofrecoverycanbemade,accordingtoyourstatusmentionedattheendofSTEP3.allthe
recoverytypesmustbeusedby"USINGBACKUPCONTROLFILE"asCONTROLFILEiscreated
manually.

7.a.IfyoursourcesystemisrunniginNOARCHIVELOGmode,thenyouhavetousethefollowing
commandtorecoverdatabase.

SVRMGR>recoverdatabaseusingbackupcontrolfileuntilcancel

7.b.Ifyourestoredanonlinebackupontargetsystemandputallthearchivefilescreatedsinceonline
backupstarttime,usethefollowingcommands.

SVRMGR>recoverdatabaseusingbackupcontrolfile

Afterexecutionofthiscommand,Oraclewillaskforarchivefilestobeconsistent.Asarchivefiles
containsonlydatabasechangescommands,youwillusesourcesystemarchivefileonnewsystems
databaserecovery.Copyallarchivefilescreatedsinceonlinebackuponsourcesystemtoarchive
directoryoftargetsystem.Archivefilenamesaredifferentfromaskedduringrecoverysession.Youcan
changearchivefilenamesfortargetsystemviathefollowingscript.

cd/oracle//saparchforiin`ls|grep`do

file_name=`echo$i|cutdDf2`mv$i${file_name}done

Alternativelyyoucanenterfilenamesmanuallyasrequiredbyrecoverysessionasfollow:

SVRMGR>recoverdatabaseusingbackupcontrolfileORA00279:change44138924generatedat
03/26/200300:00:24neededforthread1ORA00289:suggestion:
/oracle/HVS/saparch/HVSarch1_22746.dbf

ORA00280:change44138924forthread1isinsequence#22746Specifylog:{=suggested|filename
|AUTO|CANCEL}/oracle/HVS/saparch/HVDarch1_22746.dbfLogapplied.

Afterapplicationofallnecessaryarchives(atleastallthearchivescreatedduringonlinebackupmust
beapplied.Archivesfromthispointcanbeappliedtomakedatabasecurrent),nextrequestforarchive
iscancelledviaCANCELcommand.

ORA00279:change44164157generatedat03/26/200301:58:29neededforthread1ORA00289:
suggestion:/oracle/HVS/saparch/HVSarch1_22754.dbfORA00280:change44164157forthread1is
insequence#22754Specifylog:{=suggested|filename|AUTO|CANCEL}CANCELMediarecovery
cancelled.SVRMGR>

Butrecoverysessionmustbestartedwiththefollowingcommandandcancelledagaintobaableto
startdatabase.

SVRMGR>recoverdatabaseusingbackupcontrolfileuntilcancelORA00279:change44164157
generatedat03/26/200301:58:29neededforthread1ORA00289:suggestion:
/oracle/HVS/saparch/HVSarch1_22754.dbfORA00280:change44164157forthread1isinsequence
#22754Specifylog:{=suggested|filename|AUTO|CANCEL}CANCELMediarecoverycancelled. ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!
SVRMGR>
https://www.stechies.com/systemcopyguides/ 5/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

BASIS TUTORIAL FORUM BOOK


Otherwisefollowingerrorwillariseduringdatabaseopening. INTERVIEWQUESTIONS TRANSACTIONCODES

SVRMGR>alterdatabaseopenresetlogsalterdatabaseopenresetlogs*ORA01113:file1needs
mediarecoveryORA01110:datafile1:'/oracle/HVS/sapdata1/system_1/system.data1'

Toopendatabase,usethefollowingcommand:

SVRMGR>alterdatabaseopenresetlogsStatementprocessed.SVRMGR>

7.c.Ifyourestoredanofflinebackupontargetsystem,youcanrecoverdatabasetothetimeofbackup
completedoryoucanrecoverdatabasetothemostcurrentstatususingarchivefiles.Thearchive
applicationandstatupofdatabaseissameasanonlinebackedupdatabasecopyin"7.b".
8.afteropeningdatabase,LISTENERprocessmustbestarted.

#suora#lsnrctlstart



9.ToopenSAPsystem,usethefollowingcommands.

#suadm#startsap

AsyourHardwareKeyisnotchanged,youdon'thavetogetadditionalLicenseKeyfromSAPNET.
Youcanuseprevioussystems(ontargetsystem,ifSIDisnotchanged)Licenseinnewsystem
createdontargetsystem.

LogontotheSAPR/3SystemandgotoTCODESE06.Select"DatabaseCopyorMigration"and
execute"PostInstallationProcessing".

SE06

ChangealloftheSourceSystemObjectstoTargetSystemObjectsasasked.

DeleteoldTMSconfigurationandmakenewconfigurationforTMSviaSTMSTCODE.

Afterallofabovesteps,youhavecompletedaSystemCopyusingOnline/OfflineDatabaseBackup.

YoucanalsogetinformationregardingSAPBASIS

ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 6/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES

$249 $909 $536 $249 $249

$249 $249 $249 $249 $1,299



$249 $314 $549 $499 $249
Comments

Guest||17May20109:08am

Deargurus,PleasetranslateitforUnixtoo.Whohassuchexperience.RegardsBhajan

GS||14May20112:15pm

HelloGurus,

IneedtoperformaHomogeneoussystemcopy.Actuallymyrequirementis,Ineedto
upgradewindowsserver2000toWin2003serveronnewhardware.MySIDandinstance
numberwillbesame.OnlyhardwareandOperatingsystemversionsaregettingchanged.

SourceSystem

SAPversion:SAPR34.7extensionset1.10(WAS6.20)
Oracle10.2version
OS:Windows2000server

TargetSystem

SAPversion:SAPR34.7extensionset1.10
Oracle10.2version
OS:Windows2003server

CanIfollowabovegivenprocedurefororacle10gversiononwindows2003?
CaniinstallnewSAPsystembased(systemcopymethod)onSAPR34.7extset1.10
(WAS6.20)onwin2003?
Canyouhelpmeinfindingsapsoftware.CanyouprovidemethepathfromIcan
downloadsoftware?
Canyoutellmewhatallsoftwareineedtoperformthissystemcopy?
Igotconfusedaftergoingthroughinstallationguide

Thanks
gs

nishu||08Jan20149:10am

canudescribethewholeprocedureofoffline/onlineredologfilebackup?

SignupforSTechies
ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 7/8
11/5/2017 SystemCopyGuide|BASISTutorial|STechies

AddyourComment...
BASIS TUTORIAL FORUM BOOK INTERVIEWQUESTIONS TRANSACTIONCODES

AddComment

Related

NetWeaver04SystemCopy
YouwanttocopyanNWsystemhomogeneouslyorheterogeneouslyusingR3load.A
heterogeneousdatabasemigrationtoINFORMIXisnotsupported.Thenyoumaygoforthe
followingstepstodo...

QuickGuidetoPatchingyourSAPSystem
Ineedtoupgradeourinternaldemosystemseveryonceinawhile.Now,asIdontunleashmy

BasisskillsoncustomerseverydayItendtoforgethowitsdone.Idecidedtorecordthesteps...

SAPSYSTEMMEASUREMENTGUIDE
1SAPLicenseAudit...................71.1Use.............................71.2
NamedUsers......................81.3Engines...
SystemcopyforBW
Q.IamattemptingtocompleteasystemcopyofBW.WhenItrytogointoRSA1afterwardsIget
theerrormessage,Entryininboundtablealreadyexists.WhatshouldIdotosolvethe...

Adsby Google PDFTutorial GuidePDF Backup&Restore

Home Tutorials Forum Books InterviewQuestions TransactionCodes Jobs Classifieds Articles Announcements
ContactUs TermsOfUse Terms&Conditions SiteMap WeareHiring
AllthesitecontentsareCopyrightwww.stechies.comandthecontentauthors.Allrightsreserved.Allproductnamesaretrademarksoftheirrespective
companies.Thesitewww.stechies.comisinnowayaffiliatedwithSAPAG.Everyeffortismadetoensurethecontentintegrity.Informationusedonthis
siteisatyourownrisk.Thecontentonthissitemaynotbereproducedorredistributedwithouttheexpresswrittenpermissionofwww.stechies.comorthecontent
authors.

>

ASKUS!
14 0 0 0 Like Getsolutionsfromourexperts!

https://www.stechies.com/systemcopyguides/ 8/8

Vous aimerez peut-être aussi