[email protected] Volume Shadow Copy Service (VSS) Backup Application ISV Apps Exchange IIS Hyper-V Files Components Settings Files Components Settings VSS Providers Files Components Settings Files Components Settings State Restore Writer Writer Metadata Windows (volsnap.sys) SAN Vendors.
Download
Report
Transcript [email protected] Volume Shadow Copy Service (VSS) Backup Application ISV Apps Exchange IIS Hyper-V Files Components Settings Files Components Settings VSS Providers Files Components Settings Files Components Settings State Restore Writer Writer Metadata Windows (volsnap.sys) SAN Vendors.
[email protected]
Volume Shadow
Copy Service (VSS)
Backup Application
ISV Apps
Exchange
IIS
Hyper-V
Files
Components
Settings
Files
Components
Settings
VSS
Providers
Files
Components
Settings
Files
Components
Settings
State Restore
Writer
Writer Metadata
Windows (volsnap.sys)
SAN Vendors
VM
VSS-aware
App
BackupApp
Parent
VSS
time
Parent
Requestor
(Backup
VSS
Hyper-V VSS Writer
Hyper-V VSS IC (guest
requestor)
App)
DoSnapshotSet
VM
VSS
Application (SQL,
Exchange)
PrepareForSnapshot
Quiesce the
app
DoSnapshotSet
PrepareForSnapshot
Take
snapshot
Take snapshot
time
Parent
Requestor
(Backup
VSS
Hyper-V VSS Writer
VM
Hyper-V VSS IC (guest
requestor)
App)
VSS
Application (SQL,
Exchange)
Take
snapshot
Take snapshot
Δt
Parent
Parent Volume
Vhd
The VM is currently
running against this
VHD
snapshot
Vhd
Vhd
Mounted as a volume
on the host
Hyper-V VSS Writer
PreRestore:
Check if VM exists and turnoff and delete VM
Backup Application
Restores the files and fixes the ACLs
Hyper-V VSS Writer
PostRestore:
Check if all files were restored
Register the virtual machine
Check for restores to alternate locations and
update config
Fix Network configuration
VM 2
VM 1
Move VM
VM 2
CSV Filter
CSV Filter
NTFS
NTFS
Storage
Storage
NTFS
Storage
Direct I/O
VHD
VHD
VM 1
VM 2
VM 3
Backup App
Re-directed I/O
CSV Filter
NTFS
Storage
CSV Filter
NTFS
NTFS
Storage
Storage
Direct I/O
ClusterPrepareSharedVolumeForBackup
All I/O to this CSV volume is
re-directed over SMB until backup is
completeVHD
(System) or
VHD complete
VHDsnapshot
(H/W)
VHD
VHD
VHD
Backup/Snapshot Timeline using
System Provider (VolSnap)
BackupComplete Event
ClusterPrepareSharedVolumeForBackup()
Backup Timeline...
Volume can be
moved, Direct I/O
can be enabled
Volume mounted locally
Direct I/O suspended
CSV Volume Must Be Local and Direct I/O
Disabled During Entire Backup Procedure
Backup/Snapshot Timeline using
Hardware Provider
ClusterPrepareSharedVolumeForBackup()
PostSnapshot Event
Backup Timeline...
Volume can be moved
Direct I/O enabled
Volume mounted locally
Direct I/O suspended
VSS Freeze
VSS Thaw
CSV Volume Must Be Local and
Direct I/O Disabled During
Snapshot
Production Server
Backup Server
Storage Arrays
DBs
1TB
Logs
200 GB
DBs
1TB
Logs
200 GB
V:
Snapshot
creation
LUN 1
V’:
R:
LUN 1’
LUN 2
V:
V’:
LUN 2
LUN 1’
Resync
V’:
LUN 1’
Storage Array
DBs
1TB
Production Server
Logs
200 GB
DBs
1TB
Logs
200 GB
set context persistent
set metadata c:\diskshadowdata\demo.cab
set verbose on
begin backup
add volume c: alias SystemVolumeShadow
create
expose %SystemVolumeShadow% x:
#Custom script to copy the data from shadow volume
exec c:\diskshadowdata\backupscript.cmd
end backup
set context persistent
load metadata c:\diskshadowdata\demo.cab
set verbose on
begin restore
#Custom script to copy data from backup
exec c:\diskshadowdata\restoreScript.cmd
end restore
Vendor/Partner
Product version
Value add features
(in addition to support of Hyper-V and CSV)
DPM
DPM 2010
Checksum based incrementals
Item level recovery
Auto protection of new VMs
Symantec
Symantec BackupExec
2010
Application granular recovery
Auto protection of new VMs
Auto exclude powered off VMs from backup
NetApp
NetApp Snap Manager for
Hyper-V (SMHV)
Integrates with NetApp SnapMirror to get cross site DR
Computer
Associates
CA ARCServe
Auto protection of new VMs
Item level recovery
Incremental backups
Dedupe of VM backup sessions
KB
Description
KB975921
VSS needs to clean up on-disk shadow copy metadata flags after failed commit during shadow copy creation
KB975803
shadow copies deleted after consecutive revert operations on multiple system software shadow copies
KB976099
shadow copy creation fails after ResyncLuns
KB975354
Parallel VM backups fail on CSV volumes if CSV ownership is taken over by another node right after shadow copy
operation is complete
KB975688
VSS Hardware shadow copy corruption – VSS doesn’t throw an error if provider takes longer than 10 seconds for
shadow copy creation
VIR01-INT - Disaster Recovery and Virtualization Protection with Microsoft
System Center Data Protection Manager (DPM) 2010
VIR312 - Realizing a Dynamic Datacenter Environment with Windows Server 2008
R2 Hyper-V and Partner Solutions
Microsoft.com/Virtualization/Events
Facebook.com/Microsoft.Virtualization
Twitter.com/MS_Virt
Microsoft.com/Virtualization/Events
www.microsoft.com/teched
www.microsoft.com/learning
http://microsoft.com/technet
http://microsoft.com/msdn
Sign up for Tech·Ed 2011 and save $500
starting June 8 – June 31st
http://northamerica.msteched.com/registration
You can also register at the
North America 2011 kiosk located at registration
Join us in Atlanta next year