Unable to delete Virtual Machine (vm) models that are being managed by Virtual Host Manager (VHM) in Spectrum
search cancel

Unable to delete Virtual Machine (vm) models that are being managed by Virtual Host Manager (VHM) in Spectrum

book

Article ID: 51303

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Unable to delete Virtual Machine (vm) models that are being managed by Virtual Host Manager (VHM) in Spectrum. 

As a side-effect, users are unable to change the Spectrum model type used to monitor SNMP agents that exist on the VM (this requires the deletion of one model and recreation of a new model with the correct type). This is a problem if the SNMP agent changes from one type to another. This is also problematic if you want to change a VM's model type from an SNMP-capable type to Pingable.

Environment

Release: Any
Component: SPCDIS

Cause

This is functioning as designed.

Resolution

If you need to delete the VMWare model, or revert an existing VHM SNMP model to a pingable model, or if you need to change the SNMP model type of an existing VHM SNMP model, then the following steps should be followed:

1. Configure the virtual machine as required (change SNMP agents or remove them).

2. Ensure VHM SNMP modeling configuration is set as desired:



    • If a new SNMP model is desired, set the "Discover SNMP-Capable Devices" option on the VHM model to be "Yes" and ensure you have configured the new model's SNMP credentials on the VNM model.

      Note: If you are running an earlier version of Spectrum, or if an SNMP agent is not available at this time, you can upgrade the pingable at a later date using Model By IP.

 

    • If a pingable model is desired, ensure the "Discover SNMP-Capable Devices" on the VHM model is set to "No" or that the SNMP agent on the VM has been disabled.

      Note: This pingable model can be upgraded to an SNMP-capable model at a later date using Model By IP.

 

3. Select the VM that needs to be deleted, and switch to the "Attributes" tab in the Component Detail window.

4. Filter for the "EditModesMask" (0x130cc) attribute in the attribute list on the left.

5. Move the attribute to the right and set the value to '0'. Within 10-15 seconds, the model should be available to delete.

6. Right-click the VM and select Delete from the pop-up menu.