VMware Cloud Community
crawfordm
Expert
Expert
Jump to solution

Remove vm from vRA without deleting it from vSphere host

We have one vCenter for everything.  We are limited on the number of vRA host licenses we have.  So we have hosts that are licened for vRA and hosts that are licened for vRA.  If a VM was provisioned in vRA and we decide that we don’t want to control it with vRA any more and want to move it to hosts that are not licensed for vRA, how do we remove the VM from vRA without deleting the VM from the host?

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
1 Solution

Accepted Solutions
kumarankpl
Hot Shot
Hot Shot
Jump to solution

The only way is to remove the VM from vCAC database. Check the below KB where its explains.

"Removing a virtual machine from Management in VMware vRealize Automation"

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=207728...

View solution in original post

2 Replies
kumarankpl
Hot Shot
Hot Shot
Jump to solution

The only way is to remove the VM from vCAC database. Check the below KB where its explains.

"Removing a virtual machine from Management in VMware vRealize Automation"

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=207728...

rcporto
Leadership
Leadership
Jump to solution

Another workaround is change the vSphere agent behavior to move vRA destroyed VMs to a folder, instead of delete from endpoint.

Configure the vSphere Agent

Type the following command to change deletion settings such that destroyed machines are placed in a vCenter Server folder, VRMDeleted, instead of immediately deleting them in the vCenter Server (the default).

Dynamic0ps.Vrm.VRMencrypt.exe VRMAgent.exe.config set doDeletes false
---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto