Presenter’s Name Presenter’s Title Smoothing the DB2 version migration path!

Slides:



Advertisements
Similar presentations
SQL-BackTrack for Sybase
Advertisements

SolidWorks Enterprise PDM Data Loading Strategies
© 2006 DataCore Software Corp DataCore Traveller Travel in Time : Do More with Time The Continuous Protection and Recovery (CPR) Solution Time Optimized.
Best Practices for Backing Up Your System
Virtualisation From the Bottom Up From storage to application.
© 2010 IBM Corporation ® Tivoli Storage Productivity Center for Replication Billy Olsen.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
1 DB2 Access Recording Services Auditing DB2 on z/OS with “DBARS” A product developed by Software Product Research.
1 Disk Based Disaster Recovery & Data Replication Solutions Gavin Cole Storage Consultant SEE.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 2: z/OS Overview.
Delphix User Experience
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Module – 11 Local Replication
Database Backup and Recovery
Chapter 1 Introduction to Databases
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Oracle backup and recovery strategy
Paper on Best implemented scientific concept for E-Governance Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola By Nitin V. Choudhari, DIO,NIC,Akola.
Backup & Recovery Concepts for Oracle Database
IBM TotalStorage ® IBM logo must not be moved, added to, or altered in any way. © 2007 IBM Corporation Break through with IBM TotalStorage Business Continuity.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Module 8: Designing Active Directory Disaster Recovery in Windows Server 2008.
Backup & Recovery 1.
Copyright © 2009 EMC Corporation. Do not Copy - All Rights Reserved.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring, Managing, and Troubleshooting Resource Access.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
IT The Relational DBMS Section 06. Relational Database Theory Physical Database Design.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Data: Migrating, Distributing and Audit Tracking Michelle Ayers, Advisory Solution Consultant
Fast Cloning of DB2 Subsystems using Mainstar ® : MS/VCR ™ Kelly Smith Mainstar Software Corporation
Databases March 14, /14/2003Implementation Review2 Goals for Database Architecture Changes Simplify hardware architecture Improve performance Improve.
Module 7 Active Directory and Account Management.
Selling the Storage Edition for Oracle November 2000.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
DB Zip Expert Portable database backup and export/import Copyright © SoftTree Technologies, Inc.
Copyright © 2009 EMC Corporation. Do not Copy - All Rights Reserved.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
© Copyright 2014 BMC Software, Inc.1 — Chief Architect for DB2, BMC IBM Information Champion 2015 May / 2015 Jim Dee Stop Wasting Time With Utilities!
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
High Availability in DB2 Nishant Sinha
7 Strategies for Extracting, Transforming, and Loading.
© 2009 IBM Corporation Statements of IBM future plans and directions are provided for information purposes only. Plans and direction are subject to change.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
IBM ATS Storage © 2013 IBM Corporation What are Consistency Groups ? The concept of grouping all system, middleware, and application volumes that are required.
Oracle Standby Implementation Tantra Invedy. Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation.
SQL Database Management
Oracle Database High Availability
Maintaining Windows Server 2008 File Services
Antonio Abalos Castillo
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Oracle Database High Availability
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Database Administration for the Non-DBA
11 Simplex or Multiplex?.
Prepared by Jaroslav makovski
IBM Tivoli Storage Manager
Database Backup and Recovery
Presentation transcript:

Presenter’s Name Presenter’s Title Smoothing the DB2 version migration path!

Migrating to DB2 v10? Do you want to avoid surprises and delays during and after the upgrade process? DB2 subsystem clones offer multiple levels of testing environments These clones can be created with minimum skilled resources, minimum time and no interruption to your production systems. Creating exact copies of production quickly for high quality testing reduces the risk of impacting critical applications during the migration process. 2

Agenda  What is lurking in production? (and other environments) Problems and concerns Test environments needed for success  Smoothing the migration path Test environments created by VCR  Database storage integration Cloning overview Cloning terminology  Clone DB2 systems Step by Step test environment creation 3

4 You are migrating to a new version of DB2! 4 What’s lurking in production?

5 But, what is lurking in your production environment? 5 What’s lurking in production?

6 What is waiting to be uncovered by the new software? 6 What’s lurking in production?

7 Your environment is unique –  How do those new features really work in YOUR production environment?  How do those WAD elements mesh with YOUR production environment?  Are there bugs that can only surface in YOUR production environment?  Are there issues that can only manifest with the combinations of data and data volumes in YOUR production environment? What are the unexpected events for which you cannot test because they cannot be ANTICIPATED with your current knowledge?  Is there legacy code using undocumented features that no longer exist?  Is there Assembler code using addresses that are now used by DB2?  Is there a clever SQL technique that no longer works?  Is there code that was never invoked because the data volumes never reached the levels and throughput possible with the new DB2?  Something else? 7

8 What’s lurking in development?  Development environments  Critical applications may be in test – with new features – DB2 VNEXT may impact  Performance testing can be impacted by new versions of DB2  Optimizer changes, etc  Multiple copies of the same application objects and data – Make more complicated environment to manage  Multiple versions of the same application  New features of an application that have not quite made it into production 8

9 How do you find out before it bites you?  Upgrading to a new DB2 version is a high impact effort.  Any issue could be visible system wide or company wide  Sandbox environments are used to initially test DB2 version release. However, software is rarely kept in sync with production.  This is due to resources issues of time, money, space, manpower, and availability of required skills.  Usually “bare bones” and not reflecting production  There is only one Sandbox but many production DB2 configurations.  It is difficult to measure the impact or savings of implementing new DB2 features without testing in a production-like environment. 9 What’s lurking in production?

10 A clone of your production DB2 can uncover what’s hidden! 10 What’s lurking in production?

11 Smoothing the migration path Cloning DB2 is not a new concept  There are 2 basic traditional methods  The first method – Resource intensive:  Creates a new DB2 system (the clone)  Creates the objects from a source DB2 on the new DB2 via DDL  Unloads the tables of the source DB2  Loads the table rows of the source DB2 onto the tables of the clone  The second method – Requires an isolated LPAR:  Dump the data sets of a source DB2 to tape or some movable media  On an isolated LPAR restore the data sets of the source DB2  Start the clone DB2  A third and non-traditional method uses cloning automation and makes the process -  Safer  Faster  Non resource intensive  Can clone on the same or on a shared LPAR  Uses storage technology which you already own 11

12 Smoothing the migration path Migration with a DB2 subsystem clone  Create the DB2 subsystem Clone. There is cloning automation which can do this in under an hour  Migrate the clone to the new version of DB2  Execute a parallel set of production jobs on the Clone  If any issues are uncovered, correct them at leisure during business hours, with no fear of an emergency back off at some early morning hour  Apply any necessary patches and migrate the production DB2 with confidence! 12

13 How does it clone so fast? Database and Storage Integration 13 Mainframe Database Systems Storage Aware Database Tools Application and Database Management Domain Storage Administration and Business Continuity Domain Organizational Integration New Backup Methods New Recovery Strategies Business Recovery Monitoring Cloning Automation Disaster Restart Solutions Source Database Backup, Clone, DR

14 Cloning Terminology  A clone is an exact but independent replica  Clone a DB2 system by volume  Clone a table space by data set  DB2 system cloning and table space refresh  The act of replicating the data, making the replica accessible, and then using the replica in lieu of the original data  DB2 system cloning automation  Clones a complete DB2 system including all its databases  Lowest level is by storage volume  DB2 table and index space refresh automation  Refreshes specific table and index spaces  Lowest level is by data set 14

15 Types of DB2 clones  Full Subsystem Clone  2 sources:  DB2 Subsystem storage volumes  System Level Backup (SLB)  Partial subsystem Clone  Selected storage volumes (partial application data)  Skeleton Clone  DB2 directory, catalog, BSDS, and active logs storage volumes without application data  Populated by dataset  Table Space Clones  By dataset/object definition 15

16 Fast Replication Data Copy Options  Volume based fast replication options for DB2 system cloning  FlashCopy (IBM,EMC,HDS)  SnapShot (IBM,STK)  TimeFinder/Clone Volume Snap (EMC)  TimeFinder/Snap (EMC)  Mirror processes  PPRC (IBM,EMC,HDS)  TimeFinder/Mirror, SRDF (EMC)  ShadowImage HUR (HDS)  Data set based fast replication options for DB2 table space refresh  Data Set FlashCopy (IBM,EMC,HDS)  Data set SnapShot (IBM,STK)  TimeFinder/Clone Data set Snap (EMC) 16 Fast copy processes offloaded to the storage processor No host CPU or I/O resources Fast Replication Commands from z/OS

17 Host Based Data Copy Options  Volume copy options for DB2 system cloning  TDMF (IBM)  FDRPAS (Innovation Data Processing)  DFSMSdss (IBM)  FDR (Innovation Data Processing)  Data set copy options for DB2 table space refresh  Any traditional data set copy processes 17 Data copy processes use host based CPU and I/O facilities Slower than storage-based fast replication Host-based Copy Process

18 DB2 Full Subsystem Cloning Steps 18 Correct DB2 catalog and directory page spaces Production DB2 ‘Source’ DB2 Clone Target DB Start DB2 in maintenance mode for metadata management 12 Start DB2 clone in normal mode 1 DB2 volume Selection or SLB 2 Volume copy3 A. SET LOG LOAD(0) SET LOG SUSPEND (*not for an SLB source) B. Consistency Group 4SET LOG RESUME if 2A Stop target in maintenance mode Correct application page spaces Update DB2 directory and BSDSs Update DB2 catalog Rename 5 DB2 Source Database Volumes Clone Database Volumes

19 Partial Subsystem Clone  DB2 subsystem is cloned + specific applications  Some application datasets are excluded from renames – and optionally deleted Source DB2 Subsystem Volumes Clone DB2 Subsystem Volumes Application Volumes

20 Populated Subsystem Skeleton Clone  DB2 subsystem is cloned + selected DB2 data sets  Volumes containing application data are NOT copied Source DB2 Subsystem Volumes Clone DB2 Subsystem Volumes Application Volumes Application Data Sets

21 DB2 Table Refresh Steps Production DB2 ‘Source’ DB2 Target Target DB Source Job 7 Target Job Create target DB2 DDL and table and index spaces if they don’t exist Perform copy process Start target table and index spaces Update identity columns Object ID translation, data masking and log apply LISTDEF selection Stop table space or fuzzy copy Start, if stopped 2 Verify object compatibility DB2 3 21

22 Benefits of cloning  All source object are known to the clone  Triggers  Constraints, Etc.  Stats are identical to the source  Packages are already bound and access paths known  Columns may be masked to protect sensitive data  If it can be done on the source it can be done on the clone  The footprint of the clone can be determined by the user and how the clone is populated 22

23 DB2 Support  DB2 Support  DB2 offline  DB2 online  Clone from an executing DB2 subsystem  Clone from a System Level Backup  DB2 data sharing  DB2 data sharing with many to less members  DB2 data sharing to non-DB2 data sharing  Clone from a System Level Backup 23

24 Using Volume Clone and Rename (VCR) & Fast Tablespace Refresh(FTR ) Smooths the migration path – and helps YOU to avoid surprises and delays during and after the upgrade process  Provides for creating DB2 subsystem clones, which offer multiple levels of testing environments  Clones are created with minimum skilled resources, minimum time and no interruption to your production systems.  Creating clones of your production and nonproduction environments reduces the risk of impacting critical applications during the migration process. 24

25 Q & A 25