ibm spectrum accelerate: product overview · 28. asynchr onous mirr oring walkthr ough – part 2...

158
IBM Spectrum Accelerate Version 11.5.3 Product Overview GC27-6700-04 IBM

Upload: others

Post on 09-Nov-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

IBM Spectrum AccelerateVersion 11.5.3

Product Overview

GC27-6700-04

IBM

Page 2: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

NoteBefore using this information and the product it supports, read the information in “Notices” on page 139.

Edition notice

Publication number: GC27-6700-04. This publication applies to the version 11.5.3 of IBM Spectrum Accelerate™ andto all subsequent releases and modifications until otherwise indicated in a newer publication.

© Copyright IBM Corporation 2015.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

Page 3: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Contents

Figures . . . . . . . . . . . . . . . v

Tables . . . . . . . . . . . . . . . vii

About this document . . . . . . . . . ixPurpose and scope . . . . . . . . . . . . ix

Intended audience . . . . . . . . . . . ixAccessibility . . . . . . . . . . . . . ixDocument conventions . . . . . . . . . . ixRelated information and publications . . . . . ixTerms and abbreviations . . . . . . . . . x

Getting information, help, and service . . . . . . xSending or posting your comments . . . . . . . x

Chapter 1. Overview: IBM SpectrumAccelerate. . . . . . . . . . . . . . 1Features and functionality . . . . . . . . . . 2Hardware . . . . . . . . . . . . . . . 3Management options . . . . . . . . . . . 3Reliability . . . . . . . . . . . . . . . 4

Data mirroring. . . . . . . . . . . . . 4Self-healing mechanisms . . . . . . . . . 4Protected cache . . . . . . . . . . . . 5

Performance . . . . . . . . . . . . . . 5Functionality . . . . . . . . . . . . . . 6

Snapshot management . . . . . . . . . . 6Consistency groups for snapshots . . . . . . 6Storage pools . . . . . . . . . . . . . 6Remote monitoring and diagnostics. . . . . . 6SNMP . . . . . . . . . . . . . . . 6Multipathing . . . . . . . . . . . . . 7Automatic event notifications . . . . . . . . 7Management through GUI and CLI . . . . . . 7External replication mechanisms . . . . . . . 7Support for solid-state drive (SSD) caching . . . 7Upgradability . . . . . . . . . . . . . 8

Chapter 2. Connectivity . . . . . . . . 9IP and Ethernet connectivity . . . . . . . . . 9

Ethernet ports . . . . . . . . . . . . . 9Management connectivity . . . . . . . . . 9Interconnect connectivity . . . . . . . . . 10

Host system attachment . . . . . . . . . . 11Dynamic rate adaptation . . . . . . . . . 11Attaching volumes to hosts . . . . . . . . 11Excluding LUN0. . . . . . . . . . . . 11Advanced host attachment . . . . . . . . 12

CHAP authentication of iSCSI hosts . . . . . . 12Clustering hosts into LUN maps . . . . . . . 13

Volume mappings exceptions . . . . . . . 14Support for VMware extended operations . . . . 14

Writing zeroes . . . . . . . . . . . . 14Hardware-assisted locking . . . . . . . . 15Fast copy . . . . . . . . . . . . . . 15

QoS performance classes . . . . . . . . . . 16

Chapter 3. Storage pools . . . . . . . 17Protecting snapshots on a storage pool level . . . 18Thin provisioning . . . . . . . . . . . . 18

Chapter 4. Volumes and snapshots . . 21The volume life cycle . . . . . . . . . . . 21

Support for Symantec Storage Foundation ThinReclamation . . . . . . . . . . . . . 22

Snapshots . . . . . . . . . . . . . . . 23Redirect on write . . . . . . . . . . . 23Storage utilization . . . . . . . . . . . 26The snapshot auto-delete priority . . . . . . 26Snapshot name and association . . . . . . . 26The snapshot lifecycle . . . . . . . . . . 26Snapshot and snapshot group format . . . . . 31

Chapter 5. Consistency groups . . . . 33Creating a consistency group . . . . . . . . 33Taking a snapshot of a Consistency Group . . . . 34The snapshot group life cycle . . . . . . . . 35Restoring a consistency group . . . . . . . . 36

Chapter 6. Synchronous remotemirroring . . . . . . . . . . . . . . 39Remote mirroring basic concepts . . . . . . . 39Remote mirroring operation . . . . . . . . . 40Configuration options . . . . . . . . . . . 41

Volume configuration . . . . . . . . . . 41Communication errors . . . . . . . . . . 42Coupling activation. . . . . . . . . . . 42

Synchronous mirroring statuses. . . . . . . . 43Link status . . . . . . . . . . . . . 44Operational status . . . . . . . . . . . 44Synchronization status. . . . . . . . . . 44

I/O operations . . . . . . . . . . . . . 46Synchronization process . . . . . . . . . . 46

State diagram. . . . . . . . . . . . . 47Coupling recovery . . . . . . . . . . . 48Uncommitted data . . . . . . . . . . . 48Constraints and limitations . . . . . . . . 48Last-consistent snapshots . . . . . . . . . 48Secondary locked error status . . . . . . . 50

Role switchover . . . . . . . . . . . . . 50Role switchover when remote mirroring isoperational . . . . . . . . . . . . . 51Role switchover when remote mirroring isnonoperational . . . . . . . . . . . . 51Resumption of remote mirroring after rolechange . . . . . . . . . . . . . . . 53

Remote mirroring and consistency groups . . . . 54Using remote mirroring for media error recovery . . 55Supported configurations . . . . . . . . . . 55

© Copyright IBM Corp. 2015 iii

Page 4: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

I/O performance versus synchronization speedoptimization . . . . . . . . . . . . . . 55Implications regarding other commands . . . . . 55

Chapter 7. Asynchronous remotemirroring . . . . . . . . . . . . . . 57Asynchronous mirroring highlights . . . . . . 58Asynchronous mirroring terminology. . . . . . 59Asynchronous mirroring specifications . . . . . 60Asynchronous mirroring abilities . . . . . . . 60

Replication scheme . . . . . . . . . . . 61Snapshot-based technology . . . . . . . . 62Mirroring special snapshots . . . . . . . . 63Initializing the mirroring . . . . . . . . . 63The sync job . . . . . . . . . . . . . 65Mirroring schedules and intervals . . . . . . 66The mirror snapshot (ad-hoc sync job) . . . . 67Determining replication and mirror states . . . 68Asynchronous mirroring process walk-through 77Peer roles . . . . . . . . . . . . . . 84Mirroring state . . . . . . . . . . . . 84

Mirroring consistency groups . . . . . . . . 86Setting a consistency group to be mirrored . . . 88Setting-up a mirrored consistency group. . . . 88Adding a mirrored volume to a mirroredconsistency group . . . . . . . . . . . 89Removing a volume from a mirrored consistencygroup . . . . . . . . . . . . . . . 89

Accommodating disaster recovery scenarios . . . 89Unplanned service disruption . . . . . . . 90Failover . . . . . . . . . . . . . . 91Recovery . . . . . . . . . . . . . . 91No recovery . . . . . . . . . . . . . 91Failback . . . . . . . . . . . . . . 92Planned service disruption . . . . . . . . 93Failover . . . . . . . . . . . . . . 93Testing for service disruption . . . . . . . 94Failover test . . . . . . . . . . . . . 94Following the test . . . . . . . . . . . 94Nondisruptive testing . . . . . . . . . . 94Unintentional/erroneous application of rolechange . . . . . . . . . . . . . . . 95

Chapter 8. IBM Hyper-Scale Mobility . . 97The IBM Hyper-Scale Mobility process . . . . . 97

Chapter 9. Data migration . . . . . . 101I/O handling in data migration . . . . . . . 101Data migration stages . . . . . . . . . . 102Handling failures . . . . . . . . . . . . 104

Chapter 10. Event handling . . . . . 105Event information . . . . . . . . . . . . 105Viewing events . . . . . . . . . . . . . 106Event notification rules . . . . . . . . . . 106Alerting events configuration limitations . . . . 107Defining destinations . . . . . . . . . . . 107Defining gateways. . . . . . . . . . . . 107Monitoring Spectrum Accelerate using SNMP traps 108

Chapter 11. Access control . . . . . 111User roles and permission levels . . . . . . . 111

Predefined users . . . . . . . . . . . 113Application administrator . . . . . . . . 114

Authentication methods . . . . . . . . . . 115Native authentication. . . . . . . . . . 116LDAP authentication . . . . . . . . . . 116Switching between LDAP and nativeauthentication modes. . . . . . . . . . 121

Access control commands . . . . . . . . . 122

Chapter 12. Multi-Tenancy . . . . . . 125Multi-tenancy principles. . . . . . . . . . 125Multi-tenancy concept diagram . . . . . . . 127Working with multi-tenancy . . . . . . . . 127

Chapter 13. Non-disruptive code load 131

Glossary . . . . . . . . . . . . . 133

Notices . . . . . . . . . . . . . . 139Trademarks . . . . . . . . . . . . . . 140

Index . . . . . . . . . . . . . . . 141

iv IBM Spectrum Accelerate: Product Overview

Page 5: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Figures

1. Volume operations . . . . . . . . . . 222. The Redirect-on-Write process: the volume's

data and pointer . . . . . . . . . . . 243. The Redirect-on-Write process: when a

snapshot is taken the header is written first . . 244. The Redirect-on-Write process: the new data is

written . . . . . . . . . . . . . . 255. The Redirect-on-Write process: The snapshot

points at the old data where the volume pointsat the new data . . . . . . . . . . . 25

6. The snapshot life cycle . . . . . . . . . 277. Restoring volumes . . . . . . . . . . 298. Restoring snapshots . . . . . . . . . . 309. The Consistency Group's lifecycle . . . . . 33

10. A snapshot is taken for each volume of theConsistency Group . . . . . . . . . . 34

11. Most snapshot operations can be applied tosnapshot groups . . . . . . . . . . . 35

12. Coupling states and actions . . . . . . . 4713. Synchronous mirroring extended response time

lag . . . . . . . . . . . . . . . 5714. Asynchronous mirroring - no extended

response time lag . . . . . . . . . . 5815. The replication scheme. . . . . . . . . 6216. Location of special snapshots . . . . . . 6317. Asynchronous mirroring over-the-wire

initialization . . . . . . . . . . . . 6418. : The Asynchronous mirroring Sync Job 6619. The way RPO_OK is determined . . . . . 6920. The way RPO_Lagging is determined . . . . 70

21. Determining the asynchronous mirroringstatus – example part 1 . . . . . . . . 70

22. Determining the asynchronous mirroringstatus – example part 2 . . . . . . . . 71

23. Determining Asynchronous mirroring status –example part 3 . . . . . . . . . . . 72

24. The deletion priority of the depleting storageis set to 3 . . . . . . . . . . . . . 74

25. The deletion priority of the depleting storageis set to 4 . . . . . . . . . . . . . 74

26. The deletion priority of the depleting storageis set to 0 . . . . . . . . . . . . . 75

27. Asynchronous mirroring walkthrough – Part 1 7828. Asynchronous mirroring walkthrough – Part 2 7829. Asynchronous mirroring walkthrough – Part 3 7930. Asynchronous mirroring walkthrough – Part 4 8031. Asynchronous mirroring walkthrough – Part 6 8132. Asynchronous mirroring walkthrough – Part 7 8133. Asynchronous mirroring walkthrough – Part 8 8234. Asynchronous mirroring walkthrough – Part 9 8335. Asynchronous mirroring walkthrough – Part

10 . . . . . . . . . . . . . . . . 8336. Asynchronous mirroring walkthrough – Part

11 . . . . . . . . . . . . . . . . 8437. Flow of the IBM Hyper-Scale Mobility . . . 9838. Data migration steps . . . . . . . . . 10339. XIV GUI – The Misc tab in XIV Settings 11040. The way the system validates users through

issuing LDAP searches . . . . . . . . 120

© Copyright IBM Corp. 2015 v

Page 6: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

vi IBM Spectrum Accelerate: Product Overview

Page 7: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Tables

1. Configuration options for a volume . . . . 412. Configuration options for a coupling . . . . 413. Synchronous mirroring statuses . . . . . . 434. Example of the last consistent snapshot time

stamp process . . . . . . . . . . . . 505. Disaster scenario leading to a secondary

consistency decision. . . . . . . . . . 52

6. Resolution of uncommitted data forsynchronization of the new primary volume . 53

7. The IBM Hyper-Scale Mobility process . . . 988. Available user roles . . . . . . . . . 1119. Application administrator commands 115

© Copyright IBM Corp. 2015 vii

Page 8: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

viii IBM Spectrum Accelerate: Product Overview

Page 9: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

About this document

IBM® Spectrum Accelerate™ is a member of the IBM Spectrum Storage™ family ofsoftware-defined storage products that allow enterprises to use their own serverand disk infrastructure for assembling, setting up, and running one or morestorage systems that incorporate the proven IBM XIV® storage technology.

Purpose and scopeThis document provides a functional feature overview of IBM SpectrumAccelerate™, a member of the IBM Spectrum Storage family of software-definedstorage solutions. Relevant tables, charts, graphic interfaces, sample outputs, andappropriate examples are also provided.

Intended audienceThis document is aimed for administrators, IT staff, and other professionals whowork or intend to work with Spectrum Accelerate.

AccessibilityThe IBM Spectrum family of products strives to provide products with usableaccess for everyone, regardless of age or ability.

This product uses standard Windows navigation keys.

For more information, see the accessibility features topic in the Reference section.

Document conventionsThe following conventions are used in this document:

Note: These notices provide important tips, guidance, or advice.

Important: These notices provide information or advice that might help you avoidinconvenient or difficult situations.

Related information and publicationsYou can find additional information and publications related to IBM SpectrumAccelerate on the following information sources.v IBM Spectrum Accelerate marketing portal (ibm.com/systems/storage/

spectrum/accelerate)v IBM Spectrum Accelerate on IBM Knowledge Center (ibm.com/support/

knowledgecenter/STZSWD) – on which you can find the following relatedpublications:– IBM Spectrum Accelerate – Release Notes– IBM Spectrum Accelerate – Planning, Deployment, and Operation Guide– IBM Spectrum Accelerate – Command-Line Interface (CLI) Reference Guide– IBM XIV Management Tools – Release Notes– IBM XIV Management Tools – Operations Guide– Platform and application integration solutions for IBM Spectrum Accelerate –

See under 'Platform and application integration'

© Copyright IBM Corp. 2015 ix

Page 10: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v IBM XIV Storage System on IBM Knowledge Center (ibm.com/support/knowledgecenter/STJTAG) – on which you can find the following relatedpublications:– IBM XIV Management Tools – Release Notes– IBM XIV Management Tools – Operations Guide

v VMware Documentation (vmware.com/support/pubs)v VMware Knowledge Base (kb.vmware.com)v VMware KB article on IBM Spectrum Accelerate (kb.vmware.com/kb/2111406)

Terms and abbreviationsA complete list of terms and abbreviations can be found in the “Glossary” on page133.

Getting information, help, and serviceIf you need help, service, technical assistance, or want more information about IBMproducts, you can find various sources to assist you. You can view the followingwebsites to get information about IBM products and services and to find the latesttechnical information and support.v IBM website (ibm.com®)v IBM Support Portal website (www.ibm.com/storage/support)v IBM Directory of Worldwide Contacts website (www.ibm.com/planetwide)

Sending or posting your commentsYour feedback is important in helping to provide the most accurate and highestquality information.

Procedure

To submit any comments about this guide:v Go to IBM Spectrum Accelerate on IBM Knowledge Center (ibm.com/support/

knowledgecenter/STZSWD), drill down to the relevant page, and then click theFeedback link that is located at the bottom of the page.

The feedback form is displayed and you can use it to enter and submit yourcomments privately.

v You can post a public comment on the Knowledge Center page that you areviewing, by clicking Add Comment. For this option, you must first log in toIBM Knowledge Center with your IBM ID.

v You can send your comments by email to [email protected]. Be sure toinclude the following information:– Exact publication title and product version

x IBM Spectrum Accelerate: Product Overview

Page 11: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

– Publication form number (for example: SC01-0001-01)– Page, table, or illustration numbers that you are commenting on– A detailed description of any information that should be changed

Note: When you send information to IBM, you grant IBM a nonexclusive rightto use or distribute the information in any way it believes appropriate withoutincurring any obligation to you.

About this document xi

Page 12: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

xii IBM Spectrum Accelerate: Product Overview

Page 13: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 1. Overview: IBM Spectrum Accelerate

IBM Spectrum Accelerate™ is a key member of the IBM Spectrum Storage portfolio.It is a highly flexible storage solution that enables rapid deployment of blockstorage services for new and traditional workloads, on-premises, off-premises andin a combination of both.

Designed to help enable cloud environments, it is based on the proven technologydelivered in IBM XIV Storage System. Other members of the IBM SpectrumStorage™ family of software-defined storage (SDS) products which currentlyincludes the following software applications:v Spectrum Virtualizev Spectrum Scalev Spectrum Controlv Spectrum Protectv Spectrum Archive

For more information about the Spectrum Storage portfolio, go tohttp://www.ibm.com/systems/storage/spectrum.

Spectrum Accelerate is provided as a software defined storage product for VMwareESXi hypervisors and can be installed on 3–15 (minimum 3; maximum 15) physicalESXi hosts (servers), which together comprise a single storage system. SpectrumAccelerate pools server-attached storage into a consolidated hyper store. Thesoftware leverages the same technology used by XIV systems, and features similarXIV software running on qualified commodity hardware. This solution providesthe power of XIV on existing datacenter resources, making it suitable for rapiddeployment in a ‘build-your-own’ storage infrastructure. The solution makes itpossible to use any hardware for such applications as development or test.

This software-defined storage system packages a major part of the capabilities thatmake the Spectrum Accelerate system an outstanding solution for high-endenterprise environments. In addition, Spectrum Accelerate features three of themost beneficial aspects:v Consistent high performance with optimizationv A simplified management experience due to an architecture that eliminates

many traditional planning, setup and maintenance choresv Advanced features including snapshot, synchronous and asynchronous

replication, multi-tenancy, QoS, and support for open cloud standards.

Spectrum Accelerate runs as a virtual machine concurrently on several VMwarevSphere ESXi hypervisors, allowing the creation of a server-based storage areanetwork (SAN) from commodity hardware that includes x86-64 servers, Ethernetswitches, solid state drives (SSDs), and high-density disk drives. Runningalongside other virtual appliances on the same ESXi server, Spectrum Accelerateworks by efficiently grouping virtual nodes with the underlying physical disks andspreading the data evenly across the nodes, creating a single, provisioning-readyvirtual array. It cost-effectively uses any standard data center network for bothinter-node and host connectivity.

© Copyright IBM Corp. 2015 1

Page 14: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Spectrum Accelerate supports any hardware configuration and components thatmeet the minimal requirements, and requires no explicit hardware certification.Scaling of nodes is linear and nondisruptive.

Each individual ESXi host with its single Spectrum Accelerate acts as a virtual XIVmodule, which contains 6 to 12 physical disks that Spectrum Accelerate uses. Eachstorage node, uses a10-Gigabit Ethernet (10 GigE) interconnection with the otherSpectrum Accelerate storage nodes to create unique data distribution capabilitiesand other advanced features.

The ESXi hosts can be connected to a vCenter server, although it is not arequirement. If a vCenter server is used, the Spectrum Accelerate storage systemand disk resources can be visually monitored through vSphere Client.

After the Spectrum Accelerate storage system is up and running, it can be used forstorage provisioning over iSCSI, and can be managed with the dedicated XIVManagement Tools (CLI or GUI) or through RESTful APIs.

Features and functionalitySpectrum Accelerate is characterized by an advanced set of storage capabilities andfeatures.

Performance

v Cache and disks in every modulev Extremely fast rebuild time in the event of disk failurev Constant, predictable high performance that scales linearly with added

storage enclosures with zero tuningv Uses flash media to provide a superior cache hit ratio, as well as

extended cache across all volumes to boost performance while savingthe need to manage tiers

Agility

v Deploy scale-out storage grids in automated environments in minutesrather than days

v Operate seamlessly across delivery models—on commodity servers inprivate cloud, with the optimized XIV system, and on public cloudinfrastructure

v Repurpose servers at any time to improve utilization

Quality of Service (QoS)

v Ability to restrict the performance associated with selected tenants (in amulti-tenant setting), storage pools, or hosts

v Establish different performance tiers without a need for physical tieringv Sustain high performance without any manual or system-background

tuning

Reliability

v Maintains resilience during hardware failures, continuing to functionwith minimal performance impact

v Data mirroring guarantees that the data is always protected againstpossible failure

v Fault tolerance, failure analysis, and self-healing algorithmsv No single-point-of-failure

2 IBM Spectrum Accelerate: Product Overview

Page 15: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Connectivity

v iSCSI interfacev Multiple host access

Multi-tenancy

v Allocate storage resources to several independent administrators,assuring that one administrator cannot access resources associated withanother administrator

v Isolation of tenants; storage domain administrators are not informed ofresources outside their storage domain

Hyper-Scale Manager

v Easy-to-use Graphical User Interface (GUI) management dashboardbased on the XIV Management Tool

v Runs on any browser enabled device, from desktops to iOS and Androidmobile devices

IBM Hyper-Scale Consistency

v Supports cross-system consistencyv Enables coordinated snapshots across independent Spectrum Accelerate

and XIV systemsv Helps to ensures data protection across multiple Spectrum Accelerate

and XIV systems

Snapshots

v Innovative snapshot functionality, including support for practicallyunlimited number of snapshots, snap-of-snap and restore-from-snap

Replication

v Synchronous and asynchronous replication of a volume (as well as aconsistency group) to a remote system

Ease of management

v Standardize data management across the data centerv Tune-free, scaling enables management of large, dynamic storage

capacities with minimal overhead and trainingv Non-disruptive maintenance and upgradesv Management software with graphical user interface (GUI), the IBM

Hyper-Scale Manager, and a command-line interface (CLI)v A mobile dashboard accessible from any browser-enabled device, from

desktops to iOS and Android mobile devicesv Notifications of events through e-mail, SNMP, or SMS messages

HardwareFor information on hardware requirements, consult the IBM Spectrum AcceleratePlanning, Deployment, and Operation Guide.

Management optionsSpectrum Accelerate provides several management options.

GUI, CLI, and RESTful API and OpenStack management applicationsLike other IBM Spectrum Storage offerings,Spectrum Accelerate includes anintuitive, easy-to-use Graphical User Interface (GUI) management

Chapter 1. Overview: IBM Spectrum Accelerate 3

Page 16: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

dashboard, and integrates with IBM Spectrum Control for consolidatedmanagement. The IBM Spectrum Accelerate GUI, called the IBMHyper-Scale Manager, can be run on any browser enabled device, fromdesktops to iOS and Android mobile devices.

An advanced CLI management which fully supports scripting andautomation

Web service APIs in adherence to the Representational State Transfer(REST) architecture

OpenStack, open source software for creating public and private clouds

SNMPThird-party SNMP-based monitoring tools are supported using SpectrumAccelerate MIB.

E-mail notificationsSpectrum Accelerate can notify users, applications or both through e-mailmessages regarding failures, configuration changes, and other importantinformation.

SMS notificationsUsers can be notified through SMS of any system event.

ReliabilitySpectrum Accelerate reliability features include data mirroring, spare storagecapacity, self-healing mechanisms, and data virtualization.

Data mirroringData arriving from the host for storage is temporarily placed in two separatecaches before it is permanently written to two disk drives located in separatemodules.

This guarantees that the data is always protected against possible failure ofindividual modules, and this protection is in effect even before data has beenwritten to the nonvolatile disk media.

Self-healing mechanismsSpectrum Accelerate includes built-in functions for self-healing to take care ofindividual component malfunctions and to automatically restore full dataredundancy in the system within minutes.

Self-healing functions in Spectrum Accelerate increase the level of reliability ofyour stored data. Automatic restoration of data redundancy after hardwarefailures, class-leading rebuild speed and smart ‘call home’ support help ensurereliability and performance at all times with minimal human effort.

Self-healing mechanisms are not just started in a reactive fashion following anindividual component malfunction, but also proactively - upon detection ofconditions indicating potential imminent failure of a component. Often, potentialproblems are identified well before they might occur with the help of advancedalgorithms of preventive self-analysis that are continually running in thebackground.

In all cases, self-healing mechanisms implemented in Spectrum Accelerate identifyall data portions in the system for which a second copy has been corrupted or is in

4 IBM Spectrum Accelerate: Product Overview

Page 17: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

danger of being corrupted. Spectrum Accelerate creates a secure second copy outof the existing copy, and it stores it in the most appropriate part of the system.Taking advantage of the full data virtualization, and based on the data distributionschemes implemented in Spectrum Accelerate, such processes are completed withminimal data migration.

As with all other processes in the system, the self-healing mechanisms arecompletely transparent to the user, and the regular activity of responding to I/Odata requests is thoroughly maintained with no degradation to systemperformance. Performance, load balance, and reliability are never compromised bythis activity.

Protected cacheSpectrum Accelerate cache writes are protected. Cache memory on a module isprotected with error correction coding (ECC).

All write requests are written to two separate cache modules before the host isacknowledged. The data is later de-staged to disks.

PerformanceSpectrum Accelerate is a high performance software-defined storage productdesigned to help enterprises overcome storage challenges through an exceptionalmix of characteristics and capabilities.

Breakthrough architecture and designThe design of Spectrum Accelerate enables performance optimizationtypically unattainable by traditional architectures. This optimization resultsin superior utilization of system resources and automatic workloaddistribution across all system hard drives. It also empowers administratorsto tap into the system’s rich set of built-in, advanced functionality such asthin provisioning, mirroring and snapshots without adversely affectingperformance.

Consistent, predictable performance and scalabilitySpectrum Accelerate can optimize load distribution across all disks for allworkloads, coupled with a powerful distributed cache implementation,facilitates high performance that scales linearly with added storageenclosures. Because this high performance is consistent—without the needfor manual tuning—users can enjoy the same high performance during thetypical peaks and troughs associated with volume and snapshot usagepatterns, even after a component failure.

Resilience and self-healingSpectrum Accelerate maintains resilience during hardware failures,continuing to function with minimal performance impact. Additionally, thesolution’s advanced self-healing capabilities allow it to withstandadditional hardware failures once it recovers from the initial failure.

Automatic optimization and managementUnlike traditional storage solutions, Spectrum Accelerate automaticallyoptimizes data distribution through hardware configuration changes suchas component additions, replacements or failure. This helps eliminate theneed for manual tuning or optimization.

Chapter 1. Overview: IBM Spectrum Accelerate 5

Page 18: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

FunctionalitySpectrum Accelerate functions include point-in-time copying, automaticnotifications, and ease of management.

Snapshot managementSpectrum Accelerate provides powerful snapshot mechanisms for creatingpoint-in-time copies of volumes.

The snapshot mechanisms include the following features:v Differential snapshots, where only the data that differs between the source

volume and its snapshot consumes storage spacev Instant creation of a snapshot without any interruption of the application,

making the snapshot available immediatelyv Writable snapshots, which can be used for a testing environment; storage space

is only required for actual data changesv Snapshot of a writable snapshot can be takenv High performance that is independent of the number of snapshots or volume

sizev The ability to restore from snapshot to volume or snapshot

Consistency groups for snapshotsVolumes can be put in a consistency group to facilitate the creation of consistentpoint-in-time snapshots of all the volumes in a single operation.

This is essential for applications that use several volumes concurrently and need aconsistent snapshot of all these volumes at the same point in time.

Storage poolsStorage pools are used to administer the storage resources of volumes andsnapshots.

The storage space can be administratively portioned into storage pools to enablethe control of storage space consumption for specific applications or departments.

Remote monitoring and diagnosticsSpectrum Accelerate can email important system events to IBM Support.

This allows IBM to immediately detect hardware failures warranting immediateattention and react swiftly (for example, dispatch service personnel). Additionally,IBM support personnel can conduct remote support and generate diagnostics forboth maintenance and support purposes. All remote support is subject to customerpermission and remote support sessions are protected with a challenge responsesecurity mechanism.

SNMPThird-party SNMP-based monitoring tools are supported for the SpectrumAccelerate MIB.

6 IBM Spectrum Accelerate: Product Overview

Page 19: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

MultipathingThe parallel design underlying the activity of the Host Interface modules and thefull data virtualization achieved in the system implement thorough multipathingaccess algorithms.

Thus, as the host connects to the system through several independent ports, eachvolume can be accessed directly through any of the Host Interface modules, andno interaction has to be established across the various modules of the HostInterface array.

Automatic event notificationsThe system can be set to automatically transmit appropriate alarm notificationmessages through SNMP traps, or email messages.

The user can configure various triggers for sending events and various destinationsdepending on the type and severity of the event. The system can also beconfigured to send notifications until a user acknowledges their receipt.

Management through GUI and CLISpectrum Accelerate provides the user-friendly and intuitive XIV GUI applicationand CLI commands to configure and monitor the system.

These feature the same comprehensive system management functionality as XIV,encompassing hosts, volumes, consistency groups, storage pools, snapshots,mirroring relationships, events, and more.

External replication mechanismsExternal replication and mirroring mechanisms in Spectrum Accelerate are anextension of the internal replication mechanisms and of the overall functionality ofthe system.

These features provide protection against a site disaster to ensure productioncontinues. The mirroring can be performed over iSCSI connections, and thehost-to-storage protocol is independent of the mirroring protocol.

Support for solid-state drive (SSD) cachingSolid-state drive (SSD) caching, available as an option, provides up to four timesfaster performance for application workloads, without the need for setup,administration, or migration policies.

The SSD extended caching option adds from 500 through 800 GB read cachecapacity to each module. For example, adding 500 GB read cache capacity to eachmodule in a fully populated configuration (15 modules) creates a total of 7.5 TB.Spectrum Accelerate manages the flash caching. There is nothing that the storageadministrator must configure. The storage administrator can enable or disable theextended flash cache at the system level or on a per host volume level. Thesoftware dynamically and uses the flash as an extended read cache to boostapplication performance.

Flash caching with SSD provides a significant advantage when compared tocaching over tiering with SSDs. Tiering with SSDs limits caching of data sets tospecific applications, requires constant analysis and frequent writing from cache todisk and could involve rebalancing of SSD resources to suit evolving workloads.

Chapter 1. Overview: IBM Spectrum Accelerate 7

Page 20: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

SSD caching, on the other hand, brings improved performance to all applicationsserved by the storage system without the planning complexities and resourcesrequired by SSD tiering.

Finally, the Spectrum Accelerate SSD caching design provides administrators withthe flexibility to define the applications they would like to accelerate should theywish to single out particular workloads. Although by default the cache is madeavailable to all applications, it may be easily restricted to select volumes if desired;volumes containing logs, history data, large images or inactive data can beexcluded. Ultimately, this means that the SSD cache can store more dynamic data.

UpgradabilitySpectrum Accelerate is available in a partial rack system comprised of as few asthree (3) modules, or as many as fifteen (15) modules per rack.

Partial rack systems may be upgraded by adding data and interface modules, upto the maximum of fifteen (15) modules per rack.

The system supports a non-disruptive upgrade of the system, as well as hotfixupdates.

8 IBM Spectrum Accelerate: Product Overview

Page 21: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 2. Connectivity

This chapter describes the way the storage system connects internally andexternally.

IP and interface connectivityIntroduces various configuration options of the storage system.

Host system attachmentIntroduces various topics regarding the way the storage system connects toits hosts.

IP and Ethernet connectivityThe following topics provide a basic explanation of the various Ethernet ports andIP interfaces that can be defined and various configurations that are possiblewithin the Spectrum Accelerate.

The Spectrum Accelerate IP connectivity provides:v iSCSI services over IP or Ethernet networksv Management communication

Ethernet portsThe following types of Ethernet ports are supported.

iSCSI service portsThese ports are used for iSCSI over IP or Ethernet services. A fullyequipped rack is configured with six Ethernet ports for iSCSI service.These ports should connect to the user's IP network and provideconnectivity to the iSCSI hosts. The iSCSI ports can also acceptmanagement connections.

Management portsThese ports are dedicated for CLI and GUI communications, as well asbeing used for outgoing SNMP and SMTP connections. A fully equippedrack contains three management ports.

Interconnect portsThese ports are used for intra-cluster communication. They are configuredwhen the system is first deployed. This connectivity is critical for thefunctionality of the system.

Management connectivityManagement connectivity is used for the following functions.v Spectrum Accelerate uses the XIV Management Tool, an intuitive, easy-to-use

Graphical User Interface (GUI) that is accessible through IBM Hyper-ScaleManager. Thhe management dashboard can be run on any browser enableddevice, from desktops to iOS and Android mobile devices.

v Executing XIV CLI commands through the IBM XIV command-line interface(XCLI)

v Controlling the Spectrum Accelerate product through the IBM XIV StorageManagement GUI

v Sending e-mail notification messages and SNMP traps about event alerts

© Copyright IBM Corp. 2015 9

Page 22: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

To ensure management redundancy in case of module failure, in addition to theIBM Hyper-Scale Manager dashboard, Spectrum Accelerate supports managementfunction that are accessible from three different IP addresses. Each of the three IPaddresses is handled by a different hardware module. The various IP addresses aretransparent to the user and management functions can be performed through anyof the IP addresses. These addresses can be accessed simultaneously by multipleclients. Users only need to configure the IBM XIV Storage Management GUI orXCLI for the set of IP addresses that are defined for the specific system. SpectrumAccelerate also features on-the-go management through a special MobileDashboard that works with Apple iOS and Android devices.

Note: All management IP interfaces must be connected to the same subnet and usethe same network mask, gateway, and MTU.

IBM Hyper-Scale Manager dashboard

Like other IBM Spectrum Storage offerings, IBM Spectrum™ Accelerate includes theIBM Hyper-Scale Manager, which is based on the XIV Management Tool (GUI)which can integrate with IBM Spectrum Control for consolidated management. TheIBM Hyper-Scale Manager can be run on any browser enabled device, fromdesktops to iOS and Android mobile devices to let clients manage technical andadministrative operations through a mobile dashboard at the tap of a screen. In theera of real-time data management, mobile management of storage can help reducestorage downtime, data overload, over-provisioning and application disruption.

XCLI and IBM XIV Storage Management GUI management

The Spectrum Accelerate management connectivity system allows users to managethe system from both the XCLI and IBM XIV Storage Management GUI.Accordingly, the XCLI and IBM XIV Storage Management GUI can be configuredto manage the system through iSCSI IP interfaces. Both XCLI and IBM XIV StorageManagement GUI management is run over TCP port 7778. With all trafficencrypted through the Secure Sockets Layer (SSL) protocol.

System-initiated IP communication

The IBM XIV Storage System can also initiate IP communications to send eventalerts as necessary. Two types of system-initiated IP communications exist:

Sending e-mail notifications through the SMTP protocolE-mails are used for both e-mail notifications and for SMS notificationsthrough the SMTP to SMS gateways.

Sending SNMP traps

Note: SMPT and SNMP communications can be initiated from any of thethree IP addresses. This is different from XCLI and IBM XIV StorageManagement GUI, which are user initiated. Accordingly, it is important toconfigure all three IP interfaces and to verify that they have networkconnectivity.

Interconnect connectivityInterconnect connectivity is used for all communication between system modules.This includes:v Data trafficv Cluster monitoring

10 IBM Spectrum Accelerate: Product Overview

Page 23: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v Housekeeping operations

Host system attachmentSpectrum Accelerate attaches to hosts of various operating systems.

The Spectrum Accelerate system can be attached to hosts through a complementaryHost Attachment Kit (HAK) utilities. For more information, see 'Platform andapplication integration'.

Note: The term host system attachment was previously known as host connectivity ormapping.

Dynamic rate adaptationSpectrum Accelerate provides a mechanism for handling insufficient bandwidthand external connections for the mirroring process.

The mirroring process replicates a local site on a remote site (see the Chapter 6,“Synchronous remote mirroring,” on page 39 and Chapter 7, “Asynchronousremote mirroring,” on page 57 chapters later in this document). To accomplish this,the process depends on the availability of bandwidth between the local and remotestorage systems.

The mirroring process sync rate attribute determines the bandwidth that isrequired for a successful mirroring. Manually configuring this attribute, the usertakes into account the availability of bandwidth for the mirroring process, whereSpectrum Accelerate adjusts itself to the available bandwidth. Moreover, in somecases the bandwidth is sufficient, but external IOs latency causes the mirroringprocess to fall behind incoming IOs, thus to repeat replication jobs that werealready carried out, and eventually to under-utilize the available bandwidth even ifit was adequately allocated.

Spectrum Accelerate prevents IO time-outs through continuously measuring the IOlatency. Excess incoming IOs are pre-queued until they can be submitted. Themirroring rate dynamically adapts to the number of pre-queued incoming IOs,allowing for a smooth operation of the mirroring process.

Attaching volumes to hostsWhile Spectrum Accelerate identifies volumes and snapshots by name, hostsidentify volumes and snapshots according to their logical unit number (LUN).

A LUN (logical unit number) is an integer that is used when attaching a system'svolume to a registered host. Each host can access some or all of the volumes andsnapshots on the storage system, up to a set maximum. Each accessed volume orsnapshot is identified by the host through a LUN.

For each host, a LUN identifies a single volume or snapshot. However, differenthosts can use the same LUN to access different volumes or snapshots.

Excluding LUN0LUN0 cannot be used as a normal LUN.

Chapter 2. Connectivity 11

Page 24: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

LUN0 can be mapped to a volume just like other LUNs. However, when novolume is mapped to LUN0, the IBM XIV Host Attachment Kit (HAK) is using itto discover the LUN array. Hence, we recommend not to use LUN0 as a normalLUN.

Advanced host attachmentSpectrum Accelerate provides flexible host attachment options.

The following host attachment options are available:v Definition of different volume mappings for different ports on the same hostv Support for hosts that have iSCSI ports.

CHAP authentication of iSCSI hostsThe MS-CHAP extension enables authentication of initiators (hosts) toSpectrumAccelerate and vice versa in unsecured environments.

When CHAP support is enabled, hosts are securely authenticated by SpectrumAccelerate. This increases overall system security by verifying that onlyauthenticated parties are involved in host-storage interactions.

Definitions

The following definitions apply to authentication procedures:

CHAP Challenge Handshake Authentication Protocol

CHAP authenticationAn authentication process of an iSCSI initiator by a target throughcomparing a secret hash that the initiator submits with a computed hash ofthat initiator's secret which is stored on the target.

InitiatorThe host.

Oneway (unidirectional CHAP)CHAP authentication where initiators are authenticated by the target, butnot vice versa.

Supported configurations

CHAP authentication typeOneway (unidirectional) authentication mode, meaning that the Initiator(host) has to be authenticated by the Spectrum Accelerate.

MDS CHAP authentication utilizes the MDS hashing algorithm.

Access scopeCHAP-authenticated Initiators are granted access to the SpectrumAccelerate via mapping that may restrict access to some volumes.

Authentication modes

Spectrum Accelerate supports the following authentication modes:

None (default)In this mode, an initiator is not authenticated by the Spectrum Accelerate.

12 IBM Spectrum Accelerate: Product Overview

Page 25: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

CHAP (oneway)In this mode, an initiator is authenticated by the Spectrum Acceleratebased on the pertinent initiator's submitted hash, which is compared to thehash computed from the initiator's secret stored on the IBM XIV StorageSystem.

Changing the authentication mode from None to CHAP requires an authenticationof the host. Changing the mode from CHAP to None doesn't require anauthentication.

Complying with RFC 3720

Spectrum Accelerate CHAP authentication complies with the CHAP requirementsas stated in RFC 3720. on the following Web site:http://tools.ietf.org/html/rfc3720

Secret lengthThe secret has to be between 96 bits and 128 bits; otherwise, the systemfails the command, responding that the requirements are not fulfilled.

Initiator secret uniquenessUpon defining or updating an initiator (host) secret, the system comparesthe entered secret's hash with existing secrets stored by the system anddetermines whether the secret is unique. If it is not unique, the systempresents a warning to the user, but does not prevent the command fromcompleting successfully.

Clustering hosts into LUN mapsTo enhance the management of hosts, Spectrum Accelerate allows clustering themtogether, where the clustered hosts are provided with identical mappings.

The mapping of volumes to LUN identifiers is defined per cluster and applies toall of the hosts in the cluster.

Adding a host to a clusterAdding a host to a cluster is a straightforward action in which a host isadded to a cluster and is connected to a LUN:v Changing the host's mapping to the cluster's mapping.v Changing the cluster's mapping to be identical to the mapping of the

newly added host.

Removing a host from a clusterThe host is disbanded from the cluster, maintaining its connection to theLUN:v The host's mapping remains identical to the mapping of the cluster.v The mapping definitions do not revert to the host's original mapping

(the mapping that was in effect before the host was added to thecluster).

v The host's mapping can be changed.

Note:

v Spectrum Accelerate defines the same mapping to all of the hosts of the samecluster. No hierarchy of clusters is maintained.

v Mapping a volume to a LUN that is already mapped to a volume.v Mapping an already mapped volume to another LUN.

Chapter 2. Connectivity 13

Page 26: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Volume mappings exceptionsSpectrum Accelerate facilitates association of cluster mappings to a host that isadded to a cluster.

The system also facilitates easy specification of mapping exceptions for such host;such exceptions are warranted to accommodate cases where a host must have amapping that is not defined for the cluster (e.g., Boot From SAN).

Mapping a volume to a host within a cluster It is impossible to map a volume or a LUN that are already mapped.

For example, the host host1 belongs to the cluster cluster1 which has amapping for the volume vol1 to lun1:1. Mapping host1 to vol1 and lun1 fails as both volume and LUN are

already mapped.2. Mapping host1 to vol2 and lun1 fails as the LUN is already mapped.3. Mapping host1 to vol1 and lun2 fails as the volume is already mapped.4. Mapping host1 to vol2 and lun2 succeeds with a warning that the

mapping is host-sepcific.

Listing volumes that are mapped to a host/cluster Mapped Hosts that are part of a Cluster are listed (that is, the list is at aHost-level rather than Cluster-level).

Listing mappings For each Host, the list indicates whether it belongs to a Cluster.

Adding a host to a cluster Previous mappings of the Host are removed, reflecting the fact that theonly relevant mapping to the Host is the Cluster's.

Removing a host from a cluster The Host regains its previous mappings.

Support for VMware extended operationsSpectrum Accelerate supports VMware extended operations (VMware vStorageAPIs).

The purpose of the VMware extended operations is to offload operations from theVMware Server onto the storage system. Spectrum Accelerate supports thefollowing operations:

Full copyThe ability to copy data from one storage array to another without writingto the ESXi server.

Block zeroingZeroing-out a block as a means for freeing it and make it available forprovisioning.

Hardware-assisted lockingAllowing for locking volumes within an atomic command.

Writing zeroesThe Write Zeroes command allows for zeroing large storage areas without sendingthe zeroes themselves.

14 IBM Spectrum Accelerate: Product Overview

Page 27: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Whenever an new VM is created, the ESXi server creates a huge file full of zeroesand sends it to the storage system. The Write Zeroes command is a way to tell astorage controller to zero large storage areas without sending the zeroes. To meetthis goal, both VMware's generic driver and our own plug-in utilizes the WRITESAME 16 command.

This method differs from the former method where the host used to write andsend a huge file full of zeroes.

Note: The write zeroes operation is not a thin provisioning operation, as itspurpose is not to allocate storage space.

Hardware-assisted lockingThe hardware-assisted locking feature utilizes VMware new Compare and Writecommand for reading and writing the volume's metadata within a single operation.

Upon the replacement of SCSI2 reservations mechanism with Compare and Writeby VMware, the Spectrum Accelerate provides a faster way to change the metadataspecific file, along with eliminating the necessity to lock all of the files during themetadata change.

The legacy VMware SCSI2 reservations mechanism is utilized whenever the VMserver performs a management operation, that is to handle the volume's metadata.This method has several disadvantages, among them the mandatory overall lock ofaccess to all volumes, which implies that all other servers are refrained fromaccessing their own files. In addition, the SCSI2 reservations mechanism entailsperforming at least four SCSI operations (reserve, read, write, release) in order toget the lock.

The introduction of the new SCSI command, called Compare and Write (SBC-3,revision 22), results with a faster mechanism that is displayed to the volume as anatomic action that does not require to lock any other volume.

Note: The Spectrum Accelerate supports single-block Compare and Writecommands only. This restriction is carried out in accordance with VMware.

Backwards compatibility

The Spectrum Accelerate maintains its compatibility with older ESX versions asfollows:v Each volume is capable of connecting legacy hosts, as it still supports SCSI

reservations.v Whenever a volume is blocked by the legacy SCSI reservations mechanism, it is

not available for an arriving COMPARE AND WRITE command.v The Admin is expected to phase out legacy VM servers to fully benefit from the

performance improvement rendered by the hardware-assisted locking feature.

Fast copyThe Fast Copy functionality allows for VM cloning on the storage system withoutgoing through the ESXi server.

The Fast copy functionality speeds up the VM cloning operation by copying datainside the storage system, rather than issuing READ and WRITE requests from thehost. This implementation provide a great improvement in performance, since it

Chapter 2. Connectivity 15

Page 28: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

saves host to storage system intra-storage system communication. Instead, thefunctionality utilizes the huge bandwidth within the storage system.

QoS performance classesSpectrum Accelerate allows the user to allocate more I/O rates for importantapplications.

The QoS Performance Classes feature allows the user to restrict I/O for specifiedhosts, pools or tenants, thereby maximizing performance for other applications thatare considered to be more important, through prioritizing their hosts—and withoutincurring data movement. Each of the hosts that are connected to the storagesystem is associated with a group. This group is attributed with a rate limitation.

This limitation attribute and the association of host with the group limit the I/Orates of a specified host in the following way:v Host rate limitation groups are independent of other forms of host grouping (i.e.

Clusters)v The group can be associated with an unlimited number of hostsv By default, the host is not associated with any host rate limiting group

Max bandwidth limit attribute

The host rate limitation group has a max bandwidth limit attribute, which is thenumber of blocks per second. This number could be either:v A value between min_rate_limit_bandwidth_blocks_per_sec and

max_rate_limit_bandwidth_blocks_per_sec (both are available from the storagesystem's configuration).

v Zero (0) for unlimited bandwidth.

16 IBM Spectrum Accelerate: Product Overview

Page 29: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 3. Storage pools

Spectrum Accelerate partitions the storage space into storage pools, where eachvolume belongs to a specific storage pool.

Storage pools provide the following benefits:

Improved management of storage spaceSpecific volumes can be grouped together in a storage pool. This enablesyou to control the allocation of a specific storage space to a specific groupof volumes. This storage pool can serve a specific group of applications, orthe needs of a specific department.

Improved regulation of storage spaceSnapshots can be automatically deleted when the storage capacity that isallocated for snapshots is fully consumed. This automatic deletion isperformed independently on each storage pool. Therefore, when the sizelimit of the storage pool is reached, only the snapshots that reside in theaffected storage pool are deleted. For more information, see “The snapshotauto-delete priority” on page 26.

Facilitating thin provisioning Thin provisioning is enabled by Storage Pools.

Storage pools as logical entities

A storage pool is a logical entity and is not associated with a specific disk ormodule. All storage pools are equally spread over all disks and all modules in thesystem.

As a result, there are no limitations on the size of storage pools or on theassociations between volumes and storage pools. For example:v The size of a storage pool can be decreased, limited only by the space consumed

by the volumes and snapshots in that storage pool.v Volumes can be moved between storage pools without any limitations, as long

as there is enough free space in the target storage pool.

Note: For the size of the storage pool, please refer to the Spectrum Accelerate datasheet.

All of the above transactions are accounting transactions, and do not impose anydata copying from one disk drive to another. These transactions are completedinstantly.

For information on volumes and snapshots, go to Chapter 4, “Volumes andsnapshots,” on page 21.

Moving volumes between storage pools

For a volume to be moved to a specific storage pool, there must be enough roomfor it to reside there. If a storage pool is not large enough, the storage pool must beresized, or other volumes must be moved out to make room for the new volume.

© Copyright IBM Corp. 2015 17

Page 30: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

A volume and all its snapshots always belong to the same storage pool. Moving avolume between storage pools automatically moves all its snapshots together withthe volume.

Protecting snapshots on a storage pool levelSnapshots that participates in the mirroring process can be protected in case ofstorage pool space depletion.

This is done by attributing both snapshots (or snapshot groups) and the storagepool with a deletion priority. The snapshots are attributed with a deletion prioritybetween 0–4 and the storage pool is configured to disregard snapshots whosepriority is above a specific value. Snapshots with a lower delete priority (i.e.,higher number) than the configured value might be deleted by the systemwhenever the Pool space depletion mechanism implies so, thus protectingsnapshots with a priority equal or higher to this value.

Thin provisioningSpectrum Accelerate supports thin provisioning, which provides the ability todefine logical volume sizes that are much larger than the physical capacityinstalled on the system.

Physical capacity needs only to accommodate written data, while parts of thevolume that have never been written to do not consume physical space.

This chapter discusses:v Volume hard and soft sizesv System hard and soft sizesv Pool hard and soft sizesv Depletion of hard capacity

Volume hard and soft sizes

Without thin provisioning, the size of each volume is both seen by the hosts andreserved on physical disks. Using thin provisioning, each volume is associatedwith the following two sizes:

Hard volume sizeThis reflects the total size of volume areas that were written by hosts. Thehard volume size is not controlled directly by the user and depends onlyon application behavior. It starts from zero at volume creation orformatting and can reach the volume soft size when the entire volume hasbeen written. Resizing of the volume does not affect the hard volume size.

Soft volume sizeThis is the logical volume size that is defined during volume creation orresizing operations. This is the size recognized by the hosts and is fullyconfigurable by the user. The soft volume size is the traditional volumesize used without thin provisioning.

18 IBM Spectrum Accelerate: Product Overview

Page 31: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

System hard and soft size

Using thin provisioning, each Spectrum Accelerate is associated with a hard systemsize and soft system size. Without thin provisioning, these two are equal to thesystem's capacity. With thin provisioning, these concepts have the followingmeaning:

Hard system sizeThis is the physical disk capacity that was installed. Obviously, thesystem's hard capacity is an upper limit on the total hard capacity of allthe volumes. The system's hard capacity can only change by installing newhardware components (disks and modules).

Soft system sizeThis is the total limit on the soft size of all volumes in the system. It can beset to be larger than the hard system size, up to 79TB. The soft system sizeis a purely logical limit, but should not be set to an arbitrary value. It mustbe possible to upgrade the system's hard size to be equal to the soft size,otherwise applications can run out of space. This requirement means thatenough floor space should be reserved for future system hardwareupgrades, and that the cooling and power infrastructure should be able tosupport these upgrades. Because of the complexity of these issues, thesetting of the system's soft size can only be performed by SpectrumAccelerate support.

Pool hard and soft sizes

The concept of storage pool is also extended to thin provisioning. When thinprovisioning is not used, storage pools are used to define capacity allocation forvolumes. The storage pools control if and which snapshots are deleted when thereis not enough space.

When thin provisioning is used, each storage pool has a soft pool size and a hardpool size, which are defined and used as follows:

Hard pool sizeThis is the physical storage capacity allocated to volumes and snapshots inthe storage pool. The hard size of the storage pool limits the total of thehard volume sizes of all volumes in the storage pool and the total of allstorage consumed by snapshots. Unlike volumes, the hard pool size is fullyconfigured by the user.

Soft pool sizeThis is the limit on the total soft sizes of all the volumes in the storagepool. The soft pool size has no effect on snapshots.

Thin provisioning is managed for each storage pool independently. Each storagepool has its own soft size and hard size. Resources are allocated to volumes withinthis storage pool without any limitations imposed by other storage pools. This is anatural extension of the snapshot deletion mechanism, which is applied evenwithout thin provisioning. Each storage pool has its own space, and snapshotswithin each storage pool are deleted when the storage pool runs out of spaceregardless of the situation in other storage pools.

The sum of all the soft sizes of all the storage pools is always the same as thesystem's soft size and the same applies to the hard size.

Chapter 3. Storage pools 19

Page 32: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Storage pools provide a logical way to allocate storage resources per application orper groups of applications. With thin provisioning, this feature can be used tomanage both the soft capacity and the hard capacity.

Depletion of hard capacity

Thin provisioning creates the potential risk of depleting the physical capacity. If aspecific system has a hard size that is smaller than the soft size, the system willrun out of capacity when applications write to all the storage space that is mappedto hosts. In such situations, the system behaves as follows:

Snapshot deletionSnapshots are deleted to provide more physical space for volumes. Thesnapshot deletion is based on the deletion priority and creation time.

Volume lockingIf all snapshots have been deleted and more physical capacity is stillrequired, all the volumes in the storage pool are locked and no writecommands are allowed. This halts any additional consumption of hardcapacity.

Note: Space that is allocated to volumes that is unused (that is, the differencebetween the volume's soft and hard size) can be used by snapshots in the samestorage pool.

The thin provisioning implementation with Spectrum Accelerate manages spaceallocation per storage pool. Therefore, one storage pool cannot affect anotherstorage pool. This scheme has the following advantages and disadvantages:

Storage pools are independentStorage pools are independent in respect to the aspect of thin provisioning.Thin provisioning volume locking on one storage pool does not create aproblem in another storage pool.

Space cannot be reused across storage poolsEven if a storage pool has free space, this free space is never reused foranother storage pool. This creates a situation where volumes are lockeddue to the depletion of hard capacity in one storage pool, while there isavailable capacity in another storage pool.

Important: If a storage pool runs out of hard capacity, all of its volumes are lockedto all write commands. Although write commands that overwrite existing data canbe technically serviced, they are blocked to ensure consistency.

20 IBM Spectrum Accelerate: Product Overview

Page 33: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 4. Volumes and snapshots

Volumes are the basic storage data units in Spectrum Accelerate.

Snapshots of volumes can be created, where a snapshot of a volume represents thedata on that volume at a specific point in time.

Volumes can also be grouped into larger sets called Consistency Groups andStorage Pools.

The basic hierarchy may be described as follows:v A volume can have multiple snapshots.v A volume can be part of one and only one Consistency Group.v A volume is always a part of one and only one Storage Pool.v All volumes in a Consistency Group must belong to the same Storage Pool.

The following subsections deal with volumes and snapshots specifically.

The volume life cycleThe volume is the basic data container that is presented to the hosts as a logicaldisk.

The term volume is sometimes used for an entity that is either a volume or asnapshot. Hosts view volumes and snapshots through the same protocol.Whenever required, the term master volume is used for a volume to clearlydistinguish volumes from snapshots.

Each volume has two configuration attributes: a name and a size. The volumename is an alphanumeric string that is internal to Spectrum Accelerate and is usedto identify the volume to both the GUI and CLI commands. The volume name isnot related to the SCSI protocol. The volume size represents the number of blocksin the volume that the host sees.

The volume can be managed by the following commands:

Create Defines the volume using the attributes you specify

Resize Changes the virtual capacity of the volume. For more information, see“Thin provisioning” on page 18.

Copy Copies the volume to an existing volume or to a new volume

FormatClears the volume

Lock Prevents hosts from writing to the volume

UnlockAllows hosts to write to the volume

RenameChanges the name of the volume, while maintaining all of the volumespreviously defined attributes

Delete Deletes the volume. See Instant Space Reclamation.

© Copyright IBM Corp. 2015 21

Page 34: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The following query commands list volumes:

Listing VolumesThis command lists details of all volumes, or a specific volume accordingto a given volume or pool.

Finding a Volume Based on a SCSI Serial NumberThis command prints the volume name according to its SCSI serialnumber.

These commands are available when you use both the IBM XIV StorageManagement GUI and the IBM XIV command-line interface (XCLI). See the IBMXIV Storage System XCLI User Manual for the commands that you can issue in theXCLI.

Figure 1 shows the commands you can issue for volumes.

Support for Symantec Storage Foundation Thin ReclamationSpectrum Accelerate supports Symantec's Storage Foundation Thin ReclamationAPI.

Spectrum Accelerate features instant space reclamation functionality, enhancing theexisting Thin Provisioning capability. The new instant space reclamation functionallows users to optimize capacity utilization, thus saving costs, by allowingsupporting applications, to instantly regain unused file system space inthin-provisioned volumes instantly.

Spectrum Accelerate is one of the first high-end storage systems to offer instantspace reclamation. The new, instant capability enables third party productsvendors, such as Symantec Thin Reclamation, to interlock with SpectrumAccelerate such that any unused space is detected instantly and automatically, andimmediately reassigned to the general storage pool for reuse.

Figure 1. Volume operations

22 IBM Spectrum Accelerate: Product Overview

Page 35: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

This enables integration with thin-provisioning-aware Veritas File System (VxFS)by Symantec, which enables you to leverage the Spectrum Acceleratethin-provisioning-awareness to attain higher savings in storage utilization.

For example, when data is deleted by the user, the system administrator caninitiate a reclamation process in which Spectrum Accelerate frees the non-utilizedblocks and where these blocks are reclaimed by the available pool of storage.

Instant space reclamation doesn't support space reclamation for the followingobjects:v Mirrored volumesv Volumes that have snapshotsv Snapshots

SnapshotsA snapshot is a logical volume reflecting the contents of a given source volume at aspecific point-in-time.

Spectrum Accelerate uses advanced snapshot mechanisms to create a virtuallyunlimited number of volume copies without impacting performance. Snapshottaking and management are based on a mechanism of internal pointers that allowthe master volume and its snapshots to use a single copy of data for all portionsthat have not been modified.

This approach, also known as Redirect-on-Write (ROW) is an improvement of themore common Copy-on-Write (COW), which translates into a reduction of I/Oactions, and therefore storage usage.

With Spectrum Accelerate snapshots, no storage capacity is consumed by thesnapshot until the source volume (or the snapshot) is changed.

Redirect on writeSpectrum Accelerate uses the Redirect-on-Write (ROW) mechanism.

The following items are characteristics of using ROW when a write request isdirected to the master volume:1. The data originally associated with the master volume remains in place.2. The new data is written to a different location on the disk.3. After the write request is completed and acknowledged, the original data is

associated with the snapshot and the newly written data is associated with themaster volume.

In contrast with the traditional copy-on-write method, with redirect-on-write theactual data activity involved in taking the snapshot is drastically reduced.Moreover, if the size of the data involved in the write request is equal to thesystem's slot size, there is no need to copy any data at all. If the write request issmaller than the system's slot size, there is still much less copying than with thestandard approach of Copy-on-Write.

In the following example of the Redirect-on-Write process, The volume is displayedwith its data and the pointer to this data.

Chapter 4. Volumes and snapshots 23

Page 36: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

When a snapshot is taken, a new header is written first.

The new data is written anywhere else on the disk, without the need to copy theexisting data.

Figure 2. The Redirect-on-Write process: the volume's data and pointer

Figure 3. The Redirect-on-Write process: when a snapshot is taken the header is written first

24 IBM Spectrum Accelerate: Product Overview

Page 37: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The snapshot points at the old data where the volume points at the new data (thedata is regarded as new as it keep updating by I/Os).

The metadata established at the beginning of the snapshot mechanism isindependent of the size of the volume to be copied. This approach allows the userto achieve the following important goals:

Continuous backupAs snapshots are taken, backup copies of volumes are produced atfrequencies that resemble those of Continuous Data Protection (CDP). Instantrestoration of volumes to virtually any point in time is easily achieved incase of logical data corruption at both the volume level and the file level.

Figure 4. The Redirect-on-Write process: the new data is written

Figure 5. The Redirect-on-Write process: The snapshot points at the old data where thevolume points at the new data

Chapter 4. Volumes and snapshots 25

Page 38: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

ProductivityThe snapshot mechanism offers an instant and simple method for creatingshort or long-term copies of a volume for data mining, testing, andexternal backups.

Storage utilizationSpectrum Accelerate allocates space for volumes and their Snapshots in a way thatwhenever a Snapshot is taken, additional space is actually needed only when thevolume is written into.

As long as there is no actual writing into the volume, the Snapshot does not needactual space. However, some applications write into the volume whenever aSnapshot is taken. This writing into the volume mandates immediate spaceallocation for this new Snapshot. Hence, these applications use space lessefficiently than other applications.

The snapshot auto-delete prioritySnapshots are associated with an auto-delete priority to control the order in whichsnapshots are automatically deleted.

Taking volume snapshots gradually fills up storage space according to the amountof data that is modified in either the volume or its snapshots. To free up spacewhen the maximum storage capacity is reached, the system can refer to theauto-delete priority to determine the order in which snapshots are deleted. Ifsnapshots have the same priority, the snapshot that was created first is deletedfirst.

Snapshot name and associationA snapshot can either be taken of a source volume, or from a source snapshot.

The name of a snapshot is either automatically assigned by the system at creationtime or given as a parameter of the XCLI command that creates it. The snapshot'sauto-generated name is derived from its volume's name and a serial number. Thefollowing are examples of snapshot names:MASTERVOL.snapshot_XXXXXNewDB-server2.snapshot_00597

Parameter Description Example

MASTERVOL The name of the volume. NewDB-server2

XXXXX A five-digit, zero filledsnapshot number.

00597

The snapshot lifecycleThe roles of the snapshot determine its life cycle.

Figure 6 on page 27 shows the life cycle of a snapshot.

26 IBM Spectrum Accelerate: Product Overview

Page 39: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The following operations are applicable for the snapshot:

Create Creates the snapshot (a.k.a. taking a snapshot)

RestoreCopies the snapshot back onto the volume. The main snapshotfunctionality is the capability to restore the volume.

UnlockingUnlocks the snapshot to make it writable and sets the status to Modified.Re-locking the unlocked snapshot disables further writing, but does notchange the status from Modified.

DuplicateDuplicates the snapshot. Similar to the volume, which can be snapshottedinfinitely, the snapshot itself can be duplicated.

A snapshot of a snapshotCreates a backup of a snapshot that was written into. Taking a snapshot ofa writable snapshot is similar to taking a snapshot of a volume.

Overwriting a snapshotOverwrites a specific snapshot with the content of the volume.

Delete Deletes the snapshot.

Creating a snapshotFirst, a snapshot of the volume is taken. The system creates a pointer to thevolume, hence the snapshot is considered to have been immediately created. This

Figure 6. The snapshot life cycle

Chapter 4. Volumes and snapshots 27

Page 40: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

is an atomic procedure that is completed in a negligible amount of time. At thispoint, all data portions that are associated with the volume are also associated withthe snapshot.

Later, when a request arrives to read a certain data portion from either the volumeor the snapshot, it reads from the same single, physical copy of that data.

Throughout the volume life cycle, the data associated with the volume iscontinuously modified as part of the ongoing operation of the system. Whenever arequest to modify a data portion on the master volume arrives, a copy of theoriginal data is created and associated with the snapshot. Only then the volume ismodified. This way, the data originally associated with the volume at the time thesnapshot is taken is associated with the snapshot, effectively reflecting the way thedata was before the modification.

Locking and unlocking snapshotsInitially, a snapshot is created in a locked state, which prevents it from beingchanged in any way related to data or size, and only enables the reading of itscontents. This is called an image or image snapshot and represents an exact replica ofthe master volume when the snapshot was created.

A snapshot can be unlocked after it is created. The first time a snapshot isunlocked, the system initiates an irreversible procedure that puts the snapshot in astate where it acts like a regular volume with respect to all changing operations.Specifically, it allows write requests to the snapshot. This state is immediately setby the system and brands the snapshot with a permanent modified status, even ifno modifications were performed. A modified snapshot is no longer an imagesnapshot.

An unlocked snapshot is recognized by the hosts as any other writable volume. Itis possible to change the content of unlocked snapshots, however, physical storagespace is consumed only for the changes. It is also possible to resize an unlockedsnapshot.

Master volumes can also be locked and unlocked. A locked master volume cannotaccept write commands from hosts. The size of locked volumes cannot bemodified.

Duplicating image snapshotsA user can create a new snapshot by duplicating an existing snapshot. Theduplicate is identical to the source snapshot. The new snapshot is associated withthe master volume of the existing snapshot, and appears as if it were taken at theexact moment the source snapshot was taken. For image snapshots that have neverbeen unlocked, the duplicate is given the exact same creation date as the originalsnapshot, rather than the duplication creation date.

With this feature, a user can create two or more identical copies of a snapshot forbackup purposes, and perform modification operations on one of them withoutsacrificing the usage of the snapshot as an untouched backup of the mastervolume, or the ability to restore from the snapshot.

A snapshot of a snapshotWhen duplicating a snapshot that has been changed using the unlock feature, thegenerated snapshot is actually a snapshot of a snapshot. The creation time of thenewly created snapshot is when the command was issued , and its content reflectsthe contents of the source snapshot at the moment of creation.

28 IBM Spectrum Accelerate: Product Overview

Page 41: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

After it is created, the new snapshot is viewed as another snapshot of the mastervolume.

Restoring volumes and snapshotsThe restoration operation provides the user with the ability to instantly recover thedata of a master volume from any of its locked snapshots.

Restoring volumes

A volume can be restored from any of its snapshots, locked and unlocked.Performing the restoration replicates the selected snapshot onto the volume. As aresult of this operation, the master volume is an exact replica of the snapshot thatrestored it. All other snapshots, old and new, are left unchanged and can be usedfor further restore operations. A volume can even be restored from a snapshot thathas been written to. Figure 7 shows a volume being restored from three differentsnapshots.

Restoring snapshots

The snapshot itself can also be restored from another snapshot. The restoredsnapshot retains its name and other attributes. From the host perspective, thisrestored snapshot is considered an instant replacement of all the snapshot contentwith other content. Figure 8 on page 30 shows a snapshot being restored from two

Figure 7. Restoring volumes

Chapter 4. Volumes and snapshots 29

Page 42: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

different snapshots.

Full Volume CopyFull Volume Copy overwrites an existing volume, and at the time of its creation it islogically equivalent to the source volume.

After the copy is made, both volumes are independent of each other. Hosts canwrite to either one of them without affecting the other. This is somewhat similar tocreating a writable (unlocked) snapshot, with the following differences andsimilarities:

Creation time and availabilityBoth Full Volume Copy and creating a snapshot happen almost instantly.Both the new snapshot and volume are immediately available to the host.This is because at the time of creation, both the source and the destinationof the copy operation contain the exact same data and share the samephysical storage.

Singularity of the copy operationFull Volume Copy is implemented as a single copy operation into anexisting volume, overriding its content and potentially its size. The existingtarget of a volume copy can be mapped to a host. From the host

Figure 8. Restoring snapshots

30 IBM Spectrum Accelerate: Product Overview

Page 43: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

perspective, the content of the volume is changed within a singletransaction. In contrast, creating a new writable snapshot creates a newobject that has to be mapped to the host.

Space allocationWith Full Volume Copy, all the required space for the target volume isreserved at the time of the copy. If the storage pool that contains the targetvolume cannot allocate the required capacity, the operation fails and has noeffect. This is unlike writable snapshots, which are different in nature.

Taking snapshots and mirroring the copied volumeThe target of the Full Volume Copy is a master volume. This mastervolume can later be used as a source for taking a snapshot or creating amirror. However, at the time of the copy, neither snapshots nor remotemirrors of the target volume are allowed.

Redirect-on-write implementationWith both Full Volume Copy and writable snapshots, while one volume isbeing changed, a redirect-on-write operation will ensure a split so that theother volume maintains the original data.

PerformanceUnlike writable snapshots, with Full Volume Copy, the copying process isperformed in the background even if no I/O operations are performed.Within a certain amount of time, the two volumes will use different copiesof the data, even though they contain the same logical content. This meansthat the redirect-on-write overhead of writes occur only before the initialcopy is complete. After this initial copy, there is no additional overhead.

AvailabilityFull Volume Copy can be performed with source and target volumes indifferent storage pools.

Snapshot and snapshot group formatThis operation deletes the content of a snapshot - or a snapshot group - whilemaintaining its mapping to the host.

The purpose of the formatting is to allow customers to backup their volumes viasnapshots, while maintaining the snapshot ID and the LUN ID. More than a singlesnapshot can be formatted per volume.

Required reading

Some of the concepts this topic refers to are introduced in this chapter as well as ina later chapter on this document. Consult the following reading list to get a graspregarding these topics.

Snapshots“The snapshot lifecycle” on page 26

Snapshot groups“The snapshot group life cycle” on page 35

Attaching a host“Host system attachment” on page 11

The format operation results with the followingv The formatted snapshot is read-onlyv The format operation has no impact on performance

Chapter 4. Volumes and snapshots 31

Page 44: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v The formatted snapshot does not consume spacev Reading from the formatted snapshot always returns zeroesv It can be overriddenv It can be deletedv Its deletion priority can be changed

Restrictions

No unlockThe formatted snapshot is read-only and can't be unlocked.

No volume restoreThe volume that the formatted snapshot belongs to can't be restored fromit.

No restore from another snapshotThe formatted snapshot can't be restored from another snapshot.

No duplicatingThe formatted snapshot can't be duplicated.

No re-formatThe formatted snapshot can't be formatted again.

No volume copyThe formatted snapshot can't serve as a basis for volume copy.

No resizeThe formatted snapshot can't be resized.

Use case1. Create a snapshot for each LUN you would like to backup to, and mount it to

the host.2. Configure the host to backup this LUN.3. Format the snapshot.

4. Re-snap. The LUN ID, Snapshot ID and mapping are maintained.

Restrictions in relation to other Spectrum Accelerate operations

Snapshots of the following types can't be formatted:

Internal snapshotFormatting an internal snapshot hampers the process it is part of, thereforeis forbidden.

Part of a sync jobFormatting a snapshot that is part of a sync job renders the sync jobmeaningless, therefore is forbidden.

Part of a snapshot groupA snapshot that is part of a snapshot group can't be treated as anindividual snapshot.

Snapshot group restrictionsAll snapshot format restrictions apply to the snapshot group formatoperation.

32 IBM Spectrum Accelerate: Product Overview

Page 45: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 5. Consistency groups

Consistency groups can be used to take simultaneous snapshots of multiplevolumes, thus ensuring consistent copies of a group of volumes.

Creating a synchronized snapshot set is especially important for applications thatuse multiple volumes concurrently. A typical example is a database application,where the database and the transaction logs reside on different storage volumes,but all of their snapshots must be taken at the same point in time.

This chapter contains the following sections:

Creating a consistency groupConsistency groups are created empty and volumes are added to them later on.

The consistency groups is an administrative unit of multiple volumes thatfacilitates simultaneous snapshots of multiple volumes, mirroring of volumegroups, and administration of volume sets. Hyper-Scale Consistency - Cross systemconsistency (or snapshot) groups enables a coordinated creation of snapshots forinter-dependent consistency groups on multiple systems. This feature is availableonly through the IBM Hyper-Scale Manager.

Figure 9. The Consistency Group's lifecycle

© Copyright IBM Corp. 2015 33

Page 46: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Taking a snapshot of a Consistency GroupTaking a snapshot for the entire Consistency Group means that a snapshot is takenfor each volume of the Consistency Group at the same point-in-time.

These snapshots are grouped together to represent the volumes of the ConsistencyGroup at a specific point in time.

In Figure 10, a snapshot is taken for each of the Consistency Group's volumes inthe following order:

Time = t0

Prior to taking the snapshots, all volumes in the consistency group areactive and being read from and written to.

Time = t1

When the command to snapshot the consistency group is issued, I/O issuspended .

Time = t2

Snapshots are taken at the same point in time.

Time = t3

I/O is resumed and the volumes continue their normal work.

Figure 10. A snapshot is taken for each volume of the Consistency Group

34 IBM Spectrum Accelerate: Product Overview

Page 47: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Time = t4

After the snapshots are taken, the volumes resume active state andcontinue to be read from and written to.

Most snapshot operations can be applied to each snapshot in a grouping, known asa snapshot set. The following items are characteristics of a snapshot set:v A snapshot set can be locked or unlocked. When you lock or unlock a snapshot

set, all snapshots in the set are locked or unlocked.v A snapshot set can be duplicated.v A snapshot set can be deleted. When a snapshot set is deleted, all snapshots in

the set are also deleted.

A snapshot set can be disbanded which makes all the snapshots in the setindependent snapshots that can be handled individually. The snapshot set itself isdeleted, but the individual snapshots are not.

The snapshot group life cycleMost snapshot operations can be applied to snapshot groups, where the operationaffects every snapshot in the group.

Taking a snapshot groupCreates a snapshot group. .

Restoring consistency group from a snapshot groupThe main purpose of the snapshot group is the ability to restore the entireconsistency group at once, ensuring that all volumes are synchronized tothe same point in time. .

Figure 11. Most snapshot operations can be applied to snapshot groups

Chapter 5. Consistency groups 35

Page 48: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Listing a snapshot groupThis command lists snapshot groups with their consistency groups and thetime the snapshots were taken.

Note: All snapshots within a snapshot group are taken at the same time.

Lock and unlockSimilar to unlocking and locking an individual snapshot, the snapshotgroup can be rendered writable, and then be written to. A snapshot groupthat is unlocked cannot be further used for restoring the consistency group,even if it is locked again.

The snapshot group can be locked again. At this stage, it cannot be used torestore the master consistency group. In this situation, the snapshot groupfunctions like a consistency group of its own.

OverwriteThe snapshot group can be overwritten by another snapshot group.

RenameThe snapshot group can be renamed.

Restricted namesDo not prefix the snapshot group's name with any of thefollowing:1. most_recent2. last_replicated

DuplicateThe snapshot group can be duplicated, thus creating another snapshotgroup for the same consistency group with the time stamp of the firstsnapshot group.

Disbanding a snapshot groupThe snapshots that comprise the snapshot group are each related to itsvolume. Although the snapshot group can be rendered inappropriate forrestoring the consistency group, the snapshots that comprise it are stillattached to their volumes. Disbanding the snapshot group detaches allsnapshots from this snapshot group but maintains their individualconnections to their volumes. These individual snapshots cannot restorethe consistency group, but they can restore its volumes individually.

Changing the snapshot group deletion priorityManually sets the deletion priority of the snapshot group.

Deleting the snapshot groupDeletes the snapshot group along with its snapshots.

Restoring a consistency groupRestoring a consistency group is a single action in which every volume thatbelongs to the consistency group is restored from a corresponding snapshot thatbelongs to an associated snapshot group.

Not only does the snapshot group have a matching snapshot for each of thevolumes, all of the snapshots have the same time stamp. This implies that therestored consistency group contains a consistent picture of its volumes as theywere at a specific point in time.

36 IBM Spectrum Accelerate: Product Overview

Page 49: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Note: A consistency group can only be restored from a snapshot group that has asnapshot for each of the volumes. If either the consistency group or the snapshotgroup has changed after the snapshot group is taken, the restore action does notwork.

Chapter 5. Consistency groups 37

Page 50: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

38 IBM Spectrum Accelerate: Product Overview

Page 51: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 6. Synchronous remote mirroring

Spectrum Accelerate features synchronous and asynchronous remote mirroring fordisaster recovery.

Remote mirroring can be used to replicate the data between two geographicallyremote sites. The replication ensures uninterrupted business operation if there is atotal site failure.

Remote mirroring provides data protection for the following types of site disasters:

Site failureWhen a disaster happens to a site that is remotely connected to anothersite, the second site takes over and maintains full service to the hostsconnected to the first site. The mirror is resumed after the failing siterecovers.

Split brainAfter a communication loss between the two sites, each site maintains fullservice to the hosts. After the connection is resumed, the sites complementeach other's data to regain mirroring.

Synchronous and asynchronous remote mirroring

The two distinct methods of remote mirroring – synchronous and asynchronous –are described on this chapter and on the following chapter. Throughout thischapter, the term remote mirroring refers to synchronous remote mirroring, unlessclearly stated otherwise.

Remote mirroring basic conceptsSynchronous remote mirroring provides continuous availability of criticalinformation in the case of a disaster scenario.

A typical remote mirroring configuration involves the following two sites:

Primary siteThe location of the master storage system.

A local site that contains both the data and the active servers.

Secondary siteThe location of the secondary storage system.

A remote site that contains a copy of the data and standby servers.Following a disaster at the master site, the servers at the secondary sitebecome active and start using the copy of the data.

MasterThe volume or storage system which is mirrored. The master volume orstorage system is usually at the master site.

Slave The volume or storage system to which the master is mirrored. The slavevolume or storage system is usually at the Secondary site.

© Copyright IBM Corp. 2015 39

Page 52: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

One of the main goals of remote mirroring is to ensure that the secondary sitecontains the same (consistent) data as the master site. With remote mirroring,services are provided seamlessly by the hosts and storage systems at the secondarysite.

The process of ensuring that both storage systems contain identical data at alltimes is called remote mirroring. Synchronous remote mirroring is performed duringeach write operation. The write operation issued by a host is sent to both themaster and the slave storage systems.

To ensure that the data is also written to the secondary system, acknowledgementof the write operation is only issued after the data has been written to both storagesystems. This ensures the consistency of the secondary storage system to themaster storage system except for the contents of any last, unacknowledged writeoperations. This form of mirroring is called synchronous mirroring.

In a remote mirroring system, reading is performed from the master storagesystem, while writing is performed on both the master and the slave storagesystems, as previously described.

Spectrum Accelerate supports configurations where server pairs perform alternatemaster or secondary roles with respect to their hosts. As a result, a server at onesite might serve as the master storage system for a specific application, whilesimultaneously serving as the secondary storage system for another application.

Remote mirroring operationRemote mirroring operations involve configuration, initialization, ongoing operation,handling of communication failures, and role switching activities.

The following list defines the remote mirroring operation activities:

ConfigurationLocal and remote replication peers are defined by an administrator whospecifies the primary and secondary volumes. For each coupling, severalconfiguration options can be defined.

InitializationRemote mirroring operations begin with a master volume that containsdata and a formatted slave volume. The first step is to copy the data fromthe master volume to the slave volume. This process is called initialization.Initialization is performed once in the lifetime of a remote mirroringcoupling. After it is performed, both volumes are considered synchronized.

Ongoing OperationAfter the initialization process is complete, remote mirroring is activated.During this activity, all data is written to the master volume and then tothe slave volume. The write operation is complete after anacknowledgement from the slave volume. At any point, the master andslave volumes are identical except for any unacknowledged (pending)writes.

Handling of Communication FailuresFrom time to time the communication between the sites might break down,and it is usually preferable for the primary site to continue its function andto update the secondary site when communication resumes. This process iscalled synchronization.

40 IBM Spectrum Accelerate: Product Overview

Page 53: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Role SwitchingWhen needed, a replication peer can change its role from master to slaveor vice versa, either as a result of a disaster at the primary site,maintenance operations, or because of a drill that tests the disasterrecovery procedures.

Configuration optionsThe remote mirroring configuration process involves configuring volumes andvolume pair options.

When a pair of volumes point to each other, it is referred to as a coupling. In acoupling relationship, two volumes participate in a remote mirroring system with theslave peer serving as the backup for the master peer. The coupling configuration isidentical for both master volumes and slave volumes.

Table 1. Configuration options for a volume

Name Values Definition

Role None, Master, Slave Role of a volume.

(Primary and Secondary aredesignations.)

Peer Remote target identificationand the name of the volumeon the remote target.

Identifies the peer volume.

Table 2. Configuration options for a coupling

Name Values Definition

Activation Active, Stand-by. Activates or deactivatesremote mirroring.

Volume configurationThe role of each volume and its peer volumes must be defined in the storagesystem to allow functioning within the remote mirroring process.

The following concepts are to be configured for volumes and the relations betweenthem:v Volume rolev Peer

The volume role is the current function of the volume. The following volume rolesare available:

None The volume is created using normal volume creation procedures and is notconfigured as part of any remote mirroring configuration.

Master volumeThe volume is part of a mirroring coupling and serves as the mastervolume.

All write operations are made to this master volume. It ensures that writeoperations are made to the slave volume before acknowledging theirsuccess.

Chapter 6. Synchronous remote mirroring 41

Page 54: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Slave volumeThis volume is part of a mirroring coupling and serves as a backup to themaster volume.

Data is read from the slave volume, but cannot be written to it.

A peer is a volume that is part of a coupling. A volume with a role other than nonehas to have a peer designation, and a corresponding master or slave volumeassigned to it.

Configuration errors

In some cases, configuration on both sides might be changed in a non-compatibleway. This is defined as a configuration error. For example, switching the role of onlyone side when communication is down causes a configuration error whenconnection resumes.

Mixed configurationThe volumes on a single storage system can be defined in a mixture ofconfigurations.

For example, a storage system can contain volumes whose role is defined asmaster, as well as volumes whose roles are defined as slave. In addition, somevolumes might not be involved in a remote mirroring coupling at all.

The roles assigned to volumes are transient. This means a volume that is currentlya master volume can be defined as a slave volume and vice versa. The term localrefers to the master volume, and remote refers to the slave volume for processesthat switch the master and slave assignments.

Communication errorsWhen the communication link to the secondary volume fails or the secondaryvolume itself is not usable, processing to the volume continues as usual.

The following occurs:v The system is set to an unsynchronized state.v All changes to the master volume are recorded and then applied to the slave

volume after communication is restored.

Coupling activationRemote mirroring can be manually activated and deactivated per coupling. Whenit is activated, the coupling is in Active mode. When it is deactivated, the couplingis in Standby mode.

These modes have the following functions:

Active Remote mirroring is functioning and the data is being written to both themaster and the slave volumes.

StandbyRemote mirroring is deactivated. The data is not being written to the slavevolume, but it is being recorded in the master volumes which will latersynchronize the slave volume.

42 IBM Spectrum Accelerate: Product Overview

Page 55: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Standby mode is used mainly when maintenance is performed on thesecondary site or during communication failures between the sites. In thismode, the master volumes do not generate alerts that the mirroring hasfailed.

The coupling lifecycle has the following characteristics:v When a coupling is created, it is always initially in Standby mode.v Only a coupling in Standby mode can be deleted.v Transitions between the two states can only be performed from the UI and on

the volume.

Synchronous mirroring statusesThe status of the synchronous remote mirroring volume represents the state of thestorage volume in regard to its remote mirroring operation.

The state of the volume is a function of the status of the communication link andthe status of the coupling between the master volume and the slave volume. “Linkstatus” on page 44 describes the various statuses of a synchronous remotemirroring volume during remote mirroring operations.

Table 3. Synchronous mirroring statuses

Entity Name Values Definition

Link Status v Up

v Down

Specifies if thecommunications link is upor down.

Chapter 6. Synchronous remote mirroring 43

Page 56: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Table 3. Synchronous mirroring statuses (continued)

Entity Name Values Definition

Coupling Operational status v Operational

v Non-operational

Specifies if remotemirroring is working.

Synchronizationstatus

v Initialization

v Synchronized

v Unsynchronized

v Consistent

v Inconsistent

Specifies if the master andslave volumes areconsistent.

Last-secondary-timestamp

Point-in-time date Time stamp for when thesecondary volume waslast synchronized.

Synchronizationprocess progress

Synchronization status Amount of data remainingto be synchronizedbetween the master andslave volumes due tonon-operational coupling.

Secondary locked Boolean True, if secondary waslocked for writing due tolack of space; otherwisefalse. This can happenduring thesynchronization processwhen there is not enoughspace for thelast-consistent snapshot.

Configuration error Boolean True, if the configurationof the master andsecondary slave isinconsistent.

Link statusThe status of the communication link can be either up or down. The link status ofthe master volume is, of course, also the link status of the slave volume.

Operational statusThe coupling between the master and slave volumes is either operational ornon-operational.

To be operational, the link status must be up and the coupling must be activated. Ifthe link is down or if the remote mirroring feature is in Standby mode, theoperational status is non-operational.

Synchronization statusThe synchronization status reflects the consistency of the data between the masterand slave volumes.

Because the purpose of the remote mirroring feature is to ensure that the slavevolume is an identical copy of the master volume, this status indicates whetherthis objective is currently attained.

44 IBM Spectrum Accelerate: Product Overview

Page 57: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The possible synchronization statuses for the master volume are:

InitializationThe first step in remote mirroring is to create a copy of the data from themaster volume to the slave volume, at the time when the mirroring was setto place. During this step, the coupling status remains initialization.

Synchronized (master volume only)This status indicates that all data that was written to the primary volumeand acknowledged has also been written to the secondary volume. Ideally,the primary and secondary volumes should always be synchronized. Thisdoes not imply that the two volumes are identical because at any time,there might be a limited amount of data that was written to one volume,but was not yet written to its peer volume. This means that their writeoperations have not yet been acknowledged. These are also known aspending writes.

Unsynchronized (primary volume only)

After a volume has completed the initialization stage and achieved thesynchronized status, a volume can become unsynchronized.This occurs when it is not known whether all the data that was written tothe primary volume was also written to the secondary volume. This statusoccurs in the following cases:v Communications link is down - As a result of the communication link

going down, some data might have been written to the primary volume,but was not yet written to the secondary volume.

v Secondary system is down - This is similar to communication linkerrors because in this state, the primary system is updated while thesecondary system is not.

v Remote mirroring is deactivated - As a result of the remote mirroringdeactivation, some data might have been written to the primary volumeand not to the secondary volume.

It is always possible to reestablish the synchronized status when the link isreestablished or the remote mirroring feature is reactivated, no matter what wasthe reason for the unsynchronized status.

Because all updates to the primary volume that are not written to the secondaryvolume are recorded, these updates are written to the secondary volume. Thesynchronization status remains unsynchronized from the time that the coupling isnot operational until the synchronization process is completed successfully.

Synchronization progress statusDuring the synchronization process while the secondary volumes are beingupdated with previously written data, the volumes have a dynamicsynchronization process status.

This status is comprised of the following sub-statuses:

Size to completeThe size of data that requires synchronization.

Part to synchronizeThe size to synchronize divided by the maximum size-to-synchronize sincethe last time the synchronization process started. For couplinginitialization, the size-to-synchronize is divided by the volume size.

Chapter 6. Synchronous remote mirroring 45

Page 58: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Time to synchronizeEstimate of the time, which is required to complete the Synchronizationprocess and achieve synchronization, based on past rate.

Last secondary time stampA time stamp is taken when the coupling between the primary and secondaryvolumes becomes non-operational.

This time stamp specifies the last time that the secondary volume was consistentwith the primary volume. This status has no meaning if the coupling'ssynchronization state is still initialization. For synchronized coupling, thistimestamp specifies the current time. Most importantly, for an unsynchronizedcoupling, this timestamp denotes the time when the coupling becamenon-operational.

The timestamp is returned to current only after the coupling is operational and theprimary and secondary volumes are synchronized.

I/O operationsI/O operations are performed on the primary and secondary volumes acrossvarious configuration options.

I/O on the primary

Read All data is read from the primary (local) site regardless of whether thesystem is synchronized.

Write

v If the coupling is operational, data is written to both the primary andsecondary volumes.

v If the coupling is non-operational, an error is returned.

The error reflects the type of problem that was encountered. For example,remote mirroring has been deactivated, there is a locked secondary error,or there is a link error.

I/O on the secondary

A secondary volume can have LUN maps and hosts associated with it, but it isonly accessible as a read-only volume. These maps are used by the backup hostswhen a switchover is performed. When the secondary volume becomes theprimary volume, hosts can write to it on the remote site. When the primaryvolume becomes a secondary volume, it becomes read-only and can be updatedonly by the new primary volume.

Read Data is read from the secondary volume like from any other volume.

Write An attempt to write on the secondary volume results in a volumeread-only SCSI error.

Synchronization processWhen a failure condition has been resolved, remote mirroring begins the process ofsynchronizing the coupling.

This process updates the secondary volume with all the changes that occurredwhile the coupling was not operational.

46 IBM Spectrum Accelerate: Product Overview

Page 59: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

This section describes the process of synchronization.

State diagramCouplings can be in the Initialization, Synchronized, Timestamp, or Unsychronizedstate.

The following diagram shows the various coupling states that the SpectrumAccelerate assumes during its lifetime, along with the actions that are performed ineach state.

The following list describes each coupling state:

InitializationThe secondary volume has a Synchronization status of Initialization.During this state, data from the primary volume is copied to the secondaryvolume.

SynchronizedThis is the working state of the coupling, where both the primary andsecondary volumes are consistent.

TimestampRemote mirroring has become non-operational so a time stamp is recorded.During this status, the following actions take place:1. Coupling deactivation, or the link is down2. Coupling is reactivated, or the link is restored.

UnsynchronizedRemote mirroring is non-operational because of a communications failureor because remote mirroring was deactivated. Therefore, the primary and

Figure 12. Coupling states and actions

Chapter 6. Synchronous remote mirroring 47

Page 60: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

secondary volumes are not synchronized. When remote mirroring resumes,steps are taken to return to the Synchronized state.

Coupling recoveryRemote mirroring recovers from non-operational coupling.

When remote mirroring recovers from a non-operational coupling, the followingactions take place:v If the secondary volume is in the Synchronized state, a last-consistent snapshot

of the secondary volume is created and named with the stringsecondary-volume-time-date-consistent-state.

v The primary volume updates the secondary volume until it reaches theSynchronized state.

v The primary volume deletes the special snapshot after all couplings that mirrorvolumes between the same pair of systems are synchronized.

Uncommitted dataWhen the coupling is in an Unsynchronized state, for best-effort coupling, thesystem must track which data in the primary volume has been changed, so thatthese changes can be committed to the secondary when the coupling becomesoperational again.

The parts of the primary volume that must be committed to the secondary volumeand must be marked are called uncommitted data.

Note: There is only metadata that marks the parts of the primary volume thatmust be written to the secondary volume when the coupling becomes operational.

Constraints and limitationsCoupling has the following constraints and limitations.v The Size, Part, or Time-to-synchronize are relevant only if the Synchronization

status is Unsynchronized.v The last-secondary-time stamp is only relevant if the coupling is

Unsynchronized.

Last-consistent snapshotsBefore the synchronization process is initiated, a snapshot of the secondary volumeis created.

This snapshot is created to ensure the usability of the secondary volume in case ofa primary site disaster during the synchronization process.

If the primary volume is destroyed before the synchronization is completed, thesecondary volume might be inconsistent because it may have been only partiallyupdated with the changes that were made to the primary volume. The reason forthis possible inconsistency is the fact that the updates were not necessarilyperformed in the same order in which they were written by the hosts.

To handle this situation, the primary volume always creates a snapshot of thelast-consistent secondary volume after reconnecting to the secondary machine, andbefore starting the synchronization process.

48 IBM Spectrum Accelerate: Product Overview

Page 61: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The last consistent snapshot

The Last Consistent snapshot (LCS) is created by the system on the Slave peer insynchronous mirroring just before mirroring resynchronization needs to take place.Mirroring resynchronization takes place after link disruption, or a manualmirroring deactivation. In both cases the Master will continue to accept host writes,yet will not replicate them onto the Slave as long as the link is down, or themirroring is deactivated.

Once the mirroring is restored and activated, the system takes a snapshot of theSlave (LCS), which represents the data that is known to be mirrored, and only thenthe non yet mirrored data written to the Master is replicated onto the Slavethrough a resynchronization process.

The LCS is deleted automatically by the system once the resynchronization iscomplete for all mirrors on the same target , but if the Slave peer role is changedduring resynchronization ⌂ this snapshot will not be deleted.

The external last consistent snapshot

Prior to the introduction of the external last consistent snapshot, whenever thepeer's role was changed back to Slave and sometime whenever a newresynchronization process had started, the system would detect an LCS on the peerand would not create a new one. If, during such an event, the peer was not part ofa mirrored consistency group (mirrored CG) it would meant that not all volumeshave the same LCS timestamp. If the peer was part of a mirrored consistencygroup, we would have a consistent LCS but not as current as possibly expected.This situation is avoided thanks to the introduction of the external last consistentsnapshot.

Whenever the role of a Slave with an LCS is changed to Master while mirroringresynchronization is in progress (in the system/target not specific to this volume),the LCS is renamed external last consistent (ELCS). The ELCS retains the LCSdeletion priority of 0. If the peer's role is later changed back to Slave and sometimeafterwards a new resynchronization process starts, a new LCS will be created.

Subsequently, changing the Slave role again will rename the existing external lastconsistent snapshot to external last consistent x (x being the first available numberstarting from 1) and will rename the LCS to external last consistent. The deletionpriority of external last consistent will be 0, but the deletion priority of the newexternal last consistent x will be the system default (1), and can thus be deletedautomatically by the system upon pool space depletion.

It is crucial to validate whether the LCS or an ELCS (or even ELC x) should serveas a restore point for the Slave peer if resynchronization cannot be completed.While snapshots with deletion priority 0 are not automatically deleted by thesystem to free space, the external last consistent and external last consistent xsnapshots can be manually deleted by the administrator if so required. As thedeletion of such snapshots might leave an inconsistent peer without a consistentsnapshot to be restored from (in case the resynchronization cannot complete due toMaster unavailability) ⌂ it should generally be avoided even when pool space isdepleted, unless the peer is guaranteed to be consistent.

Manually deleting the last consistent snapshotv Only the XIV support team can delete the last consistent snapshot. The XIV

support team uses the delete_mirror_snapshots CLI command.

Chapter 6. Synchronous remote mirroring 49

Page 62: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v The XIV support team can also configure a mirroring so that it does not createthe last consistent snapshot. This is required when the system that contains thesecondary volume is fully utilized and an additional snapshot cannot be created.

Last consistent snapshot timestampA timestamp is taken when the coupling between the primary and secondaryvolumes becomes non-operational. This timestamp specifies the last time that thesecondary volume was consistent with the primary volume.

This status has no meaning if the coupling's synchronization state is stillInitialization. For synchronized couplings, this timestamp specifies the current time.Most importantly, for unsynchronized couplings, this timestamp denotes the timewhen the coupling became non-operational.

Table 4 provides an example of a failure situation and describes the time specifiedby the timestamp.

Table 4. Example of the last consistent snapshot time stamp process

Time Status of coupling Action Last consistenttimestamp

Up to 12:00 Operational andsynchronized

Current

12:00 - 1:00 Failure caused thecoupling to becomenon-operational. Thecoupling isUnsynchronized.

Writing continues to the primaryvolume. Changes are marked so thatthey can be committed later.

12:00

13:00 Connectivity resumes andremote mirroring isoperational.Synchronization begins.The coupling is stillUnsynchronized.

All changes since the connection wasbroken are committed to thesecondary volume, as well as currentwrite operations.

12:00

13:15 Synchronized Current

Secondary locked error statusWhile the synchronization process is in progress, there is a stage in which thesecondary volume is not consistent with the primary volume, and a last-consistentsnapshot is maintained.

While in this state, I/O operations to the secondary volume can fail because thereis not enough space. There is not enough space because every I/O operationpotentially requires a copy-on-write of a partition.

Whenever I/O operations fail because there is not enough space, all couplings inthe system are set to the secondary-locked status and the coupling becomesnon-operational. The administrator is notified of a critical event, and can free spaceon the system containing the secondary volume

After there is enough space, I/O operations resume and remote mirroring can bereactivated.

Role switchoverRole switchover can occur when the remote mirroring is operational ornon-operational.

50 IBM Spectrum Accelerate: Product Overview

Page 63: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Role switchover when remote mirroring is operationalRole switching between primary and secondary volumes can be performed fromthe management GUI or CLI after the remote mirroring function is operational.

After role switchover occurs, the primary volume becomes the secondary volumeand vice versa.

There are two typical reasons for performing a switchover when communicationsbetween the volumes exist. These are:

Drills Drills can be performed on a regular basis to test the functioning of thesecondary site. In a drill, an administrator simulates a disaster and teststhat all procedures are operating smoothly.

Scheduled maintenanceTo perform maintenance at the primary site, switch operations to thesecondary site on the day before the maintenance. This can be done as apreemptive measure when a primary site problem is known to occur.

This switchover is performed as an automatic operation acting on the primaryvolume. This switchover cannot be performed if the primary and secondaryvolumes are not synchronized.

Role switchover when remote mirroring is nonoperationalA more complex situation for role switching is when there is no communicationbetween the two sites, either because of a network malfunction, or because theprimary site is no longer operational. The XCLI command for this scenario isreverse_role. Because there is no communication between the two sites, thecommand must be issued on both sites concurrently, or at least beforecommunication resumes.

Switchover procedures differ depending on whether the primary and secondaryvolumes are connected or not. As a general rule, the following is true:v When the coupling is deactivated, it is possible to change the role on one side

only, assuming that the other side will be changed as well before communicationresumes.

v If the coupling is activated, but is either unsynchronized, or nonoperational dueto a link error, an administrator must either wait for the coupling to besynchronized, or deactivate the coupling.

v On the secondary volume, an administrator can change the role even if couplingis active. It is assumed that the coupling will be deactivated on the primaryvolume and the role switch will be performed there as well in parallel. If not, aconfiguration error occurs.

Switch secondary to primaryThe role of the secondary volume can be switched to primary using the IBM XIVStorage Management GUI or the XCLI. After this switchover, the following is true:v The secondary volume is now the primary.v The coupling has the status of unsynchronized.v The coupling remains in standby mode, meaning that the remote mirroring is

deactivated. This ensures an orderly activation when the role of the other site isswitched.

Chapter 6. Synchronous remote mirroring 51

Page 64: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The new primary volume starts to accept write commands from local hosts.Because coupling is not active, in the same way as any primary volume, itmaintains a log of which write operations should be sent to the secondary whencommunication resumes.

Typically, after switching the secondary to the primary volume, an administratoralso switches the primary to the secondary volume, at least before communicationresumes. If both volumes are left with the same role, a configuration error occurs.

Secondary consistencySwitching the secondary volume to primary, when the last-consistent snapshot isno longer available

If the user is switching the secondary to a primary volume, and a snapshot of thelast_consistent state exists, then the link was broken during the process ofsynchronizing. In this case, the user has a choice between using the most-updatedversion, which might be inconsistent, or reverting to the last_consistent snapshot.Table 5 outlines this process.

Table 5. Disaster scenario leading to a secondary consistency decision

Time Status of remote mirroring Action

Up to 12:00 Operational Volume A is the primary volume and volume Bis the secondary volume.

12:00 Nonoperational because ofcommunications failure

Writing continues to volume A and volume Amaintains the log of changes to be committedto volume B.

13:00 Connectivity resumes andremote mirroring is operational.

A last_consistent snapshot is generated onvolume B. After that, volume A starts to updatevolume B with the write operations thatoccurred since communication was broken.

13:05 Primary site is destroyed and allinformation is lost.

13:10 Volume B is becoming the primary. Theoperators can choose between using themost-updated version of volume B, whichcontains only parts of the write operationscommitted to volume A between 12:00 and13:00, or use the last-consistent snapshot,which reflects the state of volume B at 12:00.

If a last-consistent snapshot exists and the role is changed from secondary toprimary, the system automatically generates a snapshot of the volume. Thissnapshot is named most_updated snapshot. It is generated to enable a safe reversionto the latest version of the volume, when recovering from user errors. Thissnapshot can only be deleted by the Spectrum Accelerate support team.

If the coupling is still in the initialization state, switching cannot be performed. Inthe extreme case where the data is needed even though the initial copy was notcompleted, a volume copy can be used on the primary volume.

Switch primary to a secondaryWhen coupling is inactive, the primary machine can switch roles. After such aswitch, the primary volume becomes the secondary one.

Because the primary volume is inactive, it is also in the unsynchronized state, andit might have an uncommitted data list. All these changes will be lost. When thevolume becomes secondary, this data must be reverted to match the data on the

52 IBM Spectrum Accelerate: Product Overview

Page 65: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

peer volume, which is now the new primary volume. In this case, an event iscreated, summarizing the size of the changes that were lost.

The uncommitted data list has now switched its semantics, and instead of being alist of updates that the local volume (old primary, new secondary) needs to updateon the remote volume (old secondary, new primary), the list now represents theupdates that need to be taken from the remote to the local volume.

Upon reestablishing the connection, the local volume (current secondary, whichwas the primary) will update the remote volume (new primary) with thisuncommitted data list to update, and it is the responsibility of the new primaryvolume to synchronize these lists to the local volume (new secondary).

Resumption of remote mirroring after role changeWhen the communication link is resumed after a switchover of roles in which bothsides were switched, the coupling now contains one secondary and one primaryvolume.

Note: After a role switchover, the coupling is in standby. The coupling can beactivated before or after the link resumes.

Table 6 describes the system when the coupling becomes operational, meaning afterthe communications link has been resumed and the coupling has been reactivated.When communications is resumed, the new primary volume (old secondary) mightbe in the unsynchronized state, and have an uncommitted data list to synchronize.

The new secondary volume (old primary), might have an uncommitted data list tosynchronize from the new primary volume. These are write operations that werewritten after the link was broken and before the role of the volume was switchedfrom primary to secondary. These changes must be reverted to the content of thenew primary volume. Both lists must be used for synchronization by the newprimary volume.

Table 6. Resolution of uncommitted data for synchronization of the new primary volume

Time Status of remotemirroring

Action

Up to12:00

Operational andsynchronized

Volume A is the primary volume and volume B is thesecondary volume.

12:00 to12:30

Communication failure,coupling becomesnonoperational

Volume A still accepts write operations from the hosts andmaintains an uncommitted data list marking these writeoperations. For example, volume A accepted a write operationto blocks 1000 through 2000, and marks blocks 1000 through2000 as ones that need to be copied to volume B afterreconnection.

12:30 Roles changed on bothsides

Volume A is now secondary and volume B is primary. VolumeA should now revert the changes done between 12:00 and 12:30to their original values. This data reversion is only performedafter the two systems reconnect. For now, volume A reverts thesemantics of the uncommitted data list to be data that needs tobe copied from volume B. For example, blocks 1000 through2000 need to be copied now from volume B.

12:30 to13:00

Volume B is primary,volume A is secondary,coupling isnonoperational

Volume A does not accept changes because it is a secondary ina nonoperational coupling. volume B is now a primary in anonoperational coupling, and maintains its own uncommitteddata list of the write operations that were performed since itwas defined as the primary. For example, if the hosts wroteblocks 1500 through 2500, volume B marks these blocks to becopied to volume A.

Chapter 6. Synchronous remote mirroring 53

Page 66: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Table 6. Resolution of uncommitted data for synchronization of the new primaryvolume (continued)

Time Status of remotemirroring

Action

13:00 Connectivity resumes Volume B and volume A communicate and volume B mergesthe lists of uncommitted data. Volume B copies to volume Aboth the blocks that changed in volume B between 12:30 and13:00, as well as the blocks that changed in volume A between12:00 and 12:30. For example, volume B could copy to volumeA blocks 1000 through 2500, where blocks 1000 through 1500would revert to their original values at 12:00 and blocks 1500through 2500 would have the values written to volume Bbetween 12:30 and 13:00. Changes written to volume Abetween 12:00 and 12:30 are lost.

Reconnection when both sides have the same roleWhat happens when one side was switched while the link was down

Situations where both sides are configured to the same role can only occur whenone side was switched while the link was down. This is a user error, and the usermust follow these guidelines to prevent such a situation:v Both sides need to change roles before the link is resumed.v As a safety measure, it is recommended to first switch the primary to secondary.

If the link is resumed and both sides have the same role, the coupling will notbecome operational.

To solve the problem, the user must use the role switching mechanism on one ofthe volumes and then activate the coupling.

In this situation, the system behaves as follows:v If both sides are configured as secondary volumes, a minor error is issued.v If both sides are configured as primary volumes, a critical error is issued. Both

volumes will be updated locally with remote mirroring being nonoperationaluntil the condition is solved.

Remote mirroring and consistency groupsConsistency groups must be compatible with mirroring.

The following assumptions ensure that consistency group procedures arecompatible with the remote mirroring function:v All volumes in a consistency group are mirrored on the same system (as all

primaries on a system are mirrored on the same system).v All volumes in a consistency group have the same role.v The last_consistent snapshot is created and deleted system-wide, and therefore

it is consistent across the consistency group.

Note: An administrator can incorrectly switch the roles of some of the volumes ina consistency group, while keeping others in their original role. This is notprevented by the system and is detected at the application level.

54 IBM Spectrum Accelerate: Product Overview

Page 67: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Using remote mirroring for media error recoveryIf a media error is discovered on one of the volumes of the coupling, the peervolume is then used for a recovery.

Supported configurationsSynchronous mirroring supports the following configurations.v Only iSCSI can serve as the protocol between the primary and secondary

volumes.v The remote system must be defined in the remote-target connectivity definitions.v All the peers of volumes that belong to the same consistency group on a system

must reside on a single remote system.v Primary and secondary volumes must contain the same number of blocks.

I/O performance versus synchronization speed optimizationThe synchronization rate can be adjusted, so as to prevent resource exhaustion.

The Spectrum Accelerate has two global parameters, controlling the maximum rateused for initial synchronization and for synchronization after nonoperationalcoupling.

These rates are used to prevent a situation where synchronization uses too many ofthe system or communication line resources.

This configuration parameter can be changed at any time. These parameters are setby the Spectrum Accelerate technical support representative.

Implications regarding other commandsUsing synchronous mirroring incurs several implications on volume and snapshotmanagement.v Renaming a volume changes the name of the last_consistent and most_updated

snapshots.v Deleting all snapshots does not delete the last_consistent and most_updated

snapshot.v Resizing a primary volume resizes its secondary volume.v A primary volume cannot be resized when the link is down.v Resizing, deleting, and formatting are not permitted on a secondary volume.v A primary volume cannot be formatted. If a primary volume must be formatted,

an administrator must first deactivate the mirroring, delete the mirroring, formatboth the secondary and primary volumes, and then define the mirroring again.

v Secondary or primary volumes cannot be the target of a copy operation.v Locking and unlocking are not permitted on a secondary volume.v Last_consistent and most_updated snapshots cannot be unlocked.v Deleting is not permitted on a primary volume.v Restoring from a snapshot is not permitted on a primary volume.v Restoring from a snapshot is not permitted on a secondary volume.v A snapshot cannot be created with the same name as the last_consistent or

most_updated snapshot.

Chapter 6. Synchronous remote mirroring 55

Page 68: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

56 IBM Spectrum Accelerate: Product Overview

Page 69: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 7. Asynchronous remote mirroring

Asynchronous mirroring enables high availability of critical data through a processthat asynchronously replicates data updates that are recorded on a primary storagepeer to a remote, secondary peer.

The relative merits of asynchronous and synchronous mirroring are best illustratedby examining them in the context of two critical objectives:v Responsiveness of the storage systemv Currency of mirrored data

With synchronous mirroring, host writes are acknowledged by the storage systemonly after being recorded on both peers in a mirroring relationship. This yieldshigh currency of mirrored data (both mirroring peers have the same data), yetresults in less than optimal system responsiveness because the local peer cannotacknowledge the host write until the remote peer acknowledges it. This type ofprocess incurs latency that increases as the distance between peers increases.

XIV features both asynchronous mirroring and synchronous mirroring.Asynchronous mirroring is advantageous in various use cases. It represents acompelling mirroring solution in situations that warrant replication betweendistant sites because it eliminates the latency inherent to synchronous mirroring,and might lower implementation costs. Careful planning of asynchronousmirroring can minimize the currency gap between mirroring peers, and can help torealize better data availability and cost savings.

With synchronous mirroring (first image below), response time (latency) increasesas the distance between peers increases, but both peers are synchronized. Withasynchronous mirroring (second image below), response time is not sensitive todistance between peers, but the synchronization gap between peers is sensitive tothe distance.

Note: The following images show XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Figure 13. Synchronous mirroring extended response time lag

© Copyright IBM Corp. 2015 57

Page 70: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Note: Synchronous mirroring is covered in Chapter 6, “Synchronous remotemirroring,” on page 39.

Asynchronous mirroring highlightsThe following are highlights of the Spectrum Accelerate asynchronous mirroringcapability.

Advanced Snapshot-based TechnologySpectrum Accelerate asynchronous mirroring is based on XIV snapshottechnology, which streamlines implementation while minimizing impact ongeneral system performance. The technology leverages functionality thathas previously been effectively employed with synchronous mirroring andis designed to support mirroring of complete systems – translating tohundreds or thousands of mirrors.

Mirroring of Consistency GroupsSpectrum Accelerate supports definition of mirrored consistency groups,which is highly advantageous to enterprises, facilitating easy managementof replication for all volumes that belong to a single consistency group.This enables streamlined restoration of consistent volume groups from aremote site upon unavailability of the primary site.

Automatic and Manual ReplicationAsynchronous mirrors can be assigned a user-configurable schedule forautomatic, interval-based replication of changes, or can be configured toreplicate changes upon issuance of a manual (or scripted) user command.Automatic replication allows you to establish crash-consistent replicas,whereas manual replication allows you to establish application-consistentreplicas, if required. The XIV implementation allows you to combine bothapproaches because you can define mirrors with a scheduled replicationand you can issue manual replication jobs for these mirrors as needed.

Multiple RPOs and Multiple SchedulesSpectrum Accelerate asynchronous mirroring enables each mirror to bespecified a different RPO, rather than forcing a single RPO for all mirrors.This can be used to prioritize replication of some mirrors over others,potentially making it easier to accommodate application RPO requirements,as well as bandwidth constraints.

Flexible and Independent Mirroring IntervalsSpectrum Accelerate asynchronous mirroring supports schedules withintervals ranging between 20 seconds and 12 hours. Moreover, intervals are

Figure 14. Asynchronous mirroring - no extended response time lag

58 IBM Spectrum Accelerate: Product Overview

Page 71: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

independent from the mirroring RPO. This enhances the ability to fine tunereplication to accommodate bandwidth constraints and different RPOs.

Flexible pool managementSpectrum Accelerate asynchronous mirroring enables the mirroring ofvolumes and consistency groups that are stores in thin provisioned pools.This applies to both mirroring peers.

Bi-Directional MirroringSpectrum Accelerate systems can host multiple mirror sources and targetsconcurrently, supporting over a thousand mirrors per system. Furthermore,any given Spectrum Accelerate can have mirroring relationships withseveral other Spectrum Accelerate systems. This enables enormousflexibility when setting mirroring configurations.

The number of systems with which the Storage System can have mirroringrelationships is specified out side this document (see the SpectrumAccelerate Data Sheet).

Concurrent Synchronous and Asynchronous MirroringThe Spectrum Accelerate can concurrently run synchronous andasynchronous mirrors.

Easy Transition between Peer RolesSpectrum Accelerate mirror peers can be easily changed between masterand slave.

Easy Transition From Independent Volume Mirrors into Consistency GroupMirror

The Spectrum Accelerate allows for easy configuration of consistencygroup mirrors, easy addition of mirrored volumes into a mirroredconsistency group, and easy removal of a volume from a mirroredconsistency group while preserving mirroring for such volume.

Control over Synchronization Rates per TargetThe asynchronous mirroring implementation enables administrators toconfigure different system mirroring rates with each target system.

Comprehensive Monitoring and EventsSpectrum Accelerate systems generate events and monitor criticalasynchronous mirroring-related processes to produce important data thatcan be used to assess the mirroring performance.

Easy Automation via ScriptsAll asynchronous mirroring commands can be automated through scripts.

Asynchronous mirroring terminologyThe following list summarizes relevant asynchronous mirroring terms.

Mirror coupling (sometimes referred to as coupling)A pairing of storage peers (either volumes or consistency groups) that areengaged in a mirroring relationship.

Master and Slave The roles that correspond with the source and target storage peers for datareplication in a mirror coupling. These roles can be changed by a systemadministrator after a mirror is created to accommodate customer needs andsupport failover and failback scenarios. A valid mirror can have only onemaster peer and only one slave peer.

Chapter 7. Asynchronous remote mirroring 59

Page 72: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Peer DesignationA user-configurable mirroring attribute that describes the designationassociated with a coupling peer. The master is designated by default asprimary and the slave is designated by default as secondary. These valuesserve as a reference for the original peer's designation regardless of anyrole change issued after the mirror is created, but should not be mistakenfor the peer's role (which is either master or slave).

Last replicated snapshot A snapshot that represents the latest state of the master that is confirmedto be replicated to the slave.

Most recent snapshotA snapshot that represents the latest synchronized state of the master thatthe coupling can revert to in case of disaster.

Sync Job The mirroring process responsible for replicating any data updatesrecorded on the master since the Last Replicated Snapshot was taken.These updates are replicated to the slave.

ScheduleAn administrative object that specifies how often a Sync Job is created foran associated mirror coupling.

Interval A schedule parameter that indicates the duration between successive SyncJobs.

RPO Recovery Point Objective – an objective for the maximal datasynchronization gap acceptable between the master and the slave. Anindicator for the tolerable data loss (expressed in time units) in the event offailure or unavailability of the master.

RTO Recovery Time Objective - an objective for the maximal time to restoreservice after failure or unavailability of the master.

Asynchronous mirroring specificationsThe following specifications apply to the asynchronous mirroring operation.

Minimum link bandwidth10Mbps.

Recommended link bandwidth20Mbps and up.

Maximum round-trip latency250ms.

Attaching systems for mirroringThe connection between two systems has to pass via SAN.

Asynchronous mirroring abilitiesThe asynchronous mirroring implementation is based on snapshots and featuresthe ability to establish automatic and manual mirroring with the added flexibilityto assign each mirror coupling with a different RPO.

The ability to specify a different schedule for each mirror independently from theRPO helps accommodate special mirroring prioritization requirements without

60 IBM Spectrum Accelerate: Product Overview

Page 73: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

subjecting all mirrors to the same mirroring parameters. The paragraphs belowdetail the following Spectrum Accelerate asynchronous mirroring aspects,technologies, and concepts:v The replication schemev The snapshot-based technologyv Spectrum Accelerate asynchronous mirroring special snapshotsv Initializing Spectrum Accelerate asynchronous mirroringv The mirroring replication unit: the Sync Jobv Mirroring schedules and intervalsv The manual (ad-hoc) Sync Jobv Determining mirror state through the RPOv Mirrored consistency groupsv Spectrum Accelerate asynchronous mirroring and pool space depletion

Replication schemeSpectrum Accelerate asynchronous mirroring supports establishing mirroringrelationships between Spectrum Accelerate storage systems and XIV systems.

Each of these relationships can be either synchronous or asynchronous and asystem can concurrently act as a master in one relationship and act as the slave inanother relationship. There are also no practical distance limitations forasynchronous mirroring – mirroring peers can be located in the same metropolitanarea or in separate continents.

Each Spectrum Accelerate can have mirroring relationships with other SpectrumAccelerate systems. Multiple concurrent mirroring relationships are supported witheach target.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Chapter 7. Asynchronous remote mirroring 61

Page 74: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Snapshot-based technologySpectrum Accelerate features an innovative snapshot-based technology forasynchronous mirroring that facilitates concurrent mirrors with different recoveryobjectives.

With Spectrum Accelerate asynchronous mirroring, write order on the master is notpreserved on the slave. As a result, a snapshot taken of the slave at any moment ismost likely inconsistent and therefore not valid. To ensure high availability of datain the event of a failure or unavailability of the master, it is imperative to maintaina consistent replica of the master that can ensure service continuity.

This is achieved through Spectrum Accelerate snapshots. Spectrum Accelerateasynchronous mirroring employs snapshots to record the state of the master, andcalculates the difference between successive snapshots to determine the data thatneeds be copied from the master to the slave as part of a corresponding replicationprocess. Upon completion of the replication process, a snapshot is taken of theslave and reflects a valid replica of the master.

Below are select technological properties that explain how the snapshot-basedtechnology helps realize effective asynchronous mirroring:v Spectrum Accelerate supports a practically unlimited number of snapshots

facilitates mirroring of complete systems with practically no limitation on thenumber of mirrored volumes supported

v Spectrum Accelerate implements memory optimization techniques that furthermaximize the performance attainable by minimizing disk access.

Figure 15. The replication scheme

62 IBM Spectrum Accelerate: Product Overview

Page 75: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Mirroring special snapshotsThe status and scope of the synchronization process is determined through the useof snapshots.

The following two special snapshots are used:

most_recent snapshot (MRS)This snapshot is the most recent snapshot taken of the master (being eithera volume or consistency group), prior to the creation of a new replicationprocess (Sync Job – see below). This snapshot exists only on the master.

last_replicated snapshot (LRS)This is the most recent snapshot that is confirmed to have been fullyreplicated to the slave. Both the master and the slave have this snapshot.On the slave, the snapshot is taken upon completion of a replicationprocess, and replaces any previous snapshot with that name. On themaster, the most_recent snapshot is renamed last_replicated after the slaveis confirmed to have a corresponding replica of the master's most_recentsnapshot.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Spectrum Accelerate maintains three snapshots per mirror coupling: two on themaster and one on the slave. A valid (recoverable) state of the master is capturedin the last_replicated snapshot, and on an identical snapshot on the slave. Themost_recent snapshot represents a recent state of the master that needs bereplicated next to the slave. The system determines the data to replicate bycomparing the master's snapshots.

Initializing the mirroringA Spectrum Accelerate mirror is easily created using the CLI or GUI. First, themirror is created and activated, then an initialization phase starts.

Spectrum Accelerate mirrors are created in standby state and must be explicitlyactivated. During the Initialization phase, the system generates a valid replica ofthe state of the master on the slave. Until the Initialization is over, there is no validreplica on the slave to help recover the master (in a case of disaster). Once the

Figure 16. Location of special snapshots

Chapter 7. Asynchronous remote mirroring 63

Page 76: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Initialization phase ends, a snapshot of the slave is taken. This snapshot representsa valid replica of the master and can be used to restore a consistent state of themaster in disaster recovery scenarios.

The Initialization takes the following steps (all part of an atomic operation):

The Master start initializing the SlaveWhen a new mirror is defined, a snapshot of the Master is taken. Thissnapshot represents the initial state of the Master prior to the issuing of themirror. The objective of the Initialization is to reflect this state on the Slave.

Initialization finishesOnce the Initialization finishes, an ongoing mirroring commences througha sync job.

AcknowledgementThe slave acknowledges the completion of the Initialization to the Master.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Off-line replicating the master onto the slaveSpectrum Accelerate allows for this volume replica to be transferred off-line to theslave.

At the beginning of the Initialization of the mirror, the user states which volumewill be replicated from the master to the slave. This replica of the master istypically much larger than the schedule-based replicas that accumulate differencesthat are made during a small amount of time. Spectrum Accelerate allows for this

Figure 17. Asynchronous mirroring over-the-wire initialization

64 IBM Spectrum Accelerate: Product Overview

Page 77: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

volume replica to be transferred off-line to the slave. This method of transfer issometimes called "Truck Mode" and is accessible through the mirror_createcommand.

Off-line initialization of the mirror replicates the master onto the slave withoutbeing required to utilize the inter-site link. The off-line replication requires:v Specifying the volume to be mirrored.v Specifying the initialization type to the mirror creation command.v Activating the mirroring.

Meeting the above requirements, the system takes a snapshot of the master, andcompares it with the slave volume. Only areas where differences are found arereplicated as part of the initialization. Then, the slave peer's content is checkedagainst the master and not just automatically considered a valid replica. This checkoptimizes the initialization time through taking into consideration the availablebandwidth between the master and slave and whether the replica is identical tothe master volume (that is, there where no writes to the master during theinitialization).

The sync jobData synchronization between the master and slave is achieved through a processrun by the master called a Sync Job.

The Sync Job updates the slave with any data that was recorded on the mastersince the latest Sync Job was created. The process can either be startedautomatically based on a user-configurable schedule, or manually based on auser-issued command.

Calculating the data to be replicated as part of the Sync JobWhen the Sync Job is started, a snapshot of the master's state at that time is taken(the most_recent_snapshot).

After any outstanding Sync Job are completed, the system calculates the datadifferences between this snapshot and the most recent master snapshot thatcorresponds with a consistent replica on the slave (the last_replicated_snapshot).This difference constitutes the data to be replicated next by the Sync Job.

The replication is very efficient because it only copies data differences betweenmirroring peers. For example, if only a single block was changed on the master,only a single block will be replicated to the slave.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Chapter 7. Asynchronous remote mirroring 65

Page 78: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Mirroring schedules and intervalsSpectrum Accelerate implements a scheduling mechanism that is used to drive arecurring asynchronous mirroring process.

Each asynchronous mirror has a specified schedule, and the schedule's intervalindicates how often a Sync Job is created for that mirror.

Asynchronous mirroring has the following features:v The schedule concept. A schedule specifies an interval for automatic creation of

Sync Jobs; a new Sync Job is normally created at the arrival of a new interval.v A Sync Job is not created if another scheduled Sync Job is running when a new

interval arrivesv Custom schedules can be created by usersv Schedule intervals can be set to any of the following values: 30 seconds, 1 min, 2

min, 5 min, 10 min, 15 min , 30 min , 1 hour, 2 hours, 3 hours, 6 hours, 8 hours,12 hours. The schedule start hour is 00:00.

Note: Spectrum Accelerate offers a built-in, non-configurable schedule calledmin_interval with a 20s interval. It is only possible to specify a 20s scheduleusing this predefined schedule.

v When creating a mirror, two schedules are specified - one per peer. The slave'sschedule can help streamline failover scenarios - controlled by either SpectrumAccelerate or a 3rd party process.

v A single schedule can be referenced by multiple couplings on the same system.v Sync Job creation for mirrors with the same schedule takes place at exactly the

same time. This is in contrast with mirrors having different schedules with the

Figure 18. : The Asynchronous mirroring Sync Job

66 IBM Spectrum Accelerate: Product Overview

Page 79: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

same interval. Despite having the same interval, Sync Jobs for these types ofmirrors are not guaranteed to take place at the same time.

v A unique schedule called Never is provided to indicate that no Sync Jobs areautomatically created for the pertinent mirror (see below).

Schedules are local to a single Spectrum Accelerate system

Schedules are local to the Spectrum Accelerate system where they are defined andare set independently of system-to-system relationships. A given source-to-targetreplication schedule does not mandate an identical schedule defined on the targetfor reversed replication. To maintain an identical schedule for reverse replication (ifthe master and slave roles need be changed), independent identical schedules mustbe defined on both peers.

Schedule sensitivity to timezone difference

The schedules of the peers of a mirroring couple have to be defined in a way thatwon't be impacted from timezone differences. For example, if the timezonedifference between the master and slave sites is two hours, the interval is 3 hoursand the schedule on one peer is (12PM, 3AM, 6AM,...), the schedule on the otherpeer needs to be (2AM, 5AM, 8AM). Although some cases do not call for shiftedschedules (for example, a timezone difference of 2 hours and an interval of onehour), this issue can't be overlooked.

The master and the slave also have to have their clocks synchronized (for exampleusing NTP). Avoiding such a synchronization could hamper schedule-relatedmeasurements, mainly RPO.

The Never schedule

The system features a special, non-configurable schedule called Never that denotesa schedule with no interval. This schedule indicates that no Sync Jobs areautomatically created for the mirror so it is only possible to issue replication forthe mirror through a designated manual command.

Note: A manual snapshot mirror can be issued to every mirror that is assigned auser-defined schedule.

The mirror snapshot (ad-hoc sync job)A dedicated command can be issued for running a mirror snapshot, in addition tousing the schedule-based option.

This type of mirror snapshot can be issued for a coupling regardless of whether ithas a schedule. The command creates a new snapshot on the master and manuallyinitiates a Sync Job that is queued behind outstanding Sync Jobs.

The mirror snapshot:v Accommodates a need for adding manual replication points to a scheduled

replication process.v Creates application-consistent replicas (in cases where consistency is not

achieved via the scheduled replication).

The following characteristics apply to the manual initiation of the asynchronousmirroring process:

Chapter 7. Asynchronous remote mirroring 67

Page 80: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v Multiple mirror snapshot commands can be issued – there is no maximum limiton the number of mirror snapshots that can be issued manually.

v A mirror snapshot running when a new interval arrives delays the start of thenext interval-based mirror scheduled to run, but does not cancel the creation ofthis Sync Job.– The interval-based mirror snapshot will be cancelled only if the running

snapshot mirror (ad-hoc) has never finished.

Other than these differences, the manually initiated Sync Job is identical to aregular interval-based Sync Job.

Determining replication and mirror statesThe mirror state indicates whether the master is mirrored according to objectivesthat are specified by the user.

As asynchronous mirroring endures a gap that may exist between the master andslave states, the user must specify a restriction objective for the mirror – the RPO –or Recovery Point Objective. The system determines the mirror state by examiningif the master's replica on the slave. The mirror state is considered to be OK only ifthe master replica on the slave is newer than the objective that is specified by theRPO.

RPO and RTOThe evaluation of the synchronization status is done based on the mirror's RPOvalue. Note the difference between RPO and RTO.

RPO Stands for Recovery Point Objective and represents a measure of themaximum data loss that is acceptable in the event of a failure orunavailability of the master.

RPO unitsEach mirror must be set an RPO by the administrator, expressed intime units. Valid RPO values range between 30 seconds and 24hours. An RPO of 60 seconds indicates that the slave's state shouldnot be older than the master's state by more than 60 seconds. Thesystem can be instructed to alert the user if the RPO is missed, andthe system's internal prioritization process for mirroring is alsoadjusted.

RTO Stands for Recovery Target Objective and represents the amount of time ittakes the system to recover from a failure or unavailability of the master.

The mirror's RTO is not administered in Spectrum Accelerate.

Mirror status valuesThe mirror status is determined based on the mirror state and the mirroring status.

During the progress of a Sync Job and until it completes, the slave replica isinconsistent because write order on the master is not preserved during replication.Instead of reporting this state as inconsistent, the mirror state is reported based onthe timestamp of the slave's last_replicated snapshot as one of the following:

RPO_OKSynchronization exists and meets its RPO objective.

RPO_LaggingSynchronization exists but lags behind its RPO objective.

68 IBM Spectrum Accelerate: Product Overview

Page 81: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

InitializingMirror is initializing.

Definitions of mirror state and status:

The mirror status is determined based on the mirror state and the mirroring status.

Mirror stateDuring the progress of a Sync Job and until it completes, the slave replicais inconsistent because write order on the master is not preserved duringreplication. Instead of reporting this state as inconsistent, the mirror state isreported based on the timestamp of the slave's last_replicated snapshot asone of the following:

Definition of RPO_OKSynchronization exists and meets its RPO objective.

Definition of RPO_LaggingSynchronization exists but lags behind its RPO objective.

InitializingMirror is initializing.

Mirroring statusThe mirroring status denotes the status of the replication process andreflects the activation state and the link state.

Effective recovery currencyMeasures as the delta between the current time and the timestampof the last_replicated_snapshot

Declaring on RPO_OKThe Effective recovery currency is positive.

Declaring on RPO_LaggingThe Effective recovery currency is negative.

Figure 19. The way RPO_OK is determined

Chapter 7. Asynchronous remote mirroring 69

Page 82: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Examples of the way mirror status is determined:

The mirroring status denotes the status of the replication process and reflects theactivation state and the link state.

The following example portrays the way the mirroring status is determined. Thetime-axis denotes time and the schedule of the sync jobs ( t0 - t5). Both RPO statesare displayed in red and green at the upper section of the image.

First sync job - RPO is OK

Time: t0

A sync job starts. RPO_OK is maintained as long as the sync job endsbefore t1.

Time: ta

As the sync job ends at ta, prior to t1, the status is RPO_OK.

Effective recovery currencyDuring the sync job run the value of Effective recovery currency (the blackgraph on the upper section of the image) changes. This value goes up aswe are getting farther from t0, goes down - to the RPO setting - once thesync job complete, and does not resume climbing as long as the nextschedule has arrived.

Figure 20. The way RPO_Lagging is determined

Figure 21. Determining the asynchronous mirroring status – example part 1

70 IBM Spectrum Accelerate: Product Overview

Page 83: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Second sync job - RPO is lagging

Time: t1

A sync job starts. RPO_OK is maintained as long as the sync job endsbefore t2.

Time: t2

The sync job should have ended at this point, but it is still running.

The sync job the was scheduled to run on this point in time is cancelled.

Time: tb

As the sync job ends at tb, which is after t2, the status is RPO_Lagging.

Effective recovery currencyThe value of Effective recovery currency k.jpg climbing as long as the nextsync job hasn't finished.

Third sync job - RPO is OK

Time: t3

A new sync job starts. At this point the status is RPO_Lagging.

Time: tc

As the sync job ends prior to t4, the status is RPO_OK.

Effective recovery currencyThe value of Effective recovery currency k.jpg climbing until the next syncjob has finished (this happens at tc). This value immediately returns to theRPO setting until the time of the next schedule.

Figure 22. Determining the asynchronous mirroring status – example part 2

Chapter 7. Asynchronous remote mirroring 71

Page 84: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The added-value of multiple RPOs

The system bases its internal replication prioritization on the mirror RPO; hence,support for multiple RPOs corresponding with true recovery objectives helpsoptimize the available bandwidth for replication.

The added-value of multiple Schedules

You can attain a target RPO using multiple schedule interval options. A variableschedule that is decoupled from the RPO helps optimize the replication process toaccommodate RPO requirements without necessarily modifying the RPO.

Mirrored consistency groupsSpectrum Accelerate enables mirrored consistency groups and mirroring ofvolumes to facilitate the management of mirror groups.

Asynchronous mirroring of consistency groups is accomplished by taking asnapshot group of the master consistency group in the same manner employed forvolumes, either based on schedules, or manually through a dedicated commandoption.

The peer synchronization and status are managed on a consistency group-level,rather than on a volume-level. This means that administrative operations arecarried out on the whole consistency group, rather than on a specific volumewithin the consistency group. This includes operations such as activation, andmirror-wide settings such as a schedule.

The synchronization status of the consistency group reflects the combined status ofall mirrored volumes pertaining to the consistency group. This status is determinedby examining the (system-internally-kept) status of each volume in the consistencygroup. Whenever a replication is complete for all volumes and their state isRPO_OK, the consistency group mirror status is also RPO_OK. On the other hand,if the replication is incomplete or any of the volumes in a mirrored consistencygroup has the status of RPO_Lagging, the consistency group mirror state is alsoRPO_Lagging.

Storage space required for the mirroringSpectrum Accelerate enables to manage the storage required for the mirroring onthin-provisioned pools on both the master and the slave.

Figure 23. Determining Asynchronous mirroring status – example part 3

72 IBM Spectrum Accelerate: Product Overview

Page 85: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Throughout the course of the mirroring, the last_replicated and most_recentsnapshots may exceed the space allocated to the volume and its snapshots. Thelack of sufficient space on the master can prevent host writes, where the lack ofspace on the slave can disrupt the mirroring process itself.

Spectrum Accelerate enables you to manage the storage required for the mirroringon thin-provisioned pools. This way, The Spectrum Accelerate manages andallocates space according to the schemes described in the“Thin provisioning” onpage 18 chapter.

Upon depletion of space on each of the peers, the “Pool space depletion”mechanism takes effect.

Pool space depletionPool space depletion is a mechanism that takes place whenever the mirroring canno longer be maintained due to lack of space for incoming write requests issued bythe host.

Whenever a pool does not have enough free space to accommodate the storagerequirements warranted by a new host write, the system runs a multi-stepprocedure that progressively deletes snapshots within that pool until enough spaceis made available for a successful completion of the write request.

This multi-step procedure is progressive, meaning that the system proceeds to thenext step only if following the execution of the current step, there is stillinsufficient space to support the write request.

Protecting snapshots through setting their deletion priority:

Protected snapshots have precedence over other snapshots during the Pool spacedepletion process.

The concept of protected snapshots assigns the Storage Pool with an attribute thatis compared with the snapshots' auto-deletion priority attribute. Whenever asnapshot has a deletion priority that is higher that the pool's attribute, it isconsidered protected.

For example, if the deletion priority of the depleting storage is set to 3, the systemwill delete snapshots with the deletion priority of 4. Snapshots with priority level1, 2 and 3 will not be deleted.

Chapter 7. Asynchronous remote mirroring 73

Page 86: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

If the deletion priority of the depleting storage is set to 4, the system willdeactivate mirroring before deleting any snapshots.

If the deletion priority of the depleting storage is set to 0, the system can deleteany snapshot regardless of deletion priority.

Figure 24. The deletion priority of the depleting storage is set to 3

Figure 25. The deletion priority of the depleting storage is set to 4

74 IBM Spectrum Accelerate: Product Overview

Page 87: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Pool space depletion on the master:

The depletion procedure on the master takes the following steps.

Step ▌1▐ - deletion of unprotected snapshots

The following snapshots are deleted:

v Regular (not related to mirroring) snapshotsv Snapshots of the mirroring processes that are no longer activev The snapshot of any Snapshot Mirror (a.k.a. ad hoc sync job)

that has not started yet

The deletion is subject to the deletion priority of the individualsnapshot. In the case of deletion priority clash, older snapshots aredeleted first.

Success criteria:The user reattempts operation, re-enables mirroring and resumesreplication. If this fails, the system proceeds to step 2 (below).

Step ▌2▐ - deletion of the snapshot of any outstanding (pending) scheduled syncjob If replication still does not resume after the actions taken on step 1:

The following snapshots are deleted:

v All snapshots that were not deleted in step 1.

Success criteria:The system reattempts operation, re-enables mirroring and resumesreplication.

Step ▌3▐ - automatic deactivation of the mirroring and deletion of the snapshotdesignated as the mirror most_recent snapshot

If the replication still does not resume:

The following takes place:

v An automatic deactivation of the mirroringv Deletion of the most_recent snapshotv An event is generated.

Ongoing ad-hoc sync jobThe snapshot created during the ad-hoc sync job is considered as amost_recent snapshot, although it is not named as such and not

Figure 26. The deletion priority of the depleting storage is set to 0

Chapter 7. Asynchronous remote mirroring 75

Page 88: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

suplicated with a snapshot in that name. Following the completionof the ad-hoc sync job, and only after this completion, the snapshotis duplicated and the duplicate is named last_replicated.

Upon a manual reactivation of the mirroring process:

1. The mirroring activation state changes to Active2. A most_recent snapshot is created3. A new sync job starts

Step ▌4▐ - deletion of the last_replicated snapshot

If more space is still required:

The following takes place:

v Deletion of the last_replicated snapshot (on the Master)v An event is generated.

Following the deletion:

1. The mirroring remains deactivated, and must be manuallyreactivated.

2. The mirroring changes to change tracking state. Host I/O to theMaster are tracked but not replicated

3. The system marks storage areas that were written into since thelast_replicated snapshot was created

Step ▌5▐ - deletion of the most_recent snapshot that is created when activatingthe mirroring in Change Tracking state

If more space is still required:

The following takes place:

v Deletion of the most_recent snapshot (on the Master).v An event is generated.

Following the deletion:Deletion of this most_recent snapshot in this state leaves themaster with neither a snapshot nor a bitmap, mandating fullinitialization. To minimize the likelihood for such deletion, thissnapshot is automatically assigned a special (new) deletion prioritylevel. This deletion priority implies that the system should deletethe snapshot only after all other last_replicated snapshots in thepool were deleted. Note that the new priority level will only beassigned to a mirror with a consistent Slave replica and not to amirror that was just created (whose first state is also initialization).

Step ▌6▐ - deletion of protected snapshots

If more space is still required:

The following takes place:

v An event is generated.v Deletion of all protected snapshots, regardless of the mirroring.

These snapshots are deleted according to their deletion priorityand age.

Following the deletion:

v The Master's state changes to Init (distinguished from theInitialization phase mirrors start with)

v The system stops marking new writes

76 IBM Spectrum Accelerate: Product Overview

Page 89: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v A most_recent snapshot is createdv The system creates and runs a sync job encompassing all of the

tracked changes trackedv following the completion of this sync job, a last_replicated

snapshot is created on the Master, and the mirror state changesto rpo_ok or rpo_lagging, as warranted by the Effective RPO

If pool space depletes during the Init:

v The Master's state remains Initializationv An event is generatedv The mirroring is deactivatedv The most_recent snapshot is deleted (mandating a Full

Initialization)

Upon manual mirroring activation during the Init:

v The Master's state remains Initializationv A most_recent snapshot is createdv The system starts a Full Initialization based on the most_recent

snapshot

Pool space depletion on the slave:

Pool space depletion on the Slave means that there is no room available for thelast_replicated snapshot. In this case, the mirroring is deactivated.

Snapshots with a Deletion Priority of 0 are special snapshots that are created bythe system on the Slave peer and are not automatically deleted to free space,regardless of the pool space depletion process. The asynchronous mirroring slavepear has one such snapshot: the last_replicated snapshot.

Asynchronous mirroring process walk-throughThis section walks through creating an asynchronous mirroring relationship,starting from the initialization all the way through completing the first scheduledSync Job.

Step 1Time is 01:00 when the command to create a new mirror is issued. In this example,an RPO of 120 minutes and a schedule of 60 minutes are specified for the mirror.

The mirroring process must first establish a baseline for ensuing replication. Thiswarrants an Initialization process during which the current state of the master isreplicated to the slave peer. This begins with the host writes being briefly blocked(1). The state of the master peer can then be captured by taking a snapshot of themaster state: the most_recent snapshot (2), which serves as a baseline for ensuingschedule-based mirroring. After this snapshot is created, host writes are no longerblocked and continue to update the storage system (3). At this time, no snapshotexists on the slave yet.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Chapter 7. Asynchronous remote mirroring 77

Page 90: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Step 2After the state of the master is captured, the data that needs to be replicated aspart of the Initialization process is calculated. In this example, the master'smost_recent snapshot represents the data to be replicated through the first Sync Job(4).

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Step 3During this step, the Initialization Sync Job is well in progress. The mastercontinues to be updated with host writes – the updates are noted in the order they

Figure 27. Asynchronous mirroring walkthrough – Part 1

Figure 28. Asynchronous mirroring walkthrough – Part 2

78 IBM Spectrum Accelerate: Product Overview

Page 91: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

are written – first 1, then 2 and finally 3. The initialization Sync Job replicates theinitial master peer's state to the slave peer (5).

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Step 4Moments later, the Initialization Sync Job completes. After it completes, the slave'sstate is captured by taking a snapshot: the last_replicated snapshot (6). Thissnapshot reflects the state of the master as captured in the most_recent snapshot.In this example, it is the state just before the initialization phase started.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Figure 29. Asynchronous mirroring walkthrough – Part 3

Chapter 7. Asynchronous remote mirroring 79

Page 92: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Step 6Based on the mirror's schedule, a new interval arrives in a manner similar to theInitialization phase: host writes are blocked (1), and a new master most_recentsnapshot is created (2), reflecting the master peer's state at this time.

Then, host writes are no longer blocked (3).

The update number (4) occurs after the snapshot is taken and is not reflected inthe next Sync Job. This is shown by the color-shaded cells in the most_recentsnapshot figure.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Figure 30. Asynchronous mirroring walkthrough – Part 4

80 IBM Spectrum Accelerate: Product Overview

Page 93: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Step 7A new Sync Job is set. The data to be replicated is calculated based on thedifference between the master's most_recent snapshot and the last_replicatedsnapshot (4).

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Step 8The Sync Job is in process. During the Sync Job, the master continues to beupdated with host writes (update 5).

Figure 31. Asynchronous mirroring walkthrough – Part 6

Figure 32. Asynchronous mirroring walkthrough – Part 7

Chapter 7. Asynchronous remote mirroring 81

Page 94: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The sync job data is not replicated to the slave in the order by which it wasrecorded at the master – the order of updates on the slave is different.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Step 9The Sync Job is completed. The Slave's last_replicated snapshot is deleted (6) andreplaced (in one atomic operation) by a new last_replicated snapshot.

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

Figure 33. Asynchronous mirroring walkthrough – Part 8

82 IBM Spectrum Accelerate: Product Overview

Page 95: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Step 10The Sync Job is completed with a new last_replicated snapshot representing theupdated slave's state (7).

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

The slave's last_replicated snapshot reflects the master's state as captured in themost_recent snapshot. In this example, it is the state at the beginning of the mirrorschedule's interval.

Figure 34. Asynchronous mirroring walkthrough – Part 9

Figure 35. Asynchronous mirroring walkthrough – Part 10

Chapter 7. Asynchronous remote mirroring 83

Page 96: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Step 11A new master last_replicated snapshot created. In one transaction - the currentlast_replicated snapshot on the master is deleted (8) and the most_recent snapshotis renamed the last_replicated (9).

Note: The following image shows XIV storage systems that also represent IBMSpectrum Accelerate deployments.

The interval sync process is now complete - the master and slave both have anidentical restore time point to which they can be reverted if needed.

Peer rolesPeer statuses denote their roles within the coupling definition.

After creation, a coupling has exactly one peer that is set to be the master peer,and exactly one peer that is set to be the slave peer. Each of the peers can have thefollowing available statuses:

None The peer is not part of a coupling definition.

MasterThe actual source peer in a replication coupling. This type of peer serveshost requests, and is the source for synchronization updates to the slave. Amaster peer can be changed to a slave directly while in asynchronousmirroring.

Slave The actual target peer in a replication coupling. This type of peer does notserve host requests, and accepts synchronization updates from acorresponding master. A slave can be changed to a master directly while inasynchronous mirroring.

Mirroring stateThe state of the mirroring is derived from the state of its components.

Figure 36. Asynchronous mirroring walkthrough – Part 11

84 IBM Spectrum Accelerate: Product Overview

Page 97: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The remote mirroring process hierarchically manages the states of the entities thatparticipate in the process. It manages the states for the mirroring based on thestates of the following components:v Linkv Activation

The following mirroring states are possible:

Non-operationalThe coupling state is defined as non-operational if at least one of thefollowing conditions is met:v The activation state is standby.v The link state is error.v The slave peer is locked.

OperationalAll of the following conditions must be met for the coupling to be definedas operational:v The activation state is active.v The link is OK.v The peers have different roles.v The slave peer is not locked.

Link statesThe link state is one of the factors determining the coupling operational status.

The link state reflects the connection from the master to the slave. A failed link or afailed slave system both manifest as a link error. The link state is one of the factorsdetermining the coupling operational status.

The available link states are:

OK The link is up and functioning.

Error The link is down.

Activation statesWhen the coupling is created, its activation is in standby state. When the couplingis enabled, its activation is in active state.

StandbyWhen the coupling is created, its activation is in standby state.

The synchronization is disabled:v Sync jobs do not run.v No data is copied.v The coupling can be deleted.

Active The synchronization is enabled:v Sync jobs can be run.v Data can be copied between peers.

Regardless of the activation state:v The mirroring type can be changed to synchronous.v Peer roles can change.

Chapter 7. Asynchronous remote mirroring 85

Page 98: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Deactivating the couplingDeactivating the coupling stops the mirroring process.

The mirroring is terminated by deactivating the coupling, causing the system to:v Terminate, or delete the mirroringv Stop the mirroring process as a result of:

– A planned network outage– An application to reduce network bandwidth– A planned recovery test

The deactivation pauses a running sync job and no new sync jobs will be createdas long as the active state of the mirroring is not restored. However, thedeactivation does not cancel the interval-based status check by the master and theslave. The synchronization status of the deactivated coupling is calculated on thestart of each interval, as if the coupling was active.

Deactivating a coupling while a sync job is running, and not changing that statebefore the next interval begins, leads to the synchronization status becomingRPO_Lagging, as described in the following outline. Upon the deactivation:

On the masterThe activation state changes to standby; replication pauses (and recordswhere it paused); replication resumes upon activation.

Note: An ongoing sync job resumes upon activation, no new sync job willbe created until the next interval.

On the slaveNot available.

Regardless of the state of the coupling:v Peer roles can be changed

Note: For consistency group mirroring: deactivation pauses all running sync jobspertaining to the consistency group. It is impossible to deactivate a single volumesync job within a consistency group.

Mirroring consistency groupsGrouping volumes into a consistency group provides a means to maintain aconsistent snapshot of the group of volumes at the secondary site.

The following assumptions make sure that consistency group semantics work withremote mirroring:

Consistency Group-level managementMirroring of consistency groups is managed on a consistency group-level,rather than on a volume-level. For example, the synchronization status ofthe consistency group is determined after examining all mirrored volumesthat pertain to the consistency group.

Starting with an empty consistency groupOnly an empty consistency group can be defined as a mirrored consistencygroup. If you want to define an existing non-empty consistency group as

86 IBM Spectrum Accelerate: Product Overview

Page 99: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

mirrored, the volumes within the consistency group must first be removedfrom the consistency group and added back only after the consistencygroup is defined as mirrored.

Adding a volume to an already consistency groupOnly mirrored volumes can be added into a mirrored consistency group.This operations requires the following:v Volume peer is on the same system as the peers of the consistency groupv Volume replication type is identical to the type used by the consistency

group. For example, async_interval.v Volume belongs to the same storage pool of the consistency groupv Volume has the same schedule as the consistency groupv Volume has the same RPO as the consistency groupv Volume and consistency group are in the same synchronization status

(SYNC_BEST_EFFORT for synchronous mirroring, RPO OK forasynchronous mirroring)

If the mirrored consistency group is configured with a user-definedschedule, meaning not using the Never schedule:

Mirrored consistency group or volume should not havenon-started snapshot mirrors, non-finished snapshot mirrors (adhoc Sync Jobs), or both.

If the mirrored consistency group is configured with a Neverschedule:

Mirrored consistency group or volume should not havenon-started, non-finished snapshot mirrors, non-finishedsnapshot mirrors (ad hoc Sync Jobs), or both. The status of themirrored consistency group shall be Initialization until the nextSync Job is completed.

Adding a mirrored volume to a non-mirrored consistency groupIt is possible to add a mirrored volume to a non-mirrored consistencygroup, and it will retain its mirroring settings.

A single sync job for the entire consistency groupThe mirrored consistency group has a single Sync Job for all pertinentmirrored volumes within the consistency group.

Location of the mirrored consistency groupAll mirrored volumes in a consistency group are mirrored on the samesystem.

Retaining mirroring attributes of a volume upon removing it from a mirroredconsistency group

When removing a volume from a mirrored consistency group, thecorresponding peer volume is removed from the peer consistency group.Mirroring is retained (same configuration as the consistency group fromwhich it was removed). Peer volume is also removed from peerconsistency group. Ongoing consistency group Sync Jobs will continue.

Mirroring activation of a consistency groupActivation and deactivation of a consistency group affects all consistencygroup volumes.

Role updatesRole updates concerning a consistency group affects all consistency groupvolumes.

Chapter 7. Asynchronous remote mirroring 87

Page 100: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Dependency of the volume on its consistency group

v It is not possible to directly activate, deactivate, or update role of a givenvolume within a consistency group from the UI.

v It is not possible to directly change the interval of a given volume withina consistency group.

v It is not possible to set independent mirroring of a given volume withina consistency group.

Protecting the mirrored consistency groupConsistency group-related commands, such as moving a consistency group,deleting a consistency group and so on, are not allowed as long as theconsistency group is mirrored. You must remove mirroring before you candelete a consistency group, even if it is empty.

Setting a consistency group to be mirroredVolumes added to a mirrored consistency group have to meet some prerequisites.

Volumes that are mirrored together as part of the same consistency group share thesame attributes:v Targetv Poolv Sync typev Mirror rolev Schedulev Mirror statev Last_replicated snapshot timestamp

In addition, their snapshots are all part of the same last_replicated snapshot group.

To obtain the consistency of these attributes, setting the consistency group to bemirrored is done by first creating a consistency group, then setting it to bemirrored and only then populating it with volumes. These settings mean thatadding a new volume to a mirrored consistency group requires having the volumeset to be mirrored exactly as the other volumes within this consistency group,including the last_replicated snapshot timestamp (which entails an RPO_OK statusfor this volume).

Note: A non-mirrored volume cannot be added to a mirrored consistency group. Itis possible, however, to add a mirrored volume to a non-mirrored consistencygroup, and have this volume retain its mirroring settings.

Setting-up a mirrored consistency groupThe process of creating a mirrored consistency group comprises the followingsteps.

Step 1 Define a consistency group as mirrored (the consistency group must beempty).

Step 2 Activate the mirror.

Step 3 Add a corresponding mirrored volume into the mirrored consistencygroup. The mirrored consistency group and the mirrored volume musthave the following identical parameters:v Source and target

88 IBM Spectrum Accelerate: Product Overview

Page 101: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

v Poolsv Mirroring typev RPOv Schedule names (both local and remote)v Mirror state is RPO_OKv Mirroring status is Activated

Note: It is possible to add a mirrored volume to a non-mirroredconsistency group. In this case, the volume retains its mirroring settings.

Adding a mirrored volume to a mirrored consistency groupAfter the volume is mirrored and shares the same attributes as the consistencygroup, you can add the volume to the consistency group after certain conditionsare met.

The following conditions must be met:v The volume is on the same system as the consistency groupv The volume belongs to the same storage pool as the consistency groupv Both the volume and the consistency group do not have outstanding sync jobs,

either scheduled or manual (ad hoc)v The volume and consistency group have the same synchronization status

(synchronized="best_effort" and async_interval="rpo_ok")v The volume's and consistency group's special snapshots, most_recent and

last_replicated, have identical timestamps (this is achieved by assigning thevolume to the schedule that is utilized by the consistency group)

v In the case that the consistency group is assigned with schedule="never", thestatus of the consistency group is initialization as long as no sync job has run.

Removing a volume from a mirrored consistency groupRemoval of a volume from a mirrored consistency group is easy and preservesvolume mirroring.

When you remove a volume from a mirrored consistency group, the correspondingpeer volume is removed from the peer consistency group; mirroring is retainedwith the same configuration as the consistency group from which it was removed.All ongoing consistency group's sync jobs keep running.

Accommodating disaster recovery scenariosA disaster is a situation where one of the sites (either the master or the slave) fails,or the communication between the master site and the slave site is lost.

Spectrum Accelerate asynchronous mirroring attains synchronization betweenMaster and Slave peers through a recurring data replication process called a SyncJob. Running at user-configurable schedules, the Sync Job takes a snapshot (calledthe most_recent snapshot) of the Master and compares this snapshot with anothersnapshot representing the latest Master state already replicated to the Slave (and avalid recovery point for DR scenarios - called last_replicated snapshot). The SyncJob then synchronizes the Master data corresponding to these differences with theSlave. At the completion of a sync job, a new last_replicated snapshot is createdboth on the Slave and on the Master.

Chapter 7. Asynchronous remote mirroring 89

Page 102: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Disaster recovery scenarios handle cases in which one of the snapshots mentionedabove becomes unavailable. These cases are:

Unplanned service disruption

▌1▐ FailoverUnplanned service disruption starts with a failover to the Slave.

The Slave is promoted and becomes the new Master, serving hostrequests

▌2▐ RecoveryNext, whenever the Master and link are restored, the replication isset from the promoted Slave (the new Master) onto the demotedMaster (the new Slave).

▌Alternately:▐ No recoveryIf recovery is not possible, a new mirroring is establishedon the Slave. The original mirroring is deleted and a newmirroring relationship is defined.

▌3▐ FailbackFollowing the recovery, the original mirroring configuration isreestablished. The Master maintains its role and replicates to theSlave.

Planned service disruption

▌1▐ FailoverPlanned service disruption starts with a failover to the Slave. TheSlave is promoted to become the new Master, and the Master isdemoted to become the new Slave. The promoted Slave serves hostrequests, and replicates to the demoted Master.

▌2▐ FailbackFollowing the recovery, the original mirroring configuration isreestablished. The Master maintains its role and replicates to theSlave.

TestingTesting the slave replica.

Unintentional/erroneous role change

▌1▐ RecoveryRecovery from unintentional/erroneous implementation of theXCLI/GUI change role command on the Slave.

These cases are described in the following topics.

Note: Please contact Spectrum Accelerate Support in case of disaster or for anytesting of Disaster Recovery, in order to get clear guidelines and to secure asuccessful test.

Unplanned service disruptionFollowing a failure, the Master is no longer servicing, nor available.

The failure disrupts the replication of all outstanding sync jobs and results in theloss of the data that was recorded since the timestamp of the last_replicatedsnapshot.

90 IBM Spectrum Accelerate: Product Overview

Page 103: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

FailoverThe Slave must be promoted to Master because of the disruption.

Procedure1. On the host systems, configure the host connectivity so that the hosts can

communicate with the Slave.2. On the Slave system, promote the Slave to become the Master by issuing the

mirror_change_role command. This will implicitly revert the Slave to thelast_replicated snapshot.

3. Map the mirror-related volumes on the Slave to the relevant host by issuing themap_vol command on the Slave system.

RecoveryWhenever the Master becomes available after the Failover and the originalreplication configuration is desired (i.e., failback), the replication has to beestablished from the new Master (the promoted Slave) to the old Master, and onlyafterwards a proper Failback procedure could be carried out

Before you begin

Note: Following a Failover, do not change the role of the new Master back to Slaveprior to a proper establishing of an operational mirroring replication from the newMaster to the old Master. Failing to do so will result in loss of the data written tothe Slave after its promotion to Master (since the old Master will be reverted to itslast_replicated snapshot, dated to before the Failover).

Prior to the establishing of the mirroring between the promoted Slave and the oldMaster, verify the following:1. The role of the old Slave is now Master2. Hosts are configured to write directly to the new Master3. The mirroring is properly configured4. Connectivity is up between the old master and the new Master (such

connectivity is required before the Master can be changed to Slave, to ensurethat the Master will be reverted to a point-in-time corresponding with thelast_replicated snapshot on the other new Master)

Procedure1. On the Master system, demote the Master to Slave by issuing the

mirror_change_role command.

Note: In case of pool space depletion and the deletion of the new Master'ssnapshot, the demotion will not be possible.

2. On the slave system, activate the mirroring by issuing the mirror_activatecommand. Mirroring upon failover is in standby state and must be explicitlyset to active state. Upon activation, the mirroring will run from the promotedSlave (the new Master) to the demoted Master (the new Slave).

No recoveryWhenever the Master cannot be recovered, yet mirroring needs be established forthe data on the Slave, the mirroring definition is deleted and a new mirroringdefinition is set.

Chapter 7. Asynchronous remote mirroring 91

Page 104: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Procedure1. Delete the mirroring between Master and Slave by issuing the mirror_delete

command on the Slave system.2. Perform the following actions to define a new mirroring on the Slave system:

a. Connect to the host by setting configuration with relevant target issuing therelevant commands.

a. Create new mirror by issuing the mirror_create command.a. Activate the mirror by issuing the mirror_activate command.

3. Delete the mirroring between Master and Slave by issuing the mirror_deletecommand on the Slave system.

4. Perform the following actions to define a new mirroring on the Slave system:a. Connect to the host by setting configuration with relevant target issuing the

relevant commands.a. Create new mirror by issuing the mirror_create command.a. Activate the mirror by issuing the mirror_activate command.

FailbackFailback restores the original mirroring configuration to what it was prior to thefailover.

Before you begin

Prior to carrying out the steps listed below, verify the following:1. The role of the old Slave is now Master2. The role on the old Master is now Slave3. Hosts are configured to write directly to the new Master4. The mirroring is properly configured

Procedure1. On the host systems, configure the host connectivity so that hosts can

communicate with the old Master.2. Perform the following actions on the old Slave system:

a. Stop I/O from the hosts.b. Wait for the next scheduled sync job to start. Issue the schedule_list

command to check the mirror's schedule interval. Determine if it isworthwhile to change the mirror's schedule to one with a shorter interval(through issuing the mirror_change_schedule command) to expedite thecreation of the next sync job.

c. Change the mirror schedule to 'never'. This schedule setting guarantees thatno new sync jobs will be automatically created by the system.

d. Wait for the active sync job to complete. You can verify that no sync job isrunning, by issuing the sync_job_list command and ensuring that no syncjobs are listed for the mirror.

e. Switch the roles between the peers by issuing the mirror_switch_rolescommand. This will demote the Master to Slave and will promote the Slaveto Master.Once the link is up – the mirroring will resume (there is no need toexplicitly activate it).

3. Perform the following actions on the old Master system:

92 IBM Spectrum Accelerate: Product Overview

Page 105: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

a. Verify that mirroring schedule parameters are configured as needed.b. Map all mirror-related volumes on the Master to the relevant host by

issuing the map_vol command.c. Deactivate the mirroring by issuing the mirror_deactivate command for the

period during which the Master system will be unavailable.

Planned service disruptionThe amount of data loss can be predetermined when the service disruption is aplanned process.

FailoverThe service disruption is planned. The Master is unable to serve hosts requests fora planned period of time during which the Slave needs to function as Master.Being a planned process, the failover can be set to occur immediately following thecompletion of a sync job, resulting in minimal data loss, or no data loss (if hostsare quiesced (paused) before the creation of the last sync job).

Procedure1. On the host systems, configure the host connectivity so that hosts can

communicate with the Slave.2. Perform the following steps on the Master system:

a. Stop I/O for the relevant hosts.b. Wait for the next scheduled sync job to start. Issue the schedule_list

command to check the mirror's schedule interval. Determine if it isworthwhile to change the mirror's schedule to one with a shorter interval(by issuing the mirror_change_schedule command) to expedite the creationof the next sync job.

c. Change the mirror schedule to 'never'. This schedule setting guarantees thatno new sync jobs will be automatically created by the system.

d. Wait for the active sync job to complete. You can verify that no sync job isrunning by issuing the sync_job_list command and ensuring that no syncjobs are listed for the mirror.

e. Switch the roles between the peers by issuing the mirror_switch_rolescommand. This will demote the Master to Slave and will promote the Slaveto Master.Once the link is up, the mirroring will resume (there is no need to explicitlyactivate it).

3. Perform the following steps on the Slave system:a. Verify that mirroring schedule parameters are configured as needed.b. Map all mirror-related volumes on the Master to the relevant host by

issuing the map_vol command.c. Deactivate the mirroring by issuing the mirror_deactivate command for the

period during which the Master system will be unavailable.

What to do next

Since the mirror_switch_roles command yields an active mirroring relationship,the mirroring does not need to be explicitly recovered following the plannedFailover procedure. However, the mirroring must be explicitly deactivated (usingthe mirror_deactivate command) as long as the demoted Master is unavailable.

Chapter 7. Asynchronous remote mirroring 93

Page 106: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

After the Master becomes available again, the mirroring must be activated usingthe mirror_activate command.

Testing for service disruptionSpectrum Accelerate allows for validating the mirror replica on the Slave withoutdisrupting the mirroring.

The validation is achieved through mapping the Slave to the host.

Note: The Failover and Failback processes cannot be tested without disrupting themirroring.

Failover testProcedure1. Promote the Slave to Master by issuing the mirror_change_role command on

the Slave system. This will implicitly revert the Slave to the last_replicatedsnapshot.

2. Map all mirror-related volumes on the Master to the relevant host by issuingthe map_vol command on the Slave system.

3. Verify that the new Master is functional and hosts can be read from and writeinto it.

Following the testProcedure1. Perform the following actions on the Slave system:

a. Remove the mappings between the Slave and the hosts.b. Demote the new Master back to Slave by issuing the mirror_change_role

command. The peer will be reverted to the last_replicated snapshot.

Note: Ensure that the connectivity is up between the old Master and newMaster, in order to ensure that the Master will be reverted to apoint⌂in⌂time corresponding with the last_replicated snapshot on the newMaster.

2. Issue the mirror_activate command on the Master system.

Nondisruptive testingProcedure1. Perform the following actions to duplicate the last_replicated snapshot:

a. Duplicate the last_replicated snapshot by issuing the snapshot_duplicate(or snap_group_duplicate) command.

b. Map all mirror-related volumes on the Master to the relevant host byissuing the map_vol command.

2. Perform the following actions to copy the last_replicated snapshot:a. Copy the last_replicated snapshot to a new volume by issuing the vol_copy

command.b. Map all mirror-related volumes on the Master to the relevant host by

issuing the map_vol command.

Note: The duplicated/copied replica is an independent copy that is createdsolely for testing purposes, and cannot become a mirroring peer in itself.

94 IBM Spectrum Accelerate: Product Overview

Page 107: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Therefore, if the duplicated/copied replica is written into by hosts as part ofthe test, the new data cannot be updated to the real mirror replica.

Unintentional/erroneous application of role changeIf the XCLI/GUI mirror_change_role command was unintentionally issued on theSlave, the Slave can simply be changed back to its original role.

Chapter 7. Asynchronous remote mirroring 95

Page 108: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

96 IBM Spectrum Accelerate: Product Overview

Page 109: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 8. IBM Hyper-Scale Mobility

IBM Hyper-Scale Mobility enables a non-disruptive migration of volumes from onestorage system to another.

IBM Hyper-Scale Mobility helps achieve storage management objectives that areotherwise difficult to address. Consider the following scenarios:v Migrating data out of an over-provisioned system.v Migrating all the data from a system that will be decommissioned or

re-purposed.v Migrating data to another storage system to achieve adequate (lower or higher)

performance, or to load-balance systems to ensure uniform performance.v Migrating data to another storage system to load-balance capacity utilization.

The IBM Hyper-Scale Mobility processThis section walks you through the IBM Hyper-Scale Mobility process.

Hyper-Scale Mobility moves a volume from one system to another, while the hostis using the volume. To accomplish this, I/O paths are manipulated by the storage,without involving host configuration, and the volume identity is cloned on thetarget system. In addition, direct paths from the host to the target system need tobe established, and paths to the original host can finally be removed. Host I/Osare not interrupted throughout the migration process.

The key stages of the IBM Hyper-Scale Mobility and the respective states ofvolumes are depicted in Figure 37 on page 98 and explained in detail in Table 7 onpage 98.

For an in-depth practical guide to using IBM Hyper-Scale Mobility, see theRedbooks publication IBM Hyper-Scale Mobility Overview and Usage.

© Copyright IBM Corp. 2015 97

Page 110: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Table 7. The IBM Hyper-Scale Mobility process

Stage DescriptionSource and destinationvolume states

Setup A volume is automatically created atthe destination storage system with thesame name as the source volume. Therelation between the source anddestination volumes is established.

The two volumes are not yetsynchronized.

Migration New data is written to the source andreplicated to the destination.

Initializing - The content ofthe source volume is copied tothe destination volume. Thetwo volumes are not yetsynchronized. This state issimilar to the Initializing stateof synchronous mirroring (see“Synchronization status” onpage 44). As long as thesource instance cannot confirmthat all of the writes wereacknowledged by thedestination volume, the stateremains Initializing.

Figure 37. Flow of the IBM Hyper-Scale Mobility

98 IBM Spectrum Accelerate: Product Overview

Page 111: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Table 7. The IBM Hyper-Scale Mobility process (continued)

Stage DescriptionSource and destinationvolume states

Proxy-Ready The replication of the source volumedata is complete when the destination issynchronized. The source serves hostwrites as a proxy between the host andthe destination.

The system administrator issues acommand that moves the IBMHyper-Scale Mobility relation to theproxy.

Next, the system administrator mapsthe host to the destination. In this state,a single copy of the data exists on thedestination and any I/O directed to thesource is redirected to the destination.

Synchronized - The sourcewas wholly copied to thedestination. This state issimilar to the Synchronizedstate of synchronous mirroring(see “Synchronization status”on page 44).

Proxy New data in written to the source andis migrated to the destination. Theproxy serves host requests as if it werethe target, but it actually impersonatesthe target.

Proxy - The source acts as aproxy to the destination.

Cleanup After validating that the host hasconnectivity to the destination volumethrough the new paths, the storageadministrator unmaps the sourcevolume on the source storage systemfrom the host.

Then the storage administrator ends theproxy and deletes the relationship.

Chapter 8. IBM Hyper-Scale Mobility 99

Page 112: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

100 IBM Spectrum Accelerate: Product Overview

Page 113: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 9. Data migration

The use of any new storage system frequently requires the transfer of largeamounts of data from the previous storage system to the new storage system.

This can require many hours or even days; usually an amount of time that mostenterprises cannot afford to be without a working system. The data migrationfeature enables production to be maintained while data transfer is in progress.

Given the nature of the data migration process, it is recommended that you consultand rely on the IBM Spectrum Accelerate support team when planning a datamigration.

The data migration feature enables the smooth transition of a host working withthe previous storage system to a Spectrum Accelerate by:v Immediately connecting the host to the Spectrum Accelerate storgae system and

providing the host with direct access to the most up-to-date data even beforedata has been copied from the previous storage system.

v Synchronizing the data from the previous storage system by transparentlycopying the contents of the previous storage system to the new storage systemas a background process.

During data migration, the host is connected directly to the Spectrum Acceleratestorage system and is disconnected from the previous storage system. SpectrumAccelerate is connected to the previous storage system.. The new storage systemand the previous storage system must remain connected, until both storagesystems are synchronized and data migration is completed. The previous storagesystem perceives the new storage system as a host, reading from and optionallywriting to the volume that is being migrated. The host reads and writes data to thenew storage system, while the new storage system might need to read or write thedata to the previous storage system to serve the command of the host.

The communication between the host and Spectrum Accelerate and thecommunication between Spectrum Accelerate and the previous storage system isiSCSI.

I/O handling in data migrationI/Os are handled per read and write requests.

Serving read requests

Spectrum Accelerate serves all the host's data read requests in a transparentmanner without requiring any action by the host, as follows:v If the requested data has already been copied to the new storage system, it is

served from the new storage system.v If the requested data has not yet been copied to the new storage system,

Spectrum Accelerate retrieves it from the previous storage system and thenserves it to the host.

© Copyright IBM Corp. 2015 101

Page 114: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Serving write requests

Spectrum Accelerate serves all host's data write requests in a transparent mannerwithout requiring any action by the host.

Data migration provides the following two alternative Spectrum Accelerateconfigurations for handling write requests from a host:

Source updating:A host's write requests are written by Spectrum Accelerate to the newstorage system, as well as to the previous storage system. In this case, theprevious storage system remains completely updated during thebackground copying process. Throughout the process, the volume of theprevious storage system and the volume of the new storage system areidentical.

Write commands are performed synchronously, so Spectrum Accelerateonly acknowledges the write operation after writing to the new storage,writing to the previous storage system, and receiving an acknowledgementfrom the previous storage system. Furthermore, if, due to a communicationerror or any other error, the writing to the previous storage system fails,Spectrum Accelerate reports to the host that the write operation has failed.

No source updating:A host's write requests are only written by Spectrum Accelerate to the newstorage system and are not written to the previous storage system. In thiscase, the previous storage system is not updated during the backgroundcopying process, and therefore the two storage systems will never besynchronized. The volume of the previous storage system will remainintact and will not be changed throughout the data migration process.

Data migration stagesData migration includes the following stages.

Figure 38 on page 103 describes the process of migrating a volume from a previousstorage system to the new storage system. It also shows how the SpectrumAccelerate synchronizes its data with the previous storage system, and how ithandles the data requests of a host throughout all these stages of synchronization.

102 IBM Spectrum Accelerate: Product Overview

Page 115: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Initial configuration

The new storage system volume must be formatted before data migration canbegin. The new storage must be connected as a host to the previous storage systemwhose data it will be serving.

The volume on the previous storage system and the volume on the new storagesystem must have an equal number of blocks. This is verified upon activation ofthe data migration process.

You can then initiate data migration and configure all hosts to work directly andsolely with the Spectrum Accelerate.

Data migration is defined through the dm_define command.

Testing the data migration configuration

Before connecting the host to the new storage system, use the dm_test CLIcommand to test the data migration definitions to verify that the SpectrumAccelerate can access the previous storage system.

Activating data migration

After you have tested the connection between the new storage system and theprevious storage system, activate data migration using the dm_activate CLIcommand and connect the host to Spectrum Accelerate. From this point forward,the host reads and writes data to the new storage system, and the SpectrumAccelerate will read and optionally write to the previous storage system.

Figure 38. Data migration steps

Chapter 9. Data migration 103

Page 116: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Data migration can be deactivated using the dm_deactivate CLI command. It canthen be activated again. While the data migration is deactivated, the volumecannot be accessed by hosts (neither read nor write access).

Background copying and serving I/O operations

Once data migration is initiated, it will start a background process of sequentiallycopying all the data from the previous storage system to the new storage system.

Synchronization is achieved

After all of a volume's data has been copied, the data migration achievessynchronization. After synchronization is achieved, all read requests are servedfrom the Spectrum Accelerate.

If source updating was set to Yes, Spectrum Accelerate will continue to write datato both itself and the previous storage system until data migration settings aredeleted.

Deleting data migration

Data migration is stopped by using a delete command. It cannot be restarted.

Handling failuresUpon a communication error or the failure of the previous storage system,Spectrum Accelerate stops serving I/O operations to hosts, including both readand write requests.

If Spectrum Accelerate encounters a media error on the previous storage system(meaning that the it cannot read a block on the previous storage system), thenSpectrum Accelerate reflects this state on its own storage system (meaning that itmarks this same block and an error on its own storage system). The state of thisblock indicates a media error even though the disk in the new storage system hasnot failed.

104 IBM Spectrum Accelerate: Product Overview

Page 117: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 10. Event handling

Spectrum Accelerate monitors the health, the configuration changes, and theactivity of your storage systems, and generates system events.

These events are accumulated by the system and can help the user in the followingtwo ways:v Users can view past events using various filters. This is useful for

troubleshooting and problem isolation.v Users can configure the system to send one or more notifications, which are

triggered upon the occurrence of specific events. These notifications can befiltered according to the events, severity and code. Notifications can be sentthrough e-mail, SMS messages, or SNMP traps.

Event informationEvents are created by various processes, including the following:v Object creation or deletion, including volume, snapshot, map, host, and storage

poolv Physical component eventsv Network events

Each event contains the following information:v A system-wide unique numeric identifierv A code that identifies the type of the eventv Creation timestampv Severityv Related system objects and components, such as volumes, disks, and modulesv Textual descriptionv Alert flag, where an event is classified as alerting by the event notification rules.v Cleared flag, where alerting events can be either uncleared or cleared. This is

only relevant for alerting events.

Event information can be classified with one of the following severity levels:

CriticalRequires immediate attention

Major Requires attention soon

Minor Requires attention within the normal business working hours

WarningNonurgent attention is required to verify that there is no problem

InformationalNormal working procedure event

© Copyright IBM Corp. 2015 105

Page 118: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Viewing eventsSpectrum Accelerate provides the following variety of criteria for displaying a listof events:v Before timestampv After timestampv Codev Severity from a certain value and upv Alerting events, meaning events that are sent repeatedly according to a snooze

timerv Uncleared alerts

The number of displayed filtered events can be restricted.

Event notification rulesSpectrum Accelerate monitors the health, configuration changes, and activity ofyour storage systems and sends notifications of system events as they occur.

Event notifications are sent according to the following rules:

Which eventsThe severity, event code, or both, of the events for which notification issent.

Where The destinations or destination groups to which notification is sent, such ascellular phone numbers (SMS), e-mail addresses, and SNMP addresses.

Notifications are sent according to the following rules:

DestinationThe destinations or destination groups to which a notification of an eventis sent.

Filter A filter that specifies which events will trigger the sending of an eventnotification. Notification can be filtered by event code, minimum severity(from a certain severity and up), or both.

AlertingTo ensure that an event was indeed received, an event notification can besent repeatedly until it is cleared by a CLI command or the GUI. Suchevents are called alerting events. Alerting events are events for which asnooze time period is defined in minutes. This means that an alertingevent is resent repeatedly each snooze time interval until it is cleared. Analerting event is uncleared when it is first triggered, and can be cleared bythe user. The cleared state does not imply that the problem has beensolved. It only implies that the event has been noted by the relevantperson who takes the responsibility for fixing the problem. There are twoschemes for repeating the notifications until the event is clear: snooze andescalation.

SnoozeEvents that match this rule send repeated notifications to the samedestinations at intervals specified by the snooze timer until they arecleared.

EscalationYou can define an escalation rule and escalation timer, so that if events are

106 IBM Spectrum Accelerate: Product Overview

Page 119: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

not cleared by the time that the timer expires, notifications are sent to thepredetermined destination. This enables the automatic sending ofnotifications to a wider distribution list if the event has not been cleared.

Alerting events configuration limitationsThe following limitations apply to the configuration of alerting rules:v Rules cannot escalate to nonalerting rules, meaning to rules without escalation,

snooze, or both.v Escalation time should not be defined as shorter than snooze time.v Escalation rules must not create a loop (cycle escalation) by escalating to itself or

to another rule that escalates to it.v The configuration of alerting rules cannot be changed while there are still

uncleared alerting events.

Defining destinationsEvent notifications can be sent to one or more destinations, meaning to a specificSMS cell number, e-mail address, or SNMP address, or to a destination groupcomprised of multiple destinations.

Each of the following destinations must be defined as described:

SMS destination

An SMS destination is defined by specifying a phone number. When defining adestination, the prefix and phone number should be separated because some SMSgateways require special handling of the prefix.

By default, all SMS gateways can be used. A specific SMS destination can belimited to be sent through only a subset of the SMS gateways.

E-mail destination

An e-mail destination is defined by an e-mail address. By default, all SMTPgateways are used. A specific destination can be limited to be sent through only asubset of the SMTP gateways.

SNMP managers

An SNMP manager destination is specified by the IP address of the SNMPmanager that is available to receive SNMP messages.

Destination groups

A destination group is simply a list of destinations to which event notifications canbe sent. A destination group can be comprised of SMS cell numbers, e-mailaddresses, SNMP addresses, or any combination of the three. A destination groupis useful when the same list of notifications is used for multiple rules.

Defining gatewaysEvent notifications can be sent by SMS, e-mail, or SNMP manager. This stepdefines the gateways that will be used to send e-mail or SMS.

Chapter 10. Event handling 107

Page 120: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

E-mail (SMTP) gateways

Several e-mail gateways can be defined to enable notification of events by e-mail.By default, the Spectrum Accelerate attempts to send each e-mail notificationthrough the first available gateway according to the order that you specify.Subsequent gateways are only attempted if the first attempted gateway returns anerror. A specific e-mail destination can also be defined to use only specificgateways.

All event notifications sent by e-mail specify a sender whose address can beconfigured. This sender address must be a valid address for the following tworeasons:v Many SMTP gateways require a valid sender address or they will not forward

the e-mail.v The sender address is used as the destination for error messages generated by

the SMTP gateways, such as an incorrect e-mail address or full e-mail mailbox.

E-mail-to-SMS gateways

SMS messages can be sent to cell phones through one of a list of e-mail-to-SMSgateways. One or more gateways can be defined for each SMS destination.

Each such e-mail-to-SMS gateway can have its own SMTP server, use the globalSMTP server list, or both.

When an event notification is sent, one of the SMS gateways is used according tothe defined order. The first gateway is used, and subsequent gateways are onlytried if the first attempted gateway returns an error.

Each SMS gateway has its own definitions of how to encode the SMS message inthe e-mail message.

Monitoring Spectrum Accelerate using SNMP trapsSpectrum Accelerate supports third-party SNMP-based monitoring tools.

Simple Network Management Protocol (SNMP)

SNMP is a set of functions for monitoring and managing network devices. Itincludes a protocol, a database specification, and a Management Information Base(MIB). The MIB is a set of data objects that can be monitored by a networkmanagement system.

The SNMP protocol defines two terms, agent and manager. An SNMP agent is adevice that reports information to SNMP managers. An SNMP manager, in its turn,collects information from SNMP agents. The information is sent in SNMPnotifications, also referred to as traps.

You can define Spectrum Accelerate as an SNMP agent that sends notifications tothe SNMP manager. If a predefined monitored event occurs, Spectrum Accelerateinitiates the sending of an SNMP trap without waiting for a request from XIV. Youcan also send SNMP get or walk commands to collect status information fromSpectrum Accelerate. To accomplish this task, you must use an SNMP managerthat supports this task and you need to import the XIV Storage System MIB intothat manager.

108 IBM Spectrum Accelerate: Product Overview

Page 121: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

SNMP notifications

Six types of SNMP notifications are predefined in Spectrum Accelerate. Each typecorresponds to a specific severity:v DESCRIPTION "An event notification" ::= { xivEventTrap 1 }

v DESCRIPTION "An informational event notification" ::= { xivEventTrap 2 }

v DESCRIPTION "A warning event notification" ::= { xivEventTrap 3 }

v DESCRIPTION "A minor event notification" ::= { xivEventTrap 4 }

v DESCRIPTION "A major event notification" ::= { xivEventTrap 5 }

v DESCRIPTION "A critical event notification" ::= { xivEventTrap 6 }

Management Information Base (MIB)

To display the system MIB file, issue the mib_get command.

In the Global Status category, MIB defines the following object IDs:

1.3.6.1.4.1.2021.77.1.1.1.1 xivMachineStatusShows if a disk rebuild or redistribution is occurring1.3.6.1.4.1.2021.77.1.1.1.2 xivFailedDisksThe number of failed disks in the XIV1.3.6.1.4.1.2021.77.1.1.1.3 xivUtilizationSoftThe percentage of total soft space that is allocated to pools1.3.6.1.4.1.2021.77.1.1.1.4 xivUtilizationHardThe percentage of total hard space that is allocated to pools1.3.6.1.4.1.2021.77.1.1.1.5 xivFreeSpaceSoftThe amount of soft space that is unallocated in GB1.3.6.1.4.1.2021.77.1.1.1.6 xivFreeSpaceHardThe amount of hard space that is unallocated in GB

In the Interfaces category, MIB defines the following object IDs:

1.3.6.1.4.1.2021.77.1.1.2.1.1.2 xivIfIOPSThe number of IOPS being currently executed at the module1.3.6.1.4.1.2021.77.1.1.2.1.1.3 xivIfStatusThe current status of the module

For SNMP notifications sent by Spectrum Accelerate, the MIB defines the followingobject IDs in the Events category:

1.3.6.1.4.1.2021.77.1.3.1.1.1 xivEventIndex A unique value for each event1.3.6.1.4.1.2021.77.1.3.1.1.2 xivEventCode The code of the event1.3.6.1.4.1.2021.77.1.3.1.1.3 xivEventTime The time of the event1.3.6.1.4.1.2021.77.1.3.1.1.4 xivEventDescription A description of the event1.3.6.1.4.1.2021.77.1.3.1.1.5 xivEventSeverity The severity of the event1.3.6.1.4.1.2021.77.1.3.1.1.6 xivEventTroubleshooting Troubleshooting information

In the Statistics category, MIB defines the following object IDs:

1.3.6.1.4.1.2021.77.1.4.1.1.2 xivStatisticsHostNameThe name of the host that collects the statistics1.3.6.1.4.1.2021.77.1.4.1.1.3 xivStatisticsHostIOPSThe number of input/output operations performed by the statistics host per second

In the Statistics Volume Table category, MIB defines the following object IDs:

Chapter 10. Event handling 109

Page 122: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

1.3.6.1.4.1.2021.77.1.4.2.1.2 xivStatisticsVolumeName The name of the statistics volume1.3.6.1.4.1.2021.77.1.4.2.1.3 xivStatisticsVolumeIOPS The number of IOPS per volume1.3.6.1.4.1.2021.77.1.4.2.1.4 xivStatisticsVolumeBW The number of BW objects per volume1.3.6.1.4.1.2021.77.1.4.2.1.5 xivStatisticsVolumeLatency The volume latency

Spectrum Accelerate SNMP setup

To use SNMP monitoring with Spectrum Accelerate, in the Settings > SNMP tab ofthe XIV GUI define the standard SNMP parameters identical for all XIV machines.Then, in the Settings > Misc tab define the only unique attribute for SpectrumAccelerate: SDS = Yes:

Figure 39. XIV GUI – The Misc tab in XIV Settings

110 IBM Spectrum Accelerate: Product Overview

Page 123: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 11. Access control

Spectrum Accelerate features role-based authentication either natively or by usingLDAP-based authentication.

The system provides:

Role-based access controlBuilt-in roles for access flexibility and a high level of security according topredefined roles and associated tasks.

Two methods of access authenticationSpectrum Accelerate supports the following methods of authenticatingusers:

Native authenticationThis is the default mode for authentication of users and groups onSpectrum Accelerate. In this mode, users and groups areauthenticated against a database on the system.

LDAP When enabled, the system authenticates the users against an LDAPrepository.

User roles and permission levelsUser roles allow specifying which roles are applied and the various applicablelimits.

Note: None of these system-defined users have access to data.

Table 8. Available user roles

User role Permissions and limits Typical usage

Read only Read only users can only list andview system information.

The system operator, typically, butnot exclusively, is responsible formonitoring system status andreporting and logging allmessages.

© Copyright IBM Corp. 2015 111

Page 124: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Table 8. Available user roles (continued)

User role Permissions and limits Typical usage

Applicationadministrator

Only application administratorscarry out the following tasks:

v Creating snapshots of assignedvolumes

v Mapping their own snapshot toan assigned host

v Deleting their own snapshot

Application administratorstypically manage applications thatrun on a particular server.Application managers can bedefined as limited to specificvolumes on the server. Typicalapplication administratorfunctions:

v Managing backupenvironments:

– Creating a snapshot forbackups

– Mapping a snapshot to backup server

– Deleting a snapshot afterbackup is complete

– Updating a snapshot for newcontent within a volume

v Managing software testingenvironment:

– Creating an applicationinstance

– Testing the new applicationinstance

Storageadministrator

The storage administrator haspermission to all functions,except:

v Maintenance of physicalcomponents or changing thestatus of physical components

v Only the predefinedadministrator, named admin,can change the passwords ofother users

Storage administrators areresponsible for all administrationfunctions.

Operationsadministrator

The operations administrator onlyhas permission to performmaintenance operations.

Storage administrators areresponsible for all maintenancefunctions.

Technician The technician is limited to thefollowing tasks:

v Physical system maintenance

v Phasing components in or outof service

Technicians maintain the physicalcomponents of the system. Onlyone predefined technician isspecified per system.

Notes:

1. All users can view the status of physical components; however, onlytechnicians can modify the status of components.

2. User names are case-sensitive.3. Passwords are case-sensitive.

112 IBM Spectrum Accelerate: Product Overview

Page 125: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Predefined usersThere are several predefined users configured on Spectrum Accelerate.

These users cannot be deleted.

Storage administratorThis user id provides the highest level of customer access to the system.

Predefined user name: admin

Default password: adminadmin. The password can be changed, and theuser is strongly recommended to do so.

TechnicianThis user id is used only by Spectrum Accelerate service personnel. It hasfull system access. It can be enabled or disabled using thexiv_support_enable or xiv_support_disable command, respectively.

Predefined user name: technician

Default password: Password is predefined and is used only by theSpectrum Accelerate technicians.

XIV developmentThis user id is used only by Spectrum Accelerate service personnel. It hasfull system access. It can be enabled or disabled using thexiv_support_enable or xiv_support_disable command, respectively.

Predefined user name: xiv_developer

Default password: Password is predefined and is used only by theSpectrum Accelerate technicians.

XIV maintenanceThis user id is used only by Spectrum Accelerate service personnel. It hasfull system access. It can be enabled or disabled using thexiv_support_enable or xiv_support_disable command, respectively.

Predefined user name: xiv_developer

Default password: Password is predefined and is used only by theSpectrum Accelerate technicians.

XIV host profilerThis user id is used only by Host Attachment Kit, if enabled. It has a verylimited system access. It can be disabled using the host_profiler_disablecommand.

Predefined user name: xiv_hostprofiler

HSA clientThis user id is used only by the Host Side Accelerator service. It has a verylimited system access.

Predefined user name: hsa_client

Note: Predefined users are always authenticated by Spectrum Accelerate, even ifLDAP authentication has been activated for them.

Chapter 11. Access control 113

Page 126: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Application administratorThe primary task of the application administrator is to create and managesnapshots.

Application administrators manage snapshots of a specific set of volumes. The usergroup to which an application administrator belongs determines the set of volumeswhich the application administrator is allowed to manage.

User groupsA user group is a group of application administrators who share the same set ofsnapshot creation permissions.

This enables a simple update of the permissions of all the users in the user groupby a single command. The permissions are enforced by associating the user groupswith hosts or clusters. User groups have the following characteristics:v Only users who are defined as application administrators can be assigned to a

group.v A user can belong to only a single user group.v A user group can contain up to eight users.v If a user group is defined with access_all="yes", application administrators who

are members of that group can manage all volumes on the system.

Storage administrators create the user groups and control the various permissionsof the application administrators.

User group and host associationsHosts and clusters can be associated with only a single user group.

When a user belongs to a user group that is associated with a host, it is possible tomanage snapshots of the volumes mapped to that host. User and host associationshave the following properties:v User groups can be associated with both hosts and clusters. This enables limiting

application administrator access to specific volumes.v A host that is part of a cluster cannot also be associated with a user group.v When a host is added to a cluster, the associations of that host are broken.

Limitations on the management of volumes mapped to the host is controlled bythe association of the cluster.

v When a host is removed from a cluster, the associations of that host become theassociations of the cluster. This enables continued mapping of operations so thatall scripts will continue to work.

Listing hostsThe command host_list lists all groups associated with the specified host,showing information about the following fields:

Range All hosts, specific host

DefaultAll hosts

Listing clustersThe command cluster_list lists all clusters that are associated with a usergroup, showing information about the following fields:

Range All clusters, specific cluster

114 IBM Spectrum Accelerate: Product Overview

Page 127: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

DefaultAll clusters

Command conditionsThe application administrator has access only to several XCLI commands.

The application administrator can perform specific operations through a set ofcommands. The Table 9 table lists the various commands that applicationadministrators can run according to association definitions and applicableconditions.

If the application administrator is a member of a group that is defined withaccess_all=yes, then it is possible to perform the command on all volumes.

Table 9. Application administrator commands

Relevant command Conditions

cg_snapshot_create This command is accessible for applicationadministrators if the following condition is met:

v At least one volume in the consistency group ismapped to a host or cluster that is associated with anapplication administrators user group.

map_volunmap_vol

Application administrators can use these commands tomap snapshots of volumes. The following conditionmust be met:

1. The master volume is mapped to a host or clusterthat is associated with a user group that contains theuser.

vol_locksnapshot_duplicatesnapshot_deletesnapshot_change_priority

These commands are accessible for applicationadministrators if the following conditions are both met:

1. The master volume is mapped to a host or clusterthat is associated with a user group that contains theuser.

snap_group_locksnap_group_duplicatesnap_group_deletesnap_group_change_priority

These commands are accessible for applicationadministrators if the following conditions are both met:

1. At least one volume in the consistency group ismapped to a host or cluster that is associated withan application administrators user group.

2. The master volume is mapped to a host or clusterthat is associated with a user group that contains theuser.

snapshot_create This command is accessible for applicationadministrators if the following condition is met:

1. The volume is mapped to a host or cluster that isassociated with a user group that contains the user.

2. If the command overwrites a snapshot, theoverwritten snapshot must be previously created byan application administrator.

Authentication methodsSpectrum Accelerate offers several methods for authentication.

The following authentication methods are available:

Chapter 11. Access control 115

Page 128: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Native (default)The user is authenticated by Spectrum Accelerate based on the submittedusername and password, which are compared to user credentials definedand stored on the Spectrum Accelerate system.

The user must be associated with a Spectrum Accelerate user role thatspecifies pertinent system access rights.

This mode is set by default.

LDAP

The user is authenticated by an LDAP directory based on the submittedusername and password, which are used to connect with the LDAP server.

Predefined users authenticationThe administrator and technician roles are always authenticated bySpectrum Accelerate, regardless of the authentication mode. They are neverauthenticated by LDAP.

Native authenticationThis is the default mode for authentication of users and groups on the SpectrumAccelerate.

In this mode, users and groups are authenticated against a database on the system.

User configurationConfiguring users requires defining the following options:

Role Specifies the role category that each user has when operating the system.The role category is mandatory. for explanations of each role.

Name Specifies the name of each user allowed to access the system.

PasswordAll user-definable passwords are case sensitive.Passwords are mandatory, can be 6 to 12 characters long, use uppercase orlowercase letters as well as the following characters: ~!@#$%^&*()_+-={}|:;<>?,./\[] .

E-mail E-mail is used to notify specific users about events through e-mailmessages. E-mail addresses must follow standard addressing procedures.E-mail is optional. Range: Any legal e-mail address.

Phone and area codePhone numbers are used to send SMS messages to notify specific usersabout events. Phone numbers and area codes can be a maximum of 63digits, hyphens (-) and periods (.) Range: Any legal telephone number; Thedefault is N/A

LDAP authenticationLightweight Directory Access Protocol (LDAP) support enables SpectrumAccelerate to authenticate users through an LDAP repository.

When LDAP authentication is enabled, the username and password of a useraccessing Spectrum Accelerate (through CLI or GUI) are used by the IBM XIVsystem to login into a specified LDAP directory. Upon a successful login, SpectrumAccelerate retrieves the user's IBM XIV group membership data stored in theLDAP directory, and uses that information to associate the user with an IBM XIVadministrative role.

116 IBM Spectrum Accelerate: Product Overview

Page 129: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The IBM XIV group membership data is stored in a customer defined,pre-configured attribute on the LDAP directory. This attribute contains stringvalues which are associated with IBM XIV administrative roles. These values mightbe LDAP Group Names, but this is not required by Spectrum Accelerate. Thevalues the attribute contains, and their association with IBM XIV administrativeroles, are also defined by the customer.

Supported domains

Spectrum Accelerate supports LDAP authentication of the following directories:v Microsoft Active Directoryv SUN directoryv Open LDAP

LDAP multiple-domain implementation

In order to support multiple LDAP servers that span over different domains, andin order to use the memberOf property, Spectrum Accelerate allows for more thanone role for the Storage Administrator and the Read⌂Only roles.

The predefined XIV administrative IDs “admin” and “technician” are alwaysauthenticated by the IBM XIV Storage System, whether or not LDAP authenticationis enabled.

Responsibilities division between the LDAP directory and thestorage systemLDAP and the storage system divide responsibilities and maintained objects.

Following are responsibilities and data maintained by the IBM XIV system and theLDAP directory:

LDAP directory

v Responsibilities - user authentication for IBM XIV users, and assignmentof IBM XIV related group in LDAP.

v Maintains - Users, username, password, designated IBM XIV relatedLDAP groups associated with Spectrum Accelerate.

Spectrum Accelerate

v Responsibilities - Determination of appropriate user role by mappingLDAP group to an IBM XIV role, and enforcement of IBM XIV usersystem access.

v Maintains - mapping of LDAP group to IBM XIV role.

LDAP authentication processThe LDAP authentication process consists of several key steps.

In order to use LDAP authentication, carry out the following major steps:1. Define an LDAP server and system parameters2. Define an XIV user on this LDAP server. The storage system uses this user

when searching for authenticated users. This user is later on referred to assystem's configured service account.

3. Identify an LDAP attribute in which to store values that are associated withIBM XIV user roles

Chapter 11. Access control 117

Page 130: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

4. Define a mapping between values that are stored in the LDAP attribute andIBM XIV user roles

5. Enable LDAP authentication

Once LDAP is configured and enabled, the predefined user is granted with logincredentials authenticated by the LDAP server, rather than the Spectrum Accelerateitself.

Testing the authentication

The storage administrator can test the LDAP configuration before its activation byissuing the ldap_test command (see “Access control commands” on page 122).

LDAP configuration scenarioThe LDAP configuration scenario allows the storage administrator to enable LDAPauthentication.

Following is an overview of an LDAP configuration scenario:1. Storage administrator defines the LDAP server(s) to the IBM XIV storage

system.2. Storage administrator defines the LDAP base DN, communication, and timeout

parameters to the IBM XIV storage system.3. Storage administrator defines the LDAP XIV group attribute to be used for

storing associations between LDAP groups and XIV storage administrator roles.These are the storage administrator and readonly roles using the ldap_config_setcommand.

4. Storage administrator defines the mapping between LDAP group name andIBM XIV application administrator roles using the user_group_createcommand.

5. Storage administrator enables LDAP authentication.

LDAP login scenarioLog into LDAP from within Spectrum Accelerate.

LDAP-authenticated login scenario takes the following course:

Initiation

If initiated from the GUI

1. User launches the Spectrum Accelerate GUI.2. Spectrum Accelerate presents the user with a login screen.3. User logs in submitting the required user credentials (e.g.,

username and password).

If initiated from the CLI

1. User logs into the CLI with user credentials (username andpassword).

Authentication

1. Spectrum Accelerate attempts to log into LDAP directory using theuser-submitted credentials.

2. If login fails:v Spectrum Accelerate attempts to log into the next LDAP server.v If login fails again on all servers, a corresponding error message is

returned to the user.

118 IBM Spectrum Accelerate: Product Overview

Page 131: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

3. If login succeeds, Spectrum Accelerate will determine the IBM XIV rolecorresponding to the logged-in user, by retrieving the user-relatedattributes from the LDAP directory. These attributes were previouslyspecified by the IBM XIV-to-LDAP mapping.v Spectrum Accelerate will inspect whether the user role is allowed to

issue the CLI.v If the CLI is permitted for the user's role, it will be issued against the

system, and any pertinent response will be presented to the user.v If the CLI is not permitted for the user's role, Spectrum Accelerate

will send an error message to the user.

Supported user name characters

The login mechanism supports all characters, including @, * and \ to allow namesof the following format:v UPN: name@domainv NT domain: domain\name

Searching within indirectly-associated groups:

In addition to the users search, Spectrum Accelerate allows for searchingindirectly-associated Active Directory groups.

Searching for indirectly-associated Active Directory groups is done separately fromthe user search that was described above. This search of indirectly-associatedgroup utilizes the group attribute memberof and it conveys the following flow.

Note: This search does not apply to SUN directory, as you get all theindirectly-associated groups on the users validation query.

The Spectrum Accelerate search for the group membership starts with the groupsthe user is directly associated with and spans to other groups. The memberofattribute is searched for within each of these groups. The search goes on until oneof the following stop criteria is met:

Stop when found

v A group membership that matches one of the configured LDAP rules isfound

v The search command is set to stop searching upon finding a group.

Don't stop when found

v A group membership that matches one of the configured LDAP rules isfound

v The search command does not stop once a group membership is found.It is set to continue onto the next group.

v The search command is set to stop upon reaching a search limit (seeReaching a limit below).

Multiple findings

v More than a single group membership that matches one of theconfigured LDAP rules were found– Every match will be counted once even if it was found several times

(arrived at it from several branches).

Chapter 11. Access control 119

Page 132: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

– The search doesn't avoid checking groups that were previouslychecked from other branches.

Reaching a limitOne of the following limits is met (the limits are set as part of the searchcommand):v The search reached the search depth limit.

This search attribute limits the span of the search operation within thegroups tree.

v The search reached the maximum number of queries limit.

User validationUsers are validated against LDAP.

During the login, the system validates the user as follows:

Issuing a user searchThe system issues an LDAP search for the user's entered username.

The request is submitted on behalf of the system's configured serviceaccount and the search is conducted for the LDAP server, base DN andreference attribute as specified in the XIV LDAP configuration.

The base DN specified in the XIV LDAP configuration serves as a referencestarting point for the search – instructing LDAP to locate the valuesubmitted (the username) in the attribute specified (whose value isspecified in user_name_attrib).

If a single user is found - issuing an XIV role searchThe system issues a second search request, this time submitted onbehalf of the user (with the user's credentials), and will search forXIV roles associated with the user, based on XIV LDAPconfiguration settings (as specified in parameter xiv_group_attrib).

If a single XIV role is found - permission is grantedThe system inspects the rights associated with that role and

Figure 40. The way the system validates users through issuing LDAP searches

120 IBM Spectrum Accelerate: Product Overview

Page 133: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

grant login to the user. The user's permissions are incorrespondence with the role associated by XIV, base onXIV LDAP configuration.

If no XIV role is found for the user, or more than one role wasfound If the response by LDAP indicates that the user is either

not associated with an XIV role (no user role name isfound in the referenced LDAP attribute for the user), or isactually associated with more than a single role (multipleroles names are found) – login will fail and acorresponding message will be returned to the user.

If no such user was found, or more than one user were foundIf LDAP returns no records (indicating no user with the usernamewas found) or more than a single record (indicating that theusername submitted is not unique), the login request fails and acorresponding message is returned to the user.

Service account for LDAP queriesSpectrum Accelerate carries out the LDAP search through a service account. Thisservice account is established by using the ldap_config_set command (see here“Access control commands” on page 122).

Switching between LDAP and native authentication modesThis section describes system behavior when switching between LDAPauthentication and native authentication.

After changing authentication modes from native to LDAP

The system will start authenticating users other than "admin" or "technician"against the LDAP server, rather than the local Spectrum Accelerate storage systemuser database. However, the local user account data is not deleted.v Users without an account on the LDAP server is not granted access to the

Spectrum Accelerate system.v Users with an LDAP account who are not associated with a Spectrum Accelerate

role on the LDAP directory are not granted access to the Spectrum Acceleratesystem.

v Users with an LDAP account who are associated with a Spectrum Accelerate roleon the LDAP directory are granted access to the Spectrum Accelerate system ifthe following conditions are met:– The Spectrum Accelerate role on the LDAP server is mapped to a valid

Spectrum Accelerate role.– The user is associated only to one Spectrum Accelerate role on the LDAP

server.

The following commands related to user account management will be disabled.These operations must be performed on the LDAP directory.v user_define

v user_rename

v user_update

v user_group_add_user

v user_group_remove_user

Note: When deleting a user group, even if the user group LDAP role does notcontain any users, the following completion code might appear:

Chapter 11. Access control 121

Page 134: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

>> user_group_delete user_group=Appadmincommand 0:administrator:

command:code = "ARE_YOU_SURE_YOU_WANT_TO_DELETE_LDAP_USER_GROUP"status = "3"status_str = "One or more LDAP users might be associated to user group. Are you sure you want to delete this user group?"warning = "yes"

aserver = "DELIVERY_SUCCESSFUL"

This might occur if users were associated with the specified user_group prior toLDAP mode activation.

After changing authentication modes from LDAP to native

The system starts authenticating users against the locally defined user database.Users and groups that were defined prior to switching from native to LDAPauthentication are re-enabled. The Spectrum Accelerate system allows localmanagement of users and groups.

The following commands related to user account management are enabled:v user_define

v user_rename

v user_update

v user_group_add_user

v user_group_remove_user

Users must be defined locally and be associated with Spectrum Accelerate usergroups in order to gain access to the system.

Access control commandsThe following CLI commands are available for managing role-based access control(RBAC). For a detailed explanation of these commands, see the chapter detailingaccess control commands in the relevant (for the release you are using) SpectrumAccelerate Command-Line Interface (CLI) Reference Guide.

User-related commands

You can use the following user-related commands to manage role-based accesscontrol:

user_defineDefines a new user.

user_updateUpdates the attributes of the user.

user_listLists all users, or a specific user.

user_renameRenames the user.

user_deleteDeletes the user.

122 IBM Spectrum Accelerate: Product Overview

Page 135: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

User groups-related commands

You can also use the following user group-related commands to manage role-basedaccess control:

user_group_createCreates a user group.

user_group_update

v Assigns the user group with a Lightweight Directory Access Protocol(LDAP) role.

v Updates the user group name.

user_group_add_userAdds a user to a user group.

user_group_remove_userRemoves a user from a user group.

user_group_listLists all user groups along with their users.

user_group_renameRenames a user group.

user_group_deleteDeletes a user group.

Role-based access control commands

The following list of access-related commands can be used to manage role-basedaccess control:

access_defineAssociates a user group with a host and a cluster.

access_deleteDissociates a user group from the host and cluster with which it is associated.

access_listLists access associations.

Configuration-related commands

You can also use the following LDAP server configuration-related commands:

ldap_config_setSets up the LDAP configuration parameters.

ldap_config_getLists the configuration attributes of an LDAP server that works with thestorage system.

ldap_mode_setEnables/disables LDAP authentication to the storage system.

ldap_mode_getReturns the authentication mode of the storage system (active/inactive).

ldap_user_testThis command authenticates the user's credentials on the LDAP machine.

Chapter 11. Access control 123

Page 136: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

ldap_testValidates the LDAP settings prior to the activation.

Non-LDAP commands

The following commands are available in non-LDAP mode and are not available inLDAP mode:

user_defineDefining a new user on the SA system.

user_updateModifying the SA user's details.

user_renameRenaming an SA user.

user_group_add_userAdding a user the an SA Application Administrator user group.

user_group_remove_userRemoving a user from an SA application administration user group.

124 IBM Spectrum Accelerate: Product Overview

Page 137: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 12. Multi-Tenancy

Spectrum Accelerate allows allocation of storage resources to several independentadministrators, assuring that one administrator cannot access resources associatedwith another administrator.

Multi-tenancy extends the Spectrum Accelerate approach to role-based accesscontrol. In addition to associating the user with predefined sets of operations andscope (the applications on which an operation is allowed), Spectrum Accelerateenables the user to freely determine what operations are allowed, and where theyare allowed.

Multi-tenancy principlesThe main idea of multi-tenancy is to allow an Spectrum Accelerate owner toallocate storage resources to several independent administrators with the assurancethat one administrator cannot access resources associated with anotheradministrator.

This resource allocation is best described as a partitioning of the system's resourcesto separate administrative domains. A domain is a subset, or partition, of thesystem's resources. It is a named object to which users, pools, hosts/clusters,targets, etc. may be associated. The domain restricts the resources a user canmanage to those associated with the domain.

A domain maintains the user relationships that exist on the SpectrumAccelerate-level (when multi-tenancy is inactive).

A domain administrator is a user who is associated with a domain. The domainadministrator is restricted to performing operations on objects associated with aspecific domain.

The following access rights and restrictions apply to domain administrators:v A user is created and assigned a role (for example: storage administrator,

application administrator, read-only).v When assigned to a domain, the user retains his given role, limited to the scope

of the domain.v Access to objects in a domain is restricted up to the point where the defined

user role intersects the specified domain access.v By default, domain administrators cannot access objects that are not associated

with their domains.

Multi-tenancy offers the following benefits:

PartitioningSpectrum Accelerate resources are partitioned to separate domains. Thedomains are assigned to different tenants and each tenant administratorgets permissions for a specific, or several domains, to perform operationsonly within the boundaries of the associated domain(s).

Self-sufficiencyThe domain administrator has a full set of permissions needed formanaging all of the domain resources.

© Copyright IBM Corp. 2015 125

Page 138: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

IsolationThere is no visibility between tenants. The domain administrator is notinformed of resources outside the domain. These resources are notdisplayed on lists, nor are their relevant events or alerts displayed.

User-domain associationA user can have a domain administrator role on more than one domain.

Users other than the domain administratorStorage, security, and application administrators, as well as read-onlyusers, retain their right to perform the same operations that they have in anon-domain-based environment. They can access the same objects underthe same restrictions.

Global administratorThe global administrator is not associated with any specificdomain, and determines the operations that can be performed bythe domain administrator in a domain.

This is the only user that can create, edit, and delete domains, andassociate resources to a domain.

An open or closed policy can be defined so that a globaladministrator may, or may not, be able to see inside a domain.

Intervention of a global domain administrator, that has permissionsfor the global resources of the system, is only needed for:v Initial creation of the domain and assigning a domain

administratorv Resolving hardware issues

User that is not associated with any domainA user that is not associated with any domain has access rights toall of the entities that are not uniquely associated with a domain.

126 IBM Spectrum Accelerate: Product Overview

Page 139: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Multi-tenancy concept diagramThe following figure displays a graphical depiction of multi-tenancy.

v The domain is an isolated set of storage resources.v The domain administrator has access only to the specified domains.v The global administrator can manage domains and assign administrators to

domains.v Private objects are assigned to domainsv The domain maintains its connectivity to global objects, such as: users, hosts,

clusters, and targets. Hosts (and clusters) can server several domains. However,hosts created by a domain administrator are assigned only to that domain.

Working with multi-tenancyThis section provides a general description about working with multi-tenancy andits attributes.

Chapter 12. Multi-Tenancy 127

Page 140: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

The domain administratorThe domain administrator has the following attributes:v Prior to its association with a domain, the future domain administrator

(now a system administrator) has access to all non-domain entities, andno access to domain-specific entities.

v When the storage administrator becomes a domain administrator allaccess rights to non-domain entities are lost.

v The domain administrator can map volumes to hosts as long as both thevolume and the host belong to the domain.

v The domain administrator can copy and move volumes across pools aslong as the pools belong to domains administered by the domainadministrator.

v Domain administrators can manage snapshots for all volumes in theirdomains.

v Domain administrators can manage consistency and snapshot groups forall pools in their domains. Moving consistency groups across pools isallowed as long as both source and destination pools are in the admin'sdomains.

v Domain administrators can create and manage pools under the storageconstraint associated with their domain.

v Although not configurable by the domain administrator, hardware list,and events are available for view-only to the domain administratorwithin the scope of the domain.

v Commands that operate on objects not associated with a domain are notaccessible by the domain administrator.

Domain

The domain has the following attributes:v Capacity - the domain is allocated with a capacity that is further allocated among

its pools. The domain provides an additional container in the hierarchy of whatwas once system-pool-volume, and is now system-domain-pool-volume:– The unallocated capacity of the domain is reserved to the domain's pools– The sum of the hard capacity of the system's domains cannot exceed the total

hard capacity of the Spectrum Accelerate system.– The sum of the soft capacity of the system's domains cannot exceed the total

soft capacity of the Spectrum Accelerate system.v Maximum number of volumes per domain - the maximum number of volumes per

system is divided among the domains in a way that one domain cannotconsume all of the system resources at the expense of the other domains.

v Maximum number of pools per domain - the maximum number of pools per systemis divided among the domains in a way that one domain cannot consume all ofthe system resources at the expense of the other domains.

v Maximum number of mirrors per domain - the maximum number of mirrors persystem is divided among the domains.

v Maximum number of consistency groups per domain - the maximum number ofconsistency groups per system is divided among the domains.

v Performance class - the maximum aggregated bandwidth and IOPS is calculatedfor all volumes of the domain, rather than on a system level.

v The domain has a string that identifies it for LDAP authentication.

128 IBM Spectrum Accelerate: Product Overview

Page 141: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Mirroring in a multi-tenancy environment

v The target, target connectivity and interval schedule are defined, edited anddeleted by the storage administrator.

v The domain administrator can create, activate and change properties to amirroring relation based on the previously defined target and target connectivitythat are associated with the domain.

v The remote target does not have to belong to a domain.v Whenever the remote target belongs to a domain, it checks that the remote

target, pool and volume (if specified upon the mirror creation) all belong to thesame domain.

Chapter 12. Multi-Tenancy 129

Page 142: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

130 IBM Spectrum Accelerate: Product Overview

Page 143: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Chapter 13. Non-disruptive code load

Non-disruptive code load (hot upgrade) enablesSpectrum Accelerate to upgrade itssoftware from a current version to a newer version without disrupting applicationservice.

The upgrade process is run on all modules in parallel and is designed to be quickenough so that the applications' service on the hosts will not be damaged. Theupgrade requires that neither data migration nor rebuild processes are run, andthat all internal network paths are active.

During the non disruptive code load process there is a point in time dubbed the'upgrade-point-of-no-return', before which the process can still be aborted (eitherautomatically by the system - or manually through a dedicated CLI). Once thatpoint is crossed - the Non-Disruptive Code Load process is not reversible.

Following are notable characteristics of the Non-disruptive code load:

Duration of the upgrade processThe overall process of downloading new code to storage system andmoving to the new code is done online to the application/Host.

The duration of the upgrade process is affected by the following factors:v The upgrade process requires that you stop all IOs. If there are a lot of

IOs in the system, or there are slow disks, the system might not be ableto stop the IOs fast enough, so it will restart them and try again after ashort while, taking into consideration some retries.

v The upgrade process installs a valid version of the software and thenretains its local configuration. This process might take a considerableamount of time, depending on the future changes in the structure of theconfiguration.

Prerequisites and constraints

v The process cannot run if a data migration process or a rebuild processis active. An attempt to start the upgrade process when either a datamigration or a rebuild process is active will fail.

v Generally, everything that happens after the point-of-no-return is treatedas if it happened after the upgrade is over.

v As long as the overall hot upgrade is in progress (up to several minutes)no management operations are allowed (save for status querying), andno events are processed.

v Prior to the point-of-no-return, a manual abort of the upgrade isavailable.

Effect on mirroringMirrors are automatically deactivated before the upgrade, and reactivatedafter it is over.

Effect on management operationsDuring the Non-Disruptive Code Load process it is possible to query thesystem about the upgrade status, and the process can also be abortedmanually before the 'point-of-no-return'. If a failure occurs before this point- the process will be aborted automatically.

© Copyright IBM Corp. 2015 131

Page 144: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Handling module or disk failure during the upgradeIf the failure occurs before the point-of-no-return, it will abort the upgrade.If it happens after that point, the failure is treated as if it happened afterthe upgrade is over.

Handling power failure during the upgradeAs for power failure before the point-of-no-return, power is beingmonitored during the time the system prepares for the upgrade (before thepoint-of-no-return). If a power failure is detected, the upgrade will beaborted and the power failure will be taken care of by the old version.

132 IBM Spectrum Accelerate: Product Overview

Page 145: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Glossary

The following is an alphabetical list of terms and abbreviations that are usedthroughout this product overview.

Active directoryMicrosoft Active Directory (AD) provides directory (lookup), DNS andauthentication services.

Alerting eventAn event that triggers recurring event notifications until it is cleared.

API See Application program interface (API).

Application program interface (API)The interface through which the application accesses the operating systemand the other services.

Authorization levelThe authorization level determines the permitted access level to thevarious functions of the GUI:

Read onlyOnly viewing is allowed.

Full Enables access to all the configuration and control functions,including shutdown of the system. This level requires a password.

Auto delete priorityAs the storage capacity reaches its limits, snapshots are automaticallydeleted to make more space. The deletion takes place according to thevalue set for each snapshot, as follows:

1 last to be deleted

4 first to be deleted

Each snapshot is given a default auto delete priority of 1 at creation.

Clearing eventsThe process of stopping the recurring event notification of alerting events.

CLI See Command line interface (CLI)

Command line interface (CLI)The nongraphical user interface used to interact with the system throughset commands and functions. The CLI for the Spectrum Accelerate.

Completion codeThe returned message sent as a result of running CLI commands.

Consistency groupA cluster of specific volumes that can all be snapshotted, mirrored andadministered simultaneously as a group. A volume can only be associatedwith a single consistency group.

The volumes within a consistency group are grouped into a single volumeset. The volume set can be snapshotted into multiple snapshot sets underthe specific consistency group. See also Snapshot set, Volume set.

© Copyright IBM Corp. 2015 133

Page 146: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

CouplingThe two peers (volumes or consistency groups) between which a mirroringrelationship was set.

Data moduleA module dedicated to data storage. A fully-configured rack contains 9dedicated data modules, each with 12 disks.

DestinationSee Event destination.

EscalationA process in which event notifications are sent to a wider list of eventdestinations because the event was not cleared within a certain time.

Event destinationAn address for sending event notifications.

Event notification ruleA rule that determines which users are to be notified, for which events andby what means.

Event notificationThe process of notifying a user about an event.

Event A user or system activity that is logged (with an appropriate message).

Fabric The hardware that connects workstations and servers to storage devices ina SAN. The SAN fabric enables any-server-to-any-storage deviceconnectivity through the use of fibre-channel switching technology.

Functional areaOne of the high level groupings of icons (functional modules) of theleft-hand pane of the GUI screen. For example: Monitor, Configuration orVolume management. See Functional module.

Functional moduleOne of the icons of a functional area, on the left-hand pane of the GUIscreen. For example, System (under Monitor) or Hosts and LUNs (underConfiguration). See Functional area.

Graphical user interface (GUI)On-screen user interface supported by a mouse and a keyboard.

H/W Hardware.

HBA Host bus adapter.

Host interface moduleThe interface data module serves external host requests with the ability tostore data. A fully-configured rack has 6 interface data modules.

Host A host is a port name of a host that can connect to the system. The systemsupports iSCSI hosts.

I/O Input/output.

Image snapshotA snapshot that has never been unlocked. It is the exact image of themaster volume it was copied from, at the time of its creation. See alsosnapshot.

Internet ProtocolSpecifies the format of packets (also called datagrams), and theiraddressing schemes. See also Transmission Control Protocol (TCP).

134 IBM Spectrum Accelerate: Product Overview

Page 147: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

IOPs Input/output (I/O) per second.

IP See Internet Protocol.

iSCSI Internet SCSI. An IP-based standard for linking data storage devices over anetwork and transferring data by carrying SCSI commands over IPnetworks.

LatencyAmount of time delay between the moment an operation is issued, and themoment it is committed.

LDAP Lightweight Directory Access Protocol.

LDAP attributeAn attribute defined in an LDAP directory data model.

LDAP authenticationA method for authenticating users by validating the user's submittedcredentials against data stored on an LDAP directory.

LDAP directoryA hierarchical database stored on an LDAP server and accessed throughLDAP calls.

LDAP serverA server that provides directory services through LDAP.

LDAP statusThe status of an LDAP server.

Load balancingEven distribution of load across all components of the system.

LockingSetting a volume (or snapshot) as unwritable (read-only).

LUN mapA table showing the mappings of the volumes to the LUNs.

LUN Logical unit number. Exports a systems volume into a registered host.

Master volumeA volume that has snapshots is called the master volume of its snapshots.

MIB Management information base. A database of objects that can be monitoredby a network management system. SNMP managers use standardized MIBformats to monitor SNMP agents.

Microsoft Active directorySee Active Directory

Mirror peerA peer (volume or consistency group) that is designated to be a replica of aspecified source peer data.

MirroringSee Remote mirroring.

Modified StateA snapshot state. A snapshot in modified state can never be used forrestoring its master volume.

MultipathingEnables host interface modules direct access to any volume.

Glossary 135

Page 148: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Peer Denotes a constituent side of a coupling. Whenever a coupling is defined,a designation is specified for each peer - one peer is designated primaryand the other is designated secondary.

Pool See Storage pool.

Primary peerA peer whose data is mirrored for backup on a remote storage system.

Rack The cabinet that stores all of the hardware components of the system.

Remote mirroringThe process of replicating the content of a source peer (volume orconsistency group) to a designated mirror peer.

Remote target connectivityA definition of connectivity between a port set of a remote target and amodule on the local storage system.

Remote targetAn storage system on a remote site, used for mirroring, data migration,and so on.

Role Denotes the actual role that the peer is fulfilling as a result of a specificcondition, either a master or a slave.

Rule See Event notification rule.

SAN Storage area network.

SCSI Small computer system interface.

Secondary peerA peer that serves as a backup of a primary peer.

SMS gatewayAn external server that is used to send SMSs.

SMTP gatewayAn external host that is used to relay e-mail messages through the SMTPprotocol.

Snapshot setThe resulting set of synchronized snapshots of a volume set in aconsistency group. See also Consistency group, Volume set.

SnapshotA point-in-time snapshot or copy of a volume. See also Image snapshot.

SNMP agentA device that reports information through the SNMP protocol to SNMPmanagers.

SNMP managerA host that collects information from SNMP agents through the SNMPprotocol.

SNMP trapAn SNMP message sent from the SNMP agent to the SNMP manager,where the sending is initiated by the SNMP agent and not as a response toa message sent from the SNMP manager.

SNMPSimple Network Monitor Protocol. A protocol for monitoring networkdevices. See also MIB, SNMP agent, SNMP manager, SNMP trap.

136 IBM Spectrum Accelerate: Product Overview

Page 149: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

SnoozeThe process of sending recurring event notifications until the events arecleared.

Storage poolA reserved area of virtual disk space serving the storage requirements ofthe volumes.

Sync best effort modeA mode of remote mirroring in which I/O operations are not suspendedwhen communication between a primary and secondary volume is broken.

SynchronizationThe process of making the primary volume and secondary volumeidentical after a communication down time or upon the initialization of themirroring.

Target See Remote target.

TCP/IPSee Transmission Control Protocol, Internet Protocol.

Thin provisioningThin provisioning provides the ability to define logical volume sizes thatare much larger than the physical capacity installed on the system.

Transmission Control ProtocolTransmission Control Protocol (TCP) on top of the Internet Protocol (IP)establishes a virtual connection between a destination and a source overwhich streams of data can be exchanged. See also IP.

Trap See SNMP trap.

Unassociated volumeA volume that is not associated with a consistency group. See Consistencygroup.

Uninterruptible power supplyThe uninterruptible power supply provides battery backup power for adetermined period of time, particularly to enable the system to powerdown in a controlled manner, on the occurrence of a lengthy power outage.

Volume cloningCreating a snapshot from a volume.

Volume setA cluster of specific volumes in a consistency group, which can all besnapshotted simultaneously, thus, creating a synchronized snapshot of allof them. The volume set can be snapshotted into multiple snapshot sets ofthe specific consistency group. See also Snapshot set, Volume set.

VolumeA discrete unit of storage on disk, tape or other data recording mediumthat supports some form of identifier and parameter list, such as a volumelabel or input/output control.

A volume is a logical address space, having its data content stored on thesystems disk drives. A volume can be virtually any size as long as the totalallocated storage space of all volumes does not exceed the net capacity ofthe system. A volume can be exported to an attached host through a LUN.A volume can be exported to multiple hosts simultaneously. See alsoStorage pool, Unassociated volume.

Glossary 137

Page 150: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

WWPNWorld Wide Port Name

XCLI IBM XIV command-line interface (XCLI) command set. See Command lineinterface.

XDRP The disaster recovery program for Spectrum Accelerate – The remotemirror feature of Spectrum Accelerate.

XIV-LDAP mappingAn association of data on the LDAP server (a specific LDAP attribute) anddata on the Spectrum Accelerate system. This is required to determine theaccess rights that should be granted to an authenticated LDAP user.

138 IBM Spectrum Accelerate: Product Overview

Page 151: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Notices

These legal notices pertain to the information in this IBM Storage productdocumentation.

This information was developed for products and services offered in the US. Thismaterial may be available from IBM in other languages. However, you may berequired to own a copy of the product or product version in that language in orderto access it.

IBM may not offer the products, services, or features discussed in this document inother countries. Consult your local IBM representative for information on theproducts and services currently available in your area. Any reference to an IBMproduct, program, or service is not intended to state or imply that only that IBMproduct, program, or service may be used. Any functionally equivalent product,program, or service that does not infringe any IBM intellectual property right maybe used instead. However, it is the user's responsibility to evaluate and verify theoperation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not grant youany license to these patents. You can send license inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle Drive, MD-NC119Armonk, NY 10504-1785USA

For license inquiries regarding double-byte character set (DBCS) information,contact the IBM Intellectual Property Department in your country or sendinquiries, in writing, to:

Intellectual Property LicensingLegal and Intellectual Property LawIBM Japan Ltd.19-21, Nihonbashi-Hakozakicho, Chuo-kuTokyo 103-8510, Japan

INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THISPUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHEREXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESSFOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express orimplied warranties in certain transactions, therefore, this statement may not applyto you.

This information could include technical inaccuracies or typographical errors.Changes are periodically made to the information herein; these changes will beincorporated in new editions of the publication. IBM may make improvementsand/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

© Copyright IBM Corp. 2015 139

Page 152: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Any references in this information to non-IBM Web sites are provided forconvenience only and do not in any manner serve as an endorsement of those Websites. The materials at those Web sites are not part of the materials for this IBMproduct and use of those Web sites is at your own risk.

IBM may use or distribute any of the information you supply in any way itbelieves appropriate without incurring any obligation to you.

Licensees of this program who wish to have information about it for the purposeof enabling: (i) the exchange of information between independently createdprograms and other programs (including this one) and (ii) the mutual use of theinformation which has been exchanged, should contact:

IBM Director of LicensingIBM CorporationNorth Castle Drive, MD-NC119Armonk, NY 10504-1785USA

Such information may be available, subject to appropriate terms and conditions,including in some cases, payment of a fee.

The licensed program described in this document and all licensed materialavailable for it are provided by IBM under terms of the IBM Customer Agreement,IBM International Program License Agreement or any equivalent agreementbetween us.

The performance data discussed herein is presented as derived under specificoperating conditions. Actual results may vary.

Information concerning non-IBM products was obtained from the suppliers ofthose products, their published announcements or other publicly available sources.IBM has not tested those products and cannot confirm the accuracy ofperformance, compatibility or any other claims related to non-IBM products.Questions on the capabilities of non-IBM products should be addressed to thesuppliers of those products.

All statements regarding IBM's future direction or intent are subject to change orwithdrawal without notice, and represent goals and objectives only.

TrademarksIBM, the IBM logo, and ibm.com are trademarks or registered trademarks ofInternational Business Machines Corp., registered in many jurisdictions worldwide.Other product and service names might be trademarks of IBM or other companies.A current list of IBM trademarks is available on the Copyright and trademarkinformation website (www.ibm.com/legal/us/en/copytrade.shtml).

VMware, ESX, ESXi, vSphere, vCenter, and vCloud are trademarks or registeredtrademarks of VMware Corporation in the United States, other countries, or both.

Microsoft, Windows Server, Windows, and the Windows logo are trademarks orregistered trademarks of Microsoft Corporation in the United States, othercountries, or both.

Other product and service names might be trademarks of IBM or other companies.

140 IBM Spectrum Accelerate: Product Overview

Page 153: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

Index

Aaccess control 111

commands 122access_all 115, 116acknowledgement 63active

activation state 85Active Directory 119Active mode 42administering

access control 111administrator 125, 127, 128advanced host attachment 12advanced snapshot mechanism 23alarm notification 6algorithms 4, 6application administrator 111, 114

access_all 115command conditions 115

associationsuser groups and hosts 114

asynchronousremote mirroring 77, 78, 79, 80, 81,

82, 83, 84asynchronous mirroring 39

scheduling 66asynchronous mirroring process

walkthrough 77asynchronous remote mirroring

peer roles 84role transmission 67, 85, 89state machine 84

Atomic test & set 15ATS 15authentication 115

xiv 116authentication modes

switching 121auto delete priority 26automatic

recovery from failure 4automatic event notifications 6available consistent copy

during mirroring 73

Bbackup

continuous 23, 26backups 41bandwidth utilization 11Block zeroing 14

Ccache

protection 5canceling

sync job 61, 73, 75CDP (continuous data protection) 26

change tracking 75CHAP 12cleanup

IBM Hyper-Scale Mobility 97CLI

management options 3CLI (command line interface) 6CLI management 9clustering

hosts 13commands

host attachment 14configuration 118

multi-rack 6configured sync rate 11connectivity 11consistency group 36

creating 33consistency groups 6

and remote mirroring 54mirroring 72mirroring-related tasks 72overview 33restore 36restoring 33snapshots 34, 35

continuous backup 23, 26continuous data protection 23Copy-on-Write (COW) 23, 26coupling 59

activation 42constraints and limitations 48definition 41last consistent snapshot

timestamp 50last-consistent snapshots 48modes 42states 47, 85types 42uncommitted data 48

COW (copy-on-write) 23COW (Copy-on-Write) 23, 26creating

consistency group 33creating a vm 15

Ddata differences 65data migration

deleting 102failures 104I/O handling 101overview 101read requests 101stages

activating 102initial configuration 102synchronization 102testing 102

write requests 101

Data mirroring 4data mobility 97data replication 65data virtualization 4, 6deactivating the mirroring 86defining gateways 108deleting snapshots

as part of the pool depletionprocess 61, 73, 75

deleting the mirroring 86destination

is synchronized 97destination groups 107destinations

defining 107e-mail 107SMS 107

diagnostics 6diff

the data that is sent by the syncjob 65

differences calculation 63disaster recovery 39, 57, 89disaster recovery types 39, 40disconnects prevention 11domain 125, 127, 128domain administrator 125Don't stop when found

a stop criteria 119dr

disaster recovery 89Dynamic rate adaptation 11

Ee-mail (SMTP) gateways 108e-mail destination 107e-mail notifications 3e-mail-to-SMS gateways 108ECLS 48ECLS x 48error

link state 85error code protection 5establishing a proxy

IBM Hyper-Scale Mobility 97ESX

COMPARE AND WRITE 15fast copy 15SCSI2 reservations mechanism 15

ESXiwrite zeroes 15

Ethernet connectivity 9Ethernet ports 9

field technician ports 9interconnect ports 9iSCSI service ports 9management ports 9

eventhandling 105information 105

© Copyright IBM Corp. 2015 141

Page 154: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

event (continued)notification rules 106viewing 106

event notifications 6external connection congestion 11external last consistent snapshot 48external replication mechanisms 6

Ffailback 89, 90, 93failover 89, 90, 93failover test 94fast copy 15features and functionality 2format

snapshot and snapshot group 31Full copy 14Full Volume Copy 30

Ggateways

defining 108e-mail (SMTP) 108e-mail-to-SMS 108

global spare storage 4glossary 133group rate limitation 16groups, destination 107GUI

management options 3GUI (graphic user interface) 6GUI management 9gui/cli initiated LDAP login 118

HHAK 12hard capacity, depletion 18Hardware-assisted locking 14, 15host

clustering 13communication with the slave

volume 90rate 16

host connectivity 11host system attachment 11hosts

associations 114hot upgrade 131Hyper-Scale vision 97

II/O

rate limitation 16I/O error 50I/O operations 46IBM Hyper-Scale (in general) 97IBM Hyper-Scale Mobility 97IBM XIV role

in relation to access control 117image snapshots

duplicating 28

implementationof LDAP 116

indirectly associated groupsof LDAP users 119

initto be distinguished from

intialization 75initial creation of a domain 125initialization

synchronization status 44the first phase of asynchronous

mirroring 77, 78, 79, 80, 81, 82, 83,84

Initialization 63initialization type 63, 64initiator

iSCSI 12instance 97instant space reclamation 22interconnect connectivity 10internal snapshots 31IP communication, system-initiated 9IP connectivity 9iSCSI CHAP authentication 12Isolation

in domain-based multi-tenancy 125

Llast consistent snapshot 48last replicated snapshot

deletion priority 73last secondary timestamp 46last_replicated

deletion 61, 73, 75snapshot 63timestamp 68, 69

last_replicated snapshot 90latency

overcoming latency that is inherent tosynchronous mirroring 57

LCS 48LDAP

authentication 115, 116authentication mode

switch to and from 121authentication scenarios 119directory 117group mapping 117service account 121use cases 117, 118user validation 120

LDAP authentication scenarios 118LDAP server

definition 117ldap_test 117life-cycle

of a volume 21Lightweight Directory Access

Protocol 116limiting

host rates 16link

states 85link status

synchronous mirroring statuses 44load balancing 97

Lockingof the pool during pool space

depletion 73logical storage unit

migration 97logical unit numbers 11low sync rate 11LUN array 12LUN ID 31LUN0 12

Mmachine re-purposing 97management connectivity 9management options 3managers, SNMP 107manual deletion

of last consistent snapshot 48manual reactivation

of the mirror process 75map_vol 90mapping

mirror related volumes 90mapping, LUN, 11master 59

role type 84master LRS 73master site 39master volumes 21max sync rate 11maximum number of queries

as a search limit 119mechanisms

self-healing 4memberof

group attribute 119methods

of access control 111MIB 108Microsoft Active Directory 116mirror state 68mirror_activate 90mirror_change_role 90mirror_change_schedule 90mirror_create 63, 64, 90mirror_delete 90mirror_switch_roles 90mirroring

data 4remote 39, 57, 77, 78, 79, 80, 81, 82,

83, 84scheduling asynchronous

mirroring 66specifications 60termination, deletion, deactivation 86

mirroring and snapshots 60, 63mirroring consistency groups 72, 86, 88,

89mirroring relation

establishing, followingIBM Hyper-Scale Mobility 97

mirroring relationships 61mirroring resynchronization 48modes

Active 42Standby 42

142 IBM Spectrum Accelerate: Product Overview

Page 155: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

modulescache 5

most_recent 63, 64deletion 61, 73, 75snapshot 63

multi-rack configuration 6multi-tenancy 125, 127, 128multipathing 6Multiple concurrent mirroring

relationships 61Multiple findings

during a search within indirectlyassociated groups 119

multiple targets 61

Nnative

authentication 115never

a default schedule 66Never

schedule 90Non-disruptive code load 131Nondisruptive testing 94none

role type 84nonoperational

coupling state 85nonvolatile disk media 4notifications

e-mail 3SMS 3SNMP 3

Oof an LDAP server 118of the initialization 63Off-line Data Migration 97off-line intialization 63, 64OK

link state 85Open LDAP 116operational

coupling state 85operational status

synchronous mirroring statuses 44options

management 3outstanding sync jobs

disruption 90over-provisioning 97owner 125

PPartitioning

in domain-based multi-tenancy 125peers 59pending writes 44Performance classes

(QoS) 16planned service disruption 93Planned service disruption 89

planningIBM Hyper-Scale Mobility 97

pool space depletion 73, 75on the slave 77protected snapshots 73

pool_config_snapshots 73post completion

IBM Hyper-Scale Mobility 97predefined users 113

authentication 115protected snapshots 73protected_snapshot_priority 73provisioning

thin 6provisioning, thin 18

QQoS

performance classes 16

Rrecovery 90, 93

from a disaster 89recovery point objective 68recovery target objective 68redirect-on-write

in the context of mirroring 60Redirect-on-Write (ROW) 23, 26reliability 4remote mirroring 39

and consistency groups 54basic concepts 39, 40best-effort coupling recovery 48configuration options 41coupling 42disaster recovery types 39, 40for media error recovery 55operation 39, 40resuming after role change 53role switchover 51synchronization 44, 46synchronous mirroring statuses 43volume configuration 41

remote monitoring 6replication 57replication mechanisms 6replication scheme 61replication state 68resolving hardware issues 125resource allocation 125, 127, 128restoring 36

snapshots 29volumes 29

restricted prefixto a snapshot group 35

resynchronization 48role switchover 51

when remote mirroring isnonoperational 51

when remote mirroring isoperational 51

role transmissionwithin the asynchronous mirroring

process 67, 85, 89

role-basedaccess control 111

role-based access controlapplication administrator 114configuring users 116

roleswithin the asynchronous mirroring

process 84ROW (redirect-on-write) 23ROW (Redirect-on-Write) 23, 26rpo 68RPO 68RPO_Lagging 68, 69, 70, 86RPO_OK 68, 69, 70RTO 68

Sscheduling

asynchronous mirroring 66scrubbing 4SCSI error

while writing to a secondaryvolume 46

search flowof indirectly-associated groups 119

secondary site 39secondary volume

last consistent 48self-healing

mechanism 4self-healing mechanisms 4Self-sufficiency

in domain-based multi-tenancy 125semantics

of mirrored consistency groups 72service disruption

testing 94set of permissions 125set-up

IBM Hyper-Scale Mobility 97single physical copy of data 27slave 59

promoting during failover 90role type 84

slave LRS 73slave replica

inconsistent 68, 69smis_user 113SMS destination 107SMS notifications 3snapshot 27, 29

atomic procedure of creating a 27format 31storage utilization 26

Snapshotassociation 26name 26serial number 26

snapshot architecturein the context of mirroring 60

snapshot groupformat 31

snapshot groups 34, 35, 36snapshot ID 31snapshot management 6

Index 143

Page 156: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

snapshot policyestablishing, following

IBM Hyper-Scale Mobility 97snapshots 23, 26

auto delete priority 26depletion of hard capacity 18duplicating 28locking and unlocking 28protected 73restoring 29unprotected (from deletion) 75

Snapshots 21, 23snapshots, overview 21snapshotting 23, 26

consistency groups 6snapshot management 6

Snapshotting 23SNMP 6, 108SNMP agent 108SNMP managers 107, 108SNMP notification 108SNMP notifications 3SNMP trap

See SNMP notificationSource 97spare storage 4specifications 60standby

activation state 85Standby mode 42states

coupling 47stop criteria

for searching indirectly associatedgroups 119

Stop when founda stop criteria 119

storageglobal spare 4

storage administrator 113storage pool

depletion of hard capacity 18hard and soft sizes 18

storage pools 6mirroring 73moving volumes 17, 18overview 17, 18

storage unit 97Storage, security, and application

administrators and read-only usersin domain-based multi-tenancy 125

SUN directory 116switchover 51Symantec Storage Foundation Thin

Reclamation 22sync job 65

canceling 61, 73, 75pausing 86pending 75progress 68, 69snapshot that is part of a 31

sync ratelow 11

synchronization 45synchronization status

how is it determined 68, 69, 70synchronous mirroring statuses 44

synchronizedremote mirroring 39, 57

synchronous mirroring 39statuses 43

synchronous mirroring statuses 46synchronous remote mirroring

I/O operations 46system

hard and soft sizes 18system attachment

see: host system attachment 11, 12system resources 125

Ttechnician 113tenancy 125, 127, 128terminating the mirroring 86the unmap bit 15thin provisioning 6, 18

mirroring 73time stamp 46timestampof last_replicated snapshot 90tracking the migration

IBM Hyper-Scale Mobility 97transmission

of roles 67, 85, 89truck mode 63, 64type

of intialization 63, 64

Uuncommitted data 48Unintentional/erroneous role change 89unplanned service disruption 90Unplanned service disruption 89unprotected snapshots

deletion 75upgradability 8use cases

LDAP 117, 118user groups 114

associations 114user roles

application administrator 111operations administrator 111permission levels 111read only 111storage administrator 111technician 111

user searchLDAP 120

User-domain associationin domain-based multi-tenancy 125

Users other than the domainadministrator

in domain-based multi-tenancy 125users validation

using LDAP 120

Vvm cloning 15volume

configuration 41

volume configurationmixed configuration 42

volumes 21Full Volume Copy 30hard and soft sizes 18restoring 29

Wwrite zeroes 15

Xxiv authentication 116xiv owner 127XIV owner 128XIV role search

LDAP 120XIV-to-LDAP mapping 118

144 IBM Spectrum Accelerate: Product Overview

Page 157: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr
Page 158: IBM Spectrum Accelerate: Product Overview · 28. Asynchr onous mirr oring walkthr ough – Part 2 78 29. Asynchr onous mirr oring walkthr ough – Part 3 79 30. Asynchr onous mirr

IBM®

Printed in USA

GC27-6700-04