Synchronizing Server’s time across a VMware infrastructure.

Dear VMware experts,

My infrastructure consists of 2 ESXi Servers and 1 Physical DC Server.

Could you please advise which is the best method in order to have
all the machines ,physical and virtual, synced from one time pool?

Should I use the DC to sync the ESXi’s and force VMs to retrieve the
time from the ESXis?

Should I use an external time source?

Please advise the recommended source time server as well as the configuration required
in order to have all the machines synced.

Thanks,
Mamelas
mamelasAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
We recommend you do the following:-

1. Sync the Physical DC with an external time source.

2. Sync the ESXi servers with an external time source same source as 1.

3. Disable turn OFF VM sync with Host. All Windows VMs will sync with PDC/AD controller.

4. Sync Linux VMs with external time source as in 1.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mamelasAuthor Commented:
Hi there Andrew,

Regarding Q3, do I need to run  NET TIME \\<DOMAIN CONTROLLER> /SET /Y
on every VM Server in order to force to sync with the DC or it the default domain
policy will sync those VMs?

Using the above command will make the sync connection permanent between VM Server and DC?
mamelasAuthor Commented:
Following your suggestion:

1) I synced the Primary Domain controller and the ESXi Servers with the same external ntp pools.
2) I confirmed that the "VM sync with Host" option was disabled for every VM
3) I run the "NET TIME \\<DOMAIN CONTROLLER> /SET /Y" command on every VM

this command will make the sync connection permanent between Primary Domain Controller and VMs?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, it will.
mamelasAuthor Commented:
You are a great time saver Andrew, thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.