Step 2. Delete Veeam Management Packs

Delete Veeam management packs in the following order.

Delete Microsoft.SystemCenter.SecureReferenceOverride MP

If you configure the Veeam VMware Direct ESX(i) Connection Account Run As account for vCenter Connection Failover, OpsMgr creates or modifies the Microsoft.SystemCenter.SecureReferenceOverride MP. In this case, to delete Veeam management packs, you must first remove the dependency created for the Secure Reference MP .

The Veeam MP for System Center Resource Kit includes the Remove_Veeam_SecureReference.ps1 script that allows you to automatically clean Veeam MP dependencies from the Secure Reference MP. For more information on the script, see the Veeam MP for System Center Resource Kit Guide.

Note

If you use other third-party management packs that store Run As accounts in the Microsoft.SystemCenter.SecureReferenceOverride MP, you may need to manually clean Veeam MP dependencies from the Microsoft.SystemCenter.SecureReferenceOverride MP.

For more information on how to clean dependencies, see this Veeam KB article.

Delete Management Packs

Important

  1. As with any management pack, you must delete the related overrides (or the unsealed management pack that contains the overrides) before you can delete Veeam management packs.
  2. If you have created a dashboard in the Default Management Pack using any of the Veeam MP for VMware customizable widgets, you must delete the Default Management Pack before you can delete Veeam management packs. For more information on working with Veeam MP for VMware dashboard widgets, see Creating Veeam Dashboard Widgets.
  3. If you have created an OpsMgr monitor for a custom vCenter Server alarm using any of the Veeam MP for VMware predefined monitor types, you must delete the monitor before you can delete Veeam management packs. For more information on creating Veeam MP for VMware custom monitors, see Creating OpsMgr Monitors for Custom vCenter Server Alarms.

To delete imported Veeam management packs, follow these steps:

  1. Log on to the OpsMgr console using an account with Administrator permissions.
  2. Go to the Administration section.
  3. Select the Management Packs node.
  4. Right-click Veeam VMware Required Overrides and select Delete.
  5. Delete all imported Veeam management packs. Note that there are dependencies between the management packs and these packs must be deleted in the specific order.

Uninstall management packs as follows:

  • Veeam VMware High-Granularity MP (if present)
  • Veeam VMware Performance History Reports
  • Veeam VMware Analysis Reports
  • Veeam VMware Capacity Planning Reports
  • Veeam Backup and Replication Reports
  • Veeam VMware Views
  • Veeam Widget Library
  • Veeam Report Library
  • Veeam VMware vCenter Monitoring
  • Veeam VMware Monitoring
  • Veeam VMware Discovery
  • Veeam VMware Integration
  • Veeam VMware Library
  • Veeam VMware Collector Auto-Deployment
  • Veeam VMware Extended Data Collection
  • Veeam Backup Views
  • Veeam Backup Monitoring
  • Veeam Backup Discovery
  • Veeam Backup Library
  • Veeam Backup Base Discovery
  • Veeam Base Discovery

Alternatively, you can use the following PowerShell command to remove all Veeam management packs:

Get-SCOMmanagementpack | where{$_.displayname -like "*Veeam*"}| Remove-SCOMManagementPack

Remove Dependencies

If you attempt to delete Veeam management packs and get an error regarding dependencies on other packs, it means that you have created overrides to Veeam MP for VMware rules or monitors.

Use the following procedure to locate and remove the dependencies:

  1. Log on to the OpsMgr console using Administrator permissions.
  2. Go to the Authoring section.
  3. Expand the Management Pack Objects node.
  4. Select Monitors or Rules.
  5. In the Look For box, type Veeam, and then press Enter.

You will get a list of all Veeam MP for VMware objects that have monitors running against them.

  1. Right-click an object (for example, CPU_Total), and select Overrides Summary.
  2. In the Overrides Summary window, delete overrides for that object if there are any.
  3. Repeat the above steps for all Veeam MP for VMware objects.

Note

You do not have to select every single monitor or rule. Just select an object that the monitors run against (such as vSphere Host or VMGUEST Virtual Machine). Then you can view the override summary for that object and delete all its overrides at once.

After you delete a management pack from the OpsMgr console, the OpsMgr event log will display the following event on each Collector server:

Event Type: Information

Event Source: HealthService

Event Category: Health Service

Event ID: 1204

Description:

Management Pack with id: "Veeam*", version:"N.n.nnnn.n" is no longer used

by HealthService and will be deleted from cache.

This is a standard OpsMgr event that informs you that the management pack has been removed from the local Agent store.