How to configure Backup Exec 2012 Agent for VMware to retry snapshot removal and cleanup orphaned snapshots when backups begin.

Article:TECH200709  |  Created: 2012-12-10  |  Updated: 2014-04-21  |  Article URL http://www.symantec.com/docs/TECH200709
Article Type
Technical Solution


Issue



This technote describes the process of setting up Backup Exec 2012 Agent for VMware to retry snapshots removal and the cleanup or orphaned snapshots.


Environment



Requirements:  Before making the changes listed in this technote, Hotfix 19986 (or later) must be installed on the Backup Exec server.


Solution



With Hotfix 199866 functionality has been added to Backup Exec to attempt to remove snapshots multiple times if the first attempt fails and to attempt to cleanup orphaned Backup Exec snapshots if they exist at the beginning of the backup job.

Steps to configure snapshot retries:

  1. Install Hotfix 199866 on the Backup Exec server.
  2. Stop all of the Backup Exec services.
  3. Open regedit on the Backup Exec server.
  4. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec for Windows\Backup Exec\Engine\VMWare Agent
  5. Change the value of the following key (create as DWORD if it does nto exist):
  6. "AutoOrphanSnapshotRemoval" value data = 1
  7. Change the value of the following key (create as DWORD if it does not exist):
  8. "RemoveSnapshotRetryCount" value data = non-zero (this controls the number of retries, suggested to set as 2 initially)
  9. Exit regedit
  10. Start the Backup Exec services

Note: All keys are DWORD (32-bit) Value and all value data settings should be set to Hexadecimal.  Setting the key to a value of "0" will disable the functionality.
Note: Any orphaned snapshots left prior to installing and configuring these settings will have to manually be removed.
Note: It is possible for something in the VMware environment to be causing the failure to remove, in such cases these registry keys may not help and customer should consider troubleshooting with VMware.


Supplemental Materials

SourceETrack
Value2841144
Description

Add functionality to retry snapshot removal and cleanup orphan snapshots when backup jobs begin.




Article URL http://www.symantec.com/docs/TECH200709


Terms of use for this information are found in Legal Notices