My script (and vmrun) can't establish a reliable connection to an ESX server via VIX.
Lets say I execute the script 10 times consecutively. the script will fail at VMOpen() function call 6 out of 10 times. Its the same situation with vmrun.
Initially, I was able to interface with that ESX machine for several months without a problem.
Now, i get connection problems several times an hour.
What gives?
Its not a network issue because I can access the https just fine.
VMOpen description: http://www.vmware.com/support/developer/vix-api/vix17_reference/lang/perl/functions/VMOpen.html