Hi All,
I try to use create simple virtual machine workflow but always error because I'm not insert resource pool parameter because in our datacenter we dont have any resource pool...I'm read from CreateVM_Task is always use resource pool, any chance I can create new VM without use resource pool?..Thank you
Actually, you do have a resource pool as Joerg eludes to.. however, regardless of DRS status, your Cluster(s) and even standalone hosts have a root "Resources" resource pool that the vCO client can see via the vSphere API. This root resource pool is NOT visible in the vSphere Client or vSphere Web client:
As you can see above, the standalone host "esx-03a.vcoteam.lab" has a "Resources" resource pool, as does the "Standby" cluster that does not have DRS enabled
Hi,
it depends if you are creating the VM in a cluster that has DRS enabled or not.
If DRS is enabled, you HAVE to specify a resource pool (even if it's just the root resource pool of the cluster, get it via myClusterComputeResourceObject.resourcePool. That is alway there, even if you have not created any other child resourcepools ). If DRS is not enabled, you should not define a resource pool. In this case, just bind the resourcepool parameter of the workflow to NULL.
Maybe the videos on www.vmwarelearning.com/orchestrator even contains some examples for that.
Cheers,
Joerg
Actually, you do have a resource pool as Joerg eludes to.. however, regardless of DRS status, your Cluster(s) and even standalone hosts have a root "Resources" resource pool that the vCO client can see via the vSphere API. This root resource pool is NOT visible in the vSphere Client or vSphere Web client:
As you can see above, the standalone host "esx-03a.vcoteam.lab" has a "Resources" resource pool, as does the "Standby" cluster that does not have DRS enabled
Thanks for Joerg and Burke....It works like magic...thank you very much, I dont know if the "resource pool" in that place...