IBM SoftwareColumbus and Detroit IMS User Group© 2013 IBM CorporationIMS Recovery Solution Pack for z/OSHow it works and H...
© 2013 IBM Corporation2AgendaIMS Recovery Solution Pack for z/OS Description IMS Database Recovery Facility for z/OS IMS...
© 2013 IBM Corporation3IMS Recovery Solution PackIMS Tools Knowledge Base Optional report repository for other tools Req...
© 2013 IBM Corporation4IBM IMS Database RecoveryFacility for z/OS
© 2013 IBM Corporation5IMS Database Recovery Facility for z/OSIMS Database Recovery Facility (DRF) allows you tosimultaneo...
© 2013 IBM Corporation6IMS Database Recovery Facility for z/OS Integrated with other IMS Tools products→ IMS High Perform...
© 2013 IBM Corporation7 Database Copy Generation→ Create copies of DB data sets without accessing production copies→ Inpu...
© 2013 IBM Corporation8Database Recovery Facility Architecture Components BPE (base primitive environment) Common syste...
© 2013 IBM Corporation9Database Recovery Facility ArchitectureIMS DRF master address space (MAS)Integrated Auxiliary Uti...
© 2013 IBM Corporation10The IBM IMS Tools Recovery SolutionStart OptionsJCLJCLReconMaster Address SpaceRecovery Sort Subsp...
© 2013 IBM Corporation11IMS DRF Recovery Flow Read log data sets first Read change accumulation datasets concurrentlywit...
© 2013 IBM Corporation12IMS Database Recovery Facility Initiating Database Recovery Facility as a batch job Create and s...
© 2013 IBM Corporation13IMS Database Recovery Facility JCL requirements EXEC PGM=FRXSDR00,PARM=DRF The program that sta...
© 2013 IBM Corporation14IMS Database Recovery Facility Parms BPECFG=nnnnnnnn Points to BPE configuration member DRFMBR...
© 2013 IBM Corporation15IMS Database Recovery Facility JCL//FRXMAST PROC RGN=500M,FRXPROC=TIMSVS.PROCLIB//STEP1 EXEC PGM=F...
© 2013 IBM Corporation16your.PROCLIB(FRXMAS)//*****************************************************************//* SOLUTIO...
© 2013 IBM Corporation17your.PROCLIB(FRXJCLIP)//*****************************************************************//* SOLUT...
© 2013 IBM Corporation18your.PROCLIB(FRXJCLSB)//*****************************************************************//* SOLUT...
© 2013 IBM Corporation19your.PROCLIB(FRXBPECF)#******************************************************************# SOLUTIO...
© 2013 IBM Corporation20your.PROCLIB(FRXDRFZZ)OPTIONSREADNUM(5,30)SORTPARM(NUM(5),HIPRMAX(OPTIMAL),MAINSIZE(30),-ASPREF(AS...
© 2013 IBM Corporation21SYSIN will contain two types of control statements Environmental Default parameters contained in...
© 2013 IBM Corporation22DB Recovery Options Recover to Production Recover to Copy Recover to both Production and Copy...
© 2013 IBM Corporation23IMS Database Recovery Facility//FULL EXEC FRXMASTR//SYSIN DD *READNUM(3,10)SORTPARM(NUM(10),HIPRMA...
© 2013 IBM Corporation24IMS Database Recovery FacilityREADNUM(3,10)  Maximum number of log read tasks that are started in...
© 2013 IBM Corporation25 OUTPUT Processing Control Statements OUTPUT(PRO) Recover to production database Requires the ...
© 2013 IBM Corporation26Database Recovery Facility Output OptionsOUTPUT Processing Control Statement (cont) OUTPUT(ICR) ...
© 2013 IBM Corporation27IMS DRF Control Statements//FULL EXEC FRXMASTR//SYSIN DD *READNUM(3,10)SORTPARM(NUM(10),HIPRMAX(OP...
© 2013 IBM Corporation28Recovery Control StatementsADD DB ( dbname )DBDS ( dbname ddname )AREA ( dbname areaname )DBDSGRP ...
© 2013 IBM Corporation29START command initiates recovery processingSome Keywords Available on Start commandVERIFY – LIST, ...
© 2013 IBM Corporation30Recovery Control StatementsADD DB ( dbname ) DBATRB(DBDSL(mmm),DBDSN(nnn) )The DATRB parameter all...
© 2013 IBM Corporation31DRF Recover to Copy ExampleThe following set of control cards creates a duplicate data base from t...
© 2013 IBM Corporation32DRF Integrated Auxiliary UtilityADD DB(mydbname) PC( {T2CHK(t2len,t2num),DIAG(NO|YES),DUMPFORM(UNF...
© 2013 IBM Corporation33Index Builder and DFSPREC0 KeywordsADD DB(mydbname) IB(BLD_PRIMARY|BLD_SECONDARY,HALDB(BOTH,INDEX,...
© 2013 IBM Corporation34Image Copy KeywordsADD DB(mydbname) IC ( {COMP(N|Y),COMPTRN(routine),DBBUF(nnnn),DSN(name-expressi...
© 2013 IBM Corporation35Database Recovery Facility /DBR or /STA in Batch ModeIssue /DBR DB in Batch Mode Uses the IMS Too...
© 2013 IBM Corporation36Database Recovery Facility - Summary Creation of image copy data sets during the recovery process...
© 2013 IBM Corporation37IBM IMS Database RecoveryFacility Extended Functions forz/OS
© 2013 IBM Corporation38IMS Database Recovery Facility Extended FunctionsEnsures that an IMS database environment is recov...
© 2013 IBM Corporation39DRF/XF – Extended FunctionsRecovery Point Creation (RPCR)– Provides the ability to create recovery...
© 2013 IBM Corporation40DRF/XF – Extended FunctionsRecovery Point Identification (RPID)– Interrogate information in the RE...
© 2013 IBM Corporation41DRF/XF Health Checker Interrogate IMS database information looking for potential problemsrelating...
© 2013 IBM Corporation42DRF/XF – VerifyIdentification and Verification of Recovery Assets– Interrogate information in the ...
© 2013 IBM Corporation43DRF/XF – Recon CleanupRequired for disaster recovery environment– At the disaster recovery site, t...
© 2013 IBM Corporation44DRF/XF – IMS Command InterfaceUtilizes the IMS Tools Online System Interface to provide a batch IM...
© 2013 IBM Corporation45DRF/XF – Extended FunctionsIMS Command InterfaceInputOutput
© 2013 IBM Corporation46IMS High Performance Change Accumulation (HPCA) Runs multiple change accumulation groups in paral...
© 2013 IBM CorporationHPCA - Architecture1. HPCA driver retrieves the control and JCLinformation created during HPCA setup...
© 2013 IBM Corporation48 Raquel Carvallo carvallo@us.ibm.comQuestions
Upcoming SlideShare
Loading in …5
×

Recovery Solution Pack - IMS RUG March 2013 Columbus

450 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
450
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Recovery Solution Pack - IMS RUG March 2013 Columbus

  1. 1. IBM SoftwareColumbus and Detroit IMS User Group© 2013 IBM CorporationIMS Recovery Solution Pack for z/OSHow it works and How to use itRaquel CarvalloIMS Tools – Technical Sales and Supportcarvallo@us.ibm.com
  2. 2. © 2013 IBM Corporation2AgendaIMS Recovery Solution Pack for z/OS Description IMS Database Recovery Facility for z/OS IMS Database Recovery Facility Extended Functions for z/OS IMS High Performance Change Accumulation Utility for z/OS IMS High Performance Image Copy for z/OS IMS Index Builder for z/OS
  3. 3. © 2013 IBM Corporation3IMS Recovery Solution PackIMS Tools Knowledge Base Optional report repository for other tools Required by IMS Database Recovery Facility Extended Functions ISPF interface to access outputIMS Database Recovery Facility Extended Functions Provides functions to help maintain recoverability of databases Generates DRF recovery JCL from Recovery Point ID (RPID)dataset Mostly batch jobs ISPF edit macro in RPID datasetIMS Database Recovery Facility Batch job actually performs recovery
  4. 4. © 2013 IBM Corporation4IBM IMS Database RecoveryFacility for z/OS
  5. 5. © 2013 IBM Corporation5IMS Database Recovery Facility for z/OSIMS Database Recovery Facility (DRF) allows you tosimultaneously recover multiple database data setsand Fast Path areas in an IMS DBCTL or DB/TMenvironment Operational Requirements: Runs as an authorized program in supervisor state IMS DRF recovery assets must be registered withDBRC ie; DBDS, LOGS, CA & IC data sets Refer to the User Guide for these requirements
  6. 6. © 2013 IBM Corporation6IMS Database Recovery Facility for z/OS Integrated with other IMS Tools products→ IMS High Performance Image Copy→ Create new IC of recovered DB→ Create incremental IC of prior IC and logs/CA→ DB not touched→ IMS High Performance Pointer Checker/IMS HP FP Utilities→ Hash check recovered DB→ IMS Index Builder / DFSPREC0→ Rebuild indices instead of recovering→ IMS Library Integrity Utility→ Ensure correct DBD is used in recovery→ One step processing for all utilities instead of one step for each→ Block of data is read once and shared among all utilities
  7. 7. © 2013 IBM Corporation7 Database Copy Generation→ Create copies of DB data sets without accessing production copies→ Input is prior IC + logs / CA→ Copies can be created to any point in time Incremental Image Copy→ Create a new image copy using a prior IC + logs / CA→ Production DB is not accessed→ IC is either batch or concurrent, depending on state of DB→ IC can be created to any point in time→ Requires IMS High Performance Image Copy Allocate/Open Option on START VERIFY→ Logical and physical validation of data set availability prior torunning the actual recovery jobIMS Database Recovery Facility for z/OS
  8. 8. © 2013 IBM Corporation8Database Recovery Facility Architecture Components BPE (base primitive environment) Common system service base upon which providesservices such as tracing, message formatting, parsing,storage management, sub-dispatching, and serialization IMS DRF master address space (MAS) The address space in which the controlling components ofDRF reside and the log and change accumulation datasets are read IMS DRF recovery sort subordinate subspace (RSS) These address spaces sort log and changeaccumulation data and restores image copy data Invoked by MAS
  9. 9. © 2013 IBM Corporation9Database Recovery Facility ArchitectureIMS DRF master address space (MAS)Integrated Auxiliary Utilities (IAU) or Utility Address Space (UASs)IMS High Performance Image Copy to create image copiesIMS Index Builder to rebuild index data setsIMS High Performance Pointer Checker and the IMS HighPerformance Fast Path Utilities to validate database consistencyIMS HALDB DFSPREC0 to rebuild a HALDB Primary Indexdata set and Index List data setIMS Library Integrity Utility to verify that the DBD used for therecovery is the same as the one that was used to create thedatabase (optional)
  10. 10. © 2013 IBM Corporation10The IBM IMS Tools Recovery SolutionStart OptionsJCLJCLReconMaster Address SpaceRecovery Sort SubspacesControl FunctionDBRCLog and CA readLogICDBDSAreaData Set RestoreSortSub ASData Set RestoreSortReportIB/DFSPREC0 Utility Address SpaceIB or DFSPREC0HPPC, DEDB PC HPICIC Build primary and secondary index data sets duringthe recovery process Rebuild post recovery phase Hash check pointer validation runas part of recovery processing Block by block pointer check, notpost processed Produce image copies as part of recovery processing Image copies are registered with DBRC Block by block image copies
  11. 11. © 2013 IBM Corporation11IMS DRF Recovery Flow Read log data sets first Read change accumulation datasets concurrentlywith log data sets Sort recovery required contents of log records Update image copy data with log and changeaccumulation data in a single pass Standard IC changes applied as data is read IC2 data is restored, only updated records are read Index Builder or DFSPREC0 processing is invokedonly after database recovery is complete because theentire database is required in order to rebuild theindexes or ILDSs. This processing cannot occurwhile the individual database data sets are beingrecovered.
  12. 12. © 2013 IBM Corporation12IMS Database Recovery Facility Initiating Database Recovery Facility as a batch job Create and submit JCL JCL will point to Master Address Space (MAS)MAS will invoke RSS and IAUs Specify DRF control statements //SYSIN DD statementIf you use //SYSIN DD * control statements must follow You may also specify //SYSIN DD DSN=data.set.name toindicate control statements are to be read from a sequential fileor PDS member
  13. 13. © 2013 IBM Corporation13IMS Database Recovery Facility JCL requirements EXEC PGM=FRXSDR00,PARM=DRF The program that starts the Main address space PARM=DRF Identifies this program to the BPEsystem service base used by IMS DatabaseRecovery Facility DRF is the only positional parm and must belisted first
  14. 14. © 2013 IBM Corporation14IMS Database Recovery Facility Parms BPECFG=nnnnnnnn Points to BPE configuration member DRFMBR=nn Points to suffix of FRXDRF member containingenvironmental defaults DRFPROC=nnnnnnnn Points to the Recovery Sort Subspace (RSS) Example: PARM=(DRF,BPECFG=FRXBPECF,DRFMBR=ZZ,DRFPROC=FRXJCLSB
  15. 15. © 2013 IBM Corporation15IMS Database Recovery Facility JCL//FRXMAST PROC RGN=500M,FRXPROC=TIMSVS.PROCLIB//STEP1 EXEC PGM=FRXSDR00,  The program that starts the IMS DRFmaster address space// PARM=(DRF,BPECFG=FRXBPECF,  DRF identifies itself to BPE// DRFMBR=ZZ,  Suffix of FRXDRFXX PROCLIB member that containsenvironmental control statements// GSGNAME=,),DRFPROC=FRXJCLSB,  Use this parameter to specify the nameof the procedure used to initiate the DRF Recovery Sort Subspace (RSS)// REGION=&RGN,TIME=1440//STEPLIB DD DSN=&SFRXLOAD,DISP=SHR//IMS DD DSN=&DBDLIB,DISP=SHR
  16. 16. © 2013 IBM Corporation16your.PROCLIB(FRXMAS)//*****************************************************************//* SOLUTION: IMS RECOVERY SOLUTION PACK FOR Z/OS *//* TOOL: IMS DATABASE RECOVERY FACILITY *//* DESC: SAMPLE JCL PROCEDURE FOR EXECUTING THE *//* DRF MASTER ADDRESS SPACE *//* SOURCE: SFRXSAMP(FRXMAS) *//*****************************************************************//FRXMAST PROC RGN=500M,FRXPROC=TIMS.PROCLIB//STEP1 EXEC PGM=FRXSDR00,// PARM=(DRF,BPECFG=FRXBPECF,DRFMBR=ZZ,DRFPROC=FRXJCLSB,// GSGNAME=,),// REGION=&RGN,TIME=1440//STEPLIB DD DSN=&SFRXLOAD,DISP=SHR// DD DSN=&COMPLIB,DISP=SHR// DD DSN=&IMSRES,DISP=SHR
  17. 17. © 2013 IBM Corporation17your.PROCLIB(FRXJCLIP)//*****************************************************************//* SOLUTION: IMS RECOVERY SOLUTION PACK FOR Z/OS *//* TOOL: IMS DATABASE RECOVERY FACILITY *//* DESC: UTILITY ADDRESS SPACE JCL FOR IMS INDEX BUILDER AND *//* THE DFSPREC0 UTILITY. SPECIFIED USING DRFIAX= PARM *//* IT MUST MATCH THE NAME SPECIFIED ON THE *//* "DRFIAX(name)" PARM IN THE DRF JOB. *//* SOURCE: SFRXSAMP(FRXJCLIP) *//* *//*****************************************************************//FRXJCLIP PROC RGN=500M,// BPECFG=FRXBPECF,
  18. 18. © 2013 IBM Corporation18your.PROCLIB(FRXJCLSB)//*****************************************************************//* SOLUTION: IMS RECOVERY SOLUTION PACK FOR Z/OS *//* TOOL: IMS DATABASE RECOVERY FACILITY *//* DESC: SUBORDINATE SORT ADDRESS SPACE PROC. *//* THE NAME OF THIS PROC MUST MATCH THE *//* "DRFPROC(name)" PARM IN THE FRXMAS PROC. *//* SOURCE: SFRXSAMP(FRXJCLSB) *//* *//*****************************************************************//FRXJCLSB PROC RGN=500M,// SFRXLOAD=SPPT.IBMTOOLS.LOADLIB,
  19. 19. © 2013 IBM Corporation19your.PROCLIB(FRXBPECF)#******************************************************************# SOLUTION: IMS RECOVERY SOLUTION PACK FOR Z/OS *# TOOL: IMS DATABASE RECOVERY FACILITY *# DESC: SAMPLE CONFIGURATION FILE FOR BPE *# SOURCE: SFRXSAMP(FRXBPECF) *# *#******************************************************************LANG=ENU /* LANGUAGE FOR MESSAGES *//* (ENU = U.S. ENGLISH) */## DEFINITIONS FOR BPE SYSTEM TRACES#TRCLEV=(STG,HIGH,BPE) /* STORAGE TRACE */
  20. 20. © 2013 IBM Corporation20your.PROCLIB(FRXDRFZZ)OPTIONSREADNUM(5,30)SORTPARM(NUM(5),HIPRMAX(OPTIMAL),MAINSIZE(30),-ASPREF(AS),AVGRLEN(256),FILSZ(210000))SPSIZE(1024)UTILGBL (IBPREF(IB),PRPREF(PR),PCJOBNM(PC))
  21. 21. © 2013 IBM Corporation21SYSIN will contain two types of control statements Environmental Default parameters contained in FRXDRFxx member Statements set in FRXDRFxx override system defaults Parameters in both FRXDRFxx and SYSIN SYSIN overrides value from FRXDRFxx Batch Recovery Control Statements Controls the recovery performed by DRF Must begin with ADD, REMOVE or STARTDRF SYSIN Control Cards
  22. 22. © 2013 IBM Corporation22DB Recovery Options Recover to Production Recover to Copy Recover to both Production and Copy Recover to Image Copy Incremental Image Copy Batch Incremental Image Copy Automatic Delete/Define of Database Data Sets Allocate/Open Data Sets with START VERIFY Issue /DBR DB and /STA DB in Batch ModeDatabase Recovery Facility
  23. 23. © 2013 IBM Corporation23IMS Database Recovery Facility//FULL EXEC FRXMASTR//SYSIN DD *READNUM(3,10)SORTPARM(NUM(10),HIPRMAX(OPTIMAL),MAINSIZE(100), -ASPREF(IMTA), -AVGRLEN(1024))SPSIZE(1024)OUTPUT(DUP)REPORT(RPTTYPE=SEP,DRFUNIT=SYSDA,DRFHLQ=SYSD)DBDSN101(%S(DUP))DBDSL101(DISP(NEW),STGC(DASD))
  24. 24. © 2013 IBM Corporation24IMS Database Recovery FacilityREADNUM(3,10)  Maximum number of log read tasks that are started in parallel fortape only and the total number of concurrent read tasksSORTPARM(NUM(10),HIPRMAX(OPTIMAL),MAINSIZE(100), -ASPREF(IMTA),  First 4 chars of Recovery sort subspaces (RSS)AVGRLEN(1024))  Average record length of records to be sortedSPSIZE(1024)  MB size of dataspaces default is 1024OUTPUT(DUP)REPORT(RPTTYPE=SEP,DRFUNIT=SYSDA,DRFHLQ=SYSD)DBDSN101(%S(DUP))DBDSL101(DISP(NEW),STGC(DASD))
  25. 25. © 2013 IBM Corporation25 OUTPUT Processing Control Statements OUTPUT(PRO) Recover to production database Requires the database to be offline prior to initiating recovery OUTPUT(DUP) Recover to copy of database Database does not have to be off-line during recovery Input to recovery is image copy, change accumulation & logs Output is a set of data sets with different names from production Output data sets are not registered with DBRC OUTPUT(BOTH) Performs both PRO and DUP Creates two copies of databaseDatabase Recovery Facility Output Options
  26. 26. © 2013 IBM Corporation26Database Recovery Facility Output OptionsOUTPUT Processing Control Statement (cont) OUTPUT(ICR) Recover to image copy of database Database does not have to be offline during recovery IC registered as batch if offline; olic if online Input to recovery is IC, change accum and log data sets Output is a set of image copy data sets OUTPUT(ICRCA) This option is like ICR, but it specifies that only a BATCHimage copy is to be generated using only a prior image copyand a change accumulation as input Log input is ignored
  27. 27. © 2013 IBM Corporation27IMS DRF Control Statements//FULL EXEC FRXMASTR//SYSIN DD *READNUM(3,10)SORTPARM(NUM(10),HIPRMAX(OPTIMAL),MAINSIZE(100), -ASPREF(IMTA), -AVGRLEN(1024))SPSIZE(1024)OUTPUT(DUP)REPORT(RPTTYPE=SEP,DRFUNIT=SYSDA,DRFHLQ=SYSD)DBDSN101(%S(DUP))DBDSL101(DISP(NEW),STGC(DASD))
  28. 28. © 2013 IBM Corporation28Recovery Control StatementsADD DB ( dbname )DBDS ( dbname ddname )AREA ( dbname areaname )DBDSGRP ( groupname )CAGRP ( groupname )RECOVGRPIMS DRF Control Statements
  29. 29. © 2013 IBM Corporation29START command initiates recovery processingSome Keywords Available on Start commandVERIFY – LIST, ALLOC and OPENERROR – CONT or STOPRCVTIME – timestamp* & TSR, PITR or PITCA• Perform a timestamp recovery - RCVTIME(timestamp,TSR)• Perform a point in time recovery -RCVTIME(timestamp,PITR)• Perform a point in time recovery using a point in time changeaccumulation data set -RCVTIME(timestamp,PITCA)IMS DRF Control Statements
  30. 30. © 2013 IBM Corporation30Recovery Control StatementsADD DB ( dbname ) DBATRB(DBDSL(mmm),DBDSN(nnn) )The DATRB parameter allows you to specify the the DBDSLmmm andDBDSNnnn data set characteristics to be used for allocating new databasedatasets. The parameters that follow DBATRB; DBDSL and DBDSN identifythe DBDSLmmm and DBDSNnnn parameters in the environmental controlstatement parameters to use for the ADD command for recover to copy.IMS DRF Control Statements
  31. 31. © 2013 IBM Corporation31DRF Recover to Copy ExampleThe following set of control cards creates a duplicate data base from the mydb data baseDBDSL001(DISP(NEW), - create a new set of data setsSTGC(mystgcls), - use the SMS storage classPRIA(200), - primary space allocation overrideSECA(30)) - secondary space allocationoverrideDBDSN001(MYCOPY) - new high level qualifierOUTPUT(DUP) - this is a recovery to copy onlyADD DB(mydb) DBATRB(DBDSL(001) DBDSN(001))START ERROR(CONT) RCVTIME(200801190300)
  32. 32. © 2013 IBM Corporation32DRF Integrated Auxiliary UtilityADD DB(mydbname) PC( {T2CHK(t2len,t2num),DIAG(NO|YES),DUMPFORM(UNFORMAT|FORMAT),PRINTDATA(NO|YES)INTERVAL(DATASET|BITMAP|(BLOCK,nn)),RUNTM(YES|NO),INTST(YES|NO),BITMAP(YES|NO),FSEMAP(YES|NO),MAXFSD(YES|NO),INTFS(YES|NO,OVERFLOW(ddnameFromDBD),
  33. 33. © 2013 IBM Corporation33Index Builder and DFSPREC0 KeywordsADD DB(mydbname) IB(BLD_PRIMARY|BLD_SECONDARY,HALDB(BOTH,INDEX,ILE),{INPUT=({IBSCAN,DBRC=Y|N}),NDXIOBUF=({DATA=n,INDEX=n}),SORTE35=NO|YES,SORTFSZ=nnnnnnnnn,SORTID=(sort-id,{sort-parm}),SORTOPT=(sortopt,<<--),SORTOUT=COPY|NOCOPY,SORTSTAT=NO,YES} )DRF Integrated Auxiliary Utility
  34. 34. © 2013 IBM Corporation34Image Copy KeywordsADD DB(mydbname) IC ( {COMP(N|Y),COMPTRN(routine),DBBUF(nnnn),DSN(name-expression),DSN2(name-expression),EXPDT(yyyyddd|yyddd),ICBUFF(nnnn),ICCAT(Y|N),ICHLQ(hlq1[,hlq2]),ICHLQ2(hlq2),SPACE({{CYL,TRK,blk},primary,secondary,RLSE…….STORCLAS(stor-class-name),DRF Integrated Auxiliary Utility
  35. 35. © 2013 IBM Corporation35Database Recovery Facility /DBR or /STA in Batch ModeIssue /DBR DB in Batch Mode Uses the IMS Tools Online System Interface (TOSI) /DBR DB options– Can take databases off-line locally to an IMS prior to recovery ADD DB(MYDB) DBR or STA(LOCAL(imsid))– Can take databases off-line globally on all IMS in the IMSPLEXprior to recovery ADD DB(MYDB) DBR or STA(GLOBAL)– Does not take databases off-line prior to recovery This is the default ADD DB(MYDB) DBR or STA(NONE)
  36. 36. © 2013 IBM Corporation36Database Recovery Facility - Summary Creation of image copy data sets during the recovery process Creation of index data sets during the recovery process, includingprimary, secondary, and HALDB index list data sets Creation of off-line, cloned copies of the database Validation of data during the recovery process Automatic deletion and creation of database data sets during therecovery process The ability to generate new image copy data sets by applyingdatabase updates from a log data set or change accumulation dataset to existing image copy data Options for verifying data sets, including allocate and open to verifyavailability and usability of recovery input data sets. The need to issue the IMS /DBR DB and /DBR AREA commands andthe IMS /STA DB and /STA AREA commands is eliminated.
  37. 37. © 2013 IBM Corporation37IBM IMS Database RecoveryFacility Extended Functions forz/OS
  38. 38. © 2013 IBM Corporation38IMS Database Recovery Facility Extended FunctionsEnsures that an IMS database environment is recoverable- Provides six unique features which: Create clean valid recovery points (RPCR)- Creates recovery points for one or more databases by issuing synchronized /DBRor /DBD commands across all systems Locate existing recovery points (RPID)- Analyzes database allocation records in the RECON data sets to identify recoverytime spans to which one or more databases can be recovered using timestamp orfull recovery Identify problems which may affect recoveries (“Health Check”)- Inspects the RECON data sets and z/OS catalogs and identifies a number ofproblems that can impact IMS database recovery Verify needed recovery assets- Examines the RECON data sets and identifies the recovery assets (data sets) thatare required to recover one or more databases Condition RECON data sets for disaster recovery- Prepares the RECON data sets for database recovery at your disaster recovery(DR) site to match recovery ‘point in time’ Issue IMS commands via batch (Type 1 commands in batch)
  39. 39. © 2013 IBM Corporation39DRF/XF – Extended FunctionsRecovery Point Creation (RPCR)– Provides the ability to create recovery points for one or moredatabases• By specifying multiple databases, you can create recovery points at theapplication level• Allocation records in the RECON data sets are updated to reflect a valid,clean recovery point– These recovery points can be used to perform timestamp recoveries, fullrecoveries, or create batch image copies to a specified point in time– The user will have the option of having databases /DBR’d or /DBD’d– Databases will be restarted only on those systems which they were startedbefore the process– Optionally provide a synchronized log switch across all IMS systems in theenvironment– Includes interfaces to pause CICS/ODBA threads and BMPs (at checkpoint)to allow /DBR to complete
  40. 40. © 2013 IBM Corporation40DRF/XF – Extended FunctionsRecovery Point Identification (RPID)– Interrogate information in the RECON to identifyrecovery points and/or recovery time spans to which oneor more databases can be recovered– Identifies recovery time spans individually and commonto all databases specified– Presents recovery points in ISPF-formatted screen• User selects desired recovery point from ISPF panel• JCL is generated to execute DRF recovery of thedatabase to the chosen recovery point
  41. 41. © 2013 IBM Corporation41DRF/XF Health Checker Interrogate IMS database information looking for potential problemsrelating to the recoverability of the environment– Utilizes information from the RECON data sets and the catalog
  42. 42. © 2013 IBM Corporation42DRF/XF – VerifyIdentification and Verification of Recovery Assets– Interrogate information in the RECON to identify the assets (logs,change accums, image copies, etc…) which are required torecover one or more databases– Once identified, processing options allow for:• Listing of recovery assets (default, always done)• Verification that the recovery asset is cataloged• Allocation and opening of the file to ensure data setis usable
  43. 43. © 2013 IBM Corporation43DRF/XF – Recon CleanupRequired for disaster recovery environment– At the disaster recovery site, the RECON data sets must beconditioned to match the recovery environment– The following RECON records are affected:– Data set allocation– Log data sets– PRILOG record– Image copies (beyond the recovery timestamp)– Change accumulation– Database reorganization– System (IMSid)– Detailed report is generated (not shown)
  44. 44. © 2013 IBM Corporation44DRF/XF – IMS Command InterfaceUtilizes the IMS Tools Online System Interface to provide a batch IMSCommand interface– Allows any type-1 IMS command supported through an AO application– Output from commands displayed in the report file– Provides three levels of security:– Same as IMS– Application class– None
  45. 45. © 2013 IBM Corporation45DRF/XF – Extended FunctionsIMS Command InterfaceInputOutput
  46. 46. © 2013 IBM Corporation46IMS High Performance Change Accumulation (HPCA) Runs multiple change accumulation groups in parallel and streamsoutput across all addresses simultaneously Functions:► Provides both ISPF interfaces that allow for customization, setup andexecution and Batch interfaces for operations► DBRC is optional► Processes input data (from RLDSs) and output data (new CAs) in parallelYour Value:Increased database availabilityand IMS database data integrityControl SpaceControl SpaceMain TCBLogReaderTCBIMSLogIMSLogLogReaderTCBSORT SpacesSORT SpacesMain HPCATCBSORTProductTCBE15 E35NewCAOldCA
  47. 47. © 2013 IBM CorporationHPCA - Architecture1. HPCA driver retrieves the control and JCLinformation created during HPCA setup tasks.2. HPCA driver establishes the environmentfor a single copy of the IMS Cautility. Each Sort process iseither a separate TCB when in single address space mode,or a separate address space when in multiple addressspace mode. Each Sort process invokes an instance ofthe IMS change accumulation utility.3. The HPCA Utility driver creates (for this example) twoparallel log read tasks that will read n number of logs.Each log read just once.4. All log records are selected according to the appropriateCAGRP and sent to the Sort task.5. The Sort Controller invokes an instance of the IMS CAutility.6. IMS CA utility invokes the Sort process.7. Sort process selects DB-change type records.8. Records from the Sort process and old changeaccumulation data sets are merged.9. The Merge process ultimately produces a new changeaccumulation data set.10. The IMS CA report is returned to IMS HP ChangeAccumulation Utility.
  48. 48. © 2013 IBM Corporation48 Raquel Carvallo carvallo@us.ibm.comQuestions

×