VMware Cloud Community
mohdreehan193
Contributor
Contributor

Script for removing Missing state VMS from VCACCafe

I have a script written which finds isMissing state VM's  in VRA/VRO using scriptable task. 

I need to enchance a script to remove those missing VM's from IAAS Database (VCAFE) Database.

Kindly help

Thanks

Reehan

0 Kudos
3 Replies
sbeaver
Leadership
Leadership

Check to see if you have this workflow, which should do what you are looking for just not quite in the way you were expecting.  Library --> vCloud Automation Center --> Infrastructure Administration --> Extensibility --> Discovery --> Unregister Virtual Machine

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos
mohdreehan193
Contributor
Contributor

Hi,

Thanks for your message, well the below API/Workflow will remove the VM from Vcenter but not from VCACCafe.

hence i need a script which removes .IsMissing vm's from VCACCafe database.

i have a script and API which uses to fetch .Ismissing VM's state from VCACCafe database.  however i need a action script to remove them.

Thanks

Reehan

0 Kudos
sbeaver
Leadership
Leadership

You can use something like this to help with the cafe postgres -- vRA7 – Delete stuck ‘In Progress’ Deployments be very careful because this will have the potential to really mess things up

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos