Avamar - How to disable SnapshotManager on the Avamar proxy

Summary: Avamar - How to disable the SnapshotManager feature on the Avamar proxy

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Avamar Image backup or restore jobs are failing/slow due to SnapShotManager operations.

Cause

Background on the SnapShotManager service:  

The SnapshotManager is a web service that operates on the Avamar server. During backup or restore operations, when the Avamar proxy performs a snapshot operation (create, delete, or consolidate), it uses SnapshotManager service. This approach centralizes snapshot operations, allowing them to be queued on the Avamar server instead of vCenter. However, this centralized model introduces a potential bottleneck and service dependency, which may require disabling to address backup or restore issues.

To check the SnapshotManager status, follow these steps:

 If SnapshotManager is enabled, the image backup log displays the following information:
avvcbimage Info <42215>: SnapshotManager: initializing at Avamarserver:443, vCenter vc6-avamar.example.com(root), datacenter(/Burlington), httpsTimeout_ms(3600000), maxDeleteRetries(-1)
avvcbimage Info <42191>: GET: curl_easy_getinfo succeeded with httpcode(200)
avvcbimage Info <44033>: AvSnapMgr::getData Succeeded httpCode: 200


 If SnapshotManager is disabled, the image backup log shows:
 avvcbimage Info <40643>: NOT using SnapShot Manager - using proxy method of calling vSphere API functions.
 avvcbimage Info <18648>: The snapshot '' could not be removed.

Resolution

Long-term Solution:
This issue will be addressed in a future Avamar release. In future versions of Avamar, the Avamar proxy will not use SnapshotManager service.
 

How to Disable Snapshot Manager in Current Release:

To disable the SnapshotManager service, modify the proxy's avvcbimageAll.cmd using one of these two methods:
 

Automated method using goav:

1.Install goav using KB Avamar: Avamar: Goav tool
2. Run this goav command to comment snapshotmanager lines on all proxies
admin@ave197:~/>: ./goav proxy snapshotmanager disable
===========================================================
GoAv    :        1.47
Avamar  :        19.7
Date    :        26 Jan 2023 09:50 EST
===========================================================
COMMAND :  ./goav proxy snapshotmanager disable
NOTE: This is not an official tool
===========================================================
Disable SnapshotManager on proxies[==================> ] Proxy:194proxy-cloud.burlington.lab is not accessible.
Disable SnapshotManager on proxies[========>           ] Proxy:av194proxy-phil is not accessible.
Disable SnapshotManager on proxies[===================>] Proxy:192proxy.burlington.lab is not accessible.
Disable SnapshotManager on proxies[==============>     ] ============== av193proxy-phil=========================
Executing sed -i 's/--snapshotManager/#--snapshotManager/' /usr/local/avamarclient/{etc,var}/{initproxyappliance.sh,avvcbimageAll.cmd} /etc/rc.d/initproxyappliance 2>/dev/null on av193proxy-phil

Disable SnapshotManager on proxies[===>                ] ============== 197proxyga.burlington.lab=========================
Executing sed -i 's/--snapshotManager/#--snapshotManager/' /usr/local/avamarclient/{etc,var}/{initproxyappliance.sh,avvcbimageAll.cmd} /etc/rc.d/initproxyappliance 2>/dev/null on 197proxyga.burlington.lab

Disable SnapshotManager on proxies[============>       ] ============== 194proxyga.burlington.lab=========================
Executing sed -i 's/--snapshotManager/#--snapshotManager/' /usr/local/avamarclient/{etc,var}/{initproxyappliance.sh,avvcbimageAll.cmd} /etc/rc.d/initproxyappliance 2>/dev/null on 194proxyga.burlington.lab

Disable SnapshotManager on proxies[=>                  ] ============== 197proxy.burlington.lab=========================
Executing sed -i 's/--snapshotManager/#--snapshotManager/' /usr/local/avamarclient/{etc,var}/{initproxyappliance.sh,avvcbimageAll.cmd} /etc/rc.d/initproxyappliance 2>/dev/null on 197proxy.burlington.lab


 

Manual method 

  1. SSH into the Avamar proxy 
  2. Run the following command to comment out the snapshotmanager lines in avvcbimageAll.cmd file. 
sed -i 's/--snapshotManager/#--snapshotManager/' /usr/local/avamarclient/{etc,var}/{initproxyappliance.sh,avvcbimageAll.cmd} /etc/rc.d/initproxyappliance 2>/dev/null
   

Affected Products

Avamar

Products

Avamar Client for VMware
Article Properties
Article Number: 000181611
Article Type: Solution
Last Modified: 29 Mar 2024
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.