Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
NGS New Hire Technical Training Section 5: NetApp Protection Software Administration
Module Objectives
By the end of this module, you should be able to:
Describe SnapVault components and benefits Configure and administer SnapVault Perform advanced SnapVault operations
Module Overview
Back up multiple storage systems to a central secondary system Minimize media consumption and system overhead through incremental backup Allow users to browse backed-up files online to perform restoration upon request
Data Center
Central Repository
FAS1
SnapVault
FAS2
SnapVault
FAS3
SnapVault
Secondary Storage System
Theory of Operation
The qtree is the basic unit of SnapVault backup and restore You can back up a primary qtree, non-qtree data, and volume data to a qtree on the secondary system If necessary, data is restored from the secondary qtrees back to their associated primary qtrees
FAS1 vol1 qtree_a qtree_b
VOL1
FAS2
/vol/vol2/-
SnapVault
FAS3
qtree_vol3
Disaster recovery
Cascading
Up to per minute async Per day or per hour updates or sync updates
SnapVault Deployment
Prerequisites
A separate license for the primary, sv_ontap_pri, and for the secondary, sv_ontap_sec, is required
In Data ONTAP 7.3, you can install both licenses on the same storage system
You can increase the number of concurrent transfers by installing the nearstore_option license TCP port 10566 must be open on both sides Optionally, for management tools using NDMP (example: Protection Manager) open the NDMP port: 10000
2009 NetApp. All rights reserved. 8
Configuration Process
1. 2. 3. 4. Install the SnapVault license Set SnapVault access Perform the initial baseline transfer Schedule Snapshot copy creation on the primary system 5. Schedule Snapshot copy creation and incremental updates on the secondary system
10
Monitoring Transfer
Use the snapvault status command to monitor transfer progress, check relationship status, and control the lag
NY1> snapvault status Snapvault secondary is ON. Source Destination State Lag Status Dallas:/vol/vol1/q1 NY1:/vol/vol1/q1 Snapvaulted 00:09:53 Quiescing Dallas:/vol/vol1/q2 NY1:/vol/vol1/q2 Snapvaulted 00:15:20 (Transferring 12288 MB done)
11
12
Log Files
SnapVault logs are stored on the root volume, in the /etc/log/snapmirror file
E.g. on the primary
src Wed Jan 22 08:55:52 PDT Dallas:/vol/vol1/q1 NY1:/vol/vol1/q1 Request (192.168.30.6) slk Wed Jan 22 08:55:53 PDT state.qtree_softlock.vol1.000000ca.013.q1.srcqt.NY1:/vol/vol1/q1.00000000.-01.1 Softlock_add (Transfer) src Wed Jan 22 08:55:53 PDT Dallas:/vol/vol1/q1 NY1:/vol/vol1/q1 Start src Wed Jan 22 08:57:31 PDT Dallas:/vol/vol1/q1 NY1:/vol/vol1/q1 End (36900 KB)
13
Advanced Features
15
Qtree Restore
To restore a backed-up qtree, use the snapvault restore command
Starting with the Data ONTAP 7.3 release, you can restore the data to an existing qtree on the primary system using:
Baseline restore Incremental restore
Restores data in a nondisruptive way for datasets containing LUNs
16
Baseline Restore
Baseline restore can be to an existing qtree or to a non-existing qtree
For an existing qtree, the restore operation overwrites the qtree data
primary> snapvault restore S sec:/vol/volname/sec_qtree /vol/volname/pri_qtree Restore will overwrite existing data in /vol/volname/pri_tree. Are you sure you want to continue (yes/no)? Yes Transfer started. Monitor progress with 'snapvault status' or the snapmirror log.
17
Incremental Restore
Transfers only incremental changes from the secondary qtree to the specified primary qtree
Primary> snapvault restore -r S sec:/vol/volname/sec_qtree /vol/volname/pri_qtree Restore will overwrite existing data in /vol/volname/pri_qtree Are you sure you want to continue (yes/no) ? Yes Transfer started. Monitor progress with 'snapvault status' or the snapmirror log.
If the incremental restore fails due to lack of common Snapshot copies, attempt an in-place baseline restore
2009 NetApp. All rights reserved. 18
Nondisruptive Restore
SCSI connectivity to the LUNs is maintained throughout the baseline and incremental restores
The LUNs attributes in the primary qtree are reserved in a temporary staging area
Primary> lun show staging /vol/san_vol1/Staging_19e45590-8948-11dcbb15-00a09802437a_199999999999999999/LUN1 100m (104857600) (r/w, online, mapped)
When the restore completed, the LUNs attributes are applied to the restored LUNs
19
Resuming SnapVault
To resume backup operations after a snapvault restore, resynchronize the relationship with the snapvault start r command
To cancel any further backups of the restored qtree, release the relationship
The Snapshot copy created on the primary for the restore is not deleted automatically
Do not delete this Snapshot copy, as it is needed to resume SnapVault update transfers
20
21
Overview
SnapVault and SnapMirror bundle provide a consolidated data protection and DR solution
Fast and space-efficient disk-based backup Recover from system disaster by making any online backup copy writable Rapid disaster recovery from hourly, nightly, or weekly backup Offsite disaster recovery by replicating backups to remote sites
23
SnapVault
Failback
Failover: primary system fails, and clients fail over to SnapVault incremental (SnapMirror)
24
SV Primary
Windows SV Primary SnapVault SnapVault
Volume SnapMirror
25
Considerations
Ongoing VSM update transfer will abort if a SnapVault update is triggered before the VSM transfer has completed Transfers fail when the storage system reaches the maximum simultaneous transfers supported In both cases, ensure that SnapMirror and SnapVault schedules do not overlap and do not stretch
26
27
28
Module Summary
30
Module Summary
In this module, you should have learned:
How to implement and administer SnapVault How SnapVault in-place and incremental restores work How SnapVault backs up LUN clone How to deploy SnapVault and SnapMirror for disaster recovery
31
Exercise
Section 5: NetApp Protection Software Administration Module 22: SnapVault Estimated Time: 45 minutes
Which snapvault command and option would you use to perform an incremental restore?
33
Answers
Section 5: NetApp Protection Software Administration Module 22: SnapVault
In Data ONTAP 7.3, you can install both the sv_ontap_pri and the sv_ontap_sec licenses on the same storage system (true or false?)
True
Which snapvault command and option would you use to perform an incremental restore?
Primary> snapvault restore -r -S sec:/vol/volname/sec_qtree /vol/volname/pri_qtree
2009 NetApp. All rights reserved. 35