glio Absent Member.
Absent Member.
1101 views

OES11 time always out of sync

One of the OES11 server on my tree is always out of sync. No matter how many times I issue "rcntp ntptimeset", the server time gets out of sync within 30 seconds. Any clue?
Labels (2)
0 Likes
7 Replies
glio Absent Member.
Absent Member.

Re: OES11 time always out of sync

forgot to mention, the server is actually a sles11sp2+OES11sp1 on XenServer 6.2

... btw, why can't I edit my first post???
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: OES11 time always out of sync

Is this server pointed to the same server as others? How far out of sync
is it, and how are you determining that it is out of sync? What value is
in your ntp.drift file (which I think is under /var/lib/ntp/drift by default)?

Posts can only be edited for a couple of minutes via the HTTP interface.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: OES11 time always out of sync

On 22/07/2014 13:25, ab wrote:

> Is this server pointed to the same server as others? How far out of sync
> is it, and how are you determining that it is out of sync? What value is
> in your ntp.drift file (which I think is under /var/lib/ntp/drift by default)?


Are any of the other servers also virtualised? Under XenServer? The same
XenServer?

> Posts can only be edited for a couple of minutes via the HTTP interface.


Hmm I thought posts can be edited any time via the HTTP interface but
there is a limited window as to whether the edit will then show up via
NNTP (up to 10 minutes depending on when the next HTTP to NNTP
synchronisation happens).

HTH.
--
Simon
Novell Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------
0 Likes
glio Absent Member.
Absent Member.

Re: OES11 time always out of sync

All other oes servers are virtualized, running on XenServer 6.2. They are pointing to the same time source within the network. ndsrepair -T shows that the server with the problem are always out of sync by +3~+5.

The value in /var/lib/ntp/drift/ntp.drift is 128.057
0 Likes
Knowledge Partner
Knowledge Partner

Re: OES11 time always out of sync

glio;2326669 wrote:
forgot to mention, the server is actually a sles11sp2+OES11sp1 on XenServer 6.2


Have you set the independent_wallclock? With SLES 11 SP2 and later this is typically needed when running as paravirtual guest.

Try inputting this into the servers console (as root):


echo 1 > /proc/sys/xen/independent_wallclock


Then re-sync the servers time and see if that now stays in sync.

If that helps, add "xen.independent_wallclock = 1" to /etc/sysctl.conf so the setting will "stick" after a server reboot.

Cheers,
Willem
glio Absent Member.
Absent Member.

Re: OES11 time always out of sync

Thanks, Will! It seems to work... it's been over 20 minutes and the server is still in sync!
0 Likes
lpphiggp
New Member.

Re: OES11 time always out of sync

Thanks here too, I had the same problem. No matter what I did, I had one vm OES11 box that was 7 -8 minutes fast. The independent wallclock setting did the trick. The odd thing is, the physical host itself is fine and was always on time.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.