I am trying to reproduce TimeFinder/Clone functionality on VMAX3. I would prefer not to use "emulation" and achieve the same thing using symsnapvx. One requirement is that clone target is a fully copy and not just a snapshot. Here are the steps that i am attempting:
1) create target TDEVs same size as source TDEVs, add them to a storage group.
So these steps appear to achieve what i typically do with symclone, except for one thing. When i look at snapshots i see two snapshots with the same name. I don't want multiple snapshots, i just need the one that i just established. I can't terminate gen 1 snapshots because that will break "incremental" nature of this approach ? Am i understanding correct ? If that's the case what are my options, setting TTL on each snapshot and let it auto expire after 25 hours or so ?
symsnapvx -sid 123 -sg sg_oracle list -detail
Storage Group (SG) Name : sg_oracle
SG's Symmetrix ID : 0000000123 (Microcode Version: 5977)
I don't think the copy feature of SYMSNAPVX is there to support the legacy CLONE COPY feature. I would be interested to know if there is a technology reason to use COPY (outside cascade operations) with snapvx in your environment.
As I understand it, when using cascade SYMSNAPVX, you have a dependency on terminating the the cascading snaps in reverse order typically (can't terminate the original source>tgt if there are cascades). If the original source>tgt snapvx is set to copy (and all tracks copied), this relationship may be terminated, even if the TGT is a source for a cascaded snapvx.
Edit: relink -copy should provide the function you are after. I see that there are 2 instances of snapshot name "snap" in your output. Let me look at this in more detail....
The relink command is the recreate from my experience since it will incrementally re-sync from the source to the linked target. You would likely create a new snapshot form the prod volume for the updated PiT image and then issue a relink from that snapshot to your existing linked target and it will be an incremental refresh, so your #4/#5 above is the way that I am aware of.There is no recreate that I am aware of with snapvx.....I think your procedure above is correct and the intended process.
reason i am doing -copy is because target devices needs to be an R1, according to timefinder docs it requires -copy.
As you can see in step 5 i am using relink -copy but how do i "refresh" my snapshot so that it's an incremental copy. I don't see a recreate command for the snapshotvx, i only see establish. When i run establish with the same name as my previous snapshot ..it creates a new one.
I have done both, but tend to do with the manual deletion or script it as cleanup upon creation of a new one just because of preference/control versus anything else really.
even if i did not create a new snapshot, output from "symsnapvx -sid 123 -sg sg_oracle list -linked -detail -gb" shows that it's performing a full copy. Same snapshot, nothing changing, i am simply re-running the same relink command. Any thoughts ?
symsnapvx -sid 89 list -dev cd8:cd9 -summary -gb << This shows zero value in GB to copy field
Repeat last two commands numerous times and consistently get zero value in GB to copy. My test appears to be working as designed. What code levels are you running?
PedalHarder
4 Apprentice
•
465 Posts
1929
0
Posted February 14th, 2016 21:00
I don't think the copy feature of SYMSNAPVX is there to support the legacy CLONE COPY feature. I would be interested to know if there is a technology reason to use COPY (outside cascade operations) with snapvx in your environment.
As I understand it, when using cascade SYMSNAPVX, you have a dependency on terminating the the cascading snaps in reverse order typically (can't terminate the original source>tgt if there are cascades). If the original source>tgt snapvx is set to copy (and all tracks copied), this relationship may be terminated, even if the TGT is a source for a cascaded snapvx.