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® Redbooks® publication provides a practical understanding of the IBM 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.

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. February 2014, Fifth Edition
  5. Chapter 1. XIV Copy Services introduction
  6. Chapter 2. Snapshots
    1. 2.1 Snapshots architecture
    2. 2.2 .Snapshot handling
      1. 2.2.1 Creating a snapshot
      2. 2.2.2 Viewing snapshot details
      3. 2.2.3 Deletion priority
      4. 2.2.4 Restore a snapshot
      5. 2.2.5 Overwriting snapshots
      6. 2.2.6 Unlocking a snapshot
      7. 2.2.7 Locking a snapshot
      8. 2.2.8 Deleting a snapshot
      9. 2.2.9 Automatic deletion of a snapshot
    3. 2.3 Snapshots consistency group
      1. 2.3.1 Creating a consistency group
      2. 2.3.2 Creating a snapshot using consistency groups
      3. 2.3.3 Managing a consistency group
      4. 2.3.4 Deleting a consistency group
    4. 2.4 Snapshot with remote mirror
    5. 2.5 MySQL database backup example
    6. 2.6 Snapshot example for a DB2 database
      1. 2.6.1 XIV Storage System and AIX OS environments
      2. 2.6.2 Preparing the database for recovery
      3. 2.6.3 Using XIV snapshots for database backup
      4. 2.6.4 Restoring the database from the XIV snapshot
  7. Chapter 3. Volume copy
    1. 3.1 Volume copy architecture
    2. 3.2 Performing a volume copy
      1. 3.2.1 Monitoring the progress of a volume copy
    3. 3.3 Troubleshooting issues with volume copy
      1. 3.3.1 Using previously used volumes
    4. 3.4 Cloning boot volumes with XIV volume copy
  8. Chapter 4. Remote mirroring
    1. 4.1 XIV Remote mirroring overview
      1. 4.1.1 XIV remote mirror terminology
      2. 4.1.2 XIV remote mirroring modes
    2. 4.2 Mirroring schemes
      1. 4.2.1 Peer designations and roles
      2. 4.2.2 Operational procedures
      3. 4.2.3 Mirroring status
    3. 4.3 XIV remote mirroring usage
      1. 4.3.1 Using snapshots
    4. 4.4 XIV remote mirroring actions
      1. 4.4.1 Defining the XIV mirroring target
      2. 4.4.2 Setting the maximum initialization and synchronization rates
      3. 4.4.3 Connecting XIV mirroring ports
      4. 4.4.4 Defining the XIV mirror coupling and peers: Volume
      5. 4.4.5 Activating an XIV mirror coupling
      6. 4.4.6 Adding volume mirror coupling to consistency group mirror coupling
      7. 4.4.7 Normal operation: Volume mirror coupling and CG mirror coupling
      8. 4.4.8 Deactivating XIV mirror coupling: Change recording
      9. 4.4.9 Changing role of slave volume or CG
      10. 4.4.10 Changing role of master volume or CG
      11. 4.4.11 Mirror reactivation and resynchronization: Normal direction
      12. 4.4.12 Synchronous mirror deletion and using offline initializationfor resynchronization
      13. 4.4.13 Reactivation, resynchronization, and reverse direction
      14. 4.4.14 Switching roles of mirrored volumes or CGs
      15. 4.4.15 Adding a mirrored volume to a mirrored consistency group
      16. 4.4.16 Removing a mirrored volume from a mirrored consistency group
      17. 4.4.17 Deleting mirror coupling definitions
    5. 4.5 Best practice usage scenarios
      1. 4.5.1 Failure at primary site: Switch production to secondary
      2. 4.5.2 Complete destruction of XIV 1
      3. 4.5.3 Using an extra copy for DR tests
      4. 4.5.4 Creating application-consistent data at both local and remote sites
      5. 4.5.5 Migration through mirroring
      6. 4.5.6 Migration using Hyper-Scale Mobility
      7. 4.5.7 Adding data corruption protection to disaster recovery protection
      8. 4.5.8 Communication failure between mirrored XIV systems
      9. 4.5.9 Temporary deactivation and reactivation
      10. 4.5.10 Connectivity type change
      11. 4.5.11 Mirror type conversion
      12. 4.5.12 Volume resizing across asynchronous XIV mirror pairs
    6. 4.6 Planning
    7. 4.7 Advantages of XIV mirroring
    8. 4.8 Mirroring events
    9. 4.9 Mirroring statistics for asynchronous mirroring
    10. 4.10 Boundaries
    11. 4.11 Using the GUI or XCLI for remote mirroring actions
      1. 4.11.1 Initial setup
      2. 4.11.2 Remote mirror target configuration
      3. 4.11.3 XCLI examples
    12. 4.12 Configuring remote mirroring
  9. Chapter 5. Synchronous Remote Mirroring
    1. 5.1 Synchronous mirroring considerations
    2. 5.2 Setting up mirroring
      1. 5.2.1 Using the GUI for volume mirroring setup
      2. 5.2.2 Using the GUI for volume mirror activation
      3. 5.2.3 Using XCLI for volume mirroring setup
      4. 5.2.4 Using XCLI for volume mirror activation
    3. 5.3 Setting up mirroring for a consistency group
      1. 5.3.1 Considerations regarding a consistency group
      2. 5.3.2 Using the GUI for CG mirroring setup
    4. 5.4 Mirrored snapshots (ad-hoc sync jobs)
      1. 5.4.1 Using the GUI for creating a mirrored snapshot
    5. 5.5 Mirror activation, deactivation, and deletion
    6. 5.6 Role reversal tasks (switch or change role)
      1. 5.6.1 Switch roles
      2. 5.6.2 Change role
    7. 5.7 Link failure and last consistent snapshot
      1. 5.7.1 Last-consistent snapshot (LCS)
      2. 5.7.2 Last-consistent snapshot timestamp
      3. 5.7.3 External last consistent snapshot (ELCS)
    8. 5.8 Disaster recovery cases
      1. 5.8.1 Disaster recovery scenario with synchronous mirroring
  10. Chapter 6. Asynchronous remote mirroring
    1. 6.1 Asynchronous mirroring configuration
      1. 6.1.1 Volume mirroring setup and activation
      2. 6.1.2 Consistency group configuration
      3. 6.1.3 Coupling activation, deactivation, and deletion
    2. 6.2 Role reversal
      1. 6.2.1 Switching roles
      2. 6.2.2 Change role
    3. 6.3 Resynchronization after link failure
      1. 6.3.1 Last-replicated snapshot
    4. 6.4 Disaster recovery
    5. 6.5 Mirroring process
      1. 6.5.1 Initialization process
      2. 6.5.2 Ongoing mirroring operation
      3. 6.5.3 Mirroring consistency groups
      4. 6.5.4 Mirrored snapshots
      5. 6.5.5 Mirroring special snapshots
    6. 6.6 Detailed asynchronous mirroring process
    7. 6.7 Asynchronous mirror step-by-step illustration
      1. 6.7.1 Mirror initialization
      2. 6.7.2 Remote backup scenario
      3. 6.7.3 DR testing scenario
    8. 6.8 Pool space depletion
  11. Chapter 7. Open systems considerations for Copy Services
    1. 7.1 AIX specifics
      1. 7.1.1 AIX and snapshots
      2. 7.1.2 AIX and Remote Mirroring
    2. 7.2 Copy Services using VERITAS Volume Manager
      1. 7.2.1 Snapshots with VERITAS Volume Manager
      2. 7.2.2 Remote Mirroring with VERITAS Volume Manager
    3. 7.3 HP-UX and Copy Services
      1. 7.3.1 HP-UX and XIV snapshot
      2. 7.3.2 HP-UX with XIV Remote Mirror
    4. 7.4 Windows and Copy Services
      1. 7.4.1 Windows Volume Shadow Copy Service with XIV Snapshot
    5. 7.5 VMware virtual infrastructure and Copy Services
      1. 7.5.1 Virtual machine considerations regarding Copy Services
      2. 7.5.2 VMware ESX server and snapshots
      3. 7.5.3 ESX and Remote Mirroring
  12. Chapter 8. IBM i considerations for Copy Services
    1. 8.1 IBM i functions and XIV as external storage
      1. 8.1.1 IBM i structure
      2. 8.1.2 Single-level storage
      3. 8.1.3 Auxiliary storage pools (ASPs)
    2. 8.2 Boot from SAN and cloning
    3. 8.3 Our implementation
    4. 8.4 Snapshots with IBM i
      1. 8.4.1 Solution benefits
      2. 8.4.2 Disk capacity for the snapshots
      3. 8.4.3 Power-down IBM i method
      4. 8.4.4 Quiescing IBM i and using snapshot consistency groups
      5. 8.4.5 Automation of the solution with snapshots
    5. 8.5 Synchronous Remote Mirroring with IBM i
      1. 8.5.1 Solution benefits
      2. 8.5.2 Planning the bandwidth for Remote Mirroring links
      3. 8.5.3 Setting up synchronous Remote Mirroring for IBM i
      4. 8.5.4 Scenario for planned outages
      5. 8.5.5 Scenario for unplanned outages
    6. 8.6 Asynchronous Remote Mirroring with IBM i
      1. 8.6.1 Benefits of asynchronous Remote Mirroring
      2. 8.6.2 Setting up asynchronous Remote Mirroring for IBM i
      3. 8.6.3 Scenario for planned outages and disasters
  13. Chapter 9. Data migration
    1. 9.1 Overview
    2. 9.2 Handling I/O requests
    3. 9.3 XIV and source storage connectivity
      1. 9.3.1 Multipathing with data migrations
      2. 9.3.2 Understanding initialization rate
    4. 9.4 Data migration steps
      1. 9.4.1 Initial connection and pre-implementation activities
      2. 9.4.2 Perform pre-migration tasks for each host being migrated
      3. 9.4.3 Define and test data migration volume
      4. 9.4.4 Activate a data migration on XIV
      5. 9.4.5 Define the host on XIV and bring host online
      6. 9.4.6 Complete the data migration on XIV
      7. 9.4.7 Post migration activities
    5. 9.5 Command-line interface
      1. 9.5.1 Using XCLI scripts or batch files
      2. 9.5.2 Sample scripts
    6. 9.6 Manually creating the migration volume
    7. 9.7 Changing and monitoring the progress of a migration
      1. 9.7.1 Changing the synchronization rate
      2. 9.7.2 Monitoring migration speed
      3. 9.7.3 Monitoring the impact of migration on host latency
      4. 9.7.4 Monitoring migration through the XIV event log
      5. 9.7.5 Monitoring migration speed through the fabric
      6. 9.7.6 Monitoring migration speed through the source storage system
      7. 9.7.7 Predicting run time using actual throughput
    8. 9.8 Thick-to-thin migration
    9. 9.9 Resizing the XIV volume after migration
    10. 9.10 Migrating XIV Generation 2 to XIV Gen3
      1. 9.10.1 Generation 2 to Gen3 migration using XDMU
      2. 9.10.2 Generation 2 to Gen3 migration using replication
      3. 9.10.3 Generation 2 to Gen3 migration in multi-site environments
      4. 9.10.4 Server- based migrations
    11. 9.11 Troubleshooting
      1. 9.11.1 Target connectivity fails
      2. 9.11.2 Remote volume LUN is unavailable
      3. 9.11.3 Local volume is not formatted
      4. 9.11.4 Host server cannot access the XIV migration volume
      5. 9.11.5 Remote volume cannot be read
      6. 9.11.6 LUN is out of range
    12. 9.12 Backing out of a data migration
      1. 9.12.1 Back out before migration is defined on the XIV
      2. 9.12.2 Back out after a data migration has been defined but not activated
      3. 9.12.3 Back out after a data migration has been activated but is not complete
      4. 9.12.4 Back out after a data migration has reached the synchronized state
    13. 9.13 Migration checklist
    14. 9.14 Device-specific considerations
      1. 9.14.1 EMC CLARiiON
      2. 9.14.2 EMC Symmetrix and DMX
      3. 9.14.3 HDS TagmaStore USP
      4. 9.14.4 HP EVA
      5. 9.14.5 IBM DS3000, DS4000, DS5000
      6. 9.14.6 IBM ESS 800
      7. 9.14.7 IBM DS6000 and DS8000
      8. 9.14.8 IBM Storwize V7000 and SAN Volume Controller
      9. 9.14.9 N series and iSCSI setup
    15. 9.15 Host-specific considerations
      1. 9.15.1 VMware ESX
    16. 9.16 Sample migration
  14. Chapter 10. Using Tivoli Storage Productivity Center for Replication
    1. 10.1 IBM Tivoli Productivity Center family
    2. 10.2 What Tivoli Productivity Center for Replication provides
    3. 10.3 Supported operating system platforms
    4. 10.4 Copy Services terminology
      1. 10.4.1 Copy sets
      2. 10.4.2 Sessions
    5. 10.5 Session states
    6. 10.6 System and connectivity overview
    7. 10.7 Monitoring
    8. 10.8 Web interface
      1. 10.8.1 Connecting to Tivoli Productivity Center for Replication GUI
      2. 10.8.2 Health Overview panel
      3. 10.8.3 Sessions panel
      4. 10.8.4 Storage Subsystems panel
    9. 10.9 Defining and adding XIV storage
    10. 10.10 XIV snapshots
      1. 10.10.1 Defining a session for XIV snapshots
      2. 10.10.2 Defining and adding copy sets to a session
      3. 10.10.3 Activating Snapshot session
      4. 10.10.4 Additional snapshot actions inside a session
    11. 10.11 XIV synchronous mirroring (Metro Mirror)
      1. 10.11.1 Defining a session for Metro Mirror
      2. 10.11.2 Defining, adding copy sets to a Metro Mirror session
      3. 10.11.3 Activating a Metro Mirror session
      4. 10.11.4 Suspending the Metro Mirror (XIV Synchronous Mirror) session
    12. 10.12 XIV asynchronous mirrors (Global Mirror)
      1. 10.12.1 Defining a session for asynchronous mirroring (Global Mirror)
      2. 10.12.2 Defining and adding copy sets to a Global Mirror session
      3. 10.12.3 Activating the Global Mirror session
      4. 10.12.4 Suspending the Global Mirror session
    13. 10.13 Using Tivoli Productivity Center 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