Solved

NTP not correcting server time

Posted on 2012-04-07
3
590 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
  • 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 500 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

762 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

23 Experts available now in Live!

Get 1:1 Help Now