VMware Communities > VMTN > VMware vCenter™ > VMware vCenter™ Server > Discussions

This Question is Answered

1 "helpful" answer available (6 pts)
5 Replies Last post: Apr 16, 2009 11:05 AM by GFFG
Reply

Time Sync ESX 3.5 u4

Apr 16, 2009 9:55 AM

Click to view GFFG's profile Hot Shot GFFG 165 posts since
Feb 29, 2008

Hi

Q: If none of vm's sync with ESX via Vmtools then why does setting up ESX NTP client really matter? alerts etc , scheduled tasks?

Q: We use windows time server that is set to get to sync outside to Microsoft's time server. Windows time service then sync's all machines in domain. My question is in ESX server, given the above statement, would it be beneficial to to use the internal domain time server as the #1 time server in ESX? Also is it advantageous to make the 2nd time server an outside source?


Reply Re: Time Sync ESX 3.5 u4 Apr 16, 2009 10:02 AM
Click to view Troy Clavell's profile Guru Troy Clavell 6,042 posts since
Oct 12, 2007
have you seen the Timekeeping in VMware Virtual Machines white paper?
Reply Re: Time Sync ESX 3.5 u4 Apr 16, 2009 10:06 AM
Click to view lamw's profile Champion lamw 2,748 posts since
Nov 27, 2007
At a previous company, the Windows group had a similar question and we did the following:

I'm not sure if it's a best practice to sync your VM(s) to your ESX/ESXi host and then have that sync to your external time source, it may be up for interpretation, though our Windows team felt they wanted to directly sync the VM(s) to our AD/external source since they're all connected to the domain. We disable the sync from VM to host, but we do also sync our NTP Client settings on our ESX hosts to our internal NTP server. The reason for the sync is that we also have our Service Console not only authenticate to admin account locally but we also have it talk to AD so that VI Admins can also login using their AD credentials and we only keep one local admin account for the UNIX/Linux group for administrating the host. As you're probably aware, directory services/AD is very time sensitive and you want to make sure you're not drifting too far apart, else the system won't allow you to logon and we felt that it should not rely on the host for the time in case the host loses it's sync so we have two NTP sources.

Hopefully this helps out

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
http://twitter.com/lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

Reply Re: Time Sync ESX 3.5 u4 Apr 16, 2009 10:23 AM
in response to: lamw
Click to view GFFG's profile Hot Shot GFFG 165 posts since
Feb 29, 2008

Thanks Troy and Lam,

I would tend to agree with your assement Lam. Lam are you saying that previously you had your vmware tools sync to ESX host, right?

You basically unchecked the Vmwaretools sync option and ensureed W32TIME service was enabled on all VM's?

Thats where I am at right now.

I am going to edit the ESX server's NTP settings for my 5 ESX servers and change it to

1) our local time server for Domain as #1 Choice

2) My #2 choice will be the external time server that our #1 server sync's too.

This way all machines's , all servers and workstations all in some way or another are "ultamitly" getting it's time from MICROSOFT'S EXTERNAL INTERNET FACING TIME SERVER.

Thanks! I think this sounds like a good plan.

That PDF was a good read, wow a lot to think about for sure!


Reply Re: Time Sync ESX 3.5 u4 Apr 16, 2009 10:28 AM
in response to: GFFG
Click to view lamw's profile Champion lamw 2,748 posts since
Nov 27, 2007
Yes this was a decision from our Windows team that they wanted to sync directly to Windows time source and all Window images were setup to not sync with host. I don't believe we ever had our Window VM(s) sync to the host, it was sort of something that was there for awhile. Hope this helped

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
http://twitter.com/lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

Reply Re: Time Sync ESX 3.5 u4 Apr 16, 2009 11:05 AM
in response to: lamw
Click to view GFFG's profile Hot Shot GFFG 165 posts since
Feb 29, 2008

Lastly does anyone know if esx uses both in the list all the time or just one until it becomes unavailable?


Actions