Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VMWare host best practice to configure NTP server to PDCe or external source

Posted on 2013-11-20
12
Medium Priority
?
847 Views
Last Modified: 2013-11-21
Hello EE,

We have a PDCe that all our internal environment gets it's time from.  It happens to be a VM and one time the NTP client on my host stopped running and the time on this PDCe was off and started handing out faulty time.

I am wondering how to avoid this situation?  I have my PDCe setup to NTP to time.gov but it still got the time it appears from the host.  What are the best practices and how do you have it setup?
0
Comment
Question by:bergquistcompany
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39663531
How we setup our clients is as follows:-

1. ESXi/ESX Hosts are set to an external time source.

2. DC, PDC emulator is set to the same external time source as in 1.

3. VMware Tools Sync time with host is disable on ALL Windows VMs. They will get time from Domain.

4. Linux/Unix VMs are synced with external time source as in 1.

I also refer you to:-

VMware KB: Timekeeping best practices for Windows, including NTP

VMware KB: Troubleshooting NTP on ESX and ESXi 4.x / 5.x

Timekeeping In VirtualMachines Whitepaper
0
 

Author Comment

by:bergquistcompany
ID: 39663724
Excellent!  Yes I found the first article and have the DC setup properly but was concerned as my hosts are getting time from the PDC that is getting time from outside and when the service stopped on one host it was really ugly and I want to make sure I'm setting it up properly to avoid.

I setup the Client, Parameter to NTP, but on the NTP server will it appear as follows or should there be no number 1.2.3:
 1.pool.ntp.org,0x1 2.pool.ntp.org,0x1 3.pool.ntp.org,0x1
0
 
LVL 123
ID: 39663960
We usually setup the Hosts to go directly to the NTP Source. (same source as PDCe)

so that would be:-

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org

We have read, that's it's etiquitte that, only a single device from your LAN should contact an external NTP server.

I cannot remember where I read that...

but we some clients also use an NTP Virtual Server as a time server, which fetches the time from a random set of servers, to maintain accuracy, and then clients set ALL LAN devices to this NTP Virtual Server (or physical server on the LAN!).
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:bergquistcompany
ID: 39664046
so in the registry I have this:
1.pool.ntp.org,0x1 2.pool.ntp.org,0x1 3.pool.ntp.org,0x1

should be:
server 0.pool.ntp.org,server 1.pool.ntp.org,server 2.pool.ntp.org, server 3.pool.ntp.org
0
 
LVL 123
ID: 39664063
fqdn is 0.pool.ntp.org etc

that's Linux config from our ntp.conf
0
 

Author Comment

by:bergquistcompany
ID: 39664105
oh I'm in the windows registry
Capture2.JPG
0
 
LVL 123
ID: 39664211
okay, a little confused here....

I'm discussing hosts getting time from external time source.

and I though your Windows is working correctly getting time from external time source?
0
 

Author Comment

by:bergquistcompany
ID: 39664310
Ok my bad put the setting in VMware, thought should change PDCe to point to same location
0
 
LVL 123
ID: 39664356
both PDCe and VMware Hosts should point to same NTP location.

some organizations have their own time server.
0
 

Author Comment

by:bergquistcompany
ID: 39664368
Ok ill change the PDCe then too once I figure how to add the list.  Thanks
0
 
LVL 123
ID: 39664432
so what are you Windows server set to currently?
0
 

Author Comment

by:bergquistcompany
ID: 39664566
Time.gov
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question