I have a problem I am trying to deal with, while having limited control over VMs configuration. I'll try to be as specific as possible. Please note I am not very knowledgeable about VMs and a lot of system-related subjects, so forgive me if it seems like I talk nonsense. I Think the problem itself should be clear regardless of that being the case.
I have the following setup:
A VM running Jenkins master, VM running database, VMs running Jenkins slaves, and many other VMs that have tests run on them. However, I have no control over which ESX each VM is under, and the ESX owners always shift, either automatically or manually. I use Windows, but I will probably add Linux Slaves and Mac tested environments in the near future.
Note that, again, I don't have control over administrative actions and settings, but I can request them to be done. But I want to form a solution before entering that bureaucratic ping pong between me and IT.
The problem:
The time is not synced between the VMs. It makes reading logs confusing, and might create other issues. Since I do not have a control over migrations and the like, the VMs are not all under the same ESX. To be honest, I am not sure if that is the exact cause, but I think this causes the time sync to be off.
The Solution?
Rather than each VM synced to its ESX, or whatever controls their time setting, is it possible to sync them with a specific VM? In this case, I want them all to sync with the Jenkins master VM. Doing so, if there are time issues, I would only have to look at the Jenkins master (unless the sync with the master is the problem)
Edit: Ah I am aware there's a setting (either in registry, or maybe via commandline?) that allows setting a time server, but I was wondering if there's a more official way to do it via VCenter on a group of VMs, rather than do it manually on each VM. I am not even sure if it will conflict with VMWare's time sync.