Beruflich Dokumente
Kultur Dokumente
Chuck Losinski
Director of Automation Technology
Robot
Chuck Stupca
IBM i Expert
IBM (retired)
Agenda
FlashCopy Defined
How FlashCopy Works
FlashCopy Options
FlashCopy Space Efficiencies
Automation Opportunities
What is FlashCopy?
A function that occurs within a SAN storage device
Provides a point-in-time copy of the contents of disk volumes
Can be a full system or an IASP
Many options for the copy process available
Differences between V7000 and DS8000
FlashCopy Basics
A FlashCopy takes place within a single storage unityou cannot flash
from one storage device to another
FlashCopy is a physical copy of the disk unitthe storage unit has no
concept of objects
Logical saves (SAVOBJ, SAVLIB, etc.) can be taken from the FlashCopy units
There are many different options when you take a DS8000 FlashCopy
A system or IASP may be quiesced in order to reach a sync point
(usually a matter of seconds)highly recommended
Two basic forms of FlashCopy
FlashCopy with copy
FlashCopy no copy
Target Volumes
00000000
Bitmap
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
Source Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00001000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00001000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
Bitmap
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
Target Volumes
Source Volumes
Target Volumes
11111111
Bitmap
11000000
00000000
00000000
00000000
00001000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
FlashCopy no Copy
Only the contents of changed tracks on disk units in the FlashCopy
operation are copied from source volumes to target volumes.
Source Volumes
Target Volumes
FlashCopy no Copy
Force all changes from main storage to the source volumes and issue the
FlashCopy command. A bitmap with all zeroes is generated by the DS.
Source Volumes
00000000
Bitmap
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
FlashCopy no Copy
No background copy of source tracks to target tracks is performed.
Source Volumes
00000000
Bitmap
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
FlashCopy no Copy
When a track in the source volumes is being changed, the track is copied
to the source, and the corresponding bit is set to 1.
Source Volumes
00000000
Bitmap
00000000
00000000
00000000
00000000
00010000
00000000
00000000
00000000
00000000
00000000
00
Target Volumes
FlashCopy no Copy
Only the original contents of changed tracks are moved to the targets.
Source Volumes
00000000
Bitmap
00001000
00000000
00001000
00000000
00010000
00000000
00000000
00000000
00100000
00000000
00
Target Volumes
FlashCopy no Copy
Changes to the target system cause the copy bit to be set to 1. This will
prevent a change to the source from overwriting the target change with
original data.
Source Volumes
00000000
Bitmap
00001000
00000000
00001000
00000000
00010000
00000000
00000000
00000100
00100000
00000000
00
Target Volumes
FlashCopy no Copy
The relationship between the source and target remains in place until
all source tracks have been changed (highly unlikely).
Usually the flash copy relationship is explicitly removed when the user
has finished using the targets.
This form of FlashCopy is typically used to save objects on a partition
that is different from the production partition.
Since few of the tracks are likely to change during the save operation,
there may be contention for access to the source volumesusually the
interference is not noticeable.
FlashCopy V7000
Source and target volumes are specified using a mapping operation
Target volumes must be identical in size to the source volumes
Multiple volumes may be placed in a consistency group
Similar to a DS FlashCopy of multiple volumes
Provides a point-in-time copy for all volumes in the consistency group
Resync Flash
Changes to tracks in both sets of volumes are recorded in the bitmap
Remember that our original flash was a point-in-time flash of the
source volumes
Source Volumes
00100000
Bitmap
00001000
00000000
00001000
00000100
00010000
00000000
00010000
00000000
00100000
10000000
00
Target Volumes
Resync Flash
In order to restore the changed tracks in the target to the values in the original
FlashCopy, the changes will be backed out using the unchanged pages in
the source.
Source Volumes
00100000
Bitmap
00001000
00000000
00001000
00000100
00010000
00000000
00010000
00000000
00100000
10000000
00
Target Volumes
Resync Flash
Full copy of source volumes must be completed
When a resync flash is issued, a second bitmap of all zeroes
is created
Changes that occur while the resync flash is taking place are
recorded in the second bitmap
Changes to a track in a source volume will cause the original track
to be written to the target
Changes to a track in a target volume are more complicated
Condition 2 the track is scheduled for resync and has already been copied from the source
The track on the target is changed.
The corresponding bit in the change recording bitmap for the next resync is set to 1.
Condition 3 the track is scheduled for resync but has not yet been copied from the source
The track on the target is changed and the corresponding bit in the change recording bitmap
for the next resync is set to 1.
The track will not be copied from the source volume to the target volume.
In a DS8000, we can use targets that are smaller than the source
volumes (thin provisioning).
Target Volumes
Target Volumes
Target Volumes
FlashCopy Summary
Contained within a single storage unit
A fast way to establish a point-in-time image of volumes
(disk units) in IBM i
Copies are physical, not logical i.e., there is no way to restore
individual objects from a FlashCopy
Can make full system or IASP copies
Save operations can be performed on the target units
Space efficient FlashCopy reduces storage requirements
Resources
Redbooks
IBM Education
AS541 IBM PowerHA for IBM i, Clustering, and IASP Implementation (4 days)
OS830 System Storage DS6000 and DS8000 on I (3 days)
Automation Opportunities
Many of the Robot products can exploit this technology
Automation Opportunities
Automated Job Scheduling
Message Management
- Improve uptime
- Eliminate errors
- Avoid overtime
- Save time with automated documentation
- Event-based scheduling more effective
Performance Management
Disaster Recovery
Event-Driven Job Scheduling for IBM i and Windows, Unix, Linux and Interactive Tasks
Event-driven scheduling | Flexibility to react to changing events
Schedule Activity Monitor | Powerful scheduling dashboard
Replay | Automates interactive green-screen tasks
Cross Partition Dependencies | Add Robot/NETWORK
Cross Platform Dependencies | Add Robot/SCHEDULE Enterprise
Sophisticated calendars | Adapt to any schedule or fiscal year
Dynamic parameters | Support unattended job submission
Good Morning Report | Keeps you posted on nightly activity
Job blueprints | Generate graphical views of job flow
ROBOT/SCHEDULE
ROBOT/CONSOLE
Robot/SAVE
Disaster Recovery
Automated backup | Eliminate save errors
IFS groups | Easily manage IFS backups and restores
Data encryption | Secure mission critical data
Save media management | Error-free media handling
Data centre management | Multi-system/data centre support
Centralized scratch pool | Reuse media across multiple systems
Guided restoration | Improves Recovery Time Objective (RTO)
Object archive | Easy to restore prior versions of data/objects
Restricted State Utility | Safe, unattended system-level saves
Ad hoc operations | Management of media outside of DR
ROBOT/SAVE
Robot/SPACE
ROBOT/SPACE
Save disk space. Predict future space requirements. Avoid critical storage conditions.
Related Robot products: Robot/SCHEDULE Robot/ALERT Robot/NETWORK
Questions?
PRESENTATION RECAP:
FlashCopy Defined
FlashCopy Options
Resync flash
Running saves
www.helpsystems.com
Chuck Losinski
Director of Automation
Technology, Robot
Chuck Stupca
IBM i Expert
IBM (retired)