VMware Cloud Community
OnNo_4
Contributor
Contributor

vCenter creates viPerl deployed VM's across hosts inside the cluster

Hello,

I'm currently working on a tool that deploy's our VM's automatically using the viPerl SDK.

I decided to have it create a XML template for each container that needs to be created instead of 1 big XML that contains all of them so i can catch the output of each container. All the templates get created correctly and contain the correct ESXhost that the VM has to live on.

When the containers get created, vCenter reply's stating that the container has been created on the assigned ESXHost, but it doesn't. Instead, it spreads the containers over the 4 ESXhost that are inside the cluster. Even when i let it create only 1 contrainer, it still goes to a different ESXHost inside that cluster, but it does always use the correct storage that belongs to the ESXHost it's supposed to go to.

I tested this on ESXi 4.1.0 and 5.0 using viPerl v5.1.

I hope that someone can point me in the right direction as im clueless at this point... :smileyconfused:

Thanks in advance!

0 Kudos
0 Replies