Service Broker >> Consume >> Virtual Machine >> Managed
VMware Aria Automation 8.x
The Aria Automation Catalog database holds a stale entry for the VM, which incorrectly lists it as a "Managed" resource.
The stale VM entry, improperly listed as a "Managed" resource, can be removed by executing the query below on the VMware Aria Automation database.
Prerequisites
Note: Take snapshots or backups of all VMware Aria Automation nodes as a precautionary measure before proceeding.
Procedure
Run the following command to connect to the database using the vracli tool:
vracli dev psql catalog-db;
Option 1 : Using the REST API
GET https://AriaAutoFQDN/deployment/api/resources?search=VM-Name001
Note:
Replace AriaAutoFQDN with the FQDN of your Aria Automation environment.
Replace VM-Name001 with the affected VM name.
Note the ID retrieved from the API
Option 2 : From Aria Automation UI.
Access Service Broker >> Consume >> Virtual Machine >> Managed
Select the VM name and Custom Properties.
Get ID "resourceId" property.
DISCOVERED:update dep_resource set origin = 'DISCOVERED' where id = 'VM-Resource-ID';"