11
VMware vSphere ® Data Protection TECHNICAL WHITE PAPER JUNE 2012

VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

  • Upload
    lamkien

  • View
    268

  • Download
    7

Embed Size (px)

Citation preview

Page 1: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

VMware vSphere® Data ProtectionT E C H N I C A L W H I T E P A P E RJ U N E 2 0 1 2

Page 2: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

VMware vSphere Data Protection

T E C H N I C A L W H I T E P A P E R / 2

Table of Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Deployment and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Virtual Machine Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5

Virtual Machine Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

Preventing Backup-Data Corruption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Page 3: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 3

VMware vSphere Data Protection

IntroductionWith VMware vSphere® 5.1 (“vSphere 5.1”), VMware® is releasing a new backup and recovery solution for virtual machines called vSphere Data Protection (VDP). This solution is fully integrated with VMware vCenter Server™ (vCenter Server) and provides agentless, disk-based backup of virtual machines to deduplicated storage.

Benefits of VDP include the following:

•Itensuresfast,efficientprotectionforvirtualmachineseveniftheyarepoweredoff.

•Itusespatenteddeduplicationtechnologyacrossallbackupjobs,significantlyreducingdiskspaceconsumption.

•VMwarevSphere®APIs–DataProtection(VADP)andChangedBlockTracking(CBT)areutilizedtoreduceloadonthevSpherehostsandminimizebackupwindowrequirements.

•ItperformsfullvirtualmachineandFile-LevelRestore(FLR)withoutinstallinganagentineveryvirtualmachine.

•Installationandconfigurationissimplifiedusinganapplianceformfactor.

•ManagementisperformedutilizingtheVMwarevSphere®WebClient(vSphereWebClient).

•TheVDPapplianceanditsbackupsareprotectedusingacheckpointandrollbackmechanism.

•WindowsandLinuxfilescaneasilyberestoredbytheenduserwithaWebbrowser.

This paper presents an overview of the architecture, deployment, configuration, and management of VDP.

Architectural OverviewVDPrequiresVMwarevCenterServer5.1orhigher.vCenterServercanbethetraditionalWindowsimplementation—orthenewLinux-basedVMwarevCenterServerVirtualAppliance(VCVA),firstreleasedinVMware vSphere® 5.0. VDP supports the backing up of virtual machines on VMware vSphere® (“vSphere”) versions 4.0 and higher. The following Web browsers are supported for configuration and management of VDP:

•MicrosoftInternetExplorerversions7and8

•MozillaFirefoxversions3.6andhigher

VDPisdeployedasapreconfiguredLinux-basedappliance.Eachappliancesupportsasmanyas100virtualmachines, and as many as 10 VDP appliances can be deployed per vCenter Server instance. The Windows-based VMwarevSphere®Client™isusedtodeployVDP.Aftertheappliancehasbeendeployed,managementisperformedusingthevSphereWebClientwithanysupportedWebbrowser.AdobeFlashmustbeinstalledintheWeb browser.

Page 4: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 4

VMware vSphere Data Protection

vCenterServer

VMware vSphere

vSphere WebClient

Deduplication store(.vmdk files)

vSphere DataProtection

VirtualAppliance

VirtualApplianceVMVM VM

Figure 1. VDP Components

TheVDPapplianceisdeployedwithfourprocessors(vCPUs)and4GBofRAM.Threeconfigurationsofusablebackupstoragecapacityareavailable:.5TB,1TBand2TB,whichrespectivelyconsume850GB,1,300GBand3,100GBofactualstoragecapacity.Properplanningshouldbeperformedtohelpensurethatpropersizingandadditionalstoragecapacitycannotbeaddedaftertheapplianceisdeployed.Storagecapacityrequirementsarebased on the number of virtual machines being backed up, amount of data, retention periods and typical data changerates.RecommendationsforVDPsizingcanbefoundintheVMware vSphere Data Protection Administration Guide.

Deployment and ConfigurationVDPisdeployedusingthevSphereClientfromaprepackagedOpenVirtualizationArchive(.ova)file.The.ovafiles are labeled to easily identify the amount of backup storage capacity included with the appliance.

Aftertheapplianceisdeployedandpoweredon,aWebbrowserisusedtoaccesstheVDP-configureuserinterface(UI)andperformtheinitialconfiguration.ThefirsttimetheuserconnectstotheVDP-configureUI, itwillberunningininstallationmode.Withtheinstallationmodewizard,itemssuchasIPaddress,hostname,DNS,timezoneandvCenterServerconnectioninformationareconfigured.Uponsuccessfulcompletionoftheinstallationmodewizard,theappliancemustberebooted.Thisrebootcantakeupto30minutestocompleteasthe appliance finishes initial configuration.

Aftertheinitialconfiguration,theVDP-configureutilityrunsinmaintenancemode.Inthismode,theVDP-configureUIisutilizedtoperformfunctionssuchasstartingandstoppingservicesontheappliance,collectinglogsandrolling back the appliance to a previous valid configuration state (discussed later in this document).

ThevSphereWebClientisusedtocreateandmaintainbackupjobsandperformentirevirtualmachinerestores,aswellasforreportingandconfigurationofVDP.Figure2showsVDPinthevSphereWebClient.

Page 5: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 5

VMware vSphere Data Protection

Figure 2. vSphere Data Protection in the vSphere Web Client

The initial backup of a virtual machine takes comparatively more time, because all of the data for that virtual machineisbeingbackedup.Subsequentbackupsofthesamevirtualmachinetakelesstime,becauseVDPutilizesCBTanddeduplication.

ManagementVirtual Machine BackupCreatingandeditingabackupjobisaccomplishedusingtheBackuptaboftheVDPUIinthevSphereWebClient.Individualvirtualmachinescanbeselectedforbackup.Containerssuchasdatacenters,clusters,hosts,resourcepoolsandfoldersalsocanbeselectedforbackup.Allvirtualmachinesinthecontaineratthetimethebackupjobrunswillbebackedup.Newvirtualmachinesaddedtothecontainerwillbeincludedwhenthenextbackupjobruns.Similarly,anyvirtualmachinesremovedfromthecontainernolongerwillbebackedup.

Backupjobscanbescheduleddaily,weeklyormonthly.Eachjobrunsonceonthedayitisscheduledandbeginswhenthebackupwindowopens(defaultis8:00p.m.localtime).Asmanyaseightbackupjobscanrunsimultaneously on each VDP appliance.

The retention policy can be defined in the following several ways:

•Forever

•Forxnumberofdays,weeks,monthsoryears

•Untilaspecificdate

•Customschedule:forexample,dailyfor15days,weeklyfor4weeks,monthlyfor6months,andyearlyfor5years

Page 6: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 6

VMware vSphere Data Protection

Figure 3. VDP Retention Policy Configuration

Virtual Machine RestoreThe restore of an entire virtual machine is performed using the Restore taboftheVDPUIinthevSphereWebClient. The administrator can browse the list of virtual machines backed up by VDP and then select one or more restorepoints.ByleveragingCBTduringarestoreofavirtualmachinetoitsoriginallocation,VDPoffersfastandefficientrecovery.Duringtherestoreprocess,VDPqueriesVADPtodeterminewhichblockshavechangedsince the selected restore point, and it recovers only those blocks. This reduces data transfer within the vSphere environment during a recovery operation and decreases recovery time. VDP automatically compares and evaluatestheworkloadofthetworestoremethods(full-imagerestoreandrestoreleveragingCBT)andutilizesthe method resulting in the fastest restore time. This is useful in scenarios where the change rate since the selected restore point is very high and the overhead of a CBT analysis operation would be more costly than that of a full-image recovery. VDP intelligently determines which deployment method will result in the fastest recoverytime.Anewvirtualmachinenameanddestinationdatastorealsocanbespecifiedtopreventoverwritinganexistingvirtualmachine.Choosingarestorelocationotherthantheoriginalwillresultina full-image restore (CBT is not leveraged).

Figure 4. Specifying a New Location for the Restored Virtual Machine

Page 7: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 7

VMware vSphere Data Protection

Italsoispossibletorestoreindividualfilesandfolders/directorieswithinavirtualmachine.AnFLRisperformedusingaWeb-basedtoolcalledvSphereDataProtectionRestoreClient.Theprocessenablesenduserstoperform restores on their own without the assistance of a VDP administrator. The end user can select a restore pointandthenbrowsethefilesystemasitlookedatthetimethatthebackupwasperformed.Aftertheenduserlocatestheitem(s)toberestored,adestination(onthelocalmachine)isselectedandthejobisstarted.Theprogressoftherestorejobcanalsobemonitoredinthetool.

Figure 5. vSphere Data Protection Restore Client

ReportingTheReportstabdisplaysthefollowinginformation:VDPApplianceStatus,UsedCapacity,backupjobinformation,virtualmachinebackupdetails,andsoon.TherearelinkstotheEventConsoleandTaskConsoleforadditional information and troubleshooting purposes. Users can filter the list of virtual machines by means of severalcriteria,includingVirtualMachineName,BackupJobsandLastSuccessfulBackupdate.Thevirtualmachine information details section displays the Virtual Machine Name, guest operating system, backup status, backup date and other useful items.

Page 8: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 8

VMware vSphere Data Protection

Figure 6. Reports Tab

InadditiontothereportingcapabilitiesofitsUI,VDPcanbeconfiguredtosendemailreports,whichcanbescheduledataspecifictimeonceperdayonanyoreverydayoftheweek.SimilartotheUI,theseemailmessagescontaindetailsontheVDPappliance,backupjobsandthevirtualmachinesthatarebackedup.

Page 9: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 9

VMware vSphere Data Protection

Figure 7. VDP Email Report

Preventing Backup-Data CorruptionVDPfeaturesacheckpoint-and-rollbackmechanism.Acheckpointisasystem-widebackupoftheVDPappliancethatisperformedtohandleeventsthatmightcausedatacorruption,forexample,anunexpectedpower-offoftheVDPappliance.Inthiscase,theVDPappliancewouldrollbacktothelastvalidatedcheckpoint.Anybackupjobsperformedafterthatcheckpointwouldbelost,butdatacorruption—thatis,lossofallbackupinformation—would be prevented.

Page 10: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

T E C H N I C A L W H I T E P A P E R / 1 0

VMware vSphere Data Protection

Figure 8. VDP Rollback

ConclusionData protection is a key component of any business continuity plan. VMware vSphere Data Protection (VDP) offersanefficientsolutionforprotectingaVMwarevSpherevirtualmachineinfrastructure.ItcanbedeployedquicklyandprovidesaWeb-basedgraphicaluserinterfaceformanagement.Enduserscanrestorefileswithoutthe need for assistance from a backup administrator. VDP also features a checkpoint-and-rollback protection system to help ensure that backup data is available for restoration when data loss occurs or disaster strikes.

About the AuthorJeffHunterisSeniorTechnicalMarketingManagerwithafocusonvSpheredataprotectionandotherbusinesscontinuitysolutionsatVMware.HehasbeenemployedatVMwareformorethan5years.PriortoJeff’stenureatVMware, he spent several years assisting with the build-out and administration of VMware virtual infrastructures attwoFortune500companies.

Page 11: VMware vSphere Data · PDF fileTECHNICAL WHITE PAPER / 4 VMware vSphere Data Protection vCenter Server VMware vSphere vSphere Web Client Deduplication store (.vmdk files) vSphere

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www .vmware .comCopyright © 2012 VMware, Inc . All rights reserved . This product is protected by U .S . and international copyright and intellectual property laws . VMware products are covered by one or more patents listed at http://www .vmware .com/go/patents . VMware is a registered trademark or trademark of VMware, Inc . in the United States and/or other jurisdictions . All other marks and names mentioned herein may be trademarks of their respective companies . Item No: VMW-WP-WHATS-NEW-vSPHR-DATA-PRO-USLET-101 Docsouce: OIC-12VM007 .08