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

Document ID : KB000051303
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

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.

Solution:

Cause

This is the result of a design change or new feature that was added to Spectrum 9.2. The PhysicalHostDeviceContainer was added in Spectrum 9.2 and is used to collect all virtual machines that exist on a single physical host into one topological location. The decision was made to disallow deletion of entities managed by Virtual Host Manager because VHM will automatically recreate models for any deleted (but still managed) virtual elements every poll cycle in order to keep the PhysicalHostDeviceContainer up-to-date.

Workaround

If you need to 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. Cofigure 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" (available in Spectrum 9.2.1) 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" (only available in Spectrum 9.2.1) 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. 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.