Vcenter duplicated under Virtual Host Manager everytime the SpectroSERVER is recycled.

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

The first modeling of SystemEDGE VCAIM agent in Spectrum works without problem. The Virtual Infrastructure is created correctly under Virtual Host Manager (VHM). The vCenters, datastores, ESXi, everything is correct.

However after I recycle the SpectroSERVER, some of the vCenters managed by SystemEDGE VCAIM, gets duplicated, under VHM.

Environment:
Spectrum 10.2SystemEDGE VCAIM 5.9VMware vCenterWindows 2012
Cause:

This problem may occurs if a Vcenter is running on a virtual machine (vm), and this vm is under a different vCenter.

To understand, imagine vc01 and vc02 are two vCenters. The vc01 virtual machine is running under vCenter vc02.

During discovery, while loading the VHM inventory, vCenter’s are loading properly and SystemEDGE VC AIM instance UID are correct. 

While creating the virtual machine of vc01, as this vm is created under vc02 vCenter, the proxy Redirector model will be updated with UID Instance of vc02. 

As a result on every load of inventory object (as when SpectroSERVER is recycled), Spectrum treat that vCenter vc01 as needed to be created again, hence, it will be duplicated.

 

Resolution:

As running a vCenter virtual machine under a different vCenter, is not supported, a first option to resolve the problem is, moving the vCenter virtual machine, to the corresponding vCenter. In the above example, moving vc01 virtual machine to vCenter vc01.

Another option, is to restrict the VCAIM user to not see the vCenter virtual machines. To still manage those vms, an SNMP agent may be installed on that virtual servers, and model the servers as any other SNMP capable device in Spectrum. As they will not appear under VHM, the problem should not occur.

Additional Information:

Additional Interesting documentation regarding duplicated models and VCAIM:

 

Using the SystemEDGE VCAIM to manage the SpectroSERVER through the Spectrum Virtual Host Manager (VHM) functionality

https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec574923.html

 

Duplicate Models Created After SNMP and vCenter Discovery

https://docops.ca.com/ca-spectrum/10-2/en/managing-systems/virtual-host-manager/troubleshooting/duplicate-models-created-after-snmp-and-vcenter-discovery/