Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

VM Ware Hangs on LoginInGuest()

$
0
0

Hello,

 

I have the following problem. I have a console application (written in C#) and it has 1 thread that is responsible to check for a couple of VMs in vSphere. This thread reads the VM status through an SQL server to know when should it revert those VMs to the old Snapshot or when to start a specific service on them. The problem lies in the following:

 

  • App logs in to the VM
  • App executes the application (with interactive mode)
  • App disconnects from the host
  • App is waiting to send other signals when the Guest VM has finished
  • Once the App received the Signal it connects and then hangs in the LoginInGuest() function.

 

If I close the App and run it again, it will work fine, but still only 1 time and I have to close it again. The whole idea of that thread is that it was supposed to run all the time without any user-interaction.

 

My question is, is there anything wrong with what I have described so far for such algorithm or sequence of work? Is there any special conditions I need to care of, before or after connecting to the ESX server and opening the required Guest VM?

 

Thanks in advance!

--halsten


Viewing all articles
Browse latest Browse all 34639

Trending Articles



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