You are previewing IBM XIV Storage System Copy Services and Migration.
O'Reilly logo
IBM XIV Storage System Copy Services and Migration

Book Description

This IBM® Redbook®s publication provides a practical understanding of theI BM XIV® Storage System copy and migration functions. The XIV Storage System has a rich set of copy functions suited for various data protection scenarios, which enables clients to enhance their business continuance, data migration, and online backup solutions. These functions allow point-in-time copies, known as snapshots and full volume copies, and also include remote copy capabilities in either synchronous or asynchronous mode. These functions are included in the XIV software and all their features are available at no additional charge.

The various copy functions are reviewed in separate chapters, which include detailed information about usage, and also practical illustrations.

This book also explains the XIV built-in migration capability, and presents migration alternatives based on the SAN Volume Controller (SVC).

Finally, the book illustrates the use of IBM Tivoli® Storage Productivity Center for Replication to manage XIV Copy Services.

This book is intended for anyone who needs a detailed and practical understanding of the XIV copy functions.

Table of Contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. Authors
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  4. Summary of changes
    1. June 2013, Fourth Edition
  5. Chapter 1. Snapshots
    1. 1.1 Snapshots architecture
    2. 1.2 Snapshot handling
      1. 1.2.1 Creating a snapshot
      2. 1.2.2 Viewing snapshot details
      3. 1.2.3 Deletion priority
      4. 1.2.4 Restore a snapshot
      5. 1.2.5 Overwriting snapshots
      6. 1.2.6 Unlocking a snapshot
      7. 1.2.7 Locking a snapshot
      8. 1.2.8 Deleting a snapshot
      9. 1.2.9 Automatic deletion of a snapshot
    3. 1.3 Snapshots consistency group
      1. 1.3.1 Creating a consistency group
      2. 1.3.2 Creating a snapshot using consistency groups
      3. 1.3.3 Managing a consistency group
      4. 1.3.4 Deleting a consistency group
    4. 1.4 Snapshot with remote mirror
    5. 1.5 MySQL database backup example
    6. 1.6 Snapshot example for a DB2 database
      1. 1.6.1 XIV Storage System and AIX OS environments
      2. 1.6.2 Preparing the database for recovery
      3. 1.6.3 Using XIV snapshots for database backup
      4. 1.6.4 Restoring the database from the XIV snapshot
  6. Chapter 2. Volume copy
    1. 2.1 Volume copy architecture
    2. 2.2 Performing a volume copy
      1. 2.2.1 Monitoring the progress of a volume copy
    3. 2.3 Troubleshooting issues with volume copy
      1. 2.3.1 Using previously used volumes
    4. 2.4 Cloning boot volumes with XIV volume copy
  7. Chapter 3. Remote Mirroring
    1. 3.1 XIV Remote Mirroring overview
      1. 3.1.1 XIV Remote Mirror terminology
      2. 3.1.2 XIV Remote Mirroring modes
    2. 3.2 Mirroring schemes
      1. 3.2.1 Peer designations and roles
      2. 3.2.2 Operational procedures
      3. 3.2.3 Mirroring status
    3. 3.3 XIV Remote Mirroring usage
      1. 3.3.1 Using Snapshots
    4. 3.4 XIV Remote Mirroring actions
      1. 3.4.1 Defining the XIV mirroring target
      2. 3.4.2 Setting the maximum initialization and synchronization rates
      3. 3.4.3 Connecting XIV mirroring ports
      4. 3.4.4 Defining the XIV mirror coupling and peers: Volume
      5. 3.4.5 Activating an XIV mirror coupling
      6. 3.4.6 Adding volume mirror coupling to consistency group mirror coupling
      7. 3.4.7 Normal operation: Volume mirror coupling and CG mirror coupling
      8. 3.4.8 Deactivating XIV mirror coupling: Change recording
      9. 3.4.9 Changing role of slave volume or CG
      10. 3.4.10 Changing role of master volume or CG
      11. 3.4.11 Mirror reactivation and resynchronization: Normal direction
      12. 3.4.12 Reactivation, resynchronization, and reverse direction
      13. 3.4.13 Switching roles of mirrored volumes or CGs
      14. 3.4.14 Adding a mirrored volume to a mirrored consistency group
      15. 3.4.15 Removing a mirrored volume from a mirrored consistency group
      16. 3.4.16 Deleting mirror coupling definitions
    5. 3.5 Best practice usage scenarios
      1. 3.5.1 Failure at primary site: Switch production to secondary
      2. 3.5.2 Complete destruction of XIV 1
      3. 3.5.3 Using an extra copy for DR tests
      4. 3.5.4 Creating application-consistent data at both local and the remote sites
      5. 3.5.5 Migration
      6. 3.5.6 Adding data corruption protection to disaster recovery protection
      7. 3.5.7 Communication failure between mirrored XIV systems
      8. 3.5.8 Temporary deactivation and reactivation
      9. 3.5.9 Connectivity type change
      10. 3.5.10 Mirror type conversion
      11. 3.5.11 Volume resizing across asynchronous XIV mirror pairs
    6. 3.6 Planning
    7. 3.7 Advantages of XIV mirroring
    8. 3.8 Mirroring events
    9. 3.9 Mirroring statistics
    10. 3.10 Boundaries
    11. 3.11 Using the GUI or XCLI for Remote Mirroring actions
      1. 3.11.1 Initial setup
      2. 3.11.2 Remote Mirror target configuration
      3. 3.11.3 XIV XCLI examples
    12. 3.12 Configuring Remote Mirroring
  8. Chapter 4. Synchronous remote mirroring
    1. 4.1 Synchronous remote mirroring and configuration
      1. 4.1.1 Volume remote mirroring setup and activation
      2. 4.1.2 Consistency group setup and configuration
      3. 4.1.3 Mirrored snapshots
      4. 4.1.4 Coupling activation, deactivation, and deletion
    2. 4.2 Role reversal
      1. 4.2.1 Switching roles
      2. 4.2.2 Change role
    3. 4.3 Resynchronization after link failure
      1. 4.3.1 Last consistent snapshot
      2. 4.3.2 Last consistent snapshot time stamp
    4. 4.4 Disaster recovery
    5. 4.5 Synchronous mirror step-by-step scenario
      1. 4.5.1 Phase 1: Setup and configuration
      2. 4.5.2 Phase 2: Disaster simulation at primary site
      3. 4.5.3 Phase 3: Recovery of the primary site
      4. 4.5.4 Phase 4: Switching production back to the primary site
  9. Chapter 5. Asynchronous remote mirroring
    1. 5.1 Asynchronous mirroring configuration
      1. 5.1.1 Volume mirroring setup and activation
      2. 5.1.2 Consistency group configuration
      3. 5.1.3 Coupling activation, deactivation, and deletion
    2. 5.2 Role reversal
      1. 5.2.1 Switching roles
      2. 5.2.2 Change role
    3. 5.3 Resynchronization after link failure
      1. 5.3.1 Last-replicated snapshot
    4. 5.4 Disaster recovery
    5. 5.5 Mirroring process
      1. 5.5.1 Initialization process
      2. 5.5.2 Ongoing mirroring operation
      3. 5.5.3 Mirroring consistency groups
      4. 5.5.4 Mirrored snapshots
      5. 5.5.5 Mirroring special snapshots
    6. 5.6 Detailed asynchronous mirroring process
    7. 5.7 Asynchronous mirror step-by-step illustration
      1. 5.7.1 Mirror initialization
      2. 5.7.2 Remote backup scenario
      3. 5.7.3 DR testing scenario
    8. 5.8 Pool space depletion
  10. Chapter 6. Open systems considerations for Copy Services
    1. 6.1 AIX specifics
      1. 6.1.1 AIX and snapshots
      2. 6.1.2 AIX and Remote Mirroring
    2. 6.2 Copy Services using VERITAS Volume Manager
      1. 6.2.1 Snapshots with VERITAS Volume Manager
      2. 6.2.2 Remote Mirroring with VERITAS Volume Manager
    3. 6.3 HP-UX and Copy Services
      1. 6.3.1 HP-UX and XIV snapshot
      2. 6.3.2 HP-UX with XIV Remote Mirror
    4. 6.4 Windows and Copy Services
      1. 6.4.1 Windows Volume Shadow Copy Service with XIV Snapshot
    5. 6.5 VMware virtual infrastructure and Copy Services
      1. 6.5.1 Virtual machine considerations regarding Copy Services
      2. 6.5.2 VMware ESX server and snapshots
      3. 6.5.3 ESX and Remote Mirroring
  11. Chapter 7. IBM i considerations for Copy Services
    1. 7.1 IBM i functions and XIV as external storage
      1. 7.1.1 IBM i structure
      2. 7.1.2 Single-level storage
      3. 7.1.3 Auxiliary storage pools (ASPs)
    2. 7.2 Boot from SAN and cloning
    3. 7.3 Our implementation
    4. 7.4 Snapshots with IBM i
      1. 7.4.1 Solution benefits
      2. 7.4.2 Disk capacity for the snapshots
      3. 7.4.3 Power-down IBM i method
      4. 7.4.4 Quiescing IBM i and using snapshot consistency groups
      5. 7.4.5 Automation of the solution with snapshots
    5. 7.5 Synchronous Remote Mirroring with IBM i
      1. 7.5.1 Solution benefits
      2. 7.5.2 Planning the bandwidth for Remote Mirroring links
      3. 7.5.3 Setting up synchronous Remote Mirroring for IBM i
      4. 7.5.4 Scenario for planned outages
      5. 7.5.5 Scenario for unplanned outages
    6. 7.6 Asynchronous Remote Mirroring with IBM i
      1. 7.6.1 Benefits of asynchronous Remote Mirroring
      2. 7.6.2 Setting up asynchronous Remote Mirroring for IBM i
      3. 7.6.3 Scenario for planned outages and disasters
  12. Chapter 8. Data migration
    1. 8.1 Overview
    2. 8.2 Handling I/O requests
    3. 8.3 Data migration steps
      1. 8.3.1 Initial connection and pre-implementation activities
      2. 8.3.2 Perform pre-migration tasks for each host being migrated
      3. 8.3.3 Define and test data migration volume
      4. 8.3.4 Activate a data migration on XIV
      5. 8.3.5 Define the host on XIV and bring host online
      6. 8.3.6 Complete the data migration on XIV
      7. 8.3.7 Post migration activities
    4. 8.4 Command-line interface
      1. 8.4.1 Using XCLI scripts or batch files
      2. 8.4.2 Sample scripts
    5. 8.5 Manually creating the migration volume
    6. 8.6 Changing and monitoring the progress of a migration
      1. 8.6.1 Changing the synchronization rate
      2. 8.6.2 Monitoring migration speed
      3. 8.6.3 Monitoring the impact of migration on host latency
      4. 8.6.4 Monitoring migration through the XIV event log
      5. 8.6.5 Monitoring migration speed through the fabric
      6. 8.6.6 Monitoring migration speed through the non XIV storage
      7. 8.6.7 Predicting run time using actual throughput
    7. 8.7 Thick-to-thin migration
    8. 8.8 Resizing the XIV volume after migration
    9. 8.9 Troubleshooting
      1. 8.9.1 Target connectivity fails
      2. 8.9.2 Remote volume LUN is unavailable
      3. 8.9.3 Local volume is not formatted
      4. 8.9.4 Host server cannot access the XIV migration volume
      5. 8.9.5 Remote volume cannot be read
      6. 8.9.6 LUN is out of range
    10. 8.10 Backing out of a data migration
      1. 8.10.1 Back out before migration is defined on the XIV
      2. 8.10.2 Back out after a data migration has been defined but not activated
      3. 8.10.3 Back out after a data migration has been activated but is not complete
      4. 8.10.4 Back out after a data migration has reached the synchronized state
    11. 8.11 Migration checklist
    12. 8.12 Device-specific considerations
      1. 8.12.1 EMC CLARiiON
      2. 8.12.2 EMC Symmetrix and DMX
      3. 8.12.3 HDS TagmaStore USP
      4. 8.12.4 HP EVA
      5. 8.12.5 IBM DS3000, DS4000, DS5000
      6. 8.12.6 IBM ESS E20, F20, 800
      7. 8.12.7 IBM DS6000 and DS8000
      8. 8.12.8 IBM Storwize V7000 and SAN Volume Controller (SVC)
      9. 8.12.9 N series and iSCSI setup
    13. 8.13 Host-specific considerations
      1. 8.13.1 VMware ESX
    14. 8.14 Sample migration
  13. Chapter 9. SVC and Storwize V7000 migration with XIV
    1. 9.1 Storwize V7000, SVC, and IBM XIV generations
      1. 9.1.1 Storwize V7000 compared to IBM SVC
      2. 9.1.2 Generation 2 of XIV compared to XIV Gen3
    2. 9.2 Steps for SVC or Storwize V7000 based migration with XIV
    3. 9.3 XIV and SVC or Storwize V7000 interoperability
      1. 9.3.1 Firmware versions
      2. 9.3.2 Copy functions
      3. 9.3.3 TPC with XIV and SVC or Storwize V7000
    4. 9.4 Zoning setup
      1. 9.4.1 Capacity on demand
      2. 9.4.2 Determining XIV WWPNs
      3. 9.4.3 Hardware dependencies
      4. 9.4.4 Sharing an XIV with another SVC or Storwize V7000 cluster or non SVC and non Storwize V7000 hosts
      5. 9.4.5 Zoning rules
    5. 9.5 Volume size considerations for XIV with SVC or Storwize V7000
      1. 9.5.1 SCSI queue depth considerations
      2. 9.5.2 XIV volume sizes
      3. 9.5.3 Creating XIV volumes that are exactly the same size as SVC or Storwize V7000 VDisks
      4. 9.5.4 SVC or Storwize V7000 2TB volume limit
      5. 9.5.5 Managed disk group creation
      6. 9.5.6 SVC or Storwize V7000 MDisk group extent sizes
      7. 9.5.7 Striped mode VDisks
    6. 9.6 Using an XIV for SVC or Storwize V7000 quorum disks
    7. 9.7 Configuring an XIV for attachment to SVC
      1. 9.7.1 XIV setup
      2. 9.7.2 SVC setup steps
    8. 9.8 Data movement strategy overview
      1. 9.8.1 Using SVC migration to move data
      2. 9.8.2 Using VDisk mirroring to move the data
      3. 9.8.3 Using SVC migration with image mode
    9. 9.9 Using SVC or Storwize V7000 migration to move data to XIV
      1. 9.9.1 Determine the required extent size and VDisk candidates
      2. 9.9.2 Create the MDisk group
      3. 9.9.3 Migration
    10. 9.10 Using VDisk mirroring to move the data
      1. 9.10.1 Determine the required extent size and VDisk candidates
      2. 9.10.2 Create the MDisk group
      3. 9.10.3 Set up the IO group for mirroring
      4. 9.10.4 Create the mirror
      5. 9.10.5 Validating a VDisk copy
      6. 9.10.6 Removing the VDisk copy
    11. 9.11 Using SVC migration with image mode
      1. 9.11.1 Create image mode destination volumes on the XIV
      2. 9.11.2 Migrate the VDisk to image mode
      3. 9.11.3 Outage step
      4. 9.11.4 Bring the VDisk online
      5. 9.11.5 Migration from image mode to managed mode
      6. 9.11.6 Remove image mode MDisks
      7. 9.11.7 Use transitional space as managed space
      8. 9.11.8 Remove non XIV MDisks
    12. 9.12 Future configuration tasks
      1. 9.12.1 Adding additional capacity to the XIV
      2. 9.12.2 Using additional XIV host ports
    13. 9.13 Understanding the SVC controller path values
    14. 9.14 SVC with XIV implementation checklist
  14. Chapter 10. Using Tivoli Storage Productivity Center for Replication
    1. 10.1 IBM Tivoli Productivity Center family
    2. 10.2 What TPC for Replication provides
    3. 10.3 TPC for Replication supported operating system platforms
    4. 10.4 Hardware requirements for TPC for Replication servers
    5. 10.5 TPC for Replication Copy Services terminology
      1. 10.5.1 TPC for Replication copy sets
      2. 10.5.2 TPC for Replication sessions
    6. 10.6 TPC for Replication session states
    7. 10.7 TPC for Replication system and connectivity overview
    8. 10.8 TPC for Replication monitoring
    9. 10.9 TPC for Replication web interface
      1. 10.9.1 Connecting to TPC for Replication GUI
      2. 10.9.2 Health Overview panel
      3. 10.9.3 Sessions panel
      4. 10.9.4 Storage Subsystems panel
    10. 10.10 Defining and adding XIV storage to TPC for Replication
    11. 10.11 TPC for Replication and XIV snapshots
      1. 10.11.1 Defining a TPC for Replication session for XIV snapshots
      2. 10.11.2 Defining and adding TPC for Replication copy sets to a session
      3. 10.11.3 Activating TPC for Replication Snapshot session
      4. 10.11.4 Additional TPC for Replication snapshot actions inside a session
    12. 10.12 TPC for Replication for XIV synchronous mirroring (Metro Mirror)
      1. 10.12.1 Defining a TPC for Replication session for Metro Mirror
      2. 10.12.2 Defining, adding TPC for Replication copy sets to a Metro Mirror session
      3. 10.12.3 Activating TPC for Replication Metro Mirror session
      4. 10.12.4 Suspending the Metro Mirror (XIV Synchronous Mirror) session
    13. 10.13 TPC for Replication for XIV asynchronous mirrors (Global Mirror)
      1. 10.13.1 Defining a session for asynchronous mirroring (Global Mirror)
      2. 10.13.2 Defining, adding TPC for Replication copy sets to a Global Mirror session
      3. 10.13.3 Activating the TPC for Replication Global Mirror session
      4. 10.13.4 Suspending the Global Mirror session
    14. 10.14 Using TPC for Replication to add XIV Volume Protection
  15. Related publications
    1. IBM Redbooks publications
    2. Other publications
    3. Online resources
    4. Help from IBM
  16. Back cover