Hi All,
Sometimes during VM provisioning i.e. when machineprovisioned workflow stub is executing sometimes vcenter does vmotion on the vm. Sometimes scripts are executed on the VM by machineprovisioned workflow. This messes things up. One option is to disable vmotion on a single VM being worked on. How to do this? Any other options.
Any help appreciated.
Hi,
I haven't tried it, but a good starting point could be vRO API Explorer documentation for VcAuthorizationManager scripting object's methods disableMethods() / enableMethods() plus the following blog post by William Lam - https://www.virtuallyghetto.com/2016/07/how-to-easily-disable-vmotion-cross-vcenter-vmotion-for-a-pa...
Hi,
I haven't tried it, but a good starting point could be vRO API Explorer documentation for VcAuthorizationManager scripting object's methods disableMethods() / enableMethods() plus the following blog post by William Lam - https://www.virtuallyghetto.com/2016/07/how-to-easily-disable-vmotion-cross-vcenter-vmotion-for-a-pa...
I came across same blog. PS script work.
Thanks llian.