VMware Cloud Community
ShawnPD
Enthusiast
Enthusiast

The resource kind that has eaten our vCops o how to exclude some objects from being collected!


We are currently using vCops 5.8.0 Build 1537842.  While following Sunny Dua's excellent posts on "http://vxpresss.blogspot.in/2013/05/part-1-using-vcops-super-metrics-custom.html I discovered 10s of thousands of resources under Resource Kinds | Datastore.  Our Backup team uses Commvault through a esxi proxies to snap luns to protect the LUNs in one of our data centers.  The snapped LUNs are mounted on the proxy and then unmounted when the backup is complete.  Unfortinately, vCops has collected these as resources and needless to say with our protection cycle there are many,many of these reources left with the lovely white question mark on the blue background

My question then is...is there an easy way to set an exclusion for anything with the name GX_BACKUP?  This would prevent the collection of these temporary objects?

Also as an extra added bonus if anyone knows of a quick easy way to delete over 16000 resources all with that name...well that would be a bonus!

Please let me know if I can provide any further info that may help you help us out!

0 Kudos
3 Replies
gradinka
VMware Employee
VMware Employee

there's this KB for resources removal VMware KB: Removing non-existent virtual machines from the vCenter Operations Manager vApp

also search around other topics, there is some more info in older topics (if I remember correctly)

TBKing
Enthusiast
Enthusiast

Same story here with Commvault and VSA

I do have a thread here asking the same.

The link gradinka has posted is for non-existent VMs.

For some reason, that isn't working for me.

However, you, and myself as well, have datastores that are in the same situation.

One suggestion was to block the vCops service account from seeing the proxy using permissions and roles.  I tried that earlier this week, but it didn't work.  It was suggested maybe I need to restart the vcops service on the (one of) the vcops server.

Also - I forget if I've tried this yet, but trying again for the weekend:  From a vcops point of view - put the backup proxy in Maintenance mode ...  We'll see on Monday.

As far as deleting the bad objects - I'm still doing it manually from the "Environment Overview" page (filter on Backup)

Good luck!

Here's the thread I opened:

Automatically remove dead objects?

TBKing
Enthusiast
Enthusiast

Nope ... I have +300 useless objects in the db this morning.

I verified that the vCops service has no access to the proxy - I logged in with the vCops service account and could not see the host.

So neither the vCenter permissions, or vCops Maintenance Mode for the host stopped it.

0 Kudos