In previous versions of ESX up to 3.0.2 I could use this command:
vmware-cmd -l | xargs -i vmware-cmd {} setconfig tools.syncTime "TRUE"
to force the VMware tools in each VMs on a given ESX server to sync the time with the host. This was working fine, but it looks like it's broken in 3.5. The command executes and claims success but it doesn't work: the VMX file is not updated, the option in the tools isn't set.
Is there a way to quickly accomplish the same? I have 100s of VMs that could be affected and I need to be able to change them. Note that I tried to write a shell script that modifies the VMX file, however this works only for powered off VMs, as for powered on, the setting is overwritten after a while.
I found a solution here: http://communities.vmware.com/thread/137311;jsessionid=DB76536BB19F52C434A06B65E8DCCBE7?tstart=30
using MS PowerShell and VI Toolkit.
I followed the link posted, but was unable to decipher how you fixed this issue.
I am seeing the same problem now, as the templates we initially used did not have the Sync Time set to true (and there's a lot of *nix guests there too).
Help?