All,
I was running through and testing a workflow I built from http://www.vcoteam.info/learn-vco/manage-services-on-your-esxi-hosts-with-vco.html. It's a great little process to manage host services. I was looking to leverage an SSH command action. Anyway, while testing I noticed that the .running property of the VCHostService for TSM-SSH always showed false. When I started the service I it showed running in vCenter as well as using the PowerCLI Get-VMhostService cmdlet. I modified the script to break out of the routine, and echo out the all the property values for the vcHostService object and if that particular service was running or not, the value always returned false. I also did a refresh of the service prior to invoking the action. Has anyone seen this type of behavior before or have any ideas?
2013-06-12 09:55:34.226] [I] Checking TSM-SSH / TSM-SSH
[2013-06-12 09:55:34.226] [I] Service Found! SSH
[2013-06-12 09:55:34.226] [I] Service Properties: Key=TSM-SSH label=SSH policy=off running=false
Key Label Policy Running Required
- ----- ------ ------- -------
TSM-SSH SSH off True False