Beruflich Dokumente
Kultur Dokumente
ESX 4.0, ESXi 4.0, and vCenter Server 4.0, Update 2 and later for ESX Server 3.5, ESX Server 3i version 3.5, VirtualCenter 2.5
You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
20072009 VMware, Inc. All rights reserved. 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, the VMware boxes logo and design, Virtual SMP, and VMotion are registered trademarks or trademarks 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.
Contents
AboutThisBook
1 BackingUpwithVMwareInfrastructure 11
BackupConcepts 11 WhattoBackUp 12 VirtualMachineContents 13 AccessingandManagingVirtualDiskFiles 13 BackupComponentsandApproaches 14 UsingTraditionalBackupMethods 15 TraditionalBackupConsiderations 16 BackingUptheESXServer3ServiceConsole 16 BackingUpVirtualMachines 17 RunningtheBackupClientinaVirtualMachine 17 RunningtheBackupClientintheESXServer3ServiceConsole RunningtheBackupServerinaVirtualMachine 20 TreatingVirtualMachinesasFilesonSharedStorage 21 UsingVMwareConsolidatedBackup 22
19
2 VMwareConsolidatedBackup 23
VMwareConsolidatedBackupOverview 23 HowVMwareConsolidatedBackupWorks 24 VMwareConsolidatedBackupUsageModels 24 VMwareConsolidatedBackupWorkflow 28 TypesofBackups 29 PerformingImageLevelVirtualMachineBackups 30 PerformingFileLevelVirtualMachineBackups 30 VMwareConsolidatedBackupLimitations 30 ConsolidatedBackupSoftwareandHardwareRequirements 31 SettingUpVMwareConsolidatedBackup 32 ConfiguringVMwareESXServerandVirtualMachines 32 SettingUpaVCBProxy 33 ConfiguringWindowsontheVCBProxy 34
VMware, Inc.
ConfiguringNetworkingontheVCBProxy 35 ConfiguringThirdPartySoftwareontheVCBProxy 35 InstallingVMwareConsolidatedBackup 36 InstallingaBackupSoftwareIntegrationModule 36 ConfiguringVMwareConsolidatedBackup 37 ConfiguringUSERNAMEandPASSWORD 40 EnablingSSLCertificateVerification 41 ConfiguringSAN 43 UsingVMwareConsolidatedBackup 43 CreatingaVCBHelperVirtualMachine 44 AssigningBackupPrivilegestoaConsolidatedBackupUser 45 CreatingaVMwareConsolidatedBackupUserRole 45 CreatingaVMwareConsolidatedBackupProxyRole 46 GroupingVirtualMachines 47 ConfiguringBackupJobs 48 FirstTimeBackup 48 QuiescingMechanisms 49 UsingVMwareVSSComponents 50 UsingSYNCDriver 51 RunningCustomQuiescingScripts 51 AdvancedConfigurations 53 CancelingaBackupJob 53 CleaningUpAfteraFailedBackupJob 53 UpgradingConsolidatedBackup 54
3 RestorationandDisasterRecovery 55
RestoringVirtualMachinesUsingVMwareConsolidatedBackup 55 UsingVMwareConvertertoRestoreVirtualMachineImages 56 UsingthevcbRestoreUtilitytoRestoreVirtualMachines 56 CentralizedRestore 56 PerGroupRestore 57 DirectRestoretoaVirtualMachine 57 DataRecovery 57
4 BackupScenariosandTroubleshooting 59
BackupUsageScenarios 59 TypicalConsolidatedBackupUsageScenario 60 Troubleshooting 61 ChangingBackupPoliciesafterESXServer2.xUpgrades 61 IdentifyingVMFSVolumesinBackupGUI 61
4 VMware, Inc.
Contents
A UsingServiceConsoletoBackUpandRestoreVirtualMachines 63
GeneralConfigurationSettingsforConsolidatedBackupUtilities 64 ConfigurationFileSettings 64 BackingUpVirtualMachines 66 PerformingBackups 66 IdentifyingVirtualMachines 67 IdentifyingVirtualMachinesbyDNSNameorIPAddress 67 IdentifyingVirtualMachinesbyBIOSUUID 68 IdentifyingVirtualMachinesbyMoRef 68 DisplayingVirtualMachineInformation 69 SpecifyingBackupDestinations 69 BackingUptoaLocalDirectory 69 BackingUptoaRemoteServer 69 ArchivingVirtualMachines 70 RestoringVirtualMachines 71 RestoringVirtualMachinestoOriginalLocations 71 RestoringVirtualMachinestoAlternativeLocations 71 CopyingaCatalogFile 72 EditingaCatalogFile 72 RestoringVirtualMachinesUsinganAlternateCatalog 74 NonInteractiveUseofthevcbRestoreUtility 74 RestoringVirtualMachinesfromArchives 75
B RestoringVirtualMachinesfromESXServer2.5.xtoESXServer3.x 77
SettingConfigurationParameters 77 RestoringESX2.5.xServerVirtualMachines 78
Index 79
VMware, Inc.
VMware, Inc.
Thismanual,theVirtualMachineBackupGuide,providesinformationondifferent methodsyoucanusetoperformbackupandrestoretasks.Italsodescribeshowtoset upanduseVMwareConsolidatedBackup,abackupsolutionofferedbyVMware Infrastructure3andrecommendedtoperformdailybackupsforvirtualmachines residingonaFibreChanneloriSCSISAN,oronalocalstore. TheVirtualMachineBackupGuidecoversESX4.0,ESXi4.0,ESXServer3.5,andESX Server3iversion3.5.Foreaseofdiscussion,thisbookusesthefollowingproduct namingconventions: FortopicsspecifictoESX4.0,thisbookusesthetermESX4. FortopicsspecifictoESXi4.0,thisbookusesthetermESXi4. FortopicsspecifictoESXServer3.5,thisbookusesthetermESXServer3. FortopicsspecifictoESXServer3iversion3.5,thisbookusestheterm ESX Server 3. Fortopicscommontobothproducts,thisbookusesthetermESXServer. Whentheidentificationofaspecificreleaseisimportanttoadiscussion,thisbook referstotheproductbyitsfull,versionedname. WhenadiscussionappliestoallversionsofESXServerfor VMware Infrastructure 3,thisbookusesthetermESXServer3.x.
VMware, Inc.
Intended Audience
Thismanualisintendedforanyonewhowantstoperformbackupandrestoretasks usingVMwareInfrastructure.Theinformationinthismanualiswrittenfor experiencedWindowsorLinuxsystemadministratorswhoarefamiliarwithvirtual machinetechnologyanddatacenteroperations.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhave comments,sendyourfeedbackto: docfeedback@vmware.com
VMware, Inc.
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto: http://www.vmware.com/support/services
VMware, Inc.
10
VMware, Inc.
Backup,restoration,anddisasterrecoveryareamongthemostcriticalprocessesof datacentermanagement.VMwareInfrastructureandVMwareESXServerprovide manydifferentsolutions,eachsuitableforaspecificenvironment,toperformbackup andrestoretasks. ThisintroductiondescribeswhichresourcesshouldbebackeduponanESXServer systemandexplainsoptionsavailableforthatbackup. Thischapterincludesthefollowingsections: BackupConceptsonpage 11 WhattoBackUponpage 12 BackupComponentsandApproachesonpage 14 UsingTraditionalBackupMethodsonpage 15 UsingVMwareConsolidatedBackuponpage 22
Backup Concepts
Thefollowingconceptsareessentialforyourunderstandingofbackupprocedures: Differentialbackup.Backsuponlythosefilesthathavechangedsincethelast full backup. Filelevelbackup.Atypeofbackupthatisdefinedattheleveloffilesandfolders. Fullbackup.Backsupallselectedfiles. Fullvirtualmachinebackup.Backsupallfilesthatcomprisetheentirevirtual machine.Thesefilesincludediskimages,.vmxfiles,andsoon. Imagelevel(volumelevel)backup.Backsupanentirestoragevolume.
VMware, Inc. 11
Incrementalbackup.Backsuponlyfilesthathavechangedsincethelastbackup, whetheritisafullorincrementalbackup. Quiescing.Aprocessofbringingtheondiskdataofaphysicalorvirtual computerintoastatesuitableforbackups.Thisprocessmightincludesuch operationssuchasflushingdirtybuffersfromtheoperatingsystemsinmemory cachetodisk,orotherhigherlevelapplicationspecifictasks. VCBproxy.InthecontextofVMwareConsolidatedBackup,VCBproxyisa physicalorvirtualmachinerunningMicrosoftWindowsServer2003, ConsolidatedBackup,andthirdpartybackupsoftware.Usedtoperformfilelevel andimagelevelvirtualmachinebackups.
What to Back Up
WithintheESXServerenvironment,youneedtobackupthefollowingmajoritems: Virtualmachinecontents.Thevirtualmachinedatayoubackupcaninclude virtualdisksorRawDeviceMappings(RDMs),configurationfiles,andsoon. Aswithphysicalmachines,youmustbackupvirtualmachinedataperiodicallyto preventitspotentialdamageandlossduetohumanortechnicalerrors. Generally,usethefollowingbackupscheduleforyourvirtualmachines: Attheimagelevel,performbackupsperiodicallyforWindowsandnightlyfor Linux.Forexample,backupabootdiskimageofaWindowsvirtualmachine onceaweek. Atthefilelevel,performbackupsonceaday.Forexample,backupfileson drivesD,E,andsooneverynight. Forinformationonhowtoworkwiththefiles,seeAccessingandManaging VirtualDiskFilesonpage 13. ServiceConsole(ESXServer3only).Theserviceconsole,acustomizedversionof Linux,istheESXServer3commandlinemanagementinterface.Itprovidestools andacommandpromptformoredirectmanagementofESXServer3.Withthe VI ClientbeingthemaininterfacetotheESXServer3host,usetheserviceconsole toperformonlyadvancedadministrationoperations. NOTEESXServer3idoesnothaveaserviceconsole. Duringitslifetime,theserviceconsoledoesnotexperienceanymajorchangesother thanperiodicupgrades.Incaseofafailure,youcanrecoverthestateofyourservice consolebyreinstallingESXServer3.Ifyoudecidetobackuptheserviceconsole, youdonotneedtobackitupasfrequentlyasthevirtualmachinesandtheirdata.
12 VMware, Inc.
VMware, Inc.
13
NOTEInLinux,importingalargediskfromaCommonInternetFileSystem(CIFS) mountstallstheESXServerhost.Ifthishappens,yourhostmustberebooted.Move largefilesfromtheserviceconsoletotapebackup.Todothiseffectively,usesupported programswithnoknownissues.Asaworkaround,usesmbclienttocopythelarge fileontoalocaldirectoryontheserviceconsoleandimportfromthere. Additionalfileoperationsareenabledthroughthevmkfstoolscommand.Usethis commandtoperformthefollowing: Creating,extending,anddeletingdiskimages. Importing,exporting,andrenamingdiskimages. Settingandqueryingpropertiesofdiskimages. CreatingandextendingaVMFSfilesystem. Formoreinformationonthevmkfstoolscommand,seetheESXServer3Server ConfigurationGuideorESXServer3iConfigurationGuide.
14
VMware, Inc.
Dependingonwhereyouwanttoruneachcomponent,chooseoneofthefollowing approaches: Traditionalbackupapproach.Youdeployabackupclienttoeverysystemthat requiresbackupservices.Youcanthenregularlyscheduleautomaticbackups. Withthisapproach,severalmethodologiesexist.Chooseamethodthatbettersuits yourneedsandrequirements. SeeUsingTraditionalBackupMethodsonpage 15. VMwareConsolidatedBackup.IfusedwithSANstorage,ConsolidatedBackup enablesoffloadedandimpactfreebackupsforvirtualmachinesrunningon ESX Server.Thisapproachletsyouusethevirtualmachinesnapshottechnology andSANbaseddatatransferinconjunctionwithtraditionalfilebasedbackup software.WhenrunningConsolidatedBackup,youcanbackupvirtualmachine contentsfromacentralizedMicrosoftWindowsServer2003backupproxyrather thandirectlyfromtheESXServersystem.Utilizingabackupproxyreducesthe loadonESXServerallowingittorunmorevirtualmachines. IfyoudonothaveSAN,youcanuseConsolidatedBackupintheLANmode.This modeletsyourunConsolidatedBackuponaphysicalmachineconnectedtoyour ESXServersystemoverregularTCP/IPnetwork,orinoneofthevirtualmachines onyourESXServerhost. SeeVMwareConsolidatedBackuponpage 23.
VMware, Inc.
15
16
VMware, Inc.
VMware, Inc.
17
Method1isgenerallyusedforfilelevelbackupsofthedatastoredwithinthevirtual machinesdiskimage. Table 1-1. Backup Client in One Virtual Machine, Backup Server in Another Virtual Machine
Recommended: File-level restore: Full virtual machine restore: Quiescing: Load on ESX Server: LAN-free backup: Manageability: WhenhardwareforaVCBproxyorbackupserverisnt available Veryeasy No Excellent Extremelyhigh No Verypoor
Method 2: Backup Server in a Physical Machine WithMethod2,youdeploythebackupclientinavirtualmachinewhilethebackup serverrunsonaphysicalmachine. NOTEInsteadofMethod2,considerusingConsolidatedBackup. UseMethod2forfilelevelbackupsofthedatastoredwithinthevirtualmachinesdisk image. Table 1-2. Backup Client in a Virtual Machine, Backup Server in a Physical Machine
Recommended: File-level restore: Full virtual machine restore: Quiescing: Load on ESX Server: LAN-free backup: Manageability: VCBcanbeusedinstead VeryEasy No Excellent High No Verypoor
18
VMware, Inc.
VMware, Inc.
19
Method 4: Backup Server in a Physical Machine WithMethod4,youdeploythebackupclientintheESXServer3serviceconsolewhile thebackupserverrunsonaphysicalmachine. NOTEInsteadofMethod4considerusingConsolidatedBackup. Method4isusedtoperformimagelevelbackups. Table 1-4. Backup Client in an ESX Server 3 Service Console, Backup Server in a Physical Machine
Recommended: File-level restore: Full virtual machine restore: Quiescing: Load on ESX Server: LAN-free backup: Manageability/Scalability: VCBcanbeusedinstead. No VeryEasy Excellent High No Verypoor
20
VMware, Inc.
VMware, Inc.
21
22
VMware, Inc.
VMwareConsolidatedBackupisabackupsolutionofferedby VMware Infrastructure 3.Itistherecommendedwaytoperformdailybackupsfor virtualmachinesresidingonaFibreChanneloriSCSISAN. YoucanalsouseConsolidatedBackuptobackupvirtualmachinesresidingon ESX Serversystemsthatdonothaveanaccesstosharedstorage. Thischapterincludesthefollowinginformation: VMwareConsolidatedBackupOverviewonpage 23 ConsolidatedBackupSoftwareandHardwareRequirementsonpage 31 SettingUpVMwareConsolidatedBackuponpage 32 UsingVMwareConsolidatedBackuponpage 43 QuiescingMechanismsonpage 49 AdvancedConfigurationsonpage 53 UpgradingConsolidatedBackuponpage 54
VMware, Inc.
23
ThefollowingarethekeyfeaturesofConsolidatedBackup: MostmajorbackupapplicationsintegratewithConsolidatedBackupproviding youwithafastandefficientwayofbackingupdatainvirtualmachines. ConsolidatedBackupeliminatestheneedforhavingabackupagentinstalledin eachvirtualmachineyouwanttoprotect. ConsolidatedBackupcanreadvirtualdiskdatadirectlyfromyourSANstorage deviceusingFibreChanneloriSCSI,orthroughtheESXServerI/Ostackorusea networkconnectiontoanESXServerhosttoaccessvirtualdiskdata. ConsolidatedBackupcanruninavirtualmachine. ConsolidatedBackupsupportsfilelevelfullandincrementalbackupsforvirtual machinesrunningMicrosoftWindowsoperatingsystemandimagelevelbackups forvirtualmachinesrunninganyoperatingsystem. YoucanuseConsolidatedBackupagainstasingleESXServerhostorwitha VirtualCenterServerthatmanagesanumberofESXServers.
24
VMware, Inc.
ConsolidatedBackupprovidesthefollowingmethodsofaccessingvirtualmachine diskdata: SANModeUsewithFibreChannelandiSCSIstoragetocompletelyoffload backupstoaphysicalVCBproxy. HotAddModeUsewithanytypeofstoragetoperformbackupsbyaVCBproxy setupinavirtualmachine. LANMode(NBDMode)Usewhenyourenvironmentdoesnotpermittheuseof theSANorHotAddmodes. SAN Mode YouselectthismodewhenyourESXServerstoresitsvirtualmachinedisksonFibre ChannelSANoriSCSISAN.Whenusingthismode,youcancompletelyoffload backupstoaphysicalVCBproxy. InadditionwithFibreChannel,youavoidmovingdataacrossthenetwork.Inthiscase, iftheVCBproxyisyourmediaserver,youcangetcompletelyLANfreebackupsof yourvirtualmachines. Figure 21illustrateshowConsolidatedBackupworksintheSANmode. Figure 2-1. VMware Consolidated Backup in the SAN mode
LAN
VCB proxy
backup software
integration module
Consolidated Backup
VMware, Inc.
25
SCSI Hot-Add Mode IntheSCSIHotAddmode,yousetuponeofyourvirtualmachinesasaVCBproxy anduseittobackupothervirtualmachinesresidingonstoragevisibletothe ESX ServerthathoststheVCBproxyvirtualmachine.Thismodeeliminatestheneedof havingadedicatedphysicalmachineforyourVCBproxyanddoesnotrequireyouto exposeSANLUNstotheWindowsVCBproxy. Inthismode,youcanuseConsolidatedBackuptoprotectanyvirtualdisksonanytype ofstorageavailabletoyourESXServerhost,includingNASorlocalstorage. Theonlyexceptionisthatitdoesnotbackupanydisksofthevirtualmachinethathas anyindependentdisk,PhysicalCompatibilityRDM,orIDE(ThisisapplicabletoESX4 andESXi4.) ConsolidatedBackupcreatesasnapshotofthevirtualdisktobeprotectedandhotadds thesnapshottotheVCBproxy,allowingittoaccessvirtualmachinediskdata.TheVCB proxyreadsthedatathroughtheI/OstackoftheESXhost. Figure 2-2. VMware Consolidated Backup in the Hot-Add Mode
LAN
ESX Server VCB Proxy virtual machine backup software integration module
Consolidated Backup
RunningConsolidatedBackupintheSCSIHotAddmodeprovidestheLANfree capabilitiesoftheSANmodebecausethevirtualdiskdataistransferredfromthe ESX ServerI/Ostack.AlthoughthismodeisnotasefficientastheSANmode,which doesnotcauseanyoverheadontheESXServerhost,itisstillmoreefficientthanthe LANmode. LAN Mode (NBD Mode) YouselectthismodewhenyourESXServerdoesnothaveaccesstoaSAN,butuses localstoragedevicesorNAStostoreitsvirtualmachinedisks. Inthismode,ConsolidatedBackupusesanoverthenetworkprotocoltoaccessthe virtualdisk.TheESXServerhostreadsthedatafromthestoragedeviceandsendsit acrossanetworkchanneltotheVCBproxy. TobeabletorunConsolidatedBackupintheLANmode: YouneedtohaveESXServer3.5orESXServer3iversion3.5orlater. IfyouareusingVirtualCenter,makesuretohaveversion2.5orlaterinstalled. Yourvirtualdiskscannotbelargerthan1TBeach. Figure 23illustrateshowConsolidatedBackupworksintheLANmode. Figure 2-3. VMware Consolidated Backup in the LAN mode
LAN
VCB proxy
backup software
integration module
VMware, Inc.
27
BecausethevirtualdiskdataistransferredfromtheESXServerhostacrosstheLAN, thismodedoesnotprovidetheLANfreecapabilitiesoftheSANmode.However, runningConsolidatedBackupintheLANmodeoffersyouthefollowingadvantages: YouarenotrequiredtostorevirtualdisksonaSAN.Youcanuseanystorage device,includingNAS,thatESXServercanaccess. YouarenotrequiredtohaveadedicatedphysicalserverforyourVCBproxy.In additiontosettingupaphysicalserverastheVCBproxy,youhaveanoptionof configuringoneofyourvirtualmachinesastheVCBproxy. WhilethisconfigurationdoesnotcompletelyoffloadbackupprocessesfromtheESX Serverhost,itstillhasanadvantageoverusingabackupagentintheserviceconsole orintheproductionvirtualmachine.Youcanusetheadvancedresourcescheduling capabilitiesofVMwareInfrastructuretopreventthevirtualmachinerunningyour backupsfromimpactingtheperformanceofyourproductionworkloads.Forexample, youcanputthevirtualmachineperformingyourbackupsandyourproductionvirtual machinesindifferentresourcepools.SeetheResourceManagementGuide. IfyourESXServerhostandtheVCBproxyareonasecureisolatednetwork,you canuseanunencrypteddatatransfer,whichisfasterandtakeslessresourcesofthe ESXServerhostandtheproxy.Whenyouneedtoprotectsensitiveinformation, youhaveanoptionoftransferringvirtualmachinedatainanencryptedform.
UnquiescesthevirtualmachinethatwasquiescedinStep b.
VMware, Inc.
(Optional)Runsyourcustompostthawscriptinthevirtualmachine. ThepostthawscriptreversesanychangesmadebytheprefreezescriptinStep a.
Types of Backups
ConsolidatedBackupsupportsimagelevelbackupsforvirtualmachinesrunningany guestoperatingsystemandfilelevelbackupsforvirtualmachinesrunningMicrosoft Windowsoperatingsystems. Imagelevelbackupallowsbackupclientstomakeacopyofallvirtualdisksand configurationfilesassociatedwithaparticularvirtualmachine.Thistypeofbackup issuitableforrestoringanentirevirtualmachineintheeventofahardwarefailureor asystemadministratorerror,suchastheaccidentaldeletionofthevirtualmachine. Filelevelbackupallowsbackupclientstomakecopiesofindividualfiles containedwithinthevirtualdisks.Filelevelbackupscanbeofthefollowingtypes: FullfilebackupBacksupallfiles. DifferentialbackupBacksuponlyfilesthathavechangedsincethelastfull filebackup. IncrementalbackupBacksuponlyfilesthathavechangedsincethelast backup,whetherthelastbackupwasfullorincremental. Filelevelbackupsallowfilesordirectoriestoberestoredindividually.Usethe filelevelbackupstopreventdatalossduetousererrors,suchasaccidentalfile deletion.
VMware, Inc. 29
Thethirdpartybackupsoftwarepicksupthevirtualmachinediskimagesand configurationfilesandmovesthemtothebackupmedium.
30
VMware, Inc.
ConsolidatedBackupcannotperformfilelevelbackupsofvirtualmachines runningoperatingsystemsotherthanMicrosoftWindows. YoucannotuseConsolidatedBackuptobackupvirtualmachinesinacluster. ThesevirtualmachinesshareanSCSIcontrollerandsnapshotoperationscannot beperformedonthem. IfyouareunabletouseConsolidatedBackup,deployabackupagentinthevirtual machineandperformthebackupfromwithinthevirtualmachine.Thebackupagentis suppliedbyyourthirdpartybackupsoftwarevendor. Fordetailsoninstallationofthebackupagent,refertothedocumentationprovided withtheintegrationmodulematchingyourbackupsoftware.
VMware, Inc.
31
BackupsoftwarethatsupportsConsolidatedBackup.Foralistofsupporting thirdpartybackuppackages,seetheVMwareInfrastructure3BackupSoftware CompatibilityGuide. NOTEIfyouuseConsolidatedBackupinconjunctionwithaVMwaresupported thirdpartysoftware,makesurethattheversionsofMicrosoftWindowsandyour backupsoftwarematch.Forexample,ifyourunthe64bitversionofMicrosoft Windows,installthe64bitversionofthebackupsoftware. Networkadapter(NIC). TouseConsolidatedBackupintheSANmode,additionalrequirementsinclude: FibreChanneloriSCSISANstoragehostingvirtualmachinesyouplantobackup. IfyouuseFibreChannelSAN,youcanuseadedicatedphysicalsystemforaVCB proxywithaFibreChannelhostbusadapter(HBA)installedoruseavirtual machineasVCBproxy.
3 4
32
VMware, Inc.
UsingVIClient,configurestorageforyourESXServerandcreatevirtualmachines. The followingarerequirementsforConsolidatedBackuptorunsuccessfully: VirtualmachinesyouareplanningtobackuphavetheirvirtualdisksonVMFS datastorescreatedonlocalstorage,oroniSCSIorFCSAN.Virtualmachinescan alsouseRDMsinvirtualcompatibilitymode.ConsolidatedBackupdoesnot supportRDMsinphysicalcompatibilitymode. IfyouplantouseConsolidatedBackupintheLANmode,thesizeofyourvirtual diskfilesshouldnotexceed1TB. ThelatestversionofVMwareToolsisinstalledineachvirtualmachineyouare planningtobackup.WithoutthelatestversionofVMwareTools,thesnapshots thatConsolidatedBackupcreatesforbackupsarecrashconsistentonly.Thatis,no filesystemsynchronizationisperformed. Forfilelevelbackups,yourvirtualmachinesrunMicrosoftWindowsNT4.0, WindowsServer2000,WindowsXPProfessional,WindowsServer2003, Windows Vista,orWindowsServer2008operatingsystems. Imagelevelvirtualmachinebackupsaresupportedforallguestoperating systems. FormoreinformationonconfiguringstorageandRDMs,seetheESXServer3 ConfigurationGuideorESXServer3iConfigurationGuideatwww.vmware.com. ForinformationoncreatingvirtualmachinesandinstallingVMwareTools,seeBasic SystemAdministrationatwww.vmware.com.
VMware, Inc.
33
4 5 6
Cleanoutentriesofpreviouslymountedvolumesintheregistrybytypingatthe Diskpartcommandprompt:
automount scrub
34
VMware, Inc.
ExittheDiskpartutilitybytyping:
exit
9 10 11
VMware, Inc.
35
Foranyspecificrequirementsandinstructions,consulttheREADME.htmlfileincluded intheintegrationmodulethatcorrespondstoyourbackupsoftware.Youmightbe requiredtodothefollowingforyourbackupsoftware: Turnonthecrossjunctions(mountpoints)optionforyourbackupsoftware. TurnofftheWindowsarchivebitandchangejournalfunctionsifyourthirdparty backupsoftwareperformsincrementalordifferentialbackups.Bothfunctions requirethebackupsoftwaretoalterthefilesystembeingbackedup,whichisnot possibleinasnapshotbasedbackup. Windowsarchivebit.Thearchivebitisanattributeofafilethatsomebackup productsusetodeterminewhetherthefilehaschangedsinceitsprevious backupandwhetheritshouldbebackedup.Configurethebackupclientto usetimestampsinstead. Windowschangejournalcannotbeusedforincrementalbackupsin snapshotbasedbackupscenarios. Afteryouinstallandconfigureyourthirdpartybackupsoftware,youcanverifyitby runningabackupandrestorationjobonalocaldirectoryontheVCBproxy.
36
VMware, Inc.
WhenconfiguringConsolidatedBackup,makesuretospecifyalloptionsinthe config.js filethatdonothaveanydefaultvalues. Table 21providesanoverviewofalltheconfigurationsettingsinthisfile. Table 2-1. Consolidated Backup Configuration Settings
Option BACKUPROOT Default C:\\mnt Description Directoryinwhichallthevirtualmachinebackupjobs reside.Makesurethisdirectoryexistsbeforeyoustart virtualmachinebackups. Foreachbackupjob,asubdirectorywithauniquename derivedfromthebackuptypeandthevirtualmachine nameiscreatedhere. Forimagelevelvirtualmachinebackups,thevolume containingthismountpointmustbelargeenoughto holdtheexporteddiskimagesofthelargestvirtual machinetobehandled. HOST PORT USERNAME PASSWORD (no default) 443 (no default) (no default) HostnameoftheVirtualCenterserverortheESXServer hostusedbytheVCBproxy. PortnumbertoconnecttotheVirtualCenteror ESX Serverhost. SeeConfiguringUSERNAMEandPASSWORDon page 40. SeeConfiguringUSERNAMEandPASSWORDon page 40.
VMware, Inc.
37
38
VMware, Inc.
VMware, Inc.
39
BACKOFF_TIME
10
40
VMware, Inc.
YoucanconfigureConsolidatedBackuptouseSecuritySupportProvider Interface (SSPI)forauthentication.TheadvantageofusingSSPIisthatitdoesnot requirethepasswordtobestoredinthisconfigurationfileinplaintextorintheregistry. InordertobeabletouseSSPI,thefollowingconditionsmustbemet: ConsolidatedBackupmustconnectdirectlytoaVirtualCenterServerversion2.5 orlater.MakesurethatHOSTintheconfig.jsconfigurationfilepointstoyour VirtualCenterServer. AlwaysuseConsolidatedBackupfromausercontextwiththesameusernameand passwordcredentialsonboththeVCBproxyandtheVirtualCenterServer,orbea domainuser.ThebackupapplicationserviceprocesswhichcallsVCBmustbe configuredtorununderthisusercontext.ConsolidatedBackupandthebackup applicationthatcallsitmustnotbeusedintheLocalSystemaccountcontext. TheConsolidatedBackupusermusthaveadministratorprivilegesontheVCB proxyandhavetheVCBBackupUserroleassignedinVirtualCenter. Ifyoursetupmeetsalltheseconditions,youcanenableSSPIauthenticationbysetting USERNAMEto__sspi__.ForSSPI,thepasswordneedstobeset,butitisignored.Itcan besetto"".
VMware, Inc.
41
FortheSSLcertificateverificationtosucceed,thehostnameonthecertificatemust matchthecurrentfullyqualifieddomainnameofthehostthatpresentsthecertificate. Ifyouusethedefaultselfsignedcertificate,thesenamesdonotmatchandthecertificate verificationfails.Toaddressthisissue,addacertificatethatissignedbyarecognized certificateauthority.SeetheReplacingVirtualCenterServerCertificateswhitepaper. To enable SSL certificate verification on a VCB proxy 1 UsingtheMicrosoftRegistryEditor(regedit.exe),locatethefollowingkey:
HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Consolidated Backup
MakesurethattheDWORDentrywiththefollowingnameispresent.Otherwise, createanewone.
VerifySSLCertificates
3 4
Afterverifyingthethumbprint,clickYestoaddthecertificatetotheWindows certificatestore.
YoucanalsoenabletheSSLcertificateauthenticationfortheESXServer3command lineutilitiesontheserviceconsole. To enable SSL certificate verification on an ESX Server 3 service console 1 ObtainthethumbprintoftheESXServerhostbyenteringthefollowingcommand ontheserviceconsole:
openssl x509 -noout -in /etc/vmware/ssl/rui.crt -fingerprint -sha1
2 3
42
VMware, Inc.
Configuring SAN
IfyouareusingSANtostoreyourvirtualmachinedata,configuretheSANfabricto whichboththeESXServerandtheVCBproxyareconnected. ForConsolidatedBackup,yourSANconfigurationmustmeetthefollowing requirements: TheVCBproxyhasareadwriteaccesstotheSANLUNsthatstoreyourvirtual machines.Toachievethis,addtheVCBproxytothesamefabriczoneswherethe ESXServersystembelongs. Thehostmode(connectiontype)settingsontheVCBproxyandontheESXServer match.Forexample,ifyouhaveanIBMarrayandthehostmodesettingisLNXCL, setthesamefortheVCBproxy.Forinstructionsonconfiguringhostmodesettings forHPstoragearrays,refertovendordocumentation. SeedocumentationprovidedbyyourSANstoragearrayandswitchvendors,aswellas theFibreChannelSANConfigurationGuideandiSCSISANConfigurationGuide.
VMware, Inc.
43
Afteryouhaveassociatedagroupofvirtualmachineswithonehostname,youcan setupabackupjobforeachaliasusingthealiasastheclientnameforthejob.See ConfiguringBackupJobsonpage 48. Whenyouperformafirstbackupforaparticularvirtualmachine,poweronthis virtualmachine.SeeFirstTimeBackuponpage 48. NOTEYoucannotuseConsolidatedBackuptobackupvirtualmachinesinacluster. ThesevirtualmachinesshareanSCSIcontrollerandsnapshotoperationscannotbe performedonthem.
44
VMware, Inc.
11 12
VMware, Inc.
45
(Optional)Ifthegrantedprivilegesarenotenabled,enabletheroleby rightclickingontheVMwareConsolidatedBackupUserroleandselectingEdit Role. SelectthefollowingprivilegesfortheVMwareConsolidatedBackupUserrole. Clicktheplussigns(+)toexpandthelists,asneeded. VirtualMachine>Configuration>DiskLease VirtualMachine>Provisioning>AllowReadonlyDiskAccess VirtualMachine>Provisioning>AllowVirtualMachineDownload VirtualMachine>State>CreateSnapshot VirtualMachine>State>RemoveSnapshot
8 9
46
VMware, Inc.
7 8
VMware, Inc.
47
First-Time Backup
Whenyouperformafirstbackupforavirtualmachine,thevirtualmachinehastobe poweredon,otherwisethebackupfails. NOTEYoudonotneedtopoweronavirtualmachineifyourintegrationmoduleis configuredtousevirtualmachinedisplaynamesinsteadofIPaddressesorDNS names. Afteryouhavecompletedthefirstbackupofthevirtualmachine,ConsolidatedBackup canperformbackupsofthevirtualmachineregardlessofitspowerstateatbackup time.
48
VMware, Inc.
Quiescing Mechanisms
WhenyoustartthebackupprocessusingConsolidatedBackup,yourvirtualmachines areautomaticallyquiescedtoguaranteetheconsistencyofthevirtualmachine snapshots. Tonothaveaquiescingmechanism,append-Q 0tovcbMounter. Touseprebackupjobs,addNO_QUIESCE=1attheendoftheconfig.jsconfiguration file.Allprebackupjobswillnothavequiescingsnapshotsifconfig.jsconfiguration fileiseditedasabove. DependingonthequiescingmechanismthatConsolidatedBackupuses,thesnapshot canbe: Crashconsistent Filesystemconsistent Applicationconsistent AsTable 22demonstrates,thequiescingmechanismsdependontheguestoperating systemthatyouruninyourvirtualmachines,theversionsofESXServerthathostsyour virtualmachines,andtheversionofVMwareToolsyouinstallinthevirtualmachines. Table 2-2. Quiescing Mechanisms Used by VMware Consolidated Backup
ESX Server 3.5 U1 or Earlier and Corresponding VMware Tools SYNCdriver Filesystemconsistent quiescing SYNCdriver Filesystemconsistent quiescing Crashconsistentquiescing ESX Server 3.5 U2 or Later and Corresponding VMware Tools SYNCdriver Filesystemconsistentquiescing VMwareVSScomponent Applicationconsistent quiescing VMwareVSScomponent Applicationconsistent quiescing WindowsVista 32bit/64bit WindowsServer2008 32bit/64bit Otherguestoperating systems Crashconsistentquiescing Crashconsistentquiescing Crashconsistentquiescing VMwareVSScomponent Filesystemconsistentquiescing VMwareVSScomponent Filesystemconsistentquiescing Crashconsistentquiescing
VMware, Inc.
49
Thefollowingvirtualmachinesgetonlycrashconsistentbackups: VirtualmachinesmigratedfromESX Server 3.5 Update2toanearlierversionof ESXServer. VirtualmachinesthathavetheversionofVMwareToolsshippedwith ESX Server 2.5.x.
50
VMware, Inc.
VMware, Inc.
51
Script Prefreeze
Whenrunningthescripts,ConsolidatedBackupperformsthefollowingsteps: 1 Runstheprefreezescriptinsidethevirtualmachinebeingbackedup. Forthescriptslocation,seeTable 23. Iftheprefreezescriptreturnsanonzeroexitcode,thesnapshotcreateoperation fails. 2 (Optional)EngageseithertheSYNCdriverorVSScomponents. ForinformationonthevirtualmachinesthatsupporttheSYNCdriverandVSS components,seeTable 22. Ifthisstepfails,ConsolidatedBackupproceedstoStep 5. 3 Createsasnapshot.
52
VMware, Inc.
Runsthepostthawscriptinsidethevirtualmachine. Ifsuccessful,theexitstatusofthisscriptis0.
Advanced Configurations
YoumightneedtoperformadvancedconfigurationswhenusingConsolidatedBackup. Forexample,youmightneedtorunapostbackupcommandforyourvirtualmachines tocancelbackupjobs.
VMware, Inc.
53
54
VMware, Inc.
VMware, Inc.
55
Filelevelrestoration Nobackupsoftwareinthevirtualmachine.Restorationisdonebythe administratoronabackupproxynetworksharethatisaccessiblebythe protectedvirtualmachine.SeeCentralizedRestoreonpage 56 Backupsoftwareindedicatedvirtualmachinesanddatamovedtotarget virtualmachines.SeePerGroupRestoreonpage 57. Backupsoftwaredeployedineveryprotectedvirtualmachine.Restorationis donedirectlybythesystemadministratorortheuser.SeeDirectRestoretoa VirtualMachineonpage 57.
Centralized Restore
Whenperformingacentralizedrestore,youhaveagroupofvirtualmachineson ESX Server,aproxy,andabackupagentontheproxyinadedicatedvirtualmachine thatyouplantousetorestoreyourdata.Usethebackupsoftwaretogetthedatatothe proxythatisrunningtheagent.Aftertheadministratorrestoresthedatatothecentral server,copyitbacktothevirtualmachineusingtheCommonInternet File System (CIFS)remoteaccessfilesharingprotocol. Advantages:Thenumberofagentstomaintainisminimal. Disadvantages:Becausedatarestorationiscentralized,anadministratormustbe involvedinfilelevelrestoration.
56
VMware, Inc.
Per-Group Restore
Whenperformingapergrouprestoration,onevirtualmachinehasabackupagentfor eachgroup,suchasaccounting,engineering,andmarketing.Thegroupadministrator restoresworkflowstoapergrouprestorehost.Filesarecopiedtoatargetvirtual machineusingCIFSfileshare. Advantages: Restorationscanbedelegated. Thistypeofrestorationisagoodcompromisebetweenthenumberofagentsand easeofrestoration. Disadvantages:Thisprocessisnotacompleteselfservicerestoration.
Data Recovery
Thefollowingguidelinescanhelpyourecoveryourdata: Makesureyouhaveimagelevelvirtualmachinebackups. BackupyourVirtualCenterdatabase. Makesureyouhaveyourlicensekeys. Makesureyouhaveenoughserverstorunallthevirtualmachinesyouplanto restore. EnablingmigrationwithVMotionorusingDRSenhancesyourdisasterrecovery capabilities.
VMware, Inc.
57
58
VMware, Inc.
VMware, Inc.
59
60
VMware, Inc.
Troubleshooting
Thissectionguidesyouthroughissuesyoumightencounterwhenperforming backups.
or
/vmfs/volumes/<file_system_label>
VMFSfile
/vmfs/volumes/<file system label|file system UUID>/[dir]/myDisk.vmdk
VMware, Inc.
61
To identify a VMFS volume by its label 1 Browsethe/vmfs/volumesdirectoryinyourbackupsoftwareGUI. ThesymboliclinkspointingtotheVMFSvolumemountpointsshowupinthefile selectionpane. 2 3 UsetheseentriestofindtheuniqueIDforthefilesystemlabelyouneed. SelectthedirectorycorrespondingtothisuniqueIDinthedirectorypanefor browsing.
Whenperformingfilebasedbackups,thebackupapplicationusespathsreferencing theuniqueidentifier,sothebackedupfilesshowupasthefollowing:
/vmfs/volumes/43a0552e-ae6093b2-47a1-00145e0a7ec0/vm01/vm01.vmdk
62
VMware, Inc.
Thisappendixdescribeshowtobackupandrestorevirtualmachinesusingyour ESX Server3serviceconsole.Theappendixwalksyouthroughtheprocessof configuringtheConsolidatedBackupcommandlineutilitiesandprovidesexamples onhowtousetheseutilities. NOTEBecauseESXServer3idoesnothaveaserviceconsole,informationinthis chapterisnotapplicabletoESXServer3i.Toperformimagelevelvirtualmachine backupsonanESXServer3ihostthatdoesnothaveaccesstoSAN,useConsolidated BackupinLANmodeandrunitonavirtualmachine. Thisappendixincludesthefollowingsections: GeneralConfigurationSettingsforConsolidatedBackupUtilitiesonpage 64 BackingUpVirtualMachinesonpage 66 ArchivingVirtualMachinesonpage 70 RestoringVirtualMachinesonpage 71
VMware, Inc.
63
64
VMware, Inc.
PASSWORD SpecifiesthepasswordcorrespondingtoUSERNAME.Thisoptionallowsyouto performvirtualmachinebackupsinanoninteractiveway. CAUTIONBecausespecifyingapasswordinaconfigurationfilecanpresenta securityrisk,makesurethattheServiceConsoleisnotusedbyanyoneexceptan ESXServer3administrator. NOTEYoucanusethe-pcommandlineoptionforanyConsolidatedBackup commandlineutilitytooverridethissetting. VMNAMECACHE Themostcommonwayofidentifyingavirtualmachineforbackuppurposesisby itsDNSnameorbyitsIPaddress.However,whenyoubackupavirtualmachine fromastandaloneESXServer3host,theESXServer3hostcanrecognizethe IP addressonlywhenthevirtualmachineispoweredonandrunningVMware Tools. Tobeabletoperformbackupsofthevirtualmachineonthestandalone ESX Server 3hostevenwhenthevirtualmachineispoweredoff,youshould maintainacachefile.ThecachefilerecordstheIPaddressofthevirtualmachine eachtimethevirtualmachineisbeingbackedup.Thisallowsyoutoperformthe futurebackupsofthisvirtualmachineregardlessofitspowerstate. VMwarerecommendsthatyoudonotchangethedefaultsetting. NOTEYoucanusethe-ccommandlineoptionforvcbMountertooverridethis setting.ThevcbRestorecommanddoesnotusethissetting. TEMPDIR IfyouareusingthesecurecopycapabilitiesoftheConsolidatedBackup commandlineutilities,youcanusethisoptiontospecifyatemporaryholding spaceforyourvirtualmachinedata. Thisholdingspacemusthaveenoughfreestoragetoholdthelargestofyour virtualmachines. NOTEYoucannotoverridethissettingfromthecommandline.
VMware, Inc.
65
Performing Backups
AftersettingupconfigurationoptionsasdescribedinConfigurationFileSettingson page 64,enterthefollowingcommandinthecommandline: vcbMounter -a <virtual_machine_identifier> -r <backup_destination> -m <cos|nbd|nbdssl>, where <virtual_machine_identifier>isauniqueidentifierofthevirtualmachine yourebackingup.SeeIdentifyingVirtualMachinesonpage 67. <backup_destination>specifiesthelocationforbackupdata.SeeSpecifying BackupDestinationsonpage 69. <cos|nbd|nbdssl>specifiesthetransportationmodeforvcbMounter: cosUsethisoptiontobackupvirtualmachineswhosedisksareaccessible totheESXServerhostdirectlythrough/vmfs/volumes.RunthevcbMounter utilityintheserviceconsoleoftheESXServerhostwherethevirtualmachines resideoronanyESXServerhostthathasaccesstothedatastorewherethe virtualmachinedisksarestored. However,ifthevirtualmachinesresideonanyESXServerhostthathasaccess tothedatastorewherethevirtualmachinedisksarestored,youmustrun vcbMounterthroughthevCenterServer.
66
VMware, Inc.
nbdUsethisoptiontobackupvirtualmachinesoverthenetworkfroma differentESXServerhostthanthehostwhereyourunthevcbMounterutility. Selectthisoptionifyoudonotneedtoencryptvirtualdiskdatafor overthenetworktransfer. nbdsslUsethisoptiontobackupvirtualmachinesoverthenetworkfrom adifferentESXServerhostthanthehostwhereyourunthevcbMounter utility.Selectthisoptionifyouneedtoencryptvirtualdiskdataforoverthe networktransfer. Followtheseexampleswhenbackingupvirtualmachines: Backingupthevirtualmachinevm37.company.comtothelocaldirectory /home/VMs/vm37: vcbMounter -a ipaddr:vm37.company.com -r /home/VMs/vm37 Backingupthevirtualmachinevm37.company.comtothedirectory /backups/VMs/vm37.Thedirectoryislocatedontheremoteserver backups.company.comwiththeuserIDvmware. Thebackups.company.com hostisrunningasecureshell(ssh)server.UsetheConsolidatedBackupsecure copy(scp)plugintotransferthevirtualmachinetobackups.company.com. vcbMounter -a ipaddr:vm37.company.com -r scp://vmware@backups.company.com:/backups/VMs/vm37 BackingupavirtualmachineonastandaloneESXServer3host.Toidentifythe virtualmachine,usethevirtualmachinesnamedisplayedintheVIClient.The virtualmachineisbackeduptothelocaldirectory/home/VMs/vm37. vcbMounter -a name:"Virtual Machine 37" -r /home/VMs/vm37 NOTEThevirtualmachinenameargumentiscasesensitive.
VMware, Inc.
67
68
VMware, Inc.
VMware, Inc.
69
where<virtual_machine_identifier>specifiesagroupofvirtualmachines.Use oneofthefollowingsearchspecifiers: powerstate:on|off|suspendedFindsallvirtualmachineswiththespecified powerstate. anyFindsallvirtualmachines. noneDoesnotfindanyvirtualmachines.Youcanusethisoptionfortesting. Youcanalsouseoneoftheuniqueidentifiersofthevirtualmachine.SeeIdentifying VirtualMachinesonpage 67. Thebackupdestinationdirectorymustexistbeforeyoustartthearchivingprocess usingvcbSnapAll.Whilerunning,thevcbSnapAllutilitycreatesasubdirectoryfor eachvirtualmachinethatmeetsthesearchcriteriainsidethebackupdestination directory.Youdonotneedtocreatethesubdirectoriesinadvance. Afteryoumovethevirtualmachinebackupdatafromthebackupdestinationdirectory toasecondarystorage,youcandeletethedirectorycontents.
70
VMware, Inc.
VMware, Inc.
71
72
VMware, Inc.
Bydefault,alltheseentriesusethesamepath,whichpointstothesamedirectoryon thesamedatastore.VMwarerecommendsthatyoufollowthisstandardwhen changingthepath. Thedatastorepathshavethefollowingsyntax: [<datastore_name>] <path_on_datastore> Youcanobtainalistofvaliddatastorenamesfromthedatastorebrowserinyour VI Client,orbylookingatthefilesystemlabelsofyourVMFSvolumesintheservice consoleunder/vmfs/volumes. Changing Folder Paths Thevirtualmachinesfolderpathinthecatalogfilespecifiesthefolderwithinthe VirtualCenterfolderhierarchywheretherestoredvirtualmachinewillbeplaced. To change the folder path for the virtual machine 1 Identifythefolderthatwillstorethevirtualmachinebyrunningthefollowing commandintheserviceconsole: vcbUtil -c vmfolders Runningthiscommandassumesthatyouhavesetupappropriateconfiguration optionsasdescribedinConfigurationFileSettingsonpage 64. 2 Inthecatalogfile,setthefolderpathtooneofthefolderpathsprintedoutbythe vcbUtil command.
Changing Resource Pools Theresourcepoolsentryinthecatalogfiledeterminesthevirtualmachinesbehavior withrespecttoDRS(DistributedResourceScheduling).Whenyouusemultiple ESX Server3hostsmanagedbyVirtualCenter,thisitemalsospecifiesthehostthatwill runthevirtualmachine. To change the resource pool setting for the virtual machine 1 Identifytheresourcepoolthatthevirtualmachinewillusebyrunningthe followingcommand: vcbUtil -c resourcepools Runningthiscommandassumesthatyouhavesetupappropriateconfiguration optionsasdescribedinConfigurationFileSettingsonpage 64. 2 Inthecatalogfile,settheresourcepooltooneoftheoptionsprovidedbythe vcbUtil command.
VMware, Inc.
73
74
VMware, Inc.
VMware, Inc.
75
76
VMware, Inc.
Restoring Virtual Machines from ESX Server 2.5.x to ESX Server 3.x
VMware, Inc.
77
Thisentryrestoresthevirtualmachinewiththemyvm.vmxfileinto[oldvms] /myvm. VMHOST Specifiesthehostforthevirtualmachineyourestore.Thevirtualmachineis poweredonfromthishost. RESOURCEPOOL Specifiestheresourcepoolforthevirtualmachineyourestore.SeeChanging ResourcePoolsonpage 73. NOTESelectavalidresourcepoolonthehostyouspecifiedinVMHOST. Typically,theresourcepoolnamecontainsthenameofthecorresponding ESX Server3host.Youcanalsousethe%VMHOST%entry,whichwillbereplaced bythevalueyouassignedtoVMHOST. FOLDERPATH SpecifiesthefolderwithintheVirtualCenterhierarchy,inwhichtherestored virtualmachinewillbeplaced.SeeChangingFolderPathsonpage 73.
78
VMware, Inc.
Index
A
aliases 47 archive bit 36
C
catalog files 72 change journal 36 CIFS 56 Common Internet File System protocol 56 configuration file backup utilities 64 Consolidated Backup 37 Consolidated Backup and third-party backup software 24 configuration file 37 configuring SAN 43 configuring third-party software 35 configuring VCB proxy 33 considerations 22 customizing 53 features 23 file-level backups 30 image-level backups 30 installing 36 interoperability modules 36 limitations 30 overview 24 performing first backup 48 running 43 setting up backup jobs 48 turning off drive-letter assignment 34 utilities 64
B
backup clients about 14 in a virtual machine 17 in the service console 19 backup jobs canceling 53 setting up 48 backup policies, modifying 61 backup schedulers 14 backup servers 14 backup utilities 64 backups differential 11 file-level 30 from NFS 21 from SAN 21 image-level 30 incremental 12 overview 12 performing first 48 sample scenario 60 techniques 15 traditional 15 backuptools.conf file 64 BIOS UUID 68
VMware, Inc.
79
P
physical compatibility 13
D
directory, /vmfs/volumes 13 disaster recovery 57 disk images, exporting 30 DNS name 67 drive letters 34
Q
quiescing about 12 customizing 51
R
raw device mapping 13 RDM physical compatibility 13 turning off drive-letter assignment 34 virtual compatibility 13 README.html file 36 restorations centralized 56 ESX Server 2.5.x virtual machines 77 file-based 55 per-group 57 self-service 57 vcbRestore utility 56 workflows 55
E
ESX Server 2.5.x 77 ESX Server, upgrading 61
F
FAT 34 files .vmdk 13 .vmx 13
I
incremental backups archive bit 36 interoperability modules about 24 installing 36 IP address 67
S
SAN storage and backups 21 configuring for VCB 43 schedulers 14 SCSI disks 13 service console 12 backing up 16 file-based backups 16 image-based backups 16
J
junction points about 30 turning on 35
M
MoRef 68
N
NFS storage and backups 21 NTFS 34
80 VMware, Inc.
Index
T
third-party software configuring for VCB 35 interoperability modules 24 turning off archive bit 36 turning off change journal 36 working with Consolidated Backup 24 time stamps 36 traditional backup methods 17 troubleshooting backup software GUI 61 path formats 61
U
utilities Consolidated Backup 64 vcbMounter 66 vcbRestore 56, 71
vcbRestore 71 catalog files 72 default use 74 restoring to alternative locations 71 restoring to original locations 71 virtual compatibility 13 virtual disks manipulating 13 storing 13 virtual machines aliases 47 groups 47 VMFS 13 vmkfstools commands 14 VMware Tools 32
W
Windows archive bit 36 Windows change journal 36 workflow 24
V
VCB proxy about 12 and networking 33 installing Consolidated Backup 36 junction points 30 running Windows 34 setting up 33 turning off drive-letter assignment 34 VCB, see Consolidated Backup vcbMounter destinations 69 overview 66 performing backups 66 specifying virtual machines 67
VMware, Inc.
81
82
VMware, Inc.