?
Solved

NTP not correcting server time

Posted on 2012-04-07
3
Medium Priority
?
611 Views
Last Modified: 2012-06-22
My CentOS server's time is incorrect. Right now, my local time is 17:22. This is what my server reports:

# date
Sat Apr  7 17:37:51 IST 2012

Open in new window


When I run ntpdate, it doesn't seem to correct this:

# ntpdate -v 0.centos.pool.ntp.org
 7 Apr 17:38:46 ntpdate[32076]: ntpdate 4.2.2p1@1.1570-o Fri Nov 18 13:21:21 UTC 2011 (1)
 7 Apr 17:38:47 ntpdate[32076]: step time server 129.128.5.210 offset -891.236361 sec

# date
Sat Apr  7 17:39:25 IST 2012

Open in new window


Is it because the offset is too large? Or is it because it's a Xen based server? How do I fix it?
0
Comment
Question by:Julian Matz
[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
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37819453
check time on the xen server. virtual machines update time from the host OS
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 2000 total points
ID: 37819459
set NTP on Xen server else all virtual machines will get updated from Xen server time.

XenServer Hosts manage time for all virtual machines (VMs), unless the VMs are specially configured. It is therefore very important to keep time synchronized, especially on VMs that function as domain controllers.

To configure NTP when installing or updating your XenServer, just enter NTP servers in the installation wizard.

To configure NTP on XenServer Host after the installation, perform the following steps:

1. Edit /etc/ntp.conf and add NTP servers

#vi /etc/ntp.conf

2. Add NTP servers at the end of the file in the following format:

server ntp.server

Citrix recommends using the following NTP servers:

0.pool.ntp.org
1.pool.ntp.org
2.pool.ntp.org

3. Restart the NTP service:

#/etc/init.d/ntpd restart


http://support.citrix.com/article/CTX116458
0
 
LVL 21

Author Comment

by:Julian Matz
ID: 37819559
apparently, it's a sort of hybrid server, not 100% sure how it's set up exactly, but it seems the data centre staff need to fix this on their end, so I guess it's out of my hands. Thanks though.
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

801 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