Solved

Reset NTP Daemon to sync with time server

Posted on 2011-02-16
10
1,016 Views
Last Modified: 2012-06-27
I need to reset ntp daemon to sync with time server. The server is running as a VM and is Debian based Linux server.
0
Comment
Question by:rtroia
[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
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 9

Accepted Solution

by:
AriMc earned 125 total points
ID: 34908049
Edit your /etc/ntp.conf and file the lines starting with "server. Edit the hostnames to contain your preferred ntp-servers:

server 0.debian.pool.ntp.org iburst dynamic
server 1.debian.pool.ntp.org iburst dynamic
server 2.debian.pool.ntp.org iburst dynamic
server 3.debian.pool.ntp.org iburst dynamic

Then restart ntp-service

/etc/init.d/ntp restart

Check the results after a few minutes:

ntpq -p

0
 
LVL 120
ID: 34908074
why do you not have VMware Tools installed and Sync-ing time with the host?
0
 

Author Comment

by:rtroia
ID: 34908303
Hanccocka,  good question, I did not install the software and the person who did is gone and left very little documentation.  I would not know how to install the VMware Tools on linux if my life depended on it.
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

Author Comment

by:rtroia
ID: 34908425
What do I look for to see if the process was successful?
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 62 total points
ID: 34908434
0
 
LVL 120
ID: 34908440
It's beneficial to have VMware Tools installed not just for Time Sync.
0
 

Author Comment

by:rtroia
ID: 34908446
How do I edit the  /etc/ntp.conf file and how to I install VMWare tools on the Linux server?
0
 
LVL 120
ID: 34908461
0
 
LVL 7

Assisted Solution

by:cdjc
cdjc earned 63 total points
ID: 34908922
It's important to note that if your Debian VM was configured to synch time with NTP, as opposed to using VMware Tools, then there is a possibility that any other VMs are also set to sync to that same time source, and there could be a valid reason for doing so (Corporate standards, etc.)

You want to make sure that you confirm what the standard time sync practice is on all of your virtual and physical machines before you go ahead with configuring VMware Tools to sync the time with the host.
0
 
LVL 9

Assisted Solution

by:AriMc
AriMc earned 125 total points
ID: 34909299
When your ntp is running and reaching the ntp-servers, you'll see a listing like this with ntpq -p.
The reach, delay, offset and jitter values are mostly non-zeros when it works fine.



remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
-ntp1.hut.fi     193.166.4.49     2 u  306  512  377    9.010   -0.037   0.080
+ntp2.kolumbus.f 62.142.10.44     2 u  303  512  377    8.861    0.599   0.176
+tursas.miuku.ne 62.237.86.234    2 u  280  512  377    8.774    0.436   0.127
-xdsl-83-150-82- 204.9.54.119     2 u  446  512  377   16.629    9.370  11.706
*ntp2.tdc.fi     .PPS.            1 u  448  512  377   11.140    0.487   0.106
-maukkaat.tontut 193.10.7.246     2 u  298  512  377   12.966   -0.206   0.372

Open in new window

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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…
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:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 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