LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-09-2006, 09:43 AM   #1
runnee
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Exclamation Time synchronisation of xntp doesn’t work well


Hello,

I’m a bit lost concerning xntp on suse 9.0 el with sp2. I hoop that somebody can help me with this.

The problem is that I have an vmware partition with suse that should work as an ntp server, so that a couple of clients can sync there time. This vmware partition is running on a ESX server. First I had problem that I couldn’t sync the suse ntp server with an other ntp server at all. On the internet I found a solution that I should remove the local clock in the ntp.conf file. That did work, but not well. You can see the output of de ntp log file below. It’s strange that the ntp server lost his connection and reconnect within the hour. It does this all the time. And I cannot find a solution for this problem. Who can help me!


9 Jun 13:58:27 ntpd[22653]: synchronized to 10.11.1.62, stratum 2
9 Jun 13:56:05 ntpd[22653]: time reset -141.941537 s
9 Jun 14:05:43 ntpd[22653]: synchronized to 10.11.1.63, stratum 2
9 Jun 14:11:05 ntpd[22653]: synchronized to 10.11.1.63, stratum 2
9 Jun 14:11:05 ntpd[22653]: no servers reachable
9 Jun 15:09:09 ntpd[22653]: synchronized to 10.11.1.63, stratum 2
9 Jun 15:06:47 ntpd[22653]: time reset -142.551115 s
9 Jun 15:15:23 ntpd[22653]: synchronized to 10.11.1.63, stratum 2
9 Jun 15:19:43 ntpd[22653]: synchronized to 10.11.1.62, stratum 2
9 Jun 15:25:06 ntpd[22653]: no servers reachable
9 Jun 16:21:58 ntpd[22653]: synchronized to 10.11.1.63, stratum 2

Whith kind regards,
Runnee
 
Old 06-09-2006, 11:49 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
You can't run an NTP server in a virtual machine. One of the characteristics of a virtual machine is that it doesn't provide guaranteed time, because it's not always running.

From: http://ntp.isc.org/bin/view/Support/KnownOsIssues

NTP was not designed to run under a virtual machine. It requires a high resolution system clock, with response times to clock interrupts that are serviced with a high level of accuracy. No virtual machine is capable of meeting these requirements.

Run NTP on the base OS of the machine, and then have your various guest OSes take advantage of the good clock that is created on the system."


From: http://www.vmware.com/support/kb/end...p?p_faqid=1318

"The most accurate way to keep guest operating system time synchronized with real time is to use the VMware Tools time synchronization function. You should not use the Windows Time service or other form of clock synchronization meant for physical machines to set the time in the guest operating system.

Unlike a physical machine, a virtual machine is not always loaded and running on a CPU. A virtual machine's clock can't run when the virtual machine is not running. When the virtual machine gets to run on a CPU again, the virtual machine's clock needs to catch up to real time."
 
Old 06-12-2006, 04:08 AM   #3
runnee
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanx macemoneta!

With this information I can search for an other solution.
 
Old 08-31-2007, 04:53 PM   #4
petcherd
Member
 
Registered: Dec 2006
Location: Portland, OR - USA
Distribution: Formerly Slackware; now RH, SuSE, Debian/Ubuntu, & Asianux
Posts: 55

Rep: Reputation: 15
runnee is right. NTP is useless for correcting the large skew that will be found on a virtual machine.

VMWare's Official whitepaper on the matter can be downloaded here: http://www.vmware.com/pdf/vmware_timekeeping.pdf
 
Old 08-31-2007, 05:01 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Petcherd, you realize you responded to a thread that was resolved over 14 months ago, right? Did you miss your afternoon coffee?
 
Old 09-02-2007, 01:16 PM   #6
petcherd
Member
 
Registered: Dec 2006
Location: Portland, OR - USA
Distribution: Formerly Slackware; now RH, SuSE, Debian/Ubuntu, & Asianux
Posts: 55

Rep: Reputation: 15
No, it just seemed like an incompletely resolved issue to me, so I added one more reply. I'm something of a Linux n00b, and when I'm looking for someone else's solution(s) to a problem I'm seeing, I often expand my search parameters to look back more than a year.

I figure someone else with the same profile might appreciate the additional help.
 
Old 09-02-2007, 01:28 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Quote:
Originally Posted by petcherd View Post
No, it just seemed like an incompletely resolved issue to me, so I added one more reply.
OK, re-read post #2 carefully.
 
  


Reply

Tags
ntp, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wi-Fi doesn;t work on Suse 9.3 hackerarchangel Linux - Hardware 2 10-18-2005 12:59 PM
Microphone doesn' work Lars79 Slackware 20 08-30-2005 09:24 AM
PS/2 mouse doesn´t work :( teekaay Slackware 7 01-08-2004 02:22 AM
Server Time Synchronisation mattingg Linux - Software 4 12-04-2003 10:48 PM
kopete doesn´t work maZ Linux - Software 1 07-31-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration