VMware VADP Virtualization - Building Block Guide

Table of Contents

Backup Agent

SnapProtect Backup

Overview

Backup Transport Methods

Installation Requirements

System Requirements

Environmental Requirements

Port Requirements

Change Block Tracking Requirements

VDDK Installation

User Permission Requirements

Backup Permission Requirements

Restore Permission Requirements

Deployment Scenarios

Physical Proxy Computer Installations

Hot-Add Installations - Virtualized iDataAgent and Virtualized MediaAgent

Hot-Add Installations - Virtualized iDataAgent and Physical MediaAgent

Installing the Agent

Configuration

VADP-Only Configurations

Combined VADP and VCB Configurations

Configure the Instance, Backup Set, and Subclient

Configuration Considerations

Master Agent Configurations

Backup

Restore

Container Level Restore

File and Folder Level Restore

Backup Agent Considerations

SnapProtect Overview

SnapProtect User Permission Requirements

Backup Permission Requirements

Restore Permission Requirements

Snapshot Engine Requirements

SnapProtect Configuration

Enter the Array Information

Configure SnapProtect

Perform a SnapProtect Backup

Perform a SnapProtect Backup Copy

Restore

Container Level Restore

File and Folder Level Restore

SnapProtect Considerations

Backup Agent

Overview

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.

Backup Transport Methods

The three methods utilized by VADP to transport backup data are defined here.

  1. SAN – Data is read directly from the storage where virtual machines reside. This is also referred to as LAN-free since no data is transferred over the network. The LUN(s) containing the virtual machine disks must be visible to the Virtual Server iDataAgent server to support SAN mode backups. SAN mode is supported when utilizing fiber and iSCSI storage.
  2. Hot-Add – The Virtual Server iDataAgent is installed on a virtual machine residing on an ESX Server. Hot-Add mode can achieve close to SAN mode performance if SAN is not available. The term Hot-Add refers to the way the backups are completed. In Hot-Add the data volumes containing the virtual machines to be included in the backup are automatically mounted to the virtual machine.
  3. NBD & NBDSSL - NBD (network block device) & NBDSSL (encrypted NBD) transmit data over the ESX Servers' TCP/IP connection. This can be the production network or a dedicated backup network.

Refer to the Configuring Transport Modes topic for additional information and instructions on configuring transport modes.

Installation Requirements

System Requirements

For complete details on the system requirements for VADP environments, see System Requirements - Virtual Server iDataAgent - VMware

Environmental Requirements

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.

Port Requirements

Prior to performing any backup or restore operations ensure the port requirements listed below are met.

Virtual Center

ESX Server

Change Block Tracking Requirements

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

VDDK Installation

The VDDK (Virtual Disk Development Kit) is now pushed with the installation of the Virtual Server iDataAgent. No separate installation is required.

User Permission Requirements

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.

Backup Permission Requirements

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

Restore Permission Requirements

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

Deployment Scenarios

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:

Physical Proxy Computer Installations

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.

When to Use

When NOT to Use

Hot-Add Installations - Virtualized Agent and Virtualized MediaAgent

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.

When to Use

When NOT to Use

Hot-Add Installations - Virtualized Agent and Physical MediaAgent

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.

When to Use

When NOT to Use

Installing the Agent

The Virtual Server iDataAgent can be installed using the steps described in Getting Started - VMware Deployment.

Configuration

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.

VADP-Only Configurations

During backups, the Virtual Server iDataAgent creates a snapshot of the virtual machine data directly from the datastore. The snapshot is then moved directly to the storage media without requiring any dedicated disk cache on the proxy server. In the case of  incremental backups, Change Block Tracking (CBT) helps quickly identify the data blocks on the virtual machine that have changed since the last backup.

Similarly, during restores, virtual machines are restored directly to the appropriate ESX Server and datastore without the need for staging on the proxy server with VMware Converter. This capability provides for much faster restores.

Combined VADP and VCB Configurations

 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.

Configure the Instance, Backup Set, and Subclient

Refer to Getting Started - VMware Configuration complete step-by-step instructions on configuring the Instance, Backup Set, and Subclient.

Configuration Considerations

Master Agent Configurations

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.

  1. Create the subclients on the Master Virtual Server iDataAgent. These can be automatically populated by leveraging one of the automatic discovery options or manually configured.
  1. On the General tab of each subclient properties page select the ‘Use Proxy’ dropdown box and select the desired Virtual Server iDataAgent. Leaving the box blank will default to the proxy the subclient is being created on.

Although the Virtual Server iDataAgent agent needs to be installed on all of the proxies, you should only configure 1 instance on the “master Virtual Server iDataAgent” server. The other proxy machines do not need to have an instance created.

Backup

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.

1.
  • From the CommCell Console, navigate to Client Computers | Virtual Server.
  • Right-click the Subclient and click Backup.
2.
  • Select Full as backup type and Immediate to run the job immediately.
  • Click OK.
3. You can track the progress of the job from the Job Controller window of the CommCell console.
4. Once job is complete, view the details of job from the Backup History.

Right-click the Subclient and select Backup History.

 

5. Click OK.
6. You can view the following details about the job by right-clicking the job:
  • Items that failed during the job
  • Items that succeeded during the job
  • Details of the job
  • Events of the job
  • Log files of the job
  • Media associated with the job

Restore

Container Level Restore

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.

File and Folder Level Restore

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.

Backup Agent Considerations

Using the Virtual Server iDataAgent in HotAdd mode Configurations

Upgrading the Virtual Server iDataAgent from Version 8.0.0

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)

Using vStorage API

Change Block Tracking

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.

Supported vCenter Converter Version

SnapProtect Backup

SnapProtect Overview

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.

SnapProtect User Permission Requirements

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.

Backup Permission Requirements

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

Restore Permission Requirements

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

Snapshot Engine Requirements

Refer to Storage Arrays Configuration - VMware for information on the requirements and configurations for snap engines.

SnapProtect Configuration

Enter the Array Information

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)

Configure SnapProtect

Refer to Getting Started - VMware SnapProtect Configuration for step-by-step instructions on performing the following configuration tasks:

Perform a SnapProtect Backup

Refer to Getting Started Backup - Virtual Server iDataAgent (VMware) for step-by-step instructions on performing a SnapProtect Backup.

Perform a SnapProtect Backup Copy

Refer to Getting Started - Snap Movement to Media for step-by-step instructions on performing a backup copy.

Restore

Container Level Restore

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.

File and Folder Level Restore

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 Considerations

Back to Top