VCAIM Removal Of Virtual Machines

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

Scenario

You may have a system manager that discovers the VCAIM and manages the its discoverable objects. And the solution described is for the scenario where you do not want the manager system to manage certain VC objects, discovered by the VCAIM, such as Virtual Machines, Datacenters, Hosts, etc.. 

 

Solution

In order to accomplish this you have to modify the vCenter user account used by the VCAIM so that it does not have permissions to see that object. Once you have done that you must also recycle the systemedge agent. 

If you want to confirm which vCenter user account the VCAIM uses to get information from vCenter then you can do the following:

  1. Open a command prompt (cmd) on the SystemEDGE server where the VCAIM is installed.
  2. run: cd <SystemEDGEInstall>\bin
  3. run: walktree -c <community string> -p <port> -o 1.3.6.1.4.1.546.16.52.1.2.3
  4. Step 3 will provide a list of vCenter servers that the VCAIM is managing. There is a series of OIDs/Values for each of the vCenter servers managed by the VCAIM. Find the VCUID for the vCenter you want to change the user account for. This can be found by looking at the index number at the end of the oid: 1.3.6.1.4.1.546.16.52.1.2.3.1.2.<index/vcuid>. This OID represents the name of the vCenter server. 
  5. Based on the index/vcuid obtained in step 4, you can look at the <username> value for the OID: 1.3.6.1.4.1.546.16.52.1.2.3.1.3.<index/vcuid from step 4>

 

This is the only solution for obtaining such results. It has been confirmed that the VCAIM does not have any such feature. Removing that objects references from the VCAIM's xml file:

  • Is unsupported
  • Does not help - as the data will still be returned by the VCAIM; and
  • The objects xml data will also be repopulated when the SystemEDGE agent is recycled. 

 

Please note that changing the permissions of the VCAIM will remove the relevant object from the VCAIM after SystemEDGE has been recycled. This will also impact any other management tools getting data from the VCAIM.