Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
Are there error messages either on the console of the vmrun machine or in the log file of the ESX machine? –  kbyrd Nov 15 '11 at 13:11
    
It's in the vmrun –  LostInComputer Nov 16 '11 at 1:48

1 Answer 1

Without error logs, the next thing you could try would be a packet analyzer like WireShark. You might be able to see if TCP is closing the connection or if the application layer is shutting things down.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.