Escolar Documentos
Profissional Documentos
Cultura Documentos
Agenda
Introduction RPO and RTO a quick explanation Where various VMware technologies fit Remind me, why are we backing up again? Backup Methods in a VMware Environment Quick recap of VMware Consolidated Backup (VCB) framework vStorage APIs for Data Protection (vSphere 4 )
vADP & VCB side by side comparison vADP ready partner solutions
VMware Data Recovery Appliance Overview VMware Data Recovery Install, Config and FAQs (for reference later)
Introduction
RPO and RTO a quick explanation Where various VMware technologies fit Remind me, why are we backing up again?
Disaster Strikes
Wks Days Hrs Mins Secs Secs Mins Hrs Days Wks
Recovery Point
Recovery Time
Disaster Strikes
Wks Days Hrs Mins Secs Secs Mins Hrs Days Wks
Recovery Point
Tape Backup
Recovery Time
Disaster Strikes
Wks Days Hrs Mins Secs Secs Mins Hrs Days Wks
Recovery Point
Recovery Time
Automated Migration Manual Migration Tape Restore
Introduction
RPO and RTO a quick explanation Where various VMware technologies fit Remind me, why are we backing up again?
Planned Outage
Maintenance Tasks Hardware MM, vMotion & DRS Storage vMotion Update Manager
Unplanned Outage
Equipment Level
vCenter Server vCenter Heartbeat Host Level HA, HA, FT VM, O/S hang HA
Software Recovery Tasks vCenter Server vCenter Heartbeat VCB vADP vCenter DR Backup Tape / Image
Array Replication
VM snapshot technology to shrink effective backup window Offload backup from the LAN to optimized SAN => faster and more efficient File system-level consistent backup via Sync Driver or MS VSS
10
Introduction
RPO and RTO a quick explanation Where various VMware technologies fit Remind me, why are we backing up again?
11
Will the application be ready to run once restored or do you need to check
consistency/replay transaction logs first? How long?
Backup to/restore from disk vs tape maybe required Restore over SAN vs over LAN vs over WAN
Remote offices may use a Virtual Storage Appliance locally, which can dedupe
then replicate back to H/O more efficiently across the WAN to meet requirements of both offsite backup AND RTO
And so on
What about the ESX host config? COS based agent installsupported but less than ideal COS goes in 2011ESXi is like an appliance, just reload, restore config & go Other VMware features such as Host Profiles for config remediation &
consistency
12
13
Early partner integration was varied but has improved significantly in experience, features and the number of participating partners:
IBM Tivoli Storage Manager CA BrightStor ARCserve EMC NetWorker & Avamar Symantec NetBackup & Backup Exec HP Data Protector CommVault Galaxy VizionCore vRanger Pro
VCB (since v1.1) can now reside on the same host as Virtual Center
15
16
17
Still cant see a way out? Speak with your VMware Partner or VMware Rep for a Professional Services
engagement to help square this away
18
19
Efficient backups Easy restores Goal is to make virtual backup better than physical
Applications (like VMware Data Recovery & Storage VMotion) can access this
information and find out know which blocks have changed and which have not been touched
vADP APIs may now access this last changed time data and determine if the
block needs to be backed up or notfaster backup, less to transfer
Storage I/O is reduced with this algorithm as we only touch changed blocks for
backup
Included in the API to access storage on VMFS volumes Changed block tracking is only available with VMs running with hardware
version 7
Change Block Tracking (CBT) on virtual machines http://kb.vmware.com/kb/1020128 Cannot enable FT on backed up virtual machine http://kb.vmware.com/kb/1015300 Reverting to a pre-existing snapshot can cause incremental backups based on
http://kb.vmware.com/kb/1021607
Yes
Yes, using restore agents No Yes
No
Yes, using restore agents Yes Yes
http://blogs.vmware.com/storage/2010/02/introduction-to-vstorage-apis-for-data-protection---vstorageapis-for-data-protection-were-introduced-in-vsphere-40-to-facil.html
Symantec Backup Exec 2010 & Net Backup 7.0 Vizioncore vRanger Pro 4.2
http://kb.vmware.com/kb/1021175
23
24
Deduplication helps reduce the amount of space consumed by full backups Initially during the first full backup all the blocks on the VM are backed up
(deduplicated accordingly), and subsequent full backups only need to store the blocks which have changed since the previous backup
25
In this example, we are backing up multiple hosts which are all running the
same OS and similar applications
26
27
Restores:
Can overwrite the current VM. Restore the VM if it no longer exists. Restore a test VM which is identical to the original VM, but does not have networking enabled this is called a Restore Rehearsal.
http://www.vmware.com/pdf/vdrFileRestore_Usage.pdf
28
Agent-less, disk-based backup and recovery of VMs on ESX(i) 4.0 hosts VM or file level restore Incremental backups plus data de-dupe and compressed to save disk space Quick, simple and complete data protection for your VMs Ease of deployment
2. Restore
vCenter 4.0
1. VM goes down 2. Select VM images/files to recover 3. Fast restore of VMdowntime minimized
29
VMware Infrastructure
VSS support via VMware Tools Changed block tracking functionality allows backups to be more efficient
Destination Storage
Any VMFS storage: DAS, NFS, iSCSI or Fibre Channel storage plus CIFS shares as target All backed up virtual machines are stored in a deduplicated datastore
30
Snapshot
Shared Storage
Changed
Blocks
VMDK
Snapshot
31
VM being backed up
Appliance VM
Delta Disk
Delta Disk
Base Disk
32
Only works with vSphere vCenter 4.0 & ESX(i) 4.0. Data Recovery VM must have a store for dedupe purposes. This can be:
Additional local VMDK assigned to the appliance (Recommended for performance reasonscan leverage SCSI Hot-Add feature vs using the LAN) RDM (iSCSI or FC) mapped to the appliance SMB/CIFS shared storage configured via the VDR GUI NFS storage supportability: VMDK on an NFS share presented to the ESX(i) is supported. An NFS share mapped to the appliances is not supported.
VDR does a full backup, only the used blocks on the disk are obtained. If the
disk is lazy zeroed or a thin disk, then not all of the disk needs to be read.
Storage guidelines http://viops.vmware.com/home/docs/DOC-11532
33
Existing Enterprise customers are entitled to Data Recovery as part of SnS. VI3 Foundation and VI3/vS4 Standard Edition customers can purchase as an Addon. See vSphere Pricing, Packaging and Licensing - VMware vSphere 4 The VMs being protected must exist on ESX(i) hosts that have valid licenses. VDR can protected up to a maximum of 100 Virtual Machines SMB market. A host that is licensed can run multiple Data Recovery appliances. Currently only tested to one VDR appliance per vCenter Server instance. Does not support vCenter Linked Mode.
34
VDR cannot backup Fault Tolerant VMs as there is no way to snapshot FT VDR appliance cannot reside in a vApp. 8 concurrent jobs running on the appliance at any time (backup & restore). Maximum of 100 Virtual Machines can be backed up using the appliance
(maximum of 100 backup jobs). This is a hard limit.
An appliance can have at the most two store destinations (up to 1TB max
each) due to the overhead involved in deduping. However this is a soft limit and is not strictly enforced, and is unsupported if the limit of two is exceeded.
Multiple backup appliances can be deployed but they do not interact with
each other. Hence it is up to the user to make sure that the same VM is not used as a source in both the appliances.
36
Installing
ALWAYS use latest code! Download (see resources section) Install vSphere Client plug-in Then File \ Deploy OVF Template to deploy VDR appliance
Configuration Outline
Open vSphere console to the appliance
Turn on the appliance IP / TZ Change root account password from vmw@re
Use plug-in
Credentials Destinations may need to use IP Create a backup job!
Configuration
Bring To Compliance
Restore In Progress
VM VMDK Mounted on E:
Technical Details
Know your retention needs, and what you chose! Test carefully! Actually do a restore! Restore rehearsal is with new datastore and no network!
File level restore available with experimental utility (command line tool with a
GUI version soon)
Technical Details
Virtual Hardware 7 is needed for best performance! It provides changed block tracking to
shorten backup for VDR,
First image backup is full, all the rest are incremental, but restores are always from full. The de-duplication is block level, not file and it happens within the VMDK even though it
is a file. The de-duplication can happen across VMs in the destination de-dupe store so it is VERY efficient
Each job runs once per 24 hour period If your job is at folder / host / resource pool new VMs back up without a configuration
change!
Tip: use vCenter Upgrade Manager achieve this across all your VMs, easily.
Upgraded to v.7
Things To Know
You first select your destination and than press Unmount No need to backup appliance (jobs, catalog for restores, and back ups all
in appliance)
Copy it to tape, to another location, or whatever works for you You can mount it to another appliance as necessary. Suggest you save the .OVF of the
appliance with the destination in case of version issues in the future
Things To Know
Things To Know
When it is ready you can mount it and it will be ready for use!
Things To Know
Things To Know
Best Practices and Guidelines Must have 5 8 GB in destination to start for system use, so start with
at least 20 GB Most space efficient to have less destinations with more VMs rather than opposite And group like VMs together to maximize dedupe!
Resources
Community - http://www.vmware.com/products/data-recovery/community.html Resources - http://www.vmware.com/products/data-recovery/resources.html Storage guidelines - http://viops.vmware.com/home/docs/DOC-11532 File Level Restore Usage - http://communities.vmware.com/docs/DOC-10670 Eval guide http://www.vmware.com/resources/techresources/10055 Docs http://www.vmware.com/support/pubs/vdr_pubs.html Release notes http://www.vmware.com/support/vdr/doc/vdr_10_releasenotes.html Admin guide - http://www.vmware.com/pdf/vdr_10_admin.pdf Email alerts - http://communities.vmware.com/thread/252977?tstart=0 Bits - http://www.vmware.com/download/vsphere/
Technical Resources http://www.vmware.com/products/data-recovery/ http://www.vmware.com/technical-resources/virtual-storage/resources.html http://www.vmware.com/technical-resources/high-availability/best-practices.html http://www.vmware.com/technical-resources/high-availability/virtualization-backup.html http://www.vmware.com/a/webcasts/details/257/
Summary
Know your retention needs, and what you chose! Test carefully! Move dedupe store destination off site! Keep an eye on the last backup date of the VMs! Lots of resources available Make sure your VMs are VH7!
Q and A
Questions Please!
You cannot change the URL port from 5480! Change network settings via console instead of web
You do not need to upgrade the VMware Tools in the appliance The backups will not run if the host CPU utilization is 90% or higher, or if free space in
destination is less than 5 GB per VM in job
Only 8 backup or restore jobs can run at the same time How do I see the other logs? Use <shift _ logs> when in the Log view. You do not have to change the hardware version for the appliance!
Background Material
Error The operation is not allowed on non-connected sockets means IP is good but the
engine in the appliance is not listening on the socket that the UI is using. Install again but dont delete!
Yes, you can point a new appliance at old destination all will be seen To be able to use DNS for destinations
/etc/hostname with FQDN /etc/hosts with IP and FQDN /etc/sysconfig/network (HOSTNAME=, DOMAIN=) /etc/resolve.conf with DNS server /etc/sysconfig/network-scritps/ifcfg-eth0 with IP info Hostname F /etc/hostname Service network restart
Background Material #2
Are you suspicious of your appliance and want to confirm something? You can turn off
your appliance, and install a new one. It should use a different datastore destination and you can do a backup. In this way you eliminate your appliance and destinations as potential issues! Most important, dont let a single VM be backed up by both of these appliances!
Did you know that when VDR starts, it polls all VMs that are part of its backup jobs, and
removes any stale SCSI Hot-Add associations to the appliance and will delete any VDR snapshots (_datarecovery_) in any of these VMs. This is in case a crash occurred in the middle of a backup operation.
Did you know when VDR starts a backup of a VM it will look for and delete any snapshot
that VDR created. This is in case a crash occurred in the middle of a backup operation.
How often does the retention policy apply? It is applied once per day if the dedupe store
is 80% full and has less than 250 GB free space, otherwise it is applied once per week.
You will generally need to create the file and populate it. Log into the appliance, and stop Data Recovery (service
section in it
datarecovery stop)
Create a file called datarecovery.ini in \var\vmware\datarecovery, and create an [Options] Some of the more useful options include:
IntegrityCheckInterval=x is default every day with a once per week deep check. If
x=2, then the deep check would be every two days.
View Logs
Thank You
81