ONTAP Discussions

What is snap vault?what is the difference between Snap mirror and snap vault?

prabuvediappa
47,960 Views

What is snap vault?what is the difference between Snap mirror and snap vault?

8 REPLIES 8

yong_fuk86
47,960 Views

From my knowledge. snapvault is actually a snapshot but not in the box or controller, but outside the box. so you need 2 n series to do snapvault. the diffrence between snapvault and snapmirror is almost the same both using snapshot technology, but snapmirror is replication from primary controller and secondary controller and snap mirror use the snap update to compare the snapshot between secondary and the primaryif there are any changes at the block then snapmirror will update the snapshot at the secondary site. and snapvault is actually the same with snapshot but the location where the snapshot was taken is at the secondary controller.

i hope it answer your question, sorry for my messy english, and just CMIIW

damaru
47,960 Views

short answer:

snapmirror is a DR application whereas snapvault is a backup application.

long answer:

When you setup snapmirror schedule, snapmirror creates a (incremental) snapshot on the primary as part of the update and mirrors it to the secondary. This incremental snapshot becomes the base snapshot for the next update. The data being updated is always the delta between the base and the incremental. This way, snapmirror ends up replicating only the data that is changed beteween base and incremental snapshots. At the end of every update, the old base snapshot is removed on both primary and secondary and new incremental snapshot is marked as the base of next update. So, alwayes a snapmirror relationship retains one snapshot as the base of next update.

SnapVault uses the same engine as qtree snapmirror to replicate snapshot data. But there are some key differences.

- You need an independent snapshot schedule on the  primary. snapshots are not takes as part of snapvailt update.

- snapvault snapshot schedules are per volume unlke snapmirror schedules which were per relationship

When the snpavault schedule on the secondary kicks in, it initiates an update to *every* qtree on the secondary volume. The primary of all those qtrees can come from different volumes/storage controllers etc. Once all qtrees are updated, snapvault will create one archive snapshot for the volume and keeps this snapshot till the retention count specifed in the schedule is reached. Hence snapvault will keep retention count number of snapshots in the volume - unlike snapmirror which keeps only one. This way, with snapvault, you can theoretically  have more than 256 number of relationships per volume.

hth,

Damaru

BALAJI_VENKATRAMAN
47,960 Views

In Simple words

Snapmirror ==> Replication technology used for setting up a DR solution for a source volume/filer.Also it is the best tool for performing Data Migrations from one Netapp filer to another.

Snapvault ==> Backup Technology used for taking backup of source and has "retention period " attached to it..which means you can maintain multiple snapshots on the source.

Balaji

AaronLim
33,663 Views
can we used the destination snap mirror copy as the baseline for the SnapVault? thus, save space required on the destination array?

aborzenkov
33,618 Views
If the question is whether you can use the same volume both as snapmirror and snap vault destination at the same time - no, you can not. You can use different qtrees on the same volume for QSM and SV, but this won't achieve space savings you mean.

TechopsVendor
15,529 Views

setting up my first cdot snapvault  trying to add rules to my snapmirror policy for snapvault  but dont understand this

says i need at least 1 rule without a schedule but wont let me create one ?

 

nlc1-sys-ash1-cloudsys::> snapmirror policy add-rule -vserver t500_0_fls2 -policy RDB-daily -snapmirror-label ora_daily -keep 14 -prefix sv -schedule nightly-2:30AM

Error: command failed: Policy "RDB-daily" must have at least one rule without a "schedule".

nlc1-sys-ash1-cloudsys::> snapmirror policy add-rule -vserver t500_0_fls2 -policy RDB-daily -snapmirror-label ora_daily -keep 14 -prefix sv

Error: command failed: Field "-schedule" must be specified.

nlc1-sys-ash1-cloudsys::>

TechopsVendor
15,528 Views

setting up my first cdot snapvault  trying to add rules to my snapmirror policy for snapvault  but dont understand this

says i need at least 1 rule without a schedule but wont let me create one ?

 

nlc1-sys-ash1-cloudsys::> snapmirror policy add-rule -vserver t500_0_fls2 -policy RDB-daily -snapmirror-label ora_daily -keep 14 -prefix sv -schedule nightly-2:30AM

Error: command failed: Policy "RDB-daily" must have at least one rule without a "schedule".

nlc1-sys-ash1-cloudsys::> snapmirror policy add-rule -vserver t500_0_fls2 -policy RDB-daily -snapmirror-label ora_daily -keep 14 -prefix sv

Error: command failed: Field "-schedule" must be specified.

 

 

lc1-sys-ash1-cloudsys::> snapmirror policy show -vserver t500_0_fls2 -policy RDB-daily -instance

Vserver: t500_0_fls2
SnapMirror Policy Name: RDB-daily
SnapMirror Policy Type: vault
Policy Owner: vserver-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Network Compression Enabled: true
Create Snapshot: false
Comment: -
Total Number of Rules: 0
Total Keep: 0
Rules:
SnapMirror Label Keep Preserve Warn Schedule Prefix
----------------------------- ---- -------- ---- -------- ----------
- - - - - -


nlc1-sys-ash1-cloudsys::>

nlc1-sys-ash1-cloudsys::>

Public