Book description
Database cloning is the process by which you create an exact copy of a DB2 database, either by physically copying the data or by performing what is known as a redirected restore.
Database cloning is performed frequently by database administrators to provide near-production data for various business needs such as application development, QA testing, and report generation. Traditional methods of cloning a database pose various challenges, including system downtime and degraded system performance during the cloning process. Additionally, a large amount of storage space is required to store each clone. Furthermore, the maintenance overhead can be enormous if each cloned database requires a frequent data refresh.
This IBM Redbooks publication describes the process used to create a clone of an IBM DB2 UDB database using FlexClone technology. This book also covers creating a database clone on a disaster recovery site that has replicated data using Data ONTAP SnapMirror technology.
Table of contents
- Notices
- Preface
-
Chapter 1: Introduction to FlexClone
- Purpose and Scope
- Overview of FlexClone technology
- Overview of the SnapMirror technology
- Ensuring consistency for DB2 UDB database (suspended I/O)
- The db2inidb command
- The db2relocatedb command
- Advantages of cloning a database using N series FlexClone technology
- Configuration used for this publication
- Chapter 2: Preparation
- Chapter 3: Creating a DB2 UDB Database on an IBM N series
-
Chapter 4: Cloning a DB2 UDB database in the N series environment
- Select a database server to access the cloned database
-
Clone an offline database on the same storage system
- Bring the source database offline
- Create Snapshot copies of the database FlexVol volumes
- Start the source database
- Clone the FlexVol volumes
- Create an export entry for the clone volume
- Mount the clone volumes
- Configuring the cloned database
- Catalog the source database if necessary
- Verify the database
-
Clone an online database on the same storage system
- Bring the database into a consistent state (suspend writes)
- Create Snapshot copies of the database FlexVol volumes
- Resume normal database operations (resume writes)
- Clone the FlexVol volumes.
- Create NFS export entries for the cloned volumes
- Mount the cloned volumes
- Configuring the cloned database
- Verify the database
- Clone an offline database to a remote storage system
-
Clone an online database to a remote storage system
- Configure and initialize SnapMirror
- Bring the source database into a consistent state (suspend writes)
- Create Snapshot copies of the FlexVol volumes
- Resume normal database operations (resume writes)
- Update the SnapMirror destination
- Create clone volumes using Snapshot copies
- Create NFS export entries for the cloned volumes
- Mount the cloned volumes
- Configure the cloned database
- Verify the cloned database
-
Chapter 5: Cloning a DB2 UDB database in the SAN environment
- Clone an offline database on the same storage system
-
Clone an online database on the same storage system
- Bring the source database into a consistent state (suspend writes)
- Create Snapshot copies of the FlexVol volumes
- Resume normal database operation (resume writes)
- Clone the FlexVol volumes using Snapshot copies
- Create new mapping for the LUNs
- Mount the LUNs that reside on the FlexClone volumes
- Configure the cloned database
-
Clone an offline database to a remote storage system
- Configure and initialize SnapMirror
- Bring the database offline
- Create Snapshot copies of the FlexVol volumes
- Update the SnapMirror destination volumes
- Create FlexClone volumes using Snapshot copies
- Create new mapping for LUNs that reside on the clone volumes
- Mount the FlexClone volume LUNs
- Renaming the cloned database
-
Clone an online database to a remote storage system
- Set up and initialize SnapMirror
- Bring the database into a consistent state (suspend writes)
- Create Snapshot copies
- Resume normal operations for the database (resume writes)
- Update the SnapMirror destination volumes
- Create clone volumes using Snapshot copies
- Create new mapping for LUNs that reside on the clone volumes
- Mount the LUN devices
- Configure the cloned database
- Conclusions
- Appendix A: Configuring UNIX to access cloned and source databases in an NAS environment
- Appendix B: Configuring UNIX to access cloned and source databases in an SAN environment
- Related publications
- Index (1/2)
- Index (2/2)
- Back cover
Product information
- Title: Using IBM DB2 UDB with IBM System Storage N series
- Author(s):
- Release date: December 2006
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
Integrating IBM DB2 with the IBM System Storage N series
This IBM Redbooks publication describes the steps carried out to configure and install an IBM DB2 …
book
Using the IBM System Storage N Series with Databases
This IBM® Redbooks® publication discusses how to optimize the IBM System Storage™ N series products with …
book
IBM System Storage N series Clustered Data ONTAP
IBM® System Storage® N series storage systems offer an excellent solution for a broad range of …
book
IBM System Storage N Series for SAP
This IBM Redbooks publication provides best practices for deploying IBM System Storage N series storage systems, …