Table of Contents |
vStorage APIs for Data Protection (VADP) introduces several benefits over the VMware Consolidated Backup (VCB) method of protecting virtual machines.
There are several requirements that must be met for VADP to function correctly. This document covers those requirements for both the Virtual Server iDataAgent and VMware infrastructure.
The three methods utilized by VADP to transport backup data are defined here.
Refer to the Configuring Transport Modes topic for additional information and instructions on configuring transport modes.
For complete details on the system requirements for VADP environments, see System Requirements - Virtual Server iDataAgent - VMware
The vCenter server and all ESX Servers should be at vSphere 5.0, 5.1, 4.1 or 4.0 update 2 if possible. Should update 2 on 4.0 not be available, then a common user must be created on the vCenter server and all ESX Servers to avoid vmx file download issues.
Prior to performing any backup or restore operations ensure the port requirements listed below are met.
Change Block Tracking (CBT) must be enabled to support VADP backup. The Virtual Server iDataAgent agent will automatically check and enable CBT at the time of backup. Virtual Server iDataAgent may not be able to enable CBT for cloned and migrated virtual machines. CBT can be checked by following the steps documented in the following VMware article: http://kb.vmware.com/kb/1020128
The VDDK (Virtual Disk Development Kit) is now pushed with the installation of the Virtual Server iDataAgent. No separate installation is required.
A dedicated account can be used for performing backups on vCenter/ESX Server. The predefined VCB backup role can be copied and modified to perform VADP Backups. This role will require several additional permissions which are listed below. This account only needs to be created in the event that a restricted account is desired.
Restores are typically performed using the admin/root account. However a dedicated account can be created for this purpose. This account requires additional permissions over the account used for backups.
Category | Available Permissions |
---|
Datastore | Allocate space Browse datastore Low level file operations |
Global | Disable methods Enable methods Licenses |
Virtual machine - Configuration | Add existing disk Add new disk Add or remove device Change resource Disk change tracking Disk lease Remove disk Settings |
Virtual machine - Provisioning | Allow read-only disk access Allow virtual machine download Clone virtual machine |
Virtual machine - Snapshot management ("Virtual machine - State" in vSphere 4.1) | Create snapshot Remove Snapshot |
Category | Available Permissions |
---|
Datastore | Allocate space |
Network | Assign network |
Resource | Assign vApp to
resource pool Assign virtual machine to resource pool |
Virtual machine - Configuration | Add existing disk Add new disk Add or remove device Advanced Change CPU Count Change resource Disk change tracking Disk lease Host USB device Memory Modify device settings Raw device Reload from path Remove disk Rename Reset guest information Settings Swapfile placement Upgrade virtual machine compatibility ("Upgrade virtual hardware" in vSphere 4.1) |
Virtual machine - Interaction | Power Off Power On |
Virtual machine - Inventory | Create new Register Remove Unregister |
Virtual machine - Provisioning | Allow disk access Allow read-only disk access Allow virtual machine download Mark as template (to restore VM template) |
Virtual machine - Snapshot Management ("Virtual machine - State" in vSphere 4.1) | Create snapshot Remove Snapshot Revert to snapshot |
The Virtual Server iDataAgent can be installed in several ways to suit environmental needs and resources. Additionally, VADP installations now include VDDK (Virtual Disk Development Kit); no separate installation of this package is required.
The following sections describe frequently used deployment scenarios:
In this configuration, the Virtual Server iDataAgent and MediaAgent are installed on a a physical server for SAN only backups with no data transferred over the LAN. A pure physical implementation will often provide the best performance and requires physical hardware with visibility into the storage network.
In this configuration, the Virtual Server iDataAgent and MediaAgent are both installed in Hot-Add mode. The backup destination is typically network based (CIFS/NFS) or another vmfs datastore and tape out options are very limited. Shared storage is required for HotAdd mode backups of virtual machines living on other ESX Server hosts.
In this configuration, the Virtual Server iDataAgent is installed in hot-add mode while the MediaAgent is installed on a physical computer. Data is therefore transferred over the LAN to the physical MediaAgent. This model also allows for the use of a centralized and Linux MAs. Shared storage is required for Hot-Add mode backups of virtual machines living on other ESX Server hosts.
The Virtual Server iDataAgent can be installed using the steps described in Getting Started - VMware Deployment.
In most environments, the initial configuration of the Virtual Server iDataAgent will include configuring backups of the vCenter. The following sections provide details specific to configurations in VADP environments.
You can also perform backup operations from an environment wherein both technologies exist. To accomplish this, simply ensure the following components are installed on the proxy computer:
Once these components are prepared, backups will leverage between VCB and vSphere as appropriate.
The vStorage API can be used to restore backups performed with VCB. The backup data will first be staged to the proxy and then vStorage will perform the restore.
Refer to Getting Started - VMware Configuration complete step-by-step instructions on configuring the Instance, Backup Set, and Subclient.
When multiple Virtual Server iDataAgents are in use a single Agent can be configured to control and coordinate the activities of all other proxies. This Agent is referred to as the Master Agent and all subclients are created on this client while the actual backup operations are offloaded to other proxies. This will allow all activities to be coordinated from a single interface and reduces the possibility of double backups and/or missed guest machines.
|
Once the Virtual Server iDataAgent is configured, backup and restore operations are performed as described in Getting Started - VMware Backup.
The following section provides step-by-step instructions for running your first full backup of a single virtual machine immediately.
A container level restore restores the entire virtual machine disk. Refer to Getting Started - VMware Restore for the steps required to perform this restore following your first full backup.
Files and folders can also be restored from a virtual machine backup. The Advanced - VMware Restore topic includes information on the different restore types available.
VDDK 1.2 is installed to the Base folder with the Virtual Server iDataAgent. Software version 8.0 Virtual Server iDataAgent machines that were upgraded to v9 will need to have the Virtual Disk Development Kit registry key that was manually created during the installation of VDDK 1.1 deleted. Failure to do so will result in the VDDK 1.1 to still be utilized or fail if it has been uninstalled. (VDDK 1.1 does not support HotAdd mode on ESX 4.1)
When Change Block Tracking is unavailable backups will revert to CRC to determine changed blocks. Since the Virtual Server iDataAgent needs to read the entire virtual machine disk, CRC incremental backups may take almost as long as full backups. However, the amount of data transferred and stored by an incremental backup is limited to the changed blocks within the virtual disk. Correcting CBT on the problematic virtual machine is recommended as quickly as possible to take full advantage of VADP based incremental backups. Tools are available to check the correct installation of the VDDK and for verifying and correcting CBT issues. Contact your Software Provider for information on these tools.
The SnapProtect™ backup enables you to create a point-in-time snapshot of the data to be used for various data protection operations.
SnapProtect backup works in conjunction with software and hardware snapshot engines to provide snapshot functionality for data protection operations. A dedicated ESX Server can be used for selective copy to tier 2 storage. This completely removes any utilization on the ESX Server farm. Granular Recovery can be performed at this stage for individual file and folder recovery.
A dedicated account can be used for performing backups on vCenter/ESX Server. The predefined VCB backup role can be copied and modified to perform VADP Backups. This role will require several additional permissions which are listed below. This account only needs to be created in the event that a restricted account is desired.
Restores are typically performed using the admin/root account. However a dedicated account can be created for this purpose. This account requires additional permissions over the account used for backups.
Category | Available Permissions |
---|
Datastore | Allocate space Browse datastore Configure datastore Low level file operations Remove datastore Rename datastore Update virtual machine files |
Global | Disable methods Enable methods Licenses |
Host - Configuration | Advanced settings Connection Storage partition configuration System Management |
Virtual machine - Configuration | Add existing disk Add new disk Add or remove device Change resource Disk change tracking Disk lease Remove disk Settings |
Virtual machine - Provisioning | Allow read-only disk access Allow virtual machine download Clone virtual machine |
Virtual machine - Snapshot Management ("Virtual machine - State" in vSphere 4.1) | Create snapshot Remove Snapshot |
Category | Available Permissions |
---|
Datastore | Allocate space Browse datastore Configure datastore Remove datastore Rename datastore Update virtual machine files |
Host - Configuration | Advanced settings Connection Storage partition configuration System Management |
Network | Assign network |
Resource | Assign vApp to
resource pool Assign virtual machine to resource pool |
Virtual machine - Configuration | Add existing disk Add new disk Add or rRemove device Advanced Change CPU count Change resource Disk change tracking Disk lease Host USB device Memory Modify device settings Raw device Reload from path Remove disk Rename Reset guest information Settings Swapfile placement Upgrade virtual machine compatibility ("Upgrade virtual hardware " in vSphere 4.1") |
Virtual machine - Interaction | Power Off Power On |
Virtual machine - Inventory | Create new Register Remove Unregister |
Virtual machine - Provisioning | Allow disk access Allow read-only disk access Allow virtual machine download Mark as template (to restore VM template) |
Virtual machine - Snapshot Management ("Virtual machine - State" in vSphere 4.1) | Create snapshot Remove Snapshot Revert to snapshot |
Refer to Storage Arrays Configuration - VMware for information on the requirements and configurations for snap engines.
Refer to Storage Arrays Configuration - VMware for information on the requirements and configurations for snap engines.
Ensure that the array information is entered in the same format that is presented to the ESX server. (for example – should storage be presented by IP to the ESX servers it must also be entered by IP in Array Management)
Refer to Getting Started - VMware SnapProtect Configuration for step-by-step instructions on performing the following configuration tasks:
Refer to Getting Started Backup - Virtual Server iDataAgent (VMware) for step-by-step instructions on performing a SnapProtect Backup.
Refer to Getting Started - Snap Movement to Media for step-by-step instructions on performing a backup copy.
A container level restore restores the entire virtual machine disk. Refer to Getting Started - VMware Restore for the steps required to perform this restore following your first full backup.
Files and folders can also be restored from a virtual machine backup. The Advanced - VMware Restore topic includes information on the different restore types available.
SnapProtect will perform a full backup. When switching to or from a SnapProtect backup will cause the next backup to be a full backup.