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

Cannot execute VIX API command on a Powered On Virtual Machine - vCenter

$
0
0

I cannot execute any VIX API vmrun command once the Virtual Machine is powered on.

 

The setup is a vCenter server with a number of esx hosts.  I can list all virtual machines, and power the machines on, but once the machine is powered on, every vmrun command fails with the error "Cannot open VM: [datastore] VMname/vmname.vmx, There was an error in communication"

 

When executing the vmrun 'start' command from a command prompt, the command does start the Virtual Machine, but it does not return control immediately.  Instead it hangs for a few minutes before returning with the above error.  In other words it appears that as soon as a Virtual Machine is powered on, the vmrun command cannot communicate with the guest VM.  When powered off, I am able to run many vmrun commands such as revertToSnapshot, snapshot, etc.

 

I tried to execute the vmrun command against the specific esx host and this was successful.  Unfortunately, this is not a great option as the Virtual Machines could reside on any number of esx hosts.

 

Has anyone experienced this?  I'm hoping for a solution other than placing groups of vm's that I need to control via VIX on a particular esx host.

 

Thanks,

 

Joe Yankel


Viewing all articles
Browse latest Browse all 179681

Trending Articles



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