- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: At what difference in time, will NTP give up a...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2008 09:18 AM
11-12-2008 09:18 AM
thanks
Clark Powell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2008 09:47 AM
11-12-2008 09:47 AM
SolutionA bad ntpd time server can play havoc here and lead to the OpenVMS analog of the more classic ntp WAYTOOBIG error, too.
But to answer the literal question posed, it's called the panic interval, it's 1000 seconds either way by default (per the documentation), and it's selectable through the ntp configuration file.
If you want to be truly mellow about the accepted time, then set the tinker panic value to 0 in the configuration file ("tinker panic 0") for the ntp daemon.
Implementation details vary by TCP/IP stack provider and by the version. The tinker panic knob requires NTP 4 or later, AFAIK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-13-2008 09:09 AM
11-13-2008 09:09 AM
Re: At what difference in time, will NTP give up and stop?
notes:
This line as been added to TCPIP$NTP.CONF
tinker panic 60 # Give up and shutdown NTP if time is over 60 seconds off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-13-2008 09:44 AM
11-13-2008 09:44 AM
Re: At what difference in time, will NTP give up and stop?
ntp is designed for slow convergence.
The usual way to get ntpd to immediately notice changes in the configuration file is (and I think this is documented) is to restart the daemon.
As for controlling polling and the speed of (hopefully) convergence, see the ntp documentation over at the http://www.ntp.org/ site.
tinker of 60? That value implies a need a local timebase if the configuration can't tolerate a slew minute or so; I'd not look to have ntp punt for that low a skew value. The default value for clock slew is fairly tolerate before ntp punts, which implies you have specific (and unstated) requirements for synchronization.
ntp steps if the time is off by 128 ms or more, and punts entirely if the value is off by 1000 s or more, or by 60 s in this case. This latter value is what you had asked for.
If out by 128 ms or more, the clock will be stepped (with the assistance of the clock information from the drift file) toward the right value.
The max drift per step is around 500 ppm IIRC, so larger skews can take a while for the running time to converge.
If you need faster convergence, some implementations will let you drop maxpoll and minpoll. Some don't honor that. I don't know off-hand if the particular IP stack you're using here allows alternate polling intervals. (This scheme is also sometimes combined with a request to immediately set the clock (right) once on startup, but I've not used that mechanism.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-13-2008 12:24 PM
11-13-2008 12:24 PM
Re: At what difference in time, will NTP give up and stop?
slewalways
panic 1
The first one will force NTP_SERVER not to step the time, but to slew it instead;
The second one will stop NTP_SERVER if it finds that the time had changed more than the chosen parameter (in seconds).
[]´s
Fernando
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-13-2008 01:41 PM
11-13-2008 01:41 PM
Re: At what difference in time, will NTP give up and stop?
The first step in this development is to find out how much variation in time the application running on the OpenVMS system can handle. That should be the panic limit. Beyond that difference, the programmer must intervene and below that difference NTP can handle fixing the problem.
I got started on this bent when "AUTO_DLIGHT_SAV = 1" blew up on me. I started thinking that time is an important quantity and while we are monitoring all sorts of system resources and user demands on our system, we are not monitoring time. So I decided to come up with a scheme to monitor time taking advantage of NTP and it's characteristics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-13-2008 03:42 PM
11-13-2008 03:42 PM
Re: At what difference in time, will NTP give up and stop?
If this is sufficiently recent OpenVMS version, there is a notification that can be captured for the DST change. That could be captured by an application. AFAIK, HP doesn't document tapping into the time-change procedure JBC$DST_COMMAND.COM underneath the job controller but it might well be feasible to hang a security audit or security alarm off of the procedure. There are other time-related audits around, too.
Do you have another host around running DECnet? If so, rolling your own time test tool using DCL task-to-task is easy. Basic operations and a f$cvtime call or three and you're good to go. (the xqtype.com tool on the freeware should get you most of the way there.)
I don't tend to use the automatic DST stuff on the production OpenVMS servers I manage. Which means I either go through the semi-annual DST hassles, or I run UTC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-14-2008 03:01 AM
11-14-2008 03:01 AM
Re: At what difference in time, will NTP give up and stop?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-14-2008 05:05 AM
11-14-2008 05:05 AM
Re: At what difference in time, will NTP give up and stop?
I'm using SET AUDIT/AUDIT/ENABLE=TIME to at least audit time and clock changes during DST and other possible manual time changes. This does not audit time changes by NTP though.
Volker.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP