Snapvx
Snapvx
0 TimeFinder
SnapVX
CLI User Guide
10.0.0
July 2022
Rev. 01
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2022 Dell Inc. or its subsidiaries. All rights reserved. Dell Technologies, Dell, and other trademarks are trademarks of Dell Inc. or its
subsidiaries. Other trademarks may be trademarks of their respective owners.
Contents
Figures..........................................................................................................................................5
Tables........................................................................................................................................... 6
Preface.........................................................................................................................................................................................7
Revision history.................................................................................................................................................................... 9
Contents 3
SnapVX relink operations when adding source devices.....................................................................................36
Common uses for SnapVX snapshot configurations................................................................................................ 36
Create targetless SnapVX snapshots and restore production volumes.........................................................36
Refresh multiple test or development environments from a SnapVX linked target....................................37
Provision test or development environments with cascading SnapVX snapshots......................................38
4 Contents
Figures
1 Cascading snapshots.............................................................................................................................................. 33
2 Copying a modified point-in-time back to the source.................................................................................... 34
3 Storage group with two snapshots..................................................................................................................... 35
4 Source devices after a restore operation.......................................................................................................... 35
5 Target devices after a link operation.................................................................................................................. 35
6 SnapVX targetless snapshots............................................................................................................................... 38
7 SnapVX cascaded snapshots................................................................................................................................ 39
Figures 5
Tables
6 Tables
Preface
As part of an effort to improve its product lines, Dell Technologies periodically releases revisions of its software and hardware.
Functions that are described in this document may not be supported by all versions of the software or hardware. The product
release notes provide the most up-to-date information about product features.
Contact your Dell Technologies representative if a product does not function properly or does not function as described in this
document.
NOTE: This document was accurate at publication time. New versions of this document might be released on Dell
Technologies Online Support (https://www.dell.com/support/home). Check to ensure that you are using the latest version
of this document.
Purpose
This document is part of the Dell Solutions Enabler documentation set, and describes how to use TimeFinder SnapVX.
Audience
This document is intended for use by advanced command-line users and script programmers to manage various types of control
operations on arrays and devices using the SYMCLI commands of the Dell Solutions Enabler software.
Related documentation
The following documents provide additional Solutions Enabler information:
NOTE: A NOTE indicates important information that helps you make better use of your product.
Preface 7
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
Typographical conventions
Dell Technologies uses the following type style conventions in this document:
Product Dell Technologies technical support, documentation, release notes, software updates, or information
information about Dell Technologies products can be obtained at https://www.dell.com/support/home (registration
required) or https://www.dell.com/en-us/dt/documentation/vmax-all-flash-family.htm.
Technical Dell Technologies offers various support options.
support ● Support by Product: Dell Technologies offers consolidated, product-specific information through the
Dell Technologies Online Support site.
The Support by Product web pages: https://www.dell.com/support/home, select Product Support.
These pages offer quick links to Documentation, White Papers, Advisories (such as frequently used
Knowledgebase articles) and Downloads. They also offer dynamic content such as presentations,
discussion, relevant Customer Support Forum entries, and a link to Dell Technologies Live Chat.
● Dell Technologies Live Chat: Open a Chat or instant message session with a Dell Technologies Support
Engineer.
e-Licensing To activate your entitlements and obtain your license files, go to the Service Center on Dell
support Technologies Online Support (https://www.dell.com/support/home). Follow the directions on your
License Authorization Code (LAC) letter that is emailed to you.
● Expected functionality may be unavailable because it is not licensed. For help with missing or incorrect
entitlements after activation, contact your Dell Technologies Account Representative or Authorized
Reseller.
8 Preface
● For help with any errors applying license files through Solutions Enabler, contact the Dell Technologies
Customer Support Center.
● Contact the Dell Technologies worldwide Licensing team if you are missing the LAC letter or require
further instructions on activating your licenses through the Online Support site.
○ licensing@dell.com
○ North America, Latin America, APJK, Australia, New Zealand: SVC4EMC (800-782-4362) and
follow the voice prompts.
○ EMEA: +353 (0) 21 4879862 and follow the voice prompts.
SolVe Online and SolVe provides links to customer service documentation and procedures for common tasks. Go to
SolVe Desktop https://solve.dell.com/solve/home, or download the SolVe Desktop tool from https://www.dell.com/
support/home and search for SolVe Desktop. From SolVe Online or SolVe Desktop, load the PowerMax
and VMAX procedure generator.
NOTE: Authenticate (authorize) the SolVe Desktop tool. After it is installed, familiarize yourself with
the information under Help.
Your comments
Your suggestions help improve the accuracy, organization, and overall quality of the documentation. Send your comments and
feedback to: powermaxcontentfeedback@dell.com
Revision history
Provides a description of document changes.
Preface 9
1
Introduction to TimeFinder SnapVX
This chapter introduces Dell Solutions Enabler TimeFinder SnapVX and the symsnapvx command.
Topics:
• TimeFinder SnapVX overview
• SnapVX CLI overview
• SnapVX supported configurations
• SnapVX operating modes
• Secure snaps
• Consistent SnapVX snapshots
• Snapshot policy
• Expired snapshot rules
• Geometry Compatible Mode flag set issue with SnapVX controls
Snapshot policy
Solutions Enabler V9.2 with arrays running PowerMaxOS 5978.669.669 supports Snapshot policies to request a stream of
consistent snapshots to be automatically taken for applications based on user-defined schedules. The symsnapvx CLI reports
both the automated and the manual snapshots on a device. Snapshots can be distinguished by the snapshot type flag.
zDP snapshots
Solutions Enabler V9.1 or higher with arrays running PowerMaxOS 5978.444.444 or higher supports reporting all the snapshots
on a device, including Automated Snapset Creation with Data Protector for z Systems (zDP) snapshots. Snapsets created by
zDP are not visible to previous versions of Solutions Enabler. To overcome this, a manual snapshot is created in PowerMaxOS
when a pre-9.1 version of Solutions Enabler requests snapshot data for devices against which there are new type of zDP
snapsets. This snapset will be in a state that trips the interaction rules of concern ensuring that the older Solutions Enabler will
not perform dangerous operations on these devices.
When a device is the target of new zDP snapset the system returns one dummy link target record with the correct source and
target devices for the actual link. The link dummy record has the same copy/nocopy state as the actual Automated snapset
record. If a device is link –nocopy target then all NDM and SRDF control actions are blocked on that device. Manufactured
snapshots are reported with the snapshot name “_Automated_Snapshot”.
Snapshot policy
Solutions Enabler V9.2 with arrays running PowerMaxOS 5978.669.669 supports Snapshot policies to request a stream of
consistent snapshots to be automatically taken for applications based on user-defined schedules. The symsnapvx CLI reports
both the automated and the manual snapshots on a device. Snapshots can be distinguished by the snapshot type flag.
Secure snaps
For arrays running HYPERMAX OS Q2 2017 or higher, secure snapshots is an optional setting for SnapVX targetless snapshots
that prevent accidental or intentional deletion of snapshots. Terminating a secure snapshot while the retention period is in
effect is not allowed. When the retention time is reached the snapshot is automatically terminated only if there are no existing
When implementing secure snaps a user should determine how many snapshots on an array must be secure. The
user should consider using secure snaps only on certain critical volumes, or only on a subset of the snapshots,
to capture particular points-in-time that are critical to the business, Length of retention time should also be
considered as part of the secure snapshot implementation. As always, proper planning and system sizing is
crucial, no matter the types or number of snapshots that will exist in an environment.
Secure snapshots may only be terminated after they expire or by customer-authorized Dell EMC Support. Refer
to Knowledgebase articles 498316 and 499975 for additional information.
Snapshot policy
Snapshot policies enable users to request a stream of consistent snapshots be automatically taken on the local array for
applications based on a set of attributes and schedules. These multiple, frequent, consistent point-in-time copies of data or
snapshots protect your production data and allow you to recover from data corruption or other damage with minimal data loss.
NOTE: Snapshot policies are only supported on arrays running PowerMaxOS 5978.669.669 or higher.
Snapshot policies can be linked, relinked, restored, terminated similarly to manual snapshots by specifying the service level name
as snapshot name and snapsetID as absolute generation number to uniquely identify the snapshot and/or snapset. A snapset
refers to a set of consistent snapshots that are taken together. If for example, an SG contains 10 devices and a snapshot is
taken the result is a snapset with 10 consistent snapshots.
These automated snapshots are taken by the Services Daemon (storsrvcsd) based on the specified attributes and schedule.
For these details, refer to the Solutions Enabler Array Controls and Management CLI User Guide.
Rules
The following rules and restrictions apply to snapshot policies and their automated snapshots:
For Snapshot policies:
● Snapshot policies do not support taking crash consistent snapshots across multiple arrays. Only single array crash
consistency is supported.
● A maximum of 4 policies can be assigned to an SG.
● 20 Snapshot policies are supported per array.
● For cascaded SGs, snapshot policies can be assigned to both the parent and child SG. If the same snapshot policy is
assigned to both parent and child, the setting on the child is ignored. If a snapshot policy is assigned to the parent SG, it
applies across all its child SGs.
● Automated snapshots taken across these children are consistent. This means that a child SG can fall under as many as
8 policies: 4 from its parent and 4 from itself. If a snapshot policy is assigned to only the child SG, that policy applies to
only that child. If the same snapshot policy is assigned to two child SGs, but not their parent SG, snapshots are generated
independently for each of the child SGs.
● Snapshot policies can be suspended. Suspending a policy prevents new snapshots from being taken and prevents existing
snapshots from being terminated. Suspending snapshot policies can be performed either at the policy level (applying to all
SGs that it is associated with) or at individual SGs that the snapshot policy has been associated with (applying only to that
SG).
● Snapshot policies can be modified except for the following actions:
○ The secure snapshot attribute on a snapshot policy cannot be modified.
○ If a snapshot policy with the secure attribute is currently associated with SGs, its Interval and Maximum Count attributes
can be modified so long as their expected lifetime (TTL is the product of Interval times the Maximum count) does not
decrease.
● A snapshot policy can be deleted if it is not currently assigned to any SGs.
Syntax
symsnapvx establish [-secure <-delta <delta_time> | -absolute <date_time>> |
-ttl <-delta <delta_time> | -absolute <date_time>>]
[-both_sides]
[-preaction <ScriptFile>] [-postaction <ScriptFile>]
Options
-name <SnapshotName>
Snapshot name - case sensitive, maximum length of 32 alphanumeric character, dash (-) and underscore
(_) are legal characters.
-ttl
Sets the time to live (TTL) for a snapshot either as a number of days plus hours or hours from the
current host time, or to an absolute date and time in the future. When the TTL expires a snapshot is
identified as expired. Only snapshots without links or restore sessions can be terminated. If the snapshot
has links or restore sessions, it is terminated when the last link is unlinked or the restore session is
terminated. TTL is set using the following options:
NOTE: Refer to the examples in Set SnapVX snapshot time to live (TTL) for TTL formatting rules.
-secure
Creates a secure snapshot with a secure expiration time for a snapshot either as a number of days plus
hours, or hours from the current host time, or an absolute date and time in the future. Use extreme
caution with this option. When the secure expiration time expires a snapshot is identified as expired.
Examples
To establish a snapshot named 600am for the source devices specified in Storage Group1, enter:
To establish a snapshot named 600am and automatically terminate it in 2 days 23 hours, enter:
symsnapvx -sid 001 -sg StorageGroup1 -name 600am establish -ttl -delta 2:23
To establish a secure snapshot named 600am and automatically terminate it at noon on June 1 2017, enter:
symsnapvx -sid 001 -sg StorageGroup1 -name 600am establish -secure -absolute
06/01/2017:12
Snapshot generations
Each time a new snapshot with the same name is created (on the same source device), the new snapshot becomes generation
0, and all of the previous generation numbers are incremented. SnapVX supports up to 256 manual snapshots per source device.
A device can have total of 1024 snapshots including manual and automated policy snapshots, and legacy TimeFinder snapshots.
Syntax
symsnapvx -g <DgName> -snapshot_name <SnapshotName> rename -name <NewSnapshotName>
Examples
To rename a snapshot named 400am to 600am, enter:
Options
set ttl
Sets the TTL to the specified days, date or removes TTL, using the following options:
● -delta Days[:hours] — Sets TTL to 1 – 400 days plus 0 –23 hours from current host time.
Day Format is days:hours (for hours, only whole numbers are valid and 0 value is optional).
● -absolute Date[:hour] — Sets TTL to an absolute date in the future, up to a date 400 days
from current host date, plus 0 –23 hours. Date format is MM/DD/YYYY:hours (for hours, only whole
numbers are valid and 0 value is optional).
● -delta NONE - Removes TTL.
-snapshot name <SnapshotName>
Specifies the snapshot name.
Examples
To set the TTL for snapshot named 600am and automatically terminate it after 3 days 6 hours, enter:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 3:6
SetTimeToLive operation execution is in progress for the device range(s). Please wait...
To set the TTL for snapshot named 600am and automatically terminate it at noon on June 1 2017, enter:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -absolute 06/01/2017:12
TTL command fails if attempting to set a secure snapshot back in time from the current setting (noon on June 1 2017):
NOTE: Setting TTL back in time is allowed for regular snapshots.
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -absolute 06/01/2017:0
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 0:0
TTL command fails if both days and hours are not set:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta :5
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 5:
Syntax
To set or clear the persistent flag, use:
Options
persistent
Sets the persistent flag on a policy snapshot that will not be terminated by count based auto termination
when creating new policy snapshot on a device.
nopersistent
Clears the persistent flag.
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name 600am -gen 5 set persistent
To clear the persistent flag from generation 5 of the 600am snapshot on array 001, enter:
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name 600am -gen 5 set nopersistent
Options
set secure
Creates a secure snapshot with a secure expiration time for a snapshot either as a number of days
from the current day/time or an absolute date in the future. When the secure expiration time expires a
snapshot is identified as expired.
NOTE: Refer to the examples in Set SnapVX snapshot time to live (TTL) for formatting rules for
setting expiration time.
● -delta Days[:hours] — Sets secure expiration time to 1 – 400 days plus 0 –23 hours from
current host time. Day format is days:hh (for hours, only whole numbers are valid and 0 value is
optional).
● -absolute Date[:hour] — Sets secure expiration time up to a date 400 days from current host
date plus 0 –23 hours. Date format is MM/DD/YYYY:HH (for hours, only whole numbers are valid
and 0 value is optional).
-snapshot name <SnapshotName>
Specifies the snapshot name.
Examples
To set the secure expiration time for snapshot named 600am and automatically terminate it after 3 days 6 hours, enter:
symsnapvx set secure -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 3:6
To set the secure expiration time for snapshot named 600am and automatically terminate it at noon on June 1 2017, enter:
symsnapvx set secure -nop -dev 3b5 -snapshot_name 600am -sid 476 -absolute 06/01/2017:12
Syntax
To create a link from snapshot data, use the following syntax:
Options
-lnsg
Specifies a SG name for target devices.
-generation
Specifies the generation number on the source SG.
-snapid
Specifies the snapsetID on the source SG.
-copy
Specifies copy mode for link operation which performs a background copy to the target device. SnapVX
uses Copy mode to create full-volume copies of the data by copying it to the target device's SRP. If
Copy mode is not specified when linking the snapshot, the NoCopy link is the default.
-remote
Data is propagated to the remote mirror of the RDF device.
-exact
Pairs source and link devices by their ordinal positions in the selection. If not set, pairs source and link
devices by best match.
Examples
To create a Copy mode link to generation 5 of the 600am snapshot, enter:
It is possible to add volumes to an SG that has active snapshots. The new volumes are included the next time a snapshot is
taken. However, the volumes are not included in previously existing snapshots. Linking from a source device that does not have
the specified snapshot makes the corresponding target device not ready when the snapshot is from a different generation. This
is because there is no data on that target for that time, and the application should not be using that device. The user must
decide the best course of action to remove or reintroduce extra volumes. If the SG is relinked to a generation of the snapshot
that contains all volumes in the SG, the volumes are automatically made ready and included in the session.
SnapVX behavior when adding source devices provides additional details.
Restrictions
The following restrictions apply when linking to a target:
● When linking to devices do not use devices that are the target of another link copy or another TimeFinder session.
● Devices with persistent track allocations cannot be used as link targets, this includes restores.
● Any pre-existing data that was exclusive to the target is lost during a link or relink.
● The target device must be of equal or greater size than the source device.
NOTE: By default, SnapVX allows the target device to be larger than the source device. If necessary, this setting can
be disabled. The Dell EMC Solutions Enabler CLI Command Reference contains information on changing the Option file
parameters.
Examples
To set the link mode to NoCopy for generation 5 of the 600am snapshot, enter:
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name 600am -gen 5 set mode nocopy
Options
-symforce
Forces the operation to execute when normally it is rejected. If used when a link is copy in progress or
when a restore is restore in progress, causes an incomplete copy and data on the copy target is not
usable.
symsnapvx -sid 001 -sg StorageGroup1 -lnsg StorageGroup2 -snapshot_name 600am -gen 6
unlink
Options
-lnsg
Specifies a SG name for target devices.
-generation
Specifies the generation number on the source SG.
-snapid
Specifies the snapsetID on the source SG.
-copy
Specifies copy mode for relink operation which performs a background copy to the target device. If the
relink is in Copy mode, the copy is differential between the original linked snapshot and the newly linked
snapshot.
-remote
Data is propagated to the remote mirror of the RDF device. Not allowed on a NoCopy linked target.
-exact
Pairs source and link devices by their ordinal positions in the selection. If not set, pairs source and link
devices by best match.
Examples
To relink (in Copy mode) to generation 6 of the 600am snapshot, enter:
NOTE: A restore session must be terminated before terminating the original snapshot session.
Examples
To restore generation 5 of the 6:00 AM snapshot, enter:
If a source device is added to a storage group, the added device is missing snapshots that were created before the new device
was added. If a restore is requested for a snapshot that is missing for a newly added device, this new device is made Not Ready,
and the application should not be using this device. SnapVX behavior when adding source devices provides additional details.
Syntax
For terminate, use:
Options
-restored
Terminates restores.
-symforce
Forces the operation to execute when normally it is rejected.
-keep_count
Specifies the number of most recent snapshots to be kept when terminating snapshots. This option
must be used along with the -force option. This option can only be used for automated policy
snapshots only.
-older_than
Examples
To terminate generation 5 of the 600am snapshot, enter:
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name 600am -gen 5 terminate -restored
To terminate all automated and manual snapshots on the devices with the 600am snapshot name if they are not in use, enter:
symsnapvx terminate -sid 001 -snap 600am -sg StorageGroup1 -all -force
To keep 5 of the most recent automated snapshots and terminate older snapshots on the device/devices, enter:
symsnapvx terminate -sid 001 -snap 600am -sg StorageGroup1 –keep_count 5 -force
Description
Bulk terminate remove multiple snapshots from the system at once. Snapshots must have no linked devices or restore sessions.
NOTE: To bulk terminate snapshots on devices, the -force flag is required.
Syntax
For bulk terminate, use:
Options
-force
Attempts to force the operation even though one or more devices may not be in the normal, expected
state(s) for the specified operation. This is required for bulk terminating snapshots.
Examples
To bulk terminate all snapshots on StorageGroup1, enter:
NOTE: The offline option that specifies that the Symmetrix data connection is offline and the operation uses the host
in-memory database is not supported with symsnapvx list reports. You can get the report on demand from the array.
Syntax
To display snapshots information, use the following syntax:
-snapshot_name <SnapshotName>
[-generation <GenerationNumber>] | [-snapid [<snapsetID>]]
Options
-detail
Expanded display that provides all snapshot information.
-failed
Displays only failed snapshots or links.
-last_n
Displays only the specified generations for each device.
-linked
Displays the links associated with the selected devices. Requires -sid option when requesting all linked
targets in the array.
-restored
Examples
To display the snapshots for devices on array 476, enter:
To display the snapshot detail for device 3AA on array 476, enter:
To display the snapshot for device 28AA with a zDP snapshot on array 56, enter:
To display only the snapshots with the secured attribute on array 476, enter:
To display the links associated with the device 140 on array 86, enter:
To display only the snapset aggregate summary on SG1 on array 84, enter:
Sample output
To list all snapshots on array:
------------------------------------------------------------------------------
Sym Num Flags
Dev Snapshot Name Gens FLRG TSEB Last Snapshot Timestamp
----- -------------------------------- ---- --------- ------------------------
...
003AA Monday 4 S... ...X Mon Jul 13 14:42:45 2017
...
Flags:
(F)ailed : X = General Failure, . = No Failure
: S = SRP Failure, R = RDP Failure, I = Establish in progress
M = Mixed Failure
(L)ink : X = Link Exists, . = No Link Exists
(R)estore : X = Restore Active, . = No Restore Active
(G)CM : X = GCM, . = Non-GCM
(T)ype : Z = zDP snapshot, S = Policy snapshot, P = Persistent snapshot,
: C = Cloud snapshot, . = Manual snapshot
(S)ecured : X = Secured, . = Not Secured
(E)xpanded : X = Source Device Expanded, . = Source Device Not Expanded
(B)ackground: X = Background define in progress, . = No Background define
------------------------------------------------------------------------------
Sym Num Flags
Dev Snapshot Name Gens FLRG TSEB Last Snapshot Timestamp
----- -------------------------------- ---- --------- ------------------------
028AA _Automated_Snapshot 1 …. .... Fri Aug 31 07:55:19 2018
Flags:
(F)ailed : X = General Failure, . = No Failure
: S = SRP Failure, R = RDP Failure, I = Establish in progress
M = Mixed Failure
(L)ink : X = Link Exists, . = No Link Exists
(R)estore : X = Restore Active, . = No Restore Active
(G)CM : X = GCM, . = Non-GCM
(T)ype : Z = zDP snapshot, S = Policy snapshot, P = Persistent snapshot,
: C = Cloud snapshot, . = Manual snapshot
(S)ecured : X = Secured, . = Not Secured
(E)xpanded : X = Source Device Expanded, . = Source Device Not Expanded
(B)ackground: X = Background define in progress, . = No Background define
------------------------------------------------------------------------------
Sym Flags
Dev Snapshot Name Gen FLRG TSEB Snapshot Timestamp
----- -------------------------------- ---- --------- ------------------------
003AA Monday 0 .... ...X Mon Jul 13 14:42:45 2017
Monday 1 .... .... Mon Jul 13 14:42:00 2017
---------------------------------------------------------
Snapshot Total
Dev Size Deltas Non-Shared
(Tracks) (Tracks) (Tracks) Expiration Date
---------- ---------- ---------- ------------------------
240 0 0 NA
240 0 0 NA
---------- ----------
0 0
Flags:
------------------------------------------------------------------------------
Sym Num Flags
Dev Snapshot Name Gens FLRG TSEB Last Snapshot Timestamp
----- -------------------------------- ---- --------- ------------------------
001BF Monday 2 ..X. .X.. Wed Oct 10 13:45:08 2016
003AA Monday 1 .X.. .X.. Mon Sep 26 11:28:09 2016
Flags:
--------------------------------------------------------------------------------
Sym Link Flags
Dev Snapshot Name Gen Dev FCMDS Snapshot Timestamp
----- -------------------------------- ---- ----- ----- ------------------------
00140 Friday 0 00141 S.... Fri Jul 21 08:24:52 2017
00140 Friday 0 00142 S.... Fri Jul 21 08:24:52 2017
Flags:
All snapshots with their absolute generation number (snapset ID) on array:
Storage Group (SG) Name : finance_sg
SG's Array ID : 000197100084 (Microcode Version: 5978)
------------------------------------------------------------------------------------------------------------------------------------------------
Snapshot Total
Sym Flags Dev Size Deltas Non-Shared
Dev Snapshot Name Snapid FLRG TSEB Snapshot Timestamp (Tracks) (Tracks) (Tracks) Expiration Date
043B5 finance_fri 99912348000 .... .... Fri Feb 2 10:18:08 2018 16395 0 0
NA
finance_fri 99912347500 .... .... Fri Feb 2 10:17:27 2018 16395 0 0
NA
...
HR_Daily 99912346000 .... S... Fri Feb 2 09:00:00 2018 16395 0 0 NA
...
HR_weekly 99912345000 .... S... Wed Jan 31 14:30:37 2018 16395 0 0
NA
...
HR_weekly 99912340000 .... S... Wed Jan 01 14:30:37 2018 16395 0 0 NA
Flags:
(F)ailed : X = General Failure, . = No Failure
: S = SRP Failure, R = RDP Failure, I = Establish in progress
M = Mixed Failure
(L)ink : X = Link Exists, . = No Link Exists
(R)estore : X = Restore Active, . = No Restore Active
(G)CM : X = GCM, . = Non-GCM
(T)ype : Z = zDP snapshot, S = Policy snapshot, P = Persistent snapshot,
: C = Cloud snapshot, . = Manual snapshot
(S)ecured : X = Secured, . = Not Secured
(E)xpanded : X = Source Device Expanded, . = Source Device Not Expanded
(B)ackground: X = Background define in progress, . = No Background define
-----------------------------------------------------------------------------------------
-
Flags Number
Snapshot Name Snapid FLRG TSEBX Snapshot Timestamp
Devices
-------------------------------- ------------- ---------- ------------------------
-------
HR_Daily_10AM 99912346800 .... S.... Fri Feb 2 10:00:01 2018
10
99912345500 .... S.... Thu Feb 1 10:00:01 2018
9
…
99912344000 .... S.... Wed Jan 24 10:00:01 2018
5
...
Flags:
(F)ailed : X = General Failure, . = No Failure
: S = SRP Failure, R = RDP Failure, I = Establish in progress
M = Mixed Failure
Options
-by_tgt
Verifies by link target.
-copyinprog
Verifies that link(s) are in the CopyInProg state.
-copied
Verifies that link(s) are in the Copied state.
-defined
Use with verify -linked, -restored and -restinprog to wait until all tracks have been
defined.
-destaged
Verifies that all tracks are written to the link target.
-established
Verifies that snapshot is in Established state.
-estinprog
Verifies that snapshot is in EstInProg state.
-linked
Verifies that nocopy links are in Linked state.
-restored
Verifies that snapshots are in the Restored state.
-restinprog
Verifies that snapshots are in RestoreInProgress state.
--summary
Displays summary of snapshot
Example
To verify that generation 2 of snapshot is in restored state, enter:
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name snapshot -gen 2 verify -restored
Source
Snapshot A Target
Snapshot B
There are no architectural restrictions on the number of cascading hops, and multiple targets can be linked from any of the
snapshots.
If the linked target is in NoCopy mode, the cascading snapshot is considered a dependent snapshot. Target devices cannot be
unlinked without removing dependent snapshots (in the reverse order of their creation). However, the copy mode is changed to
Copy the target can be unlinked once link is fully copied.
A relink operation to a target with dependent snapshot is allowed, but if the relink is in NoCopy mode, the unlink is allowed only
if there are no new snapshots off of that target device.
For HYPERMAX OS, a linked target must be fully defined before you can create snapshots off of it. When a target is first linked,
all of the tracks are undefined. At this point the target does not know where in the SRP the track is located, and host access
to the target must be derived from the SnapVX metadata. A background process eventually defines the tracks and updates the
thin device to point directly to the track location in the source device's SRP. For PowerMaxOS, creating a snapshot off the link
target if the link is not defined, or when restore is in progress and not defined yet is allowed, however these snapshots can only
be used once they are fully defined.
Examples
To display the linked targets for devices listed in file snapvx_devices, enter:
Sample output
The output lists only those snapshots that have fully defined linked targets. The (D) flag indicates if all of the tracks for a linked
target are defined.
link
Source Snapshot A Target
Source
3 Tues 12pm
NR
Tues 12pm
NR NR
Tues 12pm
NOTE: The link command can only be used when there are no links to any of the targets. If linking in Copy mode, the result
is a full copy.
symsnapvx -sid 001 -sg StorageGroup1 -name snapshot establish -ttl -delta 2
symsnapvx -sid 001 list -sg StorageGroup1 -snapshot_name snapshot -detail -GB
NOTE: In this example, to create snapshots every 15 minutes, use a script or schedule to run the symsnapvx establish
command at 15 minute intervals.
Output:
Total
Sym Flgs Deltas Non-Shared
Dev Snapshot Name Gen FLRG TSEB Snapshot Timestamp (Tracks) (Tracks) Expiration Date
----- -------------- ---- --------- ------------------------- ----- ------ ------------------
00212 snapshot 0 .... .... Mon Jun 15 16:15:00 2015 142 11 Tue Jun 17 16:15:00 2015
snapshot 1 .... .... Mon Jun 15 16:00:00 2015 222 11 Tue Jun 17 16:00:00 2015
snapshot 2 .... .... Mon Jun 15 15:45:00 2015 272 0 Tue Jun 17 15:45:00 2015
------ -------
636 22
Flags:
NOTE: Data Protector for z Systems (zDP™) snapshots, created and managed through Mainframe Enabler products, are
reported in Solutions Enabler by the flag (T) when issuing the symsnapvx list command. Automated zDP snapshots
When the restore command completes, the volumes are read/write accessible to the host and the restored data is instantly
available to the host. Therefore, the production volumes can be remounted and used immediately, and copying of any remaining
tracks, from the snapshot delta to the source volume, is done as a background task. The snapshot data is always preserved and
can be used again for a future restore, if needed, so writing to the source volume while restore operation is still copying data
does not affect the snapshots.
Typically the restore command completes in a few seconds, but the time to complete is dependent on the number of devices
involved in the restore operation. Use the verify option to verify that all devices are restored.
To verify that the snapshot is restored, enter:
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name snapshot -gen 2 verify -restored
symsnapvx -sid 001 -sg StorageGroup1 -snapshot_name snapshot -gen 2 terminate -restored
SOURCE
SG Targetless
Targetless
Snapshot
Targetless
Snapshot
Targetless
Snapshot
Snapshot
Up to 256 Snapshots
symsnapvx -sid 001 -sg StorageGroup1 -lnsg QA_SG -snapshot_name targetless_snapshot -gen
3 link
symsnapvx -sid 001 -sg StorageGroup1 -lnsg QA_SG -snapshot_name targetless_snapshot -gen
3 relink
This process can be repeated for any of the other test environments.
k
Production
in
el
Link DEVSG2
/R
Snapshot TGT_SG1
nk
Copy or
Li
Nocopy Mode
DEVSG3
Snapshot
……
……
Copy or
Nocopy Mode DEVSG X
The cascading snapshot configuration, shown in the figure above, provides the following:
● Snapshots of production volumes can be linked to a target storage group which is part of a masking view for presenting to
an interim host. The interim host processes the host data to obfuscate sensitive data such as social security numbers.
● A snapshot from the target storage group is linked to multiple environments, which see the snapshot image without security
concerns.
● A relink operation can be performed at any stage on the target storage groups to roll back to a pristine snapshot image.
● At any point in the chain, linked snapshots can be converted to full independent copies if the first level linked copy needs to
be refreshed with a newer snapshot image.
● When the test or development environments need to be refreshed, a new snapshot from the source LUN can be taken and
relinked to the target storage group (TGT_SG).
Create original snapshot src_snap:
symsnapvx -sid 001 -sg SOURCESG1 -lnsg TGT_SG1 -snapshot_name src_snap link
symsnapvx -sid 001 -sg TGT_SG1 -lnsg DEVSG1 -snapshot_name obfuscated_snap link
symsnapvx -sid 001 -sg TGT_SG1 -lnsg DEVSG2 -snapshot_name obfuscated_snap link
symsnapvx -sid 001 -sg TGT_SG1 -lnsg DEVSG3 -snapshot_name obfuscated_snap link
Any of the snapshots can be refreshed at any stage. For example, the following command reverts DEVSG2in the development
environment back to it's original state when it was first linked:
symsnapvx -sid 001 -sg TGT_SG1 -lnsg DEVSG2 -snapshot_name obfuscated_snap relink
Establish In Progress
Restore In Progress
Link Copied
If the target is the source
of another snapshot, the link
must be fully copied.
Link Copied
Link Copied
Rename Established NA NA
Restore In Progress symsnapvx list -restored The Done(%) field is not at 100%
-detail
Terminate in Progress symsnapvx list The snapshot is still seen on the display.
Terminated symsnapvx list The snapshot is not seen on the display.
Failed symsnapvx list The flags field indicates:
(F)ailed:
● :X = General Failure
● . = No Failure
● :S = SRP Failure
● :R = RDP Failure
● :M = Mixed Failure
Link Copy In Progress symsnapvx list -link [-tgt] The flags field indicates:
-detail
(C)opy = I for CopyInProg
Link Copied symsnapvx list -link [-tgt] The flags field indicates:
-detail
(C)opy = C for Copied or D
for Copied/Destaged
The Done (%) field is at 100%
Using -tgt is optional.
Established
Flags:
Restore in Progress
Flgs:
Restored
Flgs:
Flgs:
Link Copied
Flgs:
Linked
Flgs:
R1 updinprog
Partitioned1
Partitioned2
TransmitIdle
Sync in prog
Syncronized
ActiveActive
R1 updated
Suspended
Failed over
Consistent
ActiveBias
Invalid
Split
SnapVX Control operation
Establish Y a,b Y Y b Y b Y b Y b N Y N N Y a,b Y Y Y
Restore Y Y c Y Y N Y N N N N Y a,c Y a,c N N
a,c,d
Terminate Y Y Y Y Y Y Y Y Y Y Y Y Y Y
a. Action is not allowed if there are local invalids on the R1 side or remote invalids on the R2 side.
b. Not allowed on both sides of operation.
c. The remote option (-remote) must be applied.
d. Not allowed if the devie is part of an SRDF/Metro configuration.
NOTE: The Partitioned1 pair state indicates that the remote array is in the SYMAPI database and was discovered. The
Partitioned2 pair state indicates the remote array is not in the SYMAPI database and was not discovered, or was removed
from this database.
R1 updinprog
Partitioned1
Partitioned2
TransmitIdle
Sync in prog
Syncronized
ActiveActive
R1 updated
Suspended
Failed over
Consistent
ActiveBias
Invalid
Split
SnapVX Control operation
Establish N Y a Y b,c Y c Y c Y c N Y c Y c N Y c N Y Y
Restore N N Y b Y b Y b Y b N N N N N N N N
Terminate Y Y Y Y Y Y Y Y Y Y Y Y Y Y
NOTE: The Partitioned1 pair state indicates that the remote array is in the SYMAPI database and was discovered. The
Partitioned2 pair state indicates the remote array is not in the SYMAPI database and was not discovered, or was removed
from this database.
Partitioned2
TransmitIdle
Sync in prog
Syncronized
ActiveActive
R1 updated
Suspended
Failed over
Consistent
ActiveBias
Invalid
Split
Unlink Y Y Y Y Y Y Y Y Y Y Y Y Y Y
a. Action is not allowed if there are local invalids on the R1 side or remote invalids on the R2 side.
b. The remote (-remote) option must be applied.
c. Not allowed if the device is part of an RDF/Metro configuration.
d. Only allowed if the array is running PowerMaxOS 5978.669.669.
R1 updinprog
Partitioned1
Partitioned2
TransmitIdle
Sync in prog
Syncronized
ActiveActive
R1 updated
Suspended
Failed over
Consistent
ActiveBias
Invalid
Split
SnapVX Control operation
Link/Relink Copy N N Y a Y a Y b,a Y a N N N N N N N N
Terminate Y Y Y Y Y Y Y Y Y Y Y Y Y Y
NOTE: The Partitioned1 pair state indicates that the remote array is in the SYMAPI database and was discovered. The
Partitioned2 pair state indicates the remote array is not in the SYMAPI database and was not discovered, or was removed
from this database.
No snapshot
Establish in progress
Restored
Failed
Established
Restore in prog
Terminate in prog
Create Y Y Y
Recreate Y Y Y
Activate Y Y Y
Full Establish Y Y Y
Incremental Establish Y Y Y
Set Mode Copy a Y Y Y
Set Mode Nocopy a Y Y Y
Set Mode Precopy a Y Y Y
Full Restore Y Y Y
Incremental Restore Y Y Y
Split Y Y Y
Terminate Y Y Y Y Y Y Y
Table 11. Allowed SnapVX Source (A) operations off Clone Source (A)
Snapvx Clone Source Pair States (A->B)
Source
Split
Copy on access
Copy in progress
Restored
Precopy
Copied
Restored
Failed
Created
Invalid
No session
Recreated
Copy on write
Restore in prog
Create in prog
Terminate in prog
Control
Operatio
n ( A-B):
Establish Y Y Y Y Y Y Y Y Y Y
Restore Y Y Y Y Y Y Y Y Y Y
Terminat Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
e
Rename Y Y Y Y Y Y Y Y Y Y Y Y
Set Y Y Y Y Y Y Y Y Y Y Y Y
secure/
TTL
Split
Copy on access
Copy in progress
Restored
Precopy
Restored
Created
Copied
Failed
Invalid
No session
Recreated
Copy on write
Restore in prog
Create in prog
Terminate in prog
Control
Operatio
n ( A-B):
Link/ Y Y Y Y Y Y Y Y Y Y Y Y
Relink
Unlink Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
Set Mode Y Y Y Y Y Y Y Y Y Y Y Y
Restored
Failed
No session
Established
Restore in prog
Terminate in prog
Create Y Y Y
Recreate Y Y Y
Activate Y Y Y
Full Establish Y Y Y
Incremental Establish Y Y Y
Incremental Restore Y Y Y
Terminate Y Y Y Y Y Y Y
Copied
Restored
Failed
Created
Invalid
No session
Recreated
Copy on write
Restore in prog
Establish Y Y Y Y Y
Restore Y Y Y Y Y
Terminate Y Y Y Y Y Y Y Y Y
Rename Y Y Y Y Y Y
Set secure/TTL Y Y Y Y Y Y
Link/Relink Y Y Y Y Y Y
Unlink Y Y Y Y Y Y Y Y Y
Set Mode Y Y Y Y Y Y
Establish in progress
Restored
Failed
Established
Restore in prog
Terminate in prog
(A -> B)
Full Establish Y Y Y
Incremental Establish Y Y Y
Split Y Y Y
Full Restore Y Y Y
Incremental Restore Y Y Y
Cancel Y Y Y Y Y Y Y
Split
Split no incremental
Restore in prog
Sync in prog
Split in prog
Control
Operati
on (A):
Establish Y Y
Restore Y Y
Terminat Y Y Y Y Y Y Y Y Y Y
e
Rename Y Y
Set Y Y
secure/
TTL
Link/ Y Y
Relink
Unlink Y Y Y Y Y Y Y Y Y Y
Set Y Y
Mode
Copied
Restored
Failed
Created
Invalid
No session
Recreated
Copy on write
Restore in prog
Create in prog
Terminate in prog
Operation
cancel Y
recover
(CancelinProg/
CancelFailed)
commit Y Y Y Y Y Y Y Y Y Y Y
Split
Copy on access
Copy in progress
Precopy
Copied
Restored
Failed
Created
Invalid
No session
Recreated
Copy on write
Restore in prog
Create in prog
Terminate in prog
Operation
recover
(CommitInProg/
CommitFailed)
Create (not Y
allowed)
recover
(CreateInProg/
CreateFailed)
recover Y Y Y Y Y Y Y Y Y Y Y
(MigrateFailed)
cutover Y
recover
(CutoverInProg/
CutoverFailed)
cancel Y
recover
(CancelInProg
/
CancelFailed)
commit Y Y Y Y
recover
(CommitInPro
g/
CommitFailed
)
create (not Y
allowed)
recover
(CreateInProg
/
CreateFailed)
recover Y Y Y Y
(MigrateFaile
d)
cutover Y
recover
(CutoverInPro
g/
CutoverFailed
)
Create/ Y Y Y
recreat
e
Activat Y Y Y
e
Establis Y Y Y
h
Termina Y Y Y
te
Restore
Split Y Y Y
Establish Y Y Y
Restore
Terminate Y Y Y
D
U
display snapshot status 27
unllink snapvx snapshot 22
E
V
establish SnapVX snapshot 16
verfity snapshot state 32
G
GCM flag behavior 15
L
link snapvx snapshot 21
M
modified SnapVX copies 34
O
ORS pair state rules 49
P
preface 7
provision test environments 38
R
refresh test environments 37
related documentation 7
relink snapvx snapshot 23
rename snapshot 17
restore snapvx snapshot 23
S
secure snapvx snapshot 12