Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems with timesync

dad sdadsNov 23 2010 — edited Nov 29 2010
Hi

I'm new to Oracle virtualization but for my new job I now have to "manage" a number of Oracle virtual machines running on Oracle VM. Today I noticed that the time between of all the machines (physical and virtual) is not in sync. The VMs running Oracle could easily be corrected by removing a number of server entries from the /etc/ntp.conf file and adding our internal ntp server. However on the Oracle VM physical hosts, this didn't solve the issue.

When working on the VMs, running "ntpq -p" command, I get the following output:

remote refid st t when poll reach delay offset jitter
==============================================================================
xxxxxxxxx LOCAL(0) 11 u 790 1024 377 4.277 0.142 13.487
*LOCAL(0) .LOCL. 10 l 21 64 377 0.000 0.000 0.001

On the physical Oracle servers I get:

[root@srv-oracl2 ~]# ntpq -p
srv-oracl2: timed out, nothing received
***Request timed out

On physical server stopping ntpd and running ntpdate -v 10.x.x.x (ip of ntp server), I receive:
23 Nov 15:32:11 ntpdate[15093]: ntpdate 4.2.2p1@1.1570-o Mon May 18 21:19:12 UTC 2009 (1)
23 Nov 15:32:11 ntpdate[15093]: adjust time server 10.x.x.x offset -0.027741 sec

So to me it looks like the physical server can talk to the NTP server, but I can't figure out why ntpq -p is not working.

Am I correct in believing that testing with ntpq -p gives me proof of ntp working correctly?

I checked the ntp.conf on both the VM and the physical server and they are identical.

Gabrie
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2010
Added on Nov 23 2010
6 comments
625 views