Hi,
I wanted to remove 2 obsolete virtual machines from a vAPP saved to the catalog.
While this is possible when the vAPP is deployed and powered off there appears to be no option to delete a VM from a catalog that I can find.
Is this possible? Is there an alternate method rather than using the VCD web interface?
We are using VCD 5.1.2.1068441.
Thanks in Advance,
HG.
You can't do that to my knowledge. You'll need to deploy a vApp from the catalog item, remove the offending vm's, then save it back into the catalog. It really only takes a few minutes if you have linked clones enabled. Regardless of your storage configuration I don't think there is any way to modify the catalog item once its been created.
Paul
I'm bit unclear with your problem description.However if you want to delete any objects other than via web interface,you can certainly try with vCloud API.
http://pubs.vmware.com/vcd-55/topic/com.vmware.ICbase/PDF/vcd_55_api_guide.pdf
Hi,
Sorry about the delay but I have been away.
I have saved a deployed vAPP with 16 vm's to the catalog in VCD 5.12.
The original vAPP is still deployed and running and by consolidating functions of several vm's we concluded we could remove 2 virtual machines from the deployed and running environment that no longer served any purpose. I would like to remove the same 2 virtual machines from the vAPP that is saved to the catalog but there is no option (that I could find in the web interface) that would provide me with a means to remove these virtual machines from the saved to the catalog vAPP.
I will have a look at the API as you suggest but would have thought it would be possible through the web interface - apparently not.
Thanks,
Henry
You can't do that to my knowledge. You'll need to deploy a vApp from the catalog item, remove the offending vm's, then save it back into the catalog. It really only takes a few minutes if you have linked clones enabled. Regardless of your storage configuration I don't think there is any way to modify the catalog item once its been created.
Paul
this is correct. you cannot modify the contents of a vApp in a catalog directly in the way you want.
In vCD 5.1.x, you would deploy a copy ... make appropriate changes (delete VMs) ... capture to catalog under a different name.
In vCD 5.5.x, there is a second path.
you would deploy a copy ... make appropriate changes (delete VMs) ... capture to catalog under the same name, replacing the previous instance (this increases the version displayed by 1).
Thanks. Not exactly the answer I wanted to hear, but at least I know now.
Have a great day!