Step 2. Delete Veeam Management Packs
Delete Veeam management packs in the following order.
Deleting Microsoft.SystemCenter.SecureReferenceOverride MP
If you have configured the Veeam VMware Direct ESX(i) Connection Account Run As account for vCenter Failover, then Ops Mgr will have created or modified the Microsoft.SystemCenter.SecureReferenceOverride MP. To delete the Veeam MPs, it will first be required to remove the dependency created to the Secure Reference MP.
Veeam MP Resource Kit includes the Remove_Veeam_SecureReference.ps1 script that allows you to automatically clean Veeam MP dependencies from the Secure Reference MP. For details, see the Veeam MP Resource Kit Guide.
|
If you use other third-party MPs that store Run As accounts in the Microsoft.SystemCenter.SecureReferenceOverride MP, you might need to manually clean Veeam MP dependencies from the Microsoft.SystemCenter.SecureReferenceOverride MP. To learn how to clean dependencies, see www.veeam.com/kb1898. |
Deleting Management Packs
To delete the imported Veeam management packs, use the Ops Mgr console Administration section.
|
1. As with any MP, you must delete the overrides (or the unsealed MP which contains the overrides) before you can delete Veeam MPs. 2. If you have created a dashboard in the Default Management Pack using any of the Veeam MP customizable widgets, you will need to delete the Default Management Pack before you can delete Veeam MPs. For more information on working with Veeam dashboard widgets, see section Creating Veeam Dashboard Widgets. 3. If you have created an Ops Mgr monitor for a custom vCenter Server alarm using any of the Veeam MP predefined monitor types, you will need to delete the monitor before you can delete Veeam MPs. For more information on creating Veeam VMware custom monitors, see section Creating Ops Mgr Monitors for Custom vCenter Server Alarms. |
- In the Administration section, select the Management Packs node.
- Right-click Veeam VMware Required Overrides and choose Delete.
- Delete all imported Veeam MPs. Note that there are dependencies between management packs and they must be deleted in a 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 Capacity Planning for Hybrid Clouds
- 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 MPs:
Removing Dependencies
If you get an error when attempting to delete Veeam MP regarding Dependencies on other MPs, it is because you have created overrides to rules or monitors in the MP.
If you get an error concerning dependencies and you have no note of the specific overrides you have created for Veeam MP, use the following procedure to locate and remove them:
- Open the Ops Mgr console, Authoring section. In Management Pack Objects, select Monitors.
- In the Look For box, type "Veeam", and then press Enter. Now you see all the objects in Veeam MP that have monitors running against them.
- For each object where you see monitors (for example, CPU_Total), right-click and select Overrides Summary.
- If there are any overrides for that object, delete them.
- Repeat the above steps for all Veeam MP for VMware objects.
- If you have overridden any rules, you must repeat the above, selecting Rules in step 2.
|
You do NOT have to select every single monitor, or rule. Just select the object that the monitors run against, such as vSphere Host or VMGUEST Virtual Machine. Then you can view the overrides summary for that object, and delete all its overrides at once. |
After deleting the MP from the Ops Mgr console as described above, you should see the following event on each Collector server in the Ops Mgr event log:
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. |
The above is a standard Ops Mgr event and shows that certain management pack has been removed from the local Agent store.