Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Set Custom Annotations while deploying VM

$
0
0

Hi All

I am using powercli cloneVM_Task for deploying vms and i have all my nut-bolts ready. I had seen many things around but couldn't find any thing to update custom annotation.
i know we can set Notes via "VirtualMachineConfigSpec" -> "annotation"..
but my goal is to set custom attributes  which are created globally for each object in vCenter
.


it is slow if i use "setCustomValue" after VM creation; even if i use "get-view with filter or -Id" instead of 'get-vm'..

I want to club this up in single task.

 

-----
i want to ask one more thing, why VM Cloning slows down when number of VMs in vCenter grows more thn 1000.
i deployed a new vCnter to compare these result - when i cloned a vm in new vCenter. it was taking 7sec to 13 sec to complete the cloning but in our old vcenter the task is completed in minutes while a vCenter with around 4500 VMs its taking ages to finish. The hardware (server, storage and network)  we are using is same everywhere.

--

Regards

Sanshis


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>