Data Backup and Recovery
Data Backup and Recovery
I had a feeling ntap_disable_snapshot would be useful at some point.I will also try and test my theory about overriding snap_time, if that works I just thought of a really neat way to do cloning for all older snaps not just _recent. Keeping fingers crossed for you.KeithThumb typed email
On Mar 17, 2010, at 11:28 PM, "Loughmiller, Greg" <greg.loughmiller@netapp.comgreg.loughmiller@netapp.com> wrote:Hey Keith
This may work...doing some initial testing – and it is using the “_recent” snapshot for all of my tests so far...The next step is to create a different config so I can clone at the DR site;)
I think for the most part, I can accomplish what is needed with what u mention... Just need to streamline this; and test a couple of different configurations
Greg Loughmiller
Professional Services Consultant, NCIE-SAN
PS-North Amer. - East
NetApp
678.982.6099 Mobile Phone
http://www.netapp.com/www.netapp.com
From: "Tenzer, Keith" <Keith.Tenzer@netapp.comKeith.Tenzer@netapp.comKeith.Tenzer@netapp.com>
Date: Wed, 17 Mar 2010 06:52:13 -0700
To: "Loughmiller, Greg" <greg.loughmiller@netapp.comgreg.loughmiller@netapp.comgreg.loughmiller@netapp.com>, c-dl-snapcreator <dl-snapcreator@netapp.comdl-snapcreator@netapp.comdl-snapcreator@netapp.com>
Subject: RE: Create a flexclone without creating a snapshot
Hi Greg,
No not by intention but maybe could* be possible (explained below). SnapCreator can only create a clone from a new snapshot not an existing snapshot. We can add this to 3.3. There is a feature list thread for 3.3 in the community, if you want this to be added please explain how you think it should work. We could do what we do with restore, provide a menu to choose volumes and snapshots to clone and then clone them or we could do something else. GUI would have to come later as it always lags cli.
SnapCreatorSnapCreatorhttp://communities.netapp.com/community/products_and_solutions/databases_and_enterprise_apps/snapcreator
What you could do now if you are using _recent snapshots in theory is set:
NTAP_SNAPSHOT_DISABLE=Y
Then setup your clone options and select clone_vol, this should just create clone of recent snapshot. For other snapshots you would have to override the SNAP_TIME in the config file:
SNAP_TIME=03172010173000
This would require listing snapshots "--action snaplist" and taking timestamp and adding it in config as SNAP_TIME
I have never tested this so these are just ideas, let me know if it works but like I said if we want this functionality we should figure out how to implement it
Keith
From: Loughmiller, Greg
Sent: Wednesday, March 17, 2010 1:34 PM
To: c-dl-snapcreator
Subject: Create a flexclone without creating a snapshot
Is there a method to tell SC to create a flexclone without taking a snapshot? If I have the <snapshot name>_recent available-can SC just create a flexclone based on an existing snapshot?
Greg Loughmiller
Professional Services Consultant, NCIE-SAN
PS-North Amer. - East
NetApp
678.982.6099 Mobile Phone
http://www.netapp.com/www.netapp.com
Can you use snapcreator to create a clone from secondary if you use snapvault and not snapmirror?
You can but only with volume snapmirror not with snapvault
You need to setup volume snapmirror and set these options
NTAP_CLONE_SECONDARY=Y
NTAP_CLONE_SECONDARY_VOLUMES=filer1:secondaryFiler1/vol1;filer2:secondaryFiler2/vol2
secondary volumes param maps the primary filer to secondary filer/secondary volume so SC knows what volume is on the other side
Regards,
Keith
So can a snapvault snapshot on secondary storage be mounted up to a server and used in a read/write mode? The reason I am asking is for Disaster Recovery purposes. So if the primary storage is down we want to be able to mount up a snapshot to the server and get the system at DR backup and working with the latest data.
So is a SnapVault secondary unclonable? Even today?
I'm treating it as 'primary' storage, but the LUNs in the flexclones it creates are read-only. Not sure how to fix this...it doesn't happen when done manually via CLI.
Also, still having trouble with snapshot naming: the - vs _ bug for _recent naming seems to still be there in 3.6.
Thank you,
-Simon
The best you can do is create two configs
config A to do snapvault
config B to clone snapvault volume
Also you will need SC 3.6 and when you clone you can or should be able to pass in the --snapName to clone an existing snapshots. I havent tried this and SV snapshots have a different format but it should work.
Keith