Netbackup™ and Vranger Pro™ Integration: Vizioncore Inc. 975 Weiland Road Buffalo Grove, Il 60089
Netbackup™ and Vranger Pro™ Integration: Vizioncore Inc. 975 Weiland Road Buffalo Grove, Il 60089
Netbackup™ and Vranger Pro™ Integration: Vizioncore Inc. 975 Weiland Road Buffalo Grove, Il 60089
Integration
Vizioncore Inc.
975 Weiland Road
Buffalo Grove, IL 60089
© Vizioncore Inc. 2008. Vizioncore Inc. and all product names are Vizioncore trademarks.
All rights reserved. All other trademarks are the property of their respective owners.
Introduction
Events ranging from terrorism to natural disasters have forced the issue of Business Continuity and
Disaster Recovery (DR) to the forefront of IT Management, and for good reason. Businesses are
becoming increasingly dependent on information systems, and even a brief outage can have a
significant impact. Major disasters carry a greater penalty, with most unprotected companies failing
within two years of an event.
While each of these methods has a place in a modern DR plan, Backup and Restore is the foundation
of any data protection effort.
This paper will focus on Backup and Restore; in particular, how to combine two Best of Breed
solutions (Symantec® NetBackup™ and Vizioncore’s® vRanger Pro™) to create a complete Backup
and Restore solution for today’s enterprises.
Vizioncore’s vRanger Pro, on the other hand, is the leading Backup and Restore solution for VMware
Virtual Infrastructure. Designed from the start for VMware, vRanger Pro offers agentless, image-level
backups taken from outside the guest, without disrupting the running VM. vRanger Pro clearly
differentiates itself in the virtualized backup space with VMware-specific functions such as: file-level
restores from image-level backups; the ability to skip VMDKs (virtual hard drives) for a given VM; and
an advanced VCB integration with a network failsafe option.
With two clear leaders in their respective markets, how can customers know which solution is better
for their environments? In most cases, the answer is to integrate both products for a complete
Page 2 of 8
solution.
During job configuration, vRanger Pro builds a CLI command to capture the required parameters of
the backup job. Rather than scheduling or saving the job, the administrator copies the CLI command
to build the NetBackup policy. For more information on CLI commands, see the vRanger Pro User
Manual.
In NetBackup, an administrator creates a policy and schedules it to execute. This policy directs
NetBackup to locate and move the backup files to a mount point. Each policy name must be unique,
based on the task that the corresponding script runs. For example, a policy that runs a web server
backup should be named differently than a policy that backs up email. All policies share a common
structure. There is no limit to the number of policies that can be executed. To back up several VMs
running on the same host, an administrator must create separate policies for each VM.
Page 3 of 8
Implementation
To complete a full backup of a VM and save it to tape, an administrator must:
Confirm that all pre-requisites have been met.
Complete the set-up process.
Confirm the successful installation of vRanger Pro.
If using VCB, confirm successful installation of the VCB plug-in.
Complete the configuration process.
Pre-requisites
The administrator who completes this process should have an advanced knowledge of vRanger Pro and NetBackup as well as a
basic knowledge of scripting.
The virtual infrastructure includes only one VirtualCenter (VC), which can feature multiple domains.
The backup files will be copied to a mount point that is either a SAN or a local Windows destination.
Off-host backups (via VCB) are desired for some or all VMs.
Set Up
These steps must be completed before beginning the configuration process.
If restoring an individual file, the File-Level Restore plug-in must be installed properly.
If running a LAN-free backup, vRanger Pro, VCB, and NetBackup must be installed on the same server. This server
should be connected to the SAN using fiber-optic cable. The target VM’s ESX Server must be connected to the same
SAN using fiber-optic cable.
The SAN must be zoned to see the Virtual Machine File System Logical Unit Numbers (VMFS LUNs) that the target
VM’s ESX Server uses. LUNs must be aligned so that the storage is presented to the proxy server with the same
numbering system as it is presented to the ESX Hosts.
In the target VM, mount point, and destination tape drives, there must be sufficient free space to accommodate the
decompressed/compressed backup files, including snapshots.
For the target VM location, confirm that there is a minimum of 6GB of free space. Recommended: At least 10GB or 10
percent of the VMFS, whichever is greater.
For the mount point location, the drive should have enough free space to accommodate the compressed backup files,
including snapshots.
For the destination tape drive, confirm that there is sufficient space to store the compressed archive files.
If the ultimate goal is restoration, confirm that the ESX Server or VM restore destination has enough free disk space to
accommodate the decompressed backup files.
Page 4 of 8
Installation
The vRanger Pro installation must be completed before the VCB and File-Level Restore plug-ins can be installed. Detailed
installation instructions are in the vRanger Pro User Manual, which can be accessed through www.vizioncore.com.
1. Install vRanger Pro.
Configuration
Configure vRanger Pro
1. Identify the target machine.
4. Set the Client read timeout spin box to 1,200 seconds (minimum). Click Apply.
4. Right-click Policies→Properties.
7. Clear the Collect disaster recovery information for Bare Metal Restore checkbox. Click OK.
11. In the Schedule Type section, select a radio button—either Calendar or Frequency.
12. In the Destination section, select the Snapshots and copy snapshots to a storage unit radio button.
Page 5 of 8
Configure Script and Run bpstart_notify.bat
Using vRanger Pro’s GUI interface, select target, destination, timeframe, and other options as desired. Notice that as options
are selected, a CLI command builds in the lower portion of the screen. This command will be used to pass the job parameters
from NetBackup to vRanger Pro at run-time using the “bpstart_notify.bat” configured for each NetBackup policy.
Warning: After completing this process, do not click Run Backup or Schedule Backup. Instead, select Copy. Instead of running
the program from vRanger Pro, we will take advantage of the powerful CLI interface that is created by cutting and pasting the
command into NetBackup rather than using the task scheduler found within vRanger Pro, this is actually the power of the
combination since both products do what they are designed to and leverage the strengths of both of the products.
Sample script:
If "%2" == "backup_web" goto backup_web
If "%2" == "backup_email"goto backup_email
If "%2" == "backup_front_end"goto backup_front_end
Goto end
:backup_web
Goto end
:end
Archiving
When the compressed backup files are saved to tape, they are—essentially—archived. The data is
stored there for a duration configured by the administrator. vRanger Pro plays no role in archiving.
Restoring
vRanger Pro does the majority of the work during the restore process. However, before vRanger Pro
can restore an archive, NetBackup must move the files from the archive location to a local restore
destination.
vRanger Pro offers several restoration methods, all of which are easy to complete. Restores can be
done in normal mode (full-image restore), from the .info file, by individual file, or P2V to a VM. Details
on two of these processes—full-image and file-level restore—are included in this paper. vRanger Pro
can restore from its own local database or from a backup completed using a previous installation of
the software. In general, configuring a restore is as simple as selecting the archive or file to restore,
selecting the restore destination, and setting a few attributes.
Before vRanger Pro restores an archive, it verifies that the destination drive has sufficient free space
Page 6 of 8
to accommodate the decompressed files. The data is then copied in blocks and decompressed as it is
copied.
Restore a VM
1. Use NetBackup to move the archive to the restore destination.
2. Access vRanger Pro. In the left pane of the Restore window, click the Restore VM icon.
3. On the Restore Archive tab, select the checkbox of the archive that you want to restore.
4. On the Restore To tab, click to highlight the location to which you want to restore the data.
5. On the Options tab, select the checkboxes for the flags that you want to set. Select the Enable vRanger
enhanced write speeds checkbox.
6. Click one of the buttons—Schedule Restore or Run Restore.
7. If you clicked Run Restore, a command prompt displays and vRanger Pro completes the restore in the
background.
8. If you clicked Schedule Restore, the Schedule Task dialog displays.
a. On The Schedule Task dialog, select a timeframe, enter your password, and click Add.
Windows Task Manager creates a restore task.
b. Select Control Panel→Scheduled Tasks to confirm that the restore request was saved.
Restore an Individual File
1. Use NetBackup to move the archive to the restore destination.
2. Access vRanger Pro. In the left pane of the Restore window, click the Restore VM icon.
3. On the Restore Archive tab, select the checkbox of the file that you want to restore.
4. On the Restore To tab, click to highlight the location to which you want to restore the data.
5. On the Options tab, select the checkboxes for the flags that you want to set. Select the Enable vRanger
enhanced write speeds checkbox.
6. Click one of the buttons—Schedule Restore or Run Restore.
7. If you clicked Run Restore, a command prompt displays and vRanger completes the restore in the
background.
8. If you clicked Schedule Restore, the Schedule Task dialog displays.
a. On The Schedule Task dialog, select a timeframe, enter your password, and click Add.
Windows Task Manager creates a restore task.
b. Select Control Panel→Scheduled Tasks to confirm that the restore request was saved.
Best Practices
This section includes some hints for installing, integrating, and configuring NetBackup and vRanger
Pro. Tips for completing the backup, archive, and restore processes are also included.
Installation
For optimal performance, do not install vRanger Pro or NetBackup on a VM.
Install the VCB and the File-Level Restore plug-ins only after vRanger Pro’s installation is
complete.
Configuration
It is useful, based on the needs of your organization, to create some generic policies in
NetBackup. These policies can be rerun or copied for reuse later. This will save time and effort.
It is best to name each policy based on the task to be completed. For example, to back up a
Page 7 of 8
set of front end servers, name the policy “frnt_end_srvrs”.
vRanger Pro offers enhanced write speed for restores. On the Options tab of the Restore
window, select Enable vRanger enhanced write speeds. A driver is installed on the ESX
Server. This driver is only active during the restoration process and is removed without
requiring a reboot.
Be careful when setting expirations and rerunning backups. The Restore Grid information
remains in vRanger Pro’s internal database for all archived files that have not been overwritten
or have not expired.
Backup Process
Before starting a backup or restore process, test to confirm connections and adequate disk
space.
In the event that the target virtual machine is a transactional virtual machine requiring special
quiescing,it may be necessary to run an application specific program to perform the quiescing
before taking the backup.
If the Schedule Backup or Run Backup buttons on vRanger Pro’s Option tab are disabled,
there is either conflicting or insufficient information for completing the backup process. This
information must be provided (or corrected) before the administrator can proceed.
Before implementing a larger backup and restore, it is a good idea to test the processes on a
smaller scale. For example, before backing up a group of VMs hosted on the same ESX
Server, identify one VM to be the basis of your test. Follow the steps to back it up and confirm
that the process completes as expected. Then, use NetBackup to archive the files to disk or
tape. Finally, use NetBackup to move the files to a location from which vRanger Pro can
restore it. If any of these processes do not execute as expected, adjust to suit need.
Archive Process
It is best to archive backup files to removable media such as tape. Doing so offers the flexibility
and portability to save the files to a remote DR site. At that location, the files will have a greater
measure of protection against corruption and system failure.
For P2V backups, the free space on the destination drive should be twice that of the target
machine. That is, if the physical machine has a 40GB hard drive, the destination drive for the
archive file should have 80GB of free space.
Restore Process
Simultaneous restores should be limited to no more than two to an individual host and no more
than ten to a VMFS.
A complete restoration can only be done from a full backup or a combination of differentials
and the machine’s last full backup. To perform a complete restore using differential backups,
select both the archive of the last full backup and any archived differential backup files as well.
General
Organize hosts and VMs in a thoughtful, logical way. Doing so will make it easier to group
them for backup and restore.
Page 8 of 8