Solved

ESXi 4.1 - NTP server change

Posted on 2013-11-02
3
763 Views
Last Modified: 2013-11-23
Hi,

I have 300 production ESXi host in our environment. I am going to change the NTP servers on each Host using script. As precaution, please help me to clear the below doubts.

1- Stop the NTP service on each Host
(Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq "ntpd"} | Stop-VMHostService)

2- Remove the existing NTP server details
(Remove-VmHostNtpServer -NtpServer 192.168.1.5 -VMHost $esx)

3 -Add the new NTP server to the host
(Add-VmHostNtpServer -VMHost $esx -NtpServer servername)

4 - Restart the NTP services
(Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq "ntpd"} | Start-VMHostService)

Please let me know if any impact

1 - Remove NTP server details
2 - Restarting NTP services
0
Comment
Question by:kbjijo
3 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
There will be no service impact, (in fact ESXi NTP time service is so buggy it stops most of the time anyway for no reason!)

If you are syncing VMware Virtual Machines with the Hosts, via VMware Tools, irrespective of this change, it's probably best to sync Windows Servers with the Active Directory Domain Controllers e.g. PDC and Linux/Unix VMs to an external time source, the same NTP source as the ESXi servers.
0
 
LVL 3

Expert Comment

by:Aravind Sivaraman
Comment Utility
There wont be any impact on the VM's running...
0
 
LVL 13

Accepted Solution

by:
frankhelk earned 500 total points
Comment Utility
My recommendation:

How about using a Windows port of the classic *ix NTP service ? The NTP service software is free. Easy to install and configure, works like a charm and is stable as a rock. And it is nicer when it comes to one of the rare cases of troubleshooting.

See this article for the "How To".
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
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 use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now