You are on page 1of 76

Student Notebook

VMware vSphere APIs and vCenter plug-in


• Supports VMware vSphere APIs for Array Integration (VAAI)
– Enables VMware vSphere v4.1 functions to be offloaded from
vSphere ESX to SVC v6.2
• Hardware-accelerated Block Zero: Allows storage system to format fully
allocated VMDK file blocks
• Hardware assisted locking: Improves VMFS performance with fewer
reservation conflicts using fine-grained block-level locking
• Hardware-accelerated Full Copy: Reduces SAN traffic for performing
cloning and migration of virtual machines

• Provides SVC plug-in for VMware vCenter


– Enables VMware administrators to manage their storage from within
VMware management environment; functions include:
• Volume provisioning, resizing, and volume information display
• View general information about SVC clusters
• Receive events/alerts for SVC clusters attached to vSphere
© Copyright IBM Corporation 2011, 2014

Figure 4-92. VMware vSphere APIs and vCenter plug-in SNV13.0

Notes:
The VMware vSphere APIs for Array Integration (VAAI) enables VMware to offload operations that
should be handled at the storage systems level to the SVC.
Some number of common VMware functions such as provisioning virtual machines from templates,
extending Thin Provisioning virtual disks (VMDK), and storage vMotion were accomplished using
numerous inefficient and repetitive write operations to storage systems.
VAAI enables integration with storage systems (or in this case the SVC) to make use of higher
performance functionality such as the same SCSI write command to handle blocks of zeros or the
SCSI extended copy (XCOPY) command to minimize server I/O and reduce network bandwidth.

4-94 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Performance view: Traffic pre-VAAI


Real-time performance statistics: Cluster-wide or per node:
• Gathers performance statistics (CPU utilization, port interface utilization, and overall volumes and
MDisks I/O rates (IOPS, MBps, and latency) in 5-second sampling rates
• Provides a snapshot view for immediate monitoring with 5-minute history
• Complements TPC in-depth performance management

VMware traffic
to/from its
datastore

SVC traffic
to/from its
backend storage

© Copyright IBM Corporation 2011, 2014

Figure 4-93. Performance view: Traffic pre-VAAI SNV13.0

Notes:
The GUI real time performance statistics graphs can be used to illustrates the benefit of the VAAI
integration with the SVC.
The traffic shown from VMware to the SVC as 380 MBps before VAAI integration.

© Copyright IBM Corp. 2011, 2014 Unit 4. SVC host access 4-95
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Performance view: SVC with VAAI

VMware traffic
offloaded to
SVC backend

SVC with VAAI support


alleviates
backend storage systems
from having to implement VAAI

© Copyright IBM Corporation 2011, 2014

Figure 4-94. Performance view: SVC with VAAI SNV13.0

Notes:
The visual shows that the VMware to SVC traffic has been removed.
Since the SVC is the storage system from a host (VMware) perspective, the SVC’s support for VAAI
means the back-end storage systems managed by the SVC do not have to implement VAAI.

4-96 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Checkpoint (1 of 2)
1. True or False: Zoning is used to control the number of paths
between host servers and the SVC.

2. For a host to access volumes provisioned by the SVC, which


of the following must be true:
a. The host WWPNs or IQN must have been defined and mapped
with the volume’s owning I/O group.
b. Fibre Channel zoning or iSCSI IP port configuration must have
been setup to allow appropriate ports to established connectivity.
c. The volumes must have been created and mapped to the given
host object.
d. All of the above.

© Copyright IBM Corporation 2011, 2014

Figure 4-95. Checkpoint (1 of 2) SNV13.0

Notes:
Write your answers here:

© Copyright IBM Corp. 2011, 2014 Unit 4. SVC host access 4-97
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Checkpoint (2 of 2)
3. True or False: A multipath driver is needed when multiple
paths exists between a host server and the SVC cluster.

4. True or False: iSCSI storage systems can be accessed by


iSCSI initiators using the SVC cluster.

5. True or False: If an IP network connectivity failure occurs


between the iSCSI initiator and the SVC cluster iSCSI target
port, the cluster will automatically failover the iSCSI target
port address to the other node’s IP port.

© Copyright IBM Corporation 2011, 2014

Figure 4-96. Checkpoint (2 of 2) SNV13.0

Notes:
Write your answers here:

4-98 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Unit summary
Having completed this unit, you should be able to:
• Summarize the SVC volume access infrastructure
• Differentiate between a volume’s caching I/O group and accessible I/O
groups
• Identify the number of instances a LUN is reported to a host OS for a fabric
configuration
• Implement subsystem device driver (SDD) commands to monitor device
path configuration
• Verify zoned ports between a host to the SVC and between a storage
system to the SVC using either the CLI commands or the Fibre Channel
interface
• Perform nondisruptive volume movement from one caching I/O group to
another
• Configure SVC Ethernet ports to enable iSCSI initiator connectivity

© Copyright IBM Corporation 2011, 2014

Figure 4-97. Unit summary SNV13.0

Notes:

© Copyright IBM Corp. 2011, 2014 Unit 4. SVC host access 4-99
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

4-100 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Unit 5. SVC
enhanced features
V10.0
Student Notebook

Uempty
Unit 5. SVC enhanced features

What this unit is about


This unit focuses on the SAN Volume Controller (SVC) functions and
features designed to deliver storage efficiency and optimize storage asset
investments.
The Easy Tier function performs workload statistical data collection and
analysis to identify hot spots of data access that would benefit from
relocation to high performance storage. With Easy Tier automatic mode, the
identified data extents are scheduled for host transparent movement at the
sub-volume level to optimize SSD or flash storage utilization efficacy.
Continual workload monitoring and analysis enable Easy Tier to be adaptive
to workload pattern changes on a dynamic basis.
The Thin Provisioning function of the SVC extends storage utilization
efficiency and economy to all SVC supported storage systems. A volume can
be created either as fully allocated or Thin-Provisioned. A thin-provisioned
volume is created with two capacities: Virtual and real. The virtual capacity is
the capacity seen by host servers as well as SVC services such as
FlashCopy and Metro/Global Mirroring. The real capacity defines the amount
of capacity actually allocated from storage pools.
Space within the allocated real capacity is assigned in grain-sized increments
driven by write activity. Each grain represents a range of LBAs (logical block
addresses). A directory is used to track this metadata. The metadata
directory and user data share the real capacity allotment of the volume.
The Volume Mirroring function of the SVC enables two sets of MDisk extents
to be associated with the same volume. These two sets of extents or volume
copies can reside in the same or different storage pools hence providing
higher availability to applications at the local site and reducing or minimizing
the requirement to implement host-based mirroring solutions.
The ability to create another copy of a volume affords additional
management flexibility. A thin-provisioned volume can easily be converted to
fully allocated. To release allocated but not used capacity, a fully allocated
volume can easily be converted to Thin-Provisioned. In addition, a volume
can be migrated from one storage pool to another and acquire a different
extent size; and the original copy can then be deleted. All these activities
occur within the SVC software, totally transparent to the user application.
Storage capacity utilization efficiency can also be achieved with the
Real-time Compression (RtC) licensed feature. Integrated with v6.4 or higher
of the SVC, RtC enables active primary data to be compressed as it is written
to avoid the need for post processing compression. In addition to disk
capacity optimization and its consequence of prolonging the value of existing
storage assets, compressed data also increases the efficiency of external
storage cache as well as data transfer bandwidth.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

What you should be able to do


After completing this unit, you should be able to:
• Recognize Easy Tier settings and statuses at the storage pool and
volume levels
• Differentiate among fully allocated, Thin-Provisioned, and compressed
volumes in terms of storage capacity allocation and consumption
• Create thin-provisioned volumes and monitor volume capacity utilization
of autoexpand volumes
• Use Volume Mirroring to convert a volume to Thin-Provisioned or
compressed to reclaim allocated but unused capacity
• Itemize SVC hardware resources required for Real-time Compression
• Use the Comprestimator utility to identify suitable candidate volumes for
compression
• Analyze Easy Tier Storage Tier Advisor Tool (STAT) reports for volume
heat distribution and capacity recommendations

How you will check your progress


Accountability:
• Checkpoint questions
• Hands-on lab exercises

5-2 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Unit objectives
• After completing this unit, you should be able to:
• Recognize Easy Tier settings and statuses at the storage pool and
volume levels
• Differentiate among fully allocated, Thin-Provisioned, and compressed
volumes in terms of storage capacity allocation and consumption
• Create thin-provisioned volumes and monitor volume capacity utilization
of autoexpand volumes
• Use Volume Mirroring to convert a volume to Thin-Provisioned or
compressed to reclaim allocated but unused capacity
• Itemize SVC hardware resources required for Real-time Compression
• Use the Comprestimator utility to identify suitable candidate volumes for
compression
• Analyze Easy Tier Storage Tier Advisor Tool (STAT) reports for volume
heat distribution and capacity recommendations

© Copyright IBM Corporation 2011, 2014

Figure 5-1. Unit objectives SNV13.0

Notes:

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

SVC enhanced features topics (1 of 6)


• Easy Tier

• Thin Provisioning

• Volume Mirroring

• Real-time Compression

• Comprestimator utility

• Easy Tier STAT reporting

© Copyright IBM Corporation 2011, 2014

Figure 5-2. SVC enhanced features topics (1 of 6) SNV13.0

Notes:
This topic introduces the v7.3 enhanced features beginning with Easy Tier v3.

5-4 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Easy Tier v3 support up to 3 Tiers


• Supports any combination of 1 - 3 tiers
• SSD always Tier 0 (only)
• MDisks for the SVC always displays as Enterprise
í Unless using the SSD Flash expansion enclosure, you must designate the tiers
on the SVC
í Other members of the Storwize family, the tiers are known as:
í ENT is Enterprise 15K/10K SAS or FC and Nearline is NL-SAS 7.2L or SATA
Tier 0 Tier 1 Tier 2
Flash/SSD ENT NL
Flash/SSD ENT NONE
Flash/SSD NL NONE
NONE ENT NL
Flash/SSD NONE NONE
NONE ENT NONE
NONE NONE NL
© Copyright IBM Corporation 2011, 2014

Figure 5-3. Easy Tier v3 support up to 3 Tiers SNV13.0

Notes:
IBM Storwize Family Software v7.3 improves Easy Tier capabilities to allow for up to three tiers of
storage. This table lists the supported combination within a storage pool tier. Tiers are identified as
Flash/SSD which represents solid state drives, flash drives, or flash storage that is being
virtualized. Hard disk drives are separated into two tiers: Enterprise 15 K and 10K SAS drives are
both classified as ENT, and NL is the Nearline 7.2 RPM drives. An example, you could have
Flash/SSD, ENT, and NL as Tier 1 (1), or you could have ENT and NL (4), or a single tier using any
of the three tiers listed. SSD and Flash drives are always Tier 0.
MDisks in the SVC will always be displayed as Enterprise (ENT) unless you are using the 2145-24F
expansion enclosure that supports only SSD Flash drives. Otherwise, you must change the
description of the tiers on the SVC so it can identify them correctly.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Easy Tier v3 planning


• Deploy flash and ENT disk for performance
• Grow capacity with low cost disk
• Moves data automatically between tiers
• New volumes use extents from Tier1 by default
– If no free Tier 1 capacity then Tier 2 will be used
if available, otherwise capacity comes Flash
from Tier 0 array
Less Active Data Active Data
Best practices: Keep some free extents in pool Migrates Down Migrates Up
and Easy Tier will attempt to keep some free per Tier
Plan for one (or more) extent times the number of
MDisks in the storage pool plus 16. Easy Tier will
try to keep some extents free in Tiers 0 and 1
if possible HHD
• Example:.20 MDisks in an Easy Tier storage pool array
with either two or 3 MDisks tiers
(20x1) + 16 = 36 extents free in the pool

• Easy Tier can operate as long as one extent free


in the pool
• If no free extents in the pool, then no change occur
until more capacity is added to the pool
© Copyright IBM Corporation 2011, 2014

Figure 5-4. Easy Tier v3 planning SNV13.0

Notes:
With v7.3, the Easy Tier definitions remain the same as before. The concept of Easy Tier is to move
data up and down based on performance between three tiers (performed in the same manner as
the movement between two tiers), and the heat of extents. Easy Tier is transparent to the user once
you place multi-tiers in a pool it is automatically enabled.
When creating new volumes, they are placed by default on the Enterprise or middle Tier 1. If Tier 1
has reached its capacity, then it will used the next lowest tier which would be Tier 2. If all tiers are
full, only then will it allocate extents from Tier 0. Easy Tier will then start migrating those extents (hot
or cold) based on the workload.
For best practices, it is recommended to keep some free extents with in a pool in order for Easy Tier
to function. This will allow Easy Tier to move the extents between tiers as well as move extents with
in the same tier to load-balance the MDisks with in that tier, without delays or performance impact.
Easy Tier will work using only one extent; however, it will not work as efficient.
Free extents can be estimated based on one extent times the number of MDisks in a storage pool
plus 16.

5-6 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Easy Tier v3: Automated Storage Pool Balancing


• Configuration
Drive MDisk Volume Comments
24 - 300GB 15K RPM Drives 3 - RAID-5 arrays Vol_0, Vol_1, Vol_2, Vol_3 Total MDisk size 5.44TB
each 32GB capacity Total Volume size 128GB
All Volumes are created on MDisk0 initially

Vol2 Vol3
Vol0 Workload
Vol1 balanced across all 3 MDisks

MDisk0 MDisk1 MDisk2

• Performance improved by balancing workload across all 3 MDisks:

© Copyright IBM Corporation 2011, 2014

Figure 5-5. Easy Tier v3: Automated Storage Pool Balancing SNV13.0

Notes:
SVC also introduces support for Automated Storage Pool Balancing, an added feature within the
7.3 code which, while associated with Easy Tier, operates independently of Easy Tier and does not
require an Easy Tier license. This eliminates the need of using a script to restrip extents across the
storage pool. Automated Storage Pool Balancing assesses the extents that are written in a pool and
balances them automatically across all MDisks within the pool. In this case, you can have a single
tier pool or mix different drive type and capacity that you have MDisks on in the same pool.
Automated Storage Pool Balancing will identify the stanzas of those internal drives by RAID levels,
drive types, sizes, and the number of drives in each pool as well as its IOPs capabilities. This is only
a performance rebalance – not an extent rebalance. It will then balance those extents across all the
MDisks in the pool equally.
Automated Storage Pool Balancing can work in conjunction with Easy Tier when multiple classes of
disks exist in a single pool. The process will automatically balance existing data when new MDisks
are added into an existing pool even if the pool only contains a single type of drive.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Automated Storage Pool Balancing XML files


• XML files have stanzas for various drive classes, RAID types/widths
and workload characteristics to determine MDisk thresholds
– Internal drives on Storwize systems are aware of so more stanzas for them
– Externally virtualized LUNs is based on controller

© Copyright IBM Corporation 2011, 2014

Figure 5-6. Automated Storage Pool Balancing XML files SNV13.0

Notes:
Automated Storage Pool Balancing uses XML files that are embedded in the v7.3 code. The XML
files uses stanzas to records the characteristics of the drives by RAID levels that are built, the width
of the array, drive types, and sizes used in the array, and so on, to determine MDisk thresholds.
Automated Storage Pool Balancing can be disabled on the pool.

5-8 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Easy Tier: Automatic data placement mode


Volume Easy Tier performs workload statistical data collection;
which is enabled by default in a hybrid storage pool.
SSD MDisk

Hybrid
storage pool
Hot extents
Cold extents migrate up
migrate down

Extent size
Size: 11 GB 1024 MB

HDD MDisks

Automatically and transparently migrate extents to SSD tier

© Copyright IBM Corporation 2011, 2014

Figure 5-7. Easy Tier: Automatic data placement mode SNV13.0

Notes:
Easy Tier supports two modes of operation:
• Automatic data placement mode: Optimizes SSD/flash usage
• Evaluation mode: Assesses potential workload benefits if SSD/flash investment
Easy Tier automatic data placement mode is enabled by default when a multi-tiered storage pool is
detected. All the volumes of the multi-tiered storage pool are automatically managed by Easy Tier.
Active extents of these volumes are eligible to be migrated dynamically to SSD-based MDisks to
achieve better performance. This sub-volume extent movement is transparent to host servers and
applications.
It is possible to disable a given volume of a multi-tiered pool from Easy Tier automatic data
placement by changing the volume's Easy Tier setting to off. This action causes the volume's I/O
statistics to be measured by Easy Tier but no extent movement occurs.
A statistic summary file or ‘heat’ file generated by Easy Tier can be offloaded for input to the IBM
Storage Tier Advisor Tool (STAT). This tool produces reports on the amount of extents moved to
SSD-based MDisks and predictions of performance improvements that could be gained if more
SSD capacity is available.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Easy Tier performs the following actions:


• Monitors performance of each extent to determine data temperature
• Creates migration plan for optimal extent placement every 24 hours
• Migrates extents within pool per plan over 24 hour period (limited number of extents chosen to
migrate every five-minute interval)

5-10 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Easy Tier: Evaluation mode


Easy Tier performs workload statistical data collection;
Volume
which can be turned on in a single tier storage pool.
If SSD MDisk
Single tier
storage pool

Hot extents
Cold extents migrate up
migrate down

11 GB volume Extent size


Four extents identified as hot 1024 MB
– candidates for SSD tier

HDD MDisks

• Monitors performance of each extent to determine data temperature


• Provides analysis (using STAT) of benefits to workload if SSDs were added (prior to any SSD
acquisition)
© Copyright IBM Corporation 2011, 2014

Figure 5-8. Easy Tier: Evaluation mode SNV13.0

Notes:
Prior to any SSD acquisition, the Easy Tier setting for a single tiered storage pool can be changed
to on. This causes Easy Tier to run in evaluation mode for the pool.
I/O activity of the volumes in the pool are measured and an I/O statistics file is generated. This file,
also known as the ‘heat’ file, can be offloaded from the SVC cluster and analyzed by the IBM
Storage Tier Advisory Tool (STAT). This analysis provides an understanding of the benefits for the
workload if SSD-based MDisks were to be added to the pool.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Easy Tier data relocation decision criteria


• Aims to place data where workload is least likely to overload storage
system resources
• Considers only small I/O (64 K or less) when prioritizing extents to be
moved to SSD-based MDisks
• Factors in the cost of data movement:
– After steady state achieved, only move data for noticeable benefit
– Objective is to use resources for workload, not data movement
– Studies indicate workloads tend to be stable from day to day
– Therefore extents in stable use will evolve to higher tier of storage
• Migrates hot data to SSD-based MDisk with a capped migration rate of
up to 15 MBps and up to 2 TB per day
• Consumes only HDD extents at initial volume allocation; will use SSD
extents if and only if no HDD extents are available

© Copyright IBM Corporation 2011, 2014

Figure 5-9. Easy Tier data relocation decision criteria SNV13.0

Notes:
The hot and cold temperature of an extent is dependent upon the measurements of random, small
data transfer I/O operations.
Large sequential transfers are not considered as these tend to perform equally well with
HDD-based MDisks. Thus, Easy Tier only considers extents with I/Os of up to 64 K as migration
candidates.

5-12 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Storage pool level Easy Tier indicators


IBM_2145:RED_SVC:REDadmin>
lsmdiskgrp DS3K_SASpool
id 0
name DS3K_SASpool
. . .
easy_tier auto
easy_tier_status inactive
tier generic_ssd
tier_mdisk_count 0
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier generic_hdd
tier_mdisk_count 3
tier_capacity 299.50GB
tier_free_capacity 289.50GB

Storage Pool settings only altered in CLI

Easy Tier setting Auto/On/Off

Easy Tier Status Inactive/Active

© Copyright IBM Corporation 2011, 2014

Figure 5-10. Storage pool level Easy Tier indicators SNV13.0

Notes:
Easy Tier is controlled by a combination of settings at both the storage pool and volume levels.
A storage pool Easy Tier setting has a default value of auto. It can be changed to on or off with the
CLI. A storage pool’s Easy Tier status can be either inactive or active - this value is a result of its
setting value and if the pool is single or multi-tiered.
The GUI displays the pool’s Easy Tier status of inactive or active. The CLI also displays this status
information.
In addition, the CLI displays the pool’s Easy Tier setting of auto/on/off - because the way to change
this setting is through the CLI. The GUI does not provide an interface to change the Easy Tier
setting of the pool.
The default pool setting of auto enables Easy Tier to be automatically activated when the pool is
detected to have more than one tiers of storage technology. Since the Easy Tier setting for the
DS3K_SASpool is auto and its Easy Tier status is inactive, it must only contain one tier of storage at
this point in time.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Volume level Easy Tier indicators

IBM_2145:RED_SVC:REDadmin>lsvdisk WISK1
id 3
name WISK1
Volume Copy settings only altered IO_group_id 0
IO_group_name io_grp0
in CLI status online
mdisk_grp_id 0
mdisk_grp_name DS3K_SASpool
Easy Tier On/Off capacity 5.00GB
. . .
setting copy_id 0
. . .
easy_tier on
Easy Tier Inactive/Active/Measured easy_tier_status inactive
tier generic_ssd
status tier_capacity 0.00MB
tier generic_hdd
tier_capacity 5.00GB
Note: Easy Tier is implemented at the volume copy level

© Copyright IBM Corporation 2011, 2014

Figure 5-11. Volume level Easy Tier indicators SNV13.0

Notes:
To access the Volume Details, a user would right-click the volume followed by clicking Properties.
At the volume level, the Easy Tier setting has a default value of on. It can be changed to off and on
with the CLI. A volume’s Easy Tier status can be inactive, active, or measured - this value is
dictated by the volume level Easy Tier setting value along with the Easy Tier status of the pool.
The GUI displays the volume’s Easy Tier status of inactive, active, or measured. The CLI also
displays this status information.
In addition, the CLI displays the volume Easy Tier setting of on/off - because the way to change this
setting is through the CLI. The GUI does not provide an interface to change the Easy Tier setting of
the volume.
The default volume setting of on allows a volume to be automatically managed by Easy Tier once
its pool becomes Easy Tier active. The default settings for the pool and volume enable automated
storage tiering to be implemented without manual intervention.
Since the Easy Tier setting for the WISK1 volume is on and its Easy Tier status is inactive, the Easy
Tier status of its pool must be inactive at this point in time.

5-14 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Support for SVC internal solid state drives


I/O Group0
4 SSD slots
SVC v6.2 N1
2145-CF8
2145-CG8 N2

Detachable display panel Up to four SSDs per node

2
3
1

© Copyright IBM Corporation 2011, 2014

Figure 5-12. Support for SVC internal solid state drives SNV13.0

Notes:
The SVC internal SSDs can reside within the SVC nodes or expansion enclosure. In the CG8 or
CF8 models that are grouped by the I/O group of the owning nodes. These SSDs are displayed by
the GUI Pools > Internal Storage view.
The installed SSD drives of the SVC cluster are listed by drive class. Each drive class represents a
unique SSD drive capacity installed (a variety of SSD drive capacities are supported). The Drive
Class Filter buttons allow a given drive class to be displayed while the default displays of all drives
installed. In this example, the 136.2 GB io_grp0 push button enables the display of the eight drives
installed in NODE1 and NODE2 (both nodes being members of io_grp0). Each drive has an
assigned drive object ID.
Internal SSDs are configured as RAID arrays, also known as array mode MDisks, and placed into
pools. Click the Configure Storage button to start the SSD RAID configuration.
If the use attribute of a drive is unused, the GUI automatically presents a pop-up window to prepare
it for RAID array configuration. Click Yes to change the use attribute of the drives.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Drive use attributes


Internal drive use attributes:
• Unused
• Candidate
• Member
• Spare
• Failed

© Copyright IBM Corporation 2011, 2014

Figure 5-13. Drive use attributes SNV13.0

Notes:
The GUI generates the appropriate number of chdrive commands to change the use attribute of
each discovered drive from unused to candidate.
Internal drives must have a use attribute of candidate before an array mode MDisk can be created.
Click Configure Storage again to configure RAID arrays (or array MDisks).

5-16 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

RAID array GUI presets: SVC internal SSDs


• SVC GU RAID Presets:
– RAID 0: Striping with no redundancy (1 to 4*, 1 to 8 drives)
– RAID 1: Mirroring (2 drives – one on each node)
– RAID 5: Striping with parity, can survive one drive fault (3 to 15 drives)
– RAID 6: Striping with double parity, can survive two drive faults (5 to
16 drives)
– RAID 10: RAID 0 on top of RAID 1 (4 to 8*, 2 to16 drives)
• RAID array automatically added to storage pool as MDisk
• SVC 2145-C8* model supports only RAID 0, 1 and 10 (only)

© Copyright IBM Corporation 2011, 2014

Figure 5-14. RAID array GUI presets: SVC internal SSDs SNV13.0

Notes:
Under the previous software code, the SVC 2145-CG8 and F8 supports only have the option to
select RAID levels 0, 1 and 10. However, with the release of the v7.3 code, the SVC GUI now offer
five presets options in which to configure internal or expansion SSDs into RAID-managed disk
arrays. IBM 2145-DH8 supports RAID levels 0, 1, 10 plus RAID levels 5 and 6.
The SSDs within the CG8 or CF8 nodes are internal to the SVC nodes, the volumes created should
be owned by the same I/O group or nodes that contain the SSDs (to minimize routing between I/O
groups).
With DH8 ability to attach up to 48 SSDs using 12 Gb SAS cables instead of having four smaller
SSDs inside the node, provides ability to create RAID array across both expansions attached to
each node in the I/O group.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Configure SVC internal storage: Easy Tier option

Array
MDisk

v7.1 GUI

GUI RAID array presets:


• Mirrored: RAID 10 5
• Easy Tier: RAID 1
• Striped: RAID 0

6
© Copyright IBM Corporation 2011, 2014

Figure 5-15. Configure SVC internal storage: Easy Tier option SNV13.0

Notes:
This example uses the RAID Presets supported on the CG8 and CF8 nodes. Easy Tier preset is
selected to create an array MDisk then adds it to an existing storage pool; causing Easy Tier to be
automatically activated for the hybrid pool.
The Easy Tier RAID 1 drive configuration preset has been selected. Even though the system has
found or discovered eight drives, two drives have been specified as the number of drives to
provision for this example. Of the remaining drives, one per node will be defined as a spare drive.

5-18 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Place array MDisk in existing storage pool

DS3K_SASpool

SSD
7 array MDisk MDisk MDisk
MDisk

10
© Copyright IBM Corporation 2011, 2014

Figure 5-16. Place array MDisk in existing storage pool SNV13.0

Notes:
This array MDisk can be placed into an existing pool or a new pool. The DS3K_SASpool has been
chosen since the goal is to change this pool’s composition to a hybrid pool.
The mkarray command generated by the GUI creates a RAID level 1 array using two drive IDs
(one SSD from each node), and places the array MDisk in the selected storage pool.
The use attribute of each of these two drives has been updated to member as they are now
members of a RAID array.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Configure internal drive as a spare drive

2
3

4
© Copyright IBM Corporation 2011, 2014

Figure 5-17. Configure internal drive as a spare drive SNV13.0

Notes:
One of the SSD drives with the use attribute of candidate is being configured as a spare. If an SSD
drive in the array MDisk fails, automatic RAID rebuild with the spare drive will restore the RAID
array’s redundancy.
In this example, a spare drive has been designated for each node.

5-20 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

SSD MDisk added to pool: Easy Tier active

© Copyright IBM Corporation 2011, 2014

Figure 5-18. SSD MDisk added to pool: Easy Tier active SNV13.0

Notes:
Go to Pools > MDisks by Pools view and examine the pool icons associated with the three
storage pools. Focus on the DS3K_SASpool icon. An Easy Tier active flag (disk with stripes) has
been added to the pool icon to indicate that Easy Tier has been activated for the pool.
MDisk ID 17, with an SVC assigned name of mdisk0, is the array mode MDisk that has been
added to the pool. Note its Tier column value indicates the MDisk’s technology tier is solid state
drive.
The new MDisk is still being initialized as a RAID array (one array initialization task in the Running
Tasks status pod). Application I/O to the MDisk is supported during RAID array initialization.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Volumes of an Easy Tier active pool

© Copyright IBM Corporation 2011, 2014

Figure 5-19. Volumes of an Easy Tier active pool SNV13.0

Notes:
The Pools > Volumes by Pool view of the DS3K_SASpool provides a close-up of the Easy Tier
active pool icon and confirms that Easy Tier has been automatically activated for this pool. Do note
that the caching or owning I/O group for the volumes of the pool should align with the SSD-based
MDisks when internal SSD drives are used.
Examine the details of the WISK1 volume. Its Easy Tier status is now active. At this point, all of the
extents of the volume are still sourced from the HDD technology tier but they are now subject to
Easy Tier measurement. It takes around 16 - 24 hours of data collection and assessment for Easy
Tier to determine the ‘temperature’ of the extents and implement its migration plan.
To summarize; the presence of the array MDisk in this pool has caused Easy Tier to become active
automatically (recall the setting for the pool defaults to auto). Because Easy Tier is active for the
pool, the volume Easy Tier status became active (recall its default setting for the volume is on).
These Easy Tier default settings enable automated storage tiering optimization without additional
administrative effort.

5-22 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Identify SSD-based MDisk from external storage

2 4
3

5
© Copyright IBM Corporation 2011, 2014

Figure 5-20. Identify SSD-based MDisk from external storage SNV13.0

Notes:
MDisks of external storage systems can be backed by either HDD or SSD technology (SSD also
includes flash). By default, all external MDisks are assigned the HDD tier since there is no interface
for the SVC to discern its storage technology. SVC does provide an interface to identify the correct
tier for these MDisks.
This example illustrates an unmanaged SSD-based MDisk (object ID 19) surfaced from a Storwize
V7000 system. It has a default tier of Hard Disk Drive. Right-click this MDisk entry and click Select
Tier to alter its tier assignment.
The chmdisk command generated for MDisk 19 changes its storage tier to generic_ssd tier.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Add external SDD-based MDisk to storage pool

1
2

4
© Copyright IBM Corporation 2011, 2014

Figure 5-21. Add external SDD-based MDisk to storage pool SNV13.0

Notes:
The unmanaged MDisk ID 19 with the updated solid state drive tier assignment is then added, with
the Add to Pool option, to the SWV7K_SASpool.

5-24 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Storage pools with Easy Tier active

SWV7K_SASpool

SSD
MDisk MDisk MDisk MDisk
MDisk

DS3K_SASpool

SSD
array MDisk MDisk MDisk
MDisk

© Copyright IBM Corporation 2011, 2014

Figure 5-22. Storage pools with Easy Tier active SNV13.0

Notes:
Easy Tier is now active for the SWV7K_SASpool because the newly added MDisk changed this
pool to a hybrid with two tiers of storage. The Tier column shows a mixture of both HDD and
SSD-based technology for the MDisks of this pool.
This environment now has two pools with Easy Tier active. The SWV7K_SASpool contains a
managed mode SSD-based MDisk sourced from external storage. The DS3K_SASpool contains an
array mode SSD-based MDisk sourced from SVC internal SSDs. Easy Tier provides the same
functionality regardless where the SSD-based MDisk is sourced.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-25
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Volumes list: Easy Tier status indicator

© Copyright IBM Corporation 2011, 2014

Figure 5-23. Volumes list: Easy Tier status indicator SNV13.0

Notes:
To obtain a quick review of the Easy Tier status of a list of volumes, use the Volumes > Volumes
view and add the Easy Tier Status column to the display. If desired, the search box allows a more
focused list to be displayed.
More examples of Easy Tier behavior are included in the ensuing topics. This unit finishes with the
Easy Tier heat map file and STAT (Storage Tier Advisor Tool) reporting.

5-26 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

SVC enhanced features topics (2 of 6)


• Easy Tier

• Thin Provisioning

• Volume Mirroring

• Real-time Compression

• Comprestimator utility

• Easy Tier STAT reporting

© Copyright IBM Corporation 2011, 2014

Figure 5-24. SVC enhanced features topics (2 of 6) SNV13.0

Notes:
This topic discusses the Thin Provisioning concept.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-27
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin-provisioned versus fully allocated volumes


Extent 9 LBAn
LBAn Extent 8
5 GB Extent 7
Fully allocated volume:
Extent 6
Entire LBA range
Extent 5 allocated at creation
volume
Extent 4
Extent 3
LBA0
Extent 2
Extent 1
Warning threshold
Host sees two Extent 0
LBA0 for pool free space
5 GB volumes
(LBA0 – LBAn) Storage pool - example
extent size 512 MB
Extent 3 Thin-provisioned volume:
LBAn Extent 2 LBA range allocated in
5 GB Extent 1 grain size increments
Virtual Capacity Extent 0 based on write activity
Volume 2 GB
real capacity
Real Capacity Additional real capacity acquired either:
LBA0 • Automatically – autoexpand (GUI default)
rsize parm • Manually – non-autoexpand (CLI default)
© Copyright IBM Corporation 2011, 2014

Figure 5-25. Thin-provisioned versus fully allocated volumes SNV13.0

Notes:
The SVC Thin Provisioning function extends storage utilization efficiency and economy to all SVC
supported storage systems. A volume can be created either as fully allocated or Thin-Provisioned.
A thin-provisioned volume is created with two capacities - virtual and real. The virtual capacity is the
capacity seen by host servers as well as SVC services such as FlashCopy and Metro/Global
Mirroring. The real capacity defines the amount of capacity actually allocated from disk systems
represented by storage pools. The real capacity can be increase either manually (command line
default) or automatically (GUI default).
For fully allocated volumes, its entire capacity is acquired at creation and the entire logical block
address (LBA) range is allocated at the same time. For thin-provisioned volumes, only the real
capacity is acquired at its creation. Space within the allocated real capacity is allocated in
grain-sized increments corresponding to an LBA range dictated on write activity.

5-28 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Thin Provisioning concept


Host sees a
5 GB volume ; Thin-provisioned volumes:
o Enhances utilization efficiency of physical storage
capacity
o Enables just-in-time capacity deployment
o Aligns application growth with its storage capacity
5 GB
growth
o Facilitates more frequent copies/backups while
thin minimizing capacity consumption

2 GB

; SVC Thin-provisioned volumes:


o Available to all storage pools
o Available to ALL attaching storage systems
Physical o Available as standard feature
storage used
is 2 GB

© Copyright IBM Corporation 2011, 2014

Figure 5-26. Thin Provisioning concept SNV13.0

Notes:
Since only the virtual capacity is presented to attaching hosts, the implementation is totally
transparent to attaching hosts. Hosts have no awareness hence no need to discern between fully
allocated versus thin-provisioned volumes.
The SVC implementation of Thin Provisioning is also totally transparent to back-end storage
systems. As a standard feature of the SVC, thin-provisioned volumes might reside in any storage
pool representing any attaching storage system. In addition, thin-provisioned volumes can reside in
the same pool as fully allocated volumes.
In addition to optimize storage capacity utilization effectiveness to improve returns on investment,
Thin Provisioning also expands opportunities to exploit additional data protection options. For
example, enabling more frequent recovery points of business data to be taken (point in time copies)
without a commensurate increase in storage capacity consumption.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-29
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin Provisioning concept: Auto expand off


LBAn Directory (B-tree)

Capacity
(size) Volume
Virtual Capacity: 5 GB
Extents
Real Capacity: 2 GB
Space allocated in grain size increments:
• Default grain size = 256K
• Grain size can be 32/64/128/256K
LBA2014

Write/Read
Activities: (Grain=256K)
LBA0-511 LBA1536-2047

LBA463

Used capacity: sum of all grains allocated


Free capacity: real capacity minus used capacity
LBA0
LBA0
Volume goes offline if write activity exceeds real capacity
© Copyright IBM Corporation 2011, 2014

Figure 5-27. Thin Provisioning concept: Auto expand off SNV13.0

Notes:
When a thin-provisioned volume is created, the real capacity acquired is controlled by the rsize
(real size) parameter. This capacity can be manually increased unless the autoexpand parameter
is set on (CLI default is off).
Space within the real capacity is allocated in grain-sized increments each representing an LBA
range. The default grain size is 256 K - which represents 512 blocks of 512 bytes each. A write
operation to an LBA range not previously allocated causes a new grain sized space to be allocated.
A directory is used to map or track allocated space to a corresponding LBA range based on write
activities. This directory of metadata and user data shares the real capacity allotment of the volume.
When write activity exceeds its real capacity, the volume goes offline (if the automatically expand
setting is off) and application I/Os would fail. Once the real capacity is expanded, the volume
becomes online automatically. To avoid exhausting the real capacity, alerts can be sent to
administrators to increase real capacity and/or change the volume attribute to autoexpand so that
real capacity is increased automatically.

5-30 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Thin Provisioning concept: Auto expand on


LBAn Directory (B-tree)
Directory: Used by read/write requests to
translate LBA#s to grains within extents
Capacity
(size) Volume
Virtual Capacity: 5 GB Extents
Real Capacity: 2 GB Space allocated in grain size increments:
• Default grain size = 256K
• Grain size can be 32/64/128/256K
LBA316

Write/Read Contingency
Activities: capacity
(rsize=2GB)

(Grain=64K)
LBA0-127 LBA256-383 LBA128-255
LBA200

Used capacity: sum of all grains allocated


Free capacity: real capacity minus used capacity
LBA0
LBA0
© Copyright IBM Corporation 2011, 2014

Figure 5-28. Thin Provisioning concept: Auto expand on SNV13.0

Notes:
The autoexpand keyword, which is the GUI default, enables the real capacity of a thin-provisioned
volume to automatically increase as needed. This automatically expand attribute can be requested
either at volume creation or subsequently.
With the autoexpand attribute set on, the rsize specified value serves as a reserved capacity that is
maintained as write activities occur. This reserved or contingency capacity protects the volume from
going offline in the event the storage pool runs out of extents. The contingency capacity diminishes
to zero when the real capacity reaches the total capacity of the volume.
The combination of autoexpand and the existence of the metadata directory might cause the real
capacity of the volume to become greater than the total capacity seen by host servers and other
SVC services. A thin-provisioned volume can be converted to fully allocated using the SVC Volume
Mirroring function.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-31
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin Provisioning: Metadata management


SVC Node I/O stack v7.3 Thin Provisioning enhancements:
Full stride writes for Thin volumes no
SCSI Target
matter what grain size
Forwarding
Metadata directory
Replication stored with volume data
Upper Cache Directory in SVC cache
based on volume read/write activity
FlashCopy
Directory (B-tree)
Mirroring < 1 % of
Thin Provisioning Compression
volume capacity

Lower Cache

Virtualization Easy Tier 3

Forwarding
Volume’s
RAID
extents
Forwarding

SCSI Initiator

© Copyright IBM Corporation 2011, 2014

Figure 5-29. Thin Provisioning: Metadata management SNV13.0

Notes:
When a thin-provisioned volume is initially created, a small amount of the volume’s real capacity is
used for the volume’s metadata directory. A write I/O to an LBA that have not previously been
written to will cause a grain-sized amount of space to be marked as used within the volume’s
allocated real capacity; and its metadata directory updated.
For example, if the volume default grain size is 256, then 256 K within the allocated real capacity is
marked as used, for the 512 blocks of 512 bytes each, spanning the LBA range in response to this
write I/O request.
If a subsequent write I/O request is to an LBA within the previously allocated 256 K, the I/O
proceeds as usual since its requested location is within the prior allocated 256 K.
If a subsequent write I/O request is to an LBA outside the range of a previously allocated 256 K,
then another 256 K within the allocated real capacity is used.
All three of these write examples consult and might update the metadata directory. Read requests
also need to consult the same directory. Consequently, the volume’s directory is highly likely to be
SVC cache-resident while I/Os are active on the volume.

5-32 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Create a thin-provisioned volume

3
5
4 Optional

Click to view Thin Provisioning options

© Copyright IBM Corporation 2011, 2014

Figure 5-30. Create a thin-provisioned volume SNV13.0

Notes:
Choose the Thin-Provision preset of the GUI to create a thin-provisioned volume.
The capacity value is the virtual capacity of the volume; it is the size presented to hosts and other
SVC services such as FlashCopy and Metro/Global Mirror.
Review the Summary statement, for the 100 GB APPVOLA volume requested to reside in the
DS3K_SASpool, only 2 GB of real capacity would be allocated. This 2 GB default value is controlled
by the Thin-Provision preset. Click the Advanced button to view and/or override preset attributes.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-33
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin-Provision preset default settings

Thin-Provisioned
defaults and
options

© Copyright IBM Corporation 2011, 2014

Figure 5-31. Thin-Provision preset default settings SNV13.0

Notes:
The Thin-Provisioned option of the Capacity Management tab displays its preset defaults. The
edit box for Real has a default of 2% of virtual size, which explains the 2 GB value for the 100 GB
volume allocation request.
The Thin-Provision preset also sets the automatically expand attribute to on, a warning threshold of
80% (of volume size), and a grain size of 256 K. These attributes can be overridden from this pane;
but as a general best practice, take the preset defaults.
Recall the DS3K_SASpool is Easy Tier active and contains an internal SSD-based MDisk from
io_grp0. Due to the dependency of this MDisk and hence to pool to this I/O group (I/O group
preference or allegiance), the GUI automatically assigns the volume ownership to its preferred I/O
group - io_grp0.

5-34 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Thin-provisioned volume created: mkvdisk

Volume owned by I/O group 0,


space from DS3K_SASpool,
virtual capacity = 100 GB,
real capacity = 2 GB,
grain size = 256K, autoexpand,
warning threshold = 80 GB

Thin-Provisioned
volume created;
object ID 11

© Copyright IBM Corporation 2011, 2014

Figure 5-32. Thin-provisioned volume created: mkvdisk SNV13.0

Notes:
Review the generated mkvdisk command. The -autoexpand, -grainsize 256, -rsize 2%,
and -warning 80% keywords are associated with volumes created with the Thin-Provision preset.
The APPVOLA volume is created in the DS3K_SASpool with an object ID of 11 and I/O group 0
assigned as its caching I/O group.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-35
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Volumes mapped to host example

thin-provisioned
volume
APPVOL1 APPVOLA

DS3K_SASpool
SWV7K_SASpool

© Copyright IBM Corporation 2011, 2014

Figure 5-33. Volumes mapped to host example SNV13.0

Notes:
The ensuing pages illustrate the usage of a thin-provisioned volume assigned to host object
REDWIN1. To compare and contrast, a fully allocated volume is also assigned to the same host.
The two volumes are:
• APPVOL1 is a 100 GB fully allocated volume in the SWV7K_SASpool.
• APPVOLA is a 100 GB thin-provisioned volume in the DS3K_SASpool.
For later reference, note that volume APPVOL1 has an ID of 9 with a UID that ends with x’000D’;
volume APPVOLA has an ID of 11 with a UID that ends with x’0013’.

5-36 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Thin-provisioned volume: Details at creation

APPVOLA

Extent size = 512 MB

© Copyright IBM Corporation 2011, 2014

Figure 5-34. Thin-provisioned volume: Details at creation SNV13.0

Notes:
The capacity bar of the volume details pane makes it plainly obvious that the 100 GB APPVOLA
volume is a thin-provisioned volume. Only a tiny amount, 2 GB of real capacity, is allocated; within
which 768 KB is used: For the volume metadata directory.
The Member Disks tab displays the extent distribution of this volume as well as the actual number
of extents consumed on each MDisk. Hmmm five extents of 512 MB work out to be more than 2 GB.
What is going on?
Recall that the automatically expand attribute defined for this volume. The real capacity (rsize)
value of 2 GB (or four extents) serves as a contingency buffer maintained for this volume. Because
768 KB of real capacity has been used, the volume was automatically expanded by one extent to
maintain the 2 GB buffer.
The volume’s Easy Tier status is active since its pool’s Easy Tier status is active.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-37
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Host view of thin-provisioned volume

write
activity
Host sees
100 GB volume
© Copyright IBM Corporation 2011, 2014

Figure 5-35. Host view of thin-provisioned volume SNV13.0

Notes:
From the host perspective, the thin-provisioned volume appears as a fully allocated volume.
Based on the SDDDSM datapath query device command output, Disk1’s serial number
matches the UID of the SVC volume APPVOL1 and Disk2’s serial number matches the UID of
volume APPVOLA.
Both volumes are presented to the as volumes with 100 GB capacity. A folder of data has been
written to driver letter E: or APPVOLA. Examine the capacity and free space data tracked by
Windows for APPVOLA - it has close to 77 GB of free space.

5-38 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Fully allocated volume: Details

APPVOL1

Extent size = 512 MB


200 extents

© Copyright IBM Corporation 2011, 2014

Figure 5-36. Fully allocated volume: Details SNV13.0

Notes:
Contrast the thin-provisioned volume to a fully allocated APPVOL1 volume. Again the volume’s
capacity bar makes it plainly obvious; all 100 GB of the volume capacity (or 200 extents of 512 MB
each) have been allocated at volume creation.
Relative to Easy Tier, this volume has an Easy Tier status of active and 22 of its extents have been
migrated to the SSD-based MDisk of the pool.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-39
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin-provisioned volume: Details after host writes

11

APPVOLA

Extent size = 512 MB


512 MB x 51 = 25.5 GB

© Copyright IBM Corporation 2011, 2014

Figure 5-37. Thin-provisioned volume: Details after host writes SNV13.0

Notes:
Examine the details of the APPVOLA volume after host write activity. The volume capacity bar
highlights the increased consumption of real capacity.
The used capacity value of 23.15 GB is fairly consistent as the complement value of the 77 GB free
space shown on the host.
Note the real capacity value of 25.16 GB? Why is it about 2 GB larger than the used capacity?
To minimize capacity consumption, the SVC 2145-CF8 and 2145-CG8 node models provide a zero
detect function. When host writes result in a grain sized string of zeros, no actual capacity is
allocated.

5-40 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

More write activity on thin-provisioned volume

more
write
activity

© Copyright IBM Corporation 2011, 2014

Figure 5-38. More write activity on thin-provisioned volume SNV13.0

Notes:
The host has written significantly more data to the thin-provisioned volume. Notice the% Free
column for the APPVOLA(E): drive is only 17%.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-41
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Thin-provisioned volume: After more host writes


Volume warning
threshold exceeded

11

APPVOLA Total number of extents (171)


exceeded warning threshold of
160 extents (200 x 80%)

© Copyright IBM Corporation 2011, 2014

Figure 5-39. Thin-provisioned volume: After more host writes SNV13.0

Notes:
Again, the capacity bar for the APPVOLA volume makes it plainly obvious that the space warning
threshold has been exceeded. The used and real capacity values both have exceeded the 80 GB
(or 80% of volume capacity) threshold.

5-42 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Volume warning threshold alert generated

11

APPVOLA

Resolution options:
Ź Expand volume size
Ź Convert to fully allocated
© Copyright IBM Corporation 2011, 2014

Figure 5-40. Volume warning threshold alert generated SNV13.0

Notes:
When a warning threshold is exceeded (for a volume or a pool), the SVC generates event
notifications. For each event, the notifications include SNMP trap, email notification, and an entry in
the SVC event log.
To see the event log threshold warning entry, go to Monitoring > Events and select the Unfixed
Messages and Alerts view of the log. An alert has been generated for the APPVOLA volume.
Right-click the entry and select Properties for a more readable and detailed description of the
event. A thin-provisioned volume copy space warning has occurred.
Assuming that the application has estimated the volume size correctly, a fully provisioned volume
might be more appropriate. Otherwise, the application might want to reassess the volume virtual
size.
A thin-provisioned volume can be converted to a fully allocated volume by using the SVC Volume
Mirroring function.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-43
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Host-based deletes: Capacity not released

11

Host deletes
do not release APPVOLA
previously
allocated extents

© Copyright IBM Corporation 2011, 2014

Figure 5-41. Host-based deletes: Capacity not released SNV13.0

Notes:
Data or file deletion is managed at the host or OS level. In Windows, a file deletion is just an update
of allocation tables associated with the Windows drive to release allocated space. It is an activity
not known to external storage systems including the SVC.
Consequently, the real capacity utilization of the SVC volume is not changed nor released even
though the host system indicates more free space for the drive.

5-44 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Real capacity consumption ratio: Overallocation


IBM_2145:RED_SVC:REDadmin>lsvdisk 11
id 11
name APPVOLA copy_id 0
IO_group_id 0 status online
IO_group_name io_grp0 sync yes
status online primary yes
mdisk_grp_id 0 mdisk_grp_id 0
mdisk_grp_name DS3K_SASpool mdisk_grp_name DS3K_SASpool
capacity 100.00GB type striped
type striped mdisk_id
formatted no mdisk_name
mdisk_id fast_write_state empty
mdisk_name used_capacity 83.17GB
FC_id real_capacity 85.18GB
FC_name free_capacity 2.01GB
RC_id overallocation 117
RC_name autoexpand on
vdisk_UID warning 80
60050768018785B15000000000000013 grainsize 256
throttling 0 se_copy yes
Overallocation: Measurement
preferred_node_id 2 of how close a volume's
easy_tier consumed real capacity
on
fast_write_state empty
compares with the volume’s total capacity (virtual capacity);active
easy_tier_status where –
cache readwrite tier generic_ssd
udid
as this value approaches 100, the virtual and real capacities are
tier_capacity becoming equal.
0.00MB
fc_map_count 0 tier generic_hdd
sync_rate 50 overallocation =((capacity tier_capacity
/ real capacity) * 100)
85.18GB
copy_count APPVOLA
1 overallocation = compressed_copy
((100GB / 85GB) * 100) =no117
se_copy_count 1 uncompressed_used_capacity
filesystem 83.17GB
mirror_write_priority latency
RC_changeAt noAPPVOLA volume creation = ((100GB / 2.5GB) * 100) = 4000
compressed_copy_count
After initial writes to0
access_IO_group_count 1APPVOLA = ((100GB / 25.5GB) * 100) = 392
At 80% warning threshold = ((100GB / 80GB) * 100) = 125
© Copyright IBM Corporation 2011, 2014

Figure 5-42. Real capacity consumption ratio: Overallocation SNV13.0

Notes:
Examine the output of the lsvdisk 11 command. Recall that SVC objects can be referred to by ID.
The command lsvdisk APPVOLA provides the same information.
Note the overallocation value of 117. Overallocation at the volume level is a useful indicator of the
convergence of real and virtual capacity. As this value gets close to 100, it means the real capacity
is growing closer to virtual capacity. At 80% of the volume’s warning threshold value (or 80 GB of a
100 GB volume’s real capacity has been consumed), the overallocation value would be at 125.
As the volume’s overallocation value gets close to 100 (or even at 125), a key question arises -
should this volume have been allocated as a thin-provisioned volume? A reassessment if this
volume should be Thin-Provisioned might be in order; perhaps it would be a good idea to convert
the volume to fully allocated.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-45
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Monitor real capacity consumption: lssevdiskcopy


lssevdiskcopy: List space efficient (se or Thin-Provisioned) data of vdisks
IBM_2145:RED_SVC:REDadmin>lssevdiskcopy -delim ,
vdisk_id,vdisk_name,copy_id,mdisk_grp_id,mdisk_grp_name,capacity,use
d_capacity,real_capacity,free_capacity,overallocation,autoexpand,war
ning,grainsize,se_copy,compressed_copy,uncompressed_used_capacity
5,SLIM1,0,2,SWV7K_SASpool,10.00GB,827.25MB,1.01GB,210.80MB,986,on,80
,256,yes,no,827.25MB
6,SLIM2,0,2,SWV7K_SASpool,10.00GB,6.66GB,6.87GB,209.30MB,145,on,80,2
56,yes,no,6.66GB
7,SLIM3,0,2,SWV7K_SASpool,10.00GB,0.75MB,221.30MB,220.55MB,4627,on,8
0,256,yes,no,0.75MB
10,SYL,0,1,DS3K_SATApool,120.00GB,0.75MB,2.42GB,2.42GB,4966,on,80,25
6,yes,no,0.75MB
11,APPVOLA,0,0,DS3K_SASpool,100.00GB,83.17GB,85.18GB,2.01GB,117,on,8
0,256,yes,no,83.17GB

List volumes that have consumed 60% or more of real capacity of volume
– filter on “overallocation less or equal to 166” (where 166=((100/60) * 100))
IBM_2145:RED_SVC:REDadmin>lssevdiskcopy -delim , -filtervalue
"overallocation<=166"
vdisk_id,vdisk_name,copy_id,mdisk_grp_id,mdisk_grp_name,capacity,use
d_capacity,real_capacity,free_capacity,overallocation,autoexpand,war
ning,grainsize,se_copy,compressed_copy,uncompressed_used_capacity
6,SLIM2,0,2,SWV7K_SASpool,10.00GB,6.69GB,6.90GB,209.30MB,144,on,80,2
56,yes,no,6.69GB
11,APPVOLA,0,0,DS3K_SASpool,100.00GB,83.17GB,85.18GB,2.01GB,117,on,8
0,256,yes,no,83.17GB
© Copyright IBM Corporation 2011, 2014

Figure 5-43. Monitor real capacity consumption: lssevdiskcopy SNV13.0

Notes:
The CLI refers to thin-provisioned volumes as space-efficient VDisks (SEV). The lssevdiskcopy
command provides a concise view of the capacity utilization data associated with thin-provisioned
volume copies.
One filer value associated with the lssevdiskcopy command is overallocation. Use it periodically to
obtain a list of thin-provisioned volumes whose real capacity consumption is approaching or
exceeding a predetermined threshold.
The example output above provides a list of volumes whose real capacity consumption is 60% or
greater compared to the volume total virtual capacity.
Of course one can wait for the 80% warning threshold alert in the event log or even reset the
volume warning threshold to a lower value.

5-46 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty
Show dependent volumes if issues with storage
system

1
2

Volumes affected
if storage box is offline

© Copyright IBM Corporation 2011, 2014

Figure 5-44. Show dependent volumes if issues with storage system SNV13.0

Notes:
Let us explore a feature provided by the GUI in preparation for the SVC Volume Mirroring
discussion.
Click Pools > External Storage then right-click the REDDS3K storage system entry. Select the
Show Dependent Volumes option to view the list of volumes that would be affected if this storage
system were to be taken offline.
This list of volumes, along with their host attachment data, can be used to take preventive action if a
disruptive action needs to be applied to the storage system. Note the APPVOLA volume is on this
list.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-47
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

SVC enhanced features topics (3 of 6)


• Easy Tier

• Thin Provisioning

• Volume Mirroring

• Real-time Compression

• Comprestimator utility

• Easy Tier STAT reporting

© Copyright IBM Corporation 2011, 2014

Figure 5-45. SVC enhanced features topics (3 of 6) SNV13.0

Notes:
Our next topic discusses volume mirroring.

5-48 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Volume Mirroring: Two copies of extents


Extent 9
Copy created:
Extent 8
• At creation or,
Extent 7
• After creation
Extent 6

Copy 0 Extent 5

5 GB
Extent 4
Extent 3
Pool1
Extent 2
extent size
Host sees ONE Extent 1
512 MB
5 GB volume Volume Extent 0
(LBA0 – LBAn)

Copy 1 Extent 4
Extent 3
Pool2
Extent 2
Copy has its own:
Extent 1 extent size
• Storage pool
Extent 0 1024 MB
• Virtualization type
• Fully allocated or thin

© Copyright IBM Corporation 2011, 2014

Figure 5-46. Volume Mirroring: Two copies of extents SNV13.0

Notes:
The Volume Mirroring function enables two sets of MDisk extents to be associated with one volume.
These two sets of extents or volume copies can reside in the same or different storage pools (or
storage systems) to provide higher availability to applications.
If a volume is created with two volume copies, these copies use the same virtualization policy
(striped, sequential, image, Thin-Provisioned or fully allocated). A volume copy can also be added
to an existing volume. In this case, the two copies do not have to share the same virtualization
policy. When a volume copy is added, the SVC automatically synchronizes the new copy so that it
contains the same data as the existing copy. The volume is available for host server access during
synchronization process.
The two sets of extents are known as copy 0 and copy 1. Volume copy 0 is always created when a
volume is created. Volume copy 1 is created along with copy 0 if both copies are requested at
volume creation; otherwise copy 1 is added subsequently when an add volume copy request is
processed for an existing volume.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-49
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Volume Mirroring and I/O processing


SVC node I/O stack Read/write requests
v7.3 enhancements:
SCSI Target
Support for different tiers
Forwarding in the mirror / not slowed
Oblivious to slowest tier on writes
Replication
to Volume
volume
Full stride write for VDM
Upper Cache mirroring
no matter what grain size
FlashCopy
reads
Mirroring writes writes
Thin Provisioning Compression

Lower Cache

Easy Tier 3
Pool1 Pool2
Virtualization extents extents
Forwarding
ƒ Promotes high availability at local site
RAID ƒ Expands data migration flexibility
Forwarding ƒ Enables non-disruptive conversions
Thin-Provisioned ÅÆ fully allocated
SCSI Initiator
ƒ Allows mirrored copy to be split as new
volume
© Copyright IBM Corporation 2011, 2014

Figure 5-47. Volume Mirroring and I/O processing SNV13.0

Notes:
By default, volume copy 0 is assigned as the primary copy of the volume. Reads and writes always
go through the primary copy. Writes are also sent to volume copy 1 so that synchronization is
maintained between the two volume copies.
If the primary copy is unavailable - for example volume copy 0’s pool became unavailable due to its
storage system has been taken offline - the volume remains accessible to assigned servers. Reads
and writes are handled with volume copy 1. The SVC tracks changed blocks of volume copy 1 and
resynchronize these blocks with volume copy 0 when it becomes available. Reads and writes then
revert back to volume copy 0. It is also possible to set volume copy 1 as the primary copy if desired.
The ability to create a volume copy affords additional management flexibility. A storage controller
might fail or be taken offline for maintenance and not affect application access. A thin-provisioned
volume can easily be converted to fully allocated or vice versa. A volume can be migrated from one
storage pool to another and acquire a different extent size. The original volume copy can then be
deleted. These activities occur within the SVC, totally transparent to attaching servers and user
applications.

5-50 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Add a mirrored copy to a volume

3 4

© Copyright IBM Corporation 2011, 2014

Figure 5-48. Add a mirrored copy to a volume SNV13.0

Notes:
Return to the example of the Thin-Provisioned APPVOLA volume that had exceeded its space
warning threshold. It has been determined that the volume’s originally allocated capacity is correct
but it should not have been allocated as Thin-Provisioned.
A simple method to convert a thin-provisioned volume copy to fully allocated is to take advantage of
SVC Volume Mirroring to add a fully allocated copy.
To add a mirrored volume copy to an existing volume, right-click the volume entry and select
Volume Copy Actions > Add Mirrored Copy from the pop-up list.
Take another look at the APPVOLA volume entry - note it has an object ID of 11 and resides in the
DS3K_SASpool.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-51
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Add a fully allocated volume copy

© Copyright IBM Corporation 2011, 2014

Figure 5-49. Add a fully allocated volume copy SNV13.0

Notes:
Three options are in the Volume Type box. This example’s objective is to create a fully allocated
volume copy so the radio button for Generic clicked.
A storage pool that will provide extents for the new volume copy needs to be selected. Target
storage pools with enough free capacity to accommodate the volume copy are displayed by the
GUI. Pool ID 2, the SWV7K_SASpool, is selected for this example.
Study the addvdiskcopy command generated by the GUI - it is adding a volume copy to a volume
whose ID is 11; and extents for the volume copy should be obtained from the pool whose ID is 2.
When the addvdiskcopy command is processed, the APPVOLA volume owns two sets of extents:
The original thin-provisioned volume copy 0 extents are in the DS3K_SASpool, and the newly
added fully allocated volume copy 1 extents are in the SWV7K_SASpool.
The extent size of these two storage pools do have to be identical. SVC Volume Mirroring
processing is independent of the storage pool extent size.

5-52 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Volume copy created: Sync the two copies

Copy 0*= reads/writes


Copy 1= writes

© Copyright IBM Corporation 2011, 2014

Figure 5-50. Volume copy created: Sync the two copies SNV13.0

Notes:
The volume entry is now shown with two copies - copy 0 and copy 1. When a volume is created - it
has, by definition, one set of extents. This set of extents is known as copy 0. The addvdiskcopy
request added copy 1 for this volume.
The asterisk associated with volume copy 0 is used to identify the primary copy - the copy used by
SVC for reads and writes.
The two volume copies need to be synchronized. SVC Volume Mirroring automatically copies the
data of copy 0 to copy 1; while supporting concurrent application reads/writes.
The Running Tasks status bubble indicates that one volume synchronization task is running in the
background. Clicking within the bubble causes the GUI to display its progress.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-53
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Fully allocated volume copy 1 created

Background copy sync rate:


50 - 2 MBps
1 60 - 4 MBps
70 - 8 MBps
80 - 16 MBps
90 - 32 MBps
100 - 64 MBps
© Copyright IBM Corporation 2011, 2014

Figure 5-51. Fully allocated volume copy 1 created SNV13.0

Notes:
The synchronization or background copy rate defaults to 50%, which is set to 2 MBps. It can be
changed by clicking the Edit button in the volume details pane.
Note the capacity bar for copy 1: It is for a fully allocated volume copy.
Volumes are managed by Easy Tier at the volume copy level and is controlled by its associated
pool’s Easy Tier status. Since the Easy Tier status for the SWV7K_SASpool is active, volume copy
1 has automatically became Easy Tier active.

5-54 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Increase volume mirror sync rate

Change the volume


3 syncrate to 64 MBps

© Copyright IBM Corporation 2011, 2014

Figure 5-52. Increase volume mirror sync rate SNV13.0

Notes:
After clicking the Edit button, the Mirror Sync Rate value becomes an edit box to allow the rate to
be modified. Changing the synchronization rate to 100 increases the background copy rate to 64
MBps.
The chvdisk -syncrate command is generated by the GUI to change the synchronization rate to
100 or 64 MBps.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-55
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Monitoring > Performance: Synchronization rate

© Copyright IBM Corporation 2011, 2014

Figure 5-53. Monitoring \> Performance: Synchronization rate SNV13.0

Notes:
The background synchronization rate can be monitored from the Monitoring > Performance view.
The increase in the copy synchronization rate to 100 can be seen in the 64 MBps values for reads
and writes in the MDisks quadrant.

5-56 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

APPVOLA extent distribution of volume copies

copy 1
copy 0
extents
extents

DS3K_SASpool SWV7K_SASpool

© Copyright IBM Corporation 2011, 2014

Figure 5-54. APPVOLA extent distribution of volume copies SNV13.0

Notes:
The Member MDisks tab displays the extent distribution across MDisks for the volume copies in
two different pools. This is the default view. The drop-down list in this view can be used to display
extents associated with each volume copy individually.
The extents in the DS3K_SASpool belong to the thin-provisioned volume copy, copy 0. The fully
allocated volume copy 1 uses extents from the SWV7K_SASpool.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-57
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Change volume copy 1 to read/write

1
2

Change copy 1 to
be the primary copy
for volume ID 8

© Copyright IBM Corporation 2011, 2014

Figure 5-55. Change volume copy 1 to read/write SNV13.0

Notes:
The primary copy is used by SVC for both reads and writes. To change volume copy 1 to be the
primary copy, right-click its entry and select Make Primary from the pop-up list.
The GUI generates the chvdisk -primary command to designate volume copy 1 as the primary
copy for the selected volume, volume ID.
A use case for designating volume copy 1 as the primary copy is the migration of a volume to a new
storage system. For a test period, it might be desirable to have both the read and write I/Os directed
at the new storage system of the volume while still maintain a copy in the storage system scheduled
for removal.

5-58 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Host I/O transparent to added volume copy

© Copyright IBM Corporation 2011, 2014

Figure 5-56. Host I/O transparent to added volume copy SNV13.0

Notes:
Nothing has changed from a host perspective. I/O operations proceed as normal. SVC Volume
Mirroring is totally transparent to the host.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-59
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Host I/O transparent to change primary to copy 1

Copy 1 * = reads/writes

I/O #

© Copyright IBM Corporation 2011, 2014

Figure 5-57. Host I/O transparent to change primary to copy 1 SNV13.0

Notes:
Nothing has changed from a host perspective. I/O operations still proceed as normal.

5-60 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Show dependent volumes

Volumes affected
if storage box is offline

APPVOLA is no longer on this list


Volume Mirroring: Promotes high availability at local site
© Copyright IBM Corporation 2011, 2014

Figure 5-58. Show dependent volumes SNV13.0

Notes:
Return to Pools > External Storage and right-click the REDDS3K storage system entry. Select the
Show Dependent Volumes option again.
Notice the APPVOLA volume is no longer listed as being dependent on this storage system; even
though its volume copy 0 is using extents from this storage system. Another set of extents in a
different storage system enables the volume to be viable without this storage system.
Mission critical data (volumes) can be identified on a per storage systems basis using this GUI path.
If a volume is dependent, add another copy to the volume in a different pool (different storage
system) before proceeding with maintenance for this storage system.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-61
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Delete thin-provisioned volume copy 0

© Copyright IBM Corporation 2011, 2014

Figure 5-59. Delete thin-provisioned volume copy 0 SNV13.0

Notes:
Deleting volume copy 0 does not delete the volume; volume copy 1 remains.

5-62 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Volume converted to fully allocated


Note: It is not necessary to switch
primary to volume copy 1
prior to deleting volume copy 0
Remove copy 0 from
volume ID 11

copy 0
9 11
extents

DS3K_SASpool Copy 1
Copy 0

APPVOL1 APPVOLA

SWV7K_SASpool

APPVOLA is fully allocated (no longer Thin-Provisioned)


APPVOLA has been migrated to another pool
© Copyright IBM Corporation 2011, 2014

Figure 5-60. Volume converted to fully allocated SNV13.0

Notes:
Observe the command generated by the GUI to delete volume copy 0 is rmvdiskcopy -copy 0 for
volume ID 11. A copy of the volume is removed so the command needs to identify which volume
copy of which volume.
Only volume copy 1 of the volume remains. It is a fully allocated copy: The volume is no longer
Thin-Provisioned.
The deletion of copy 0 has also resulted in a migration of the volume from one storage pool to
another. The extent size of the storage pools do not have to be the same. SVC Volume Mirroring
can be used to migrate volumes between these pools.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-63
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Host I/O transparent to infrastructure changes

I/O #

© Copyright IBM Corporation 2011, 2014

Figure 5-61. Host I/O transparent to infrastructure changes SNV13.0

Notes:
Nothing has changed from a host perspective. I/O operations proceed as normal.

5-64 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty

Reclaim unused space among existing volumes


5 GB 5 GB

Volume 00000000000free diet thin

Copy 0 Copy 1
Fully allocated Thin-Provisioned
Existing data volumes: Go BLUE!
(removes grain-sized strings of zeros)

• Reclaims allocated but unused capacity

• Optimizes capacity utilization across storage tiers


௅ Can become thin during tier migration

• Allows image mode thin volumes to remain thin

© Copyright IBM Corporation 2011, 2014

Figure 5-62. Reclaim unused space among existing volumes SNV13.0

Notes:
In an analogous manner, fully allocated volumes can be converted to Thin-Provisioned by using
SVC Volume Mirroring to add a Thin-Provisioned copy. After synchronization completes, the fully
allocated volume copy can be deleted.
During the synchronization process, grains containing only zeros are not stored (do not use real
capacity).

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-65
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Host view of volume attributes and usage

© Copyright IBM Corporation 2011, 2014

Figure 5-63. Host view of volume attributes and usage SNV13.0

Notes:
For this example, APPVOL1 is the party of interest. Based on its host, it has a volume capacity of
100 GB of which 38 GB is free space.
As the data ages and become less active, it might be worthwhile to migrate it to a lower cost
storage ties; and at the same time release the allocated but unused capacity.

5-66 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.0
Student Notebook

Uempty
Convert volume to Thin-Provisioned to release
allocated but unused capacity

Copy 0

APPVOL1

3 4

© Copyright IBM Corporation 2011, 2014

Figure 5-64. Convert volume to Thin-Provisioned to release allocated but unused capacity SNV13.0

Notes:
A volume copy is to be added to this fully allocated APPVOL1 volume (ID 9) residing in the
SWV7K_SASpool.

© Copyright IBM Corp. 2011, 2014 Unit 5. SVC enhanced features 5-67
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook

Create volume copy in lower-cost storage tier

© Copyright IBM Corporation 2011, 2014

Figure 5-65. Create volume copy in lower-cost storage tier SNV13.0

Notes:
To request a thin-provisioned volume copy, click the radio button for Thin-Provisioned in the
Volume Type box.
The target pool selected is the DS3K_SATApool (pool ID 1). The aim of this exercise is not only to
convert the volume to Thin-Provisioned, but also migrate it to a lower cost storage tier.
Study the addvdiskcopy command generated by the GUI. A thin-provisioned volume copy 1 is
being add to volume ID 9; using extents in pool ID 1 which is the DS3K_SATApool.
Not surprisingly, the GUI uses the Thin-Provision preset attributes for this copy - automatically
expand, real capacity as 2% of virtual capacity, and a warning threshold of 80%. The default grain
size is taken and is not be explicitly coded.

5-68 SVC Implementation Workshop © Copyright IBM Corp. 2011, 2014


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

You might also like