- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: NTP sync issues
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
10-03-2007 02:16 AM
10-03-2007 02:16 AM
The players (please don't laugh):
DIGITAL TCP/IP Services for OpenVMS VAX Version V5.0A on a VAX 7000-630 running OpenVMS V7.1 does batch processing.
DIGITAL TCP/IP Services for OpenVMS Alpha Version V5.0A on a AlphaServer 4100 5/466 4MB running OpenVMS V7.1 has several Oracle databases.
When I arrived, there was a note that the time on these servers needed to be checked every night and set 2-3 seconds ahead of the Windows system clock. Being the VMS bigot I am, that did not sit right with me and I investigated. It appears if the time was the same it would not be a problem, but if the VMS systems get behind, a number of the processes have issues (data not loaded into database until the time stamp).
I talked to them about NTP and they said they were told by the previous administrators that it could not be done. Anyway, I setup NTP on both systems. It works fine on the VAX, but the Alpha keeps drifting behind and looking into it, it appears not to be using the config file.
1. In a cluster environment, is there a way for one member to use NTP to get the time, then sync the entire cluster (like set time/cluster does) to that time? Seems like there should be, but I am not puting the right searches together.
2. If there is not, why would the Alpha appear not to using the config files? Attached is the ntptrace from both servers which are configured identically. I just added the peer statements recently when I found the times were off between the systems, then noticed the Alpha seems not to be using the config (notice the "***Server reports data not found" error. Please direct me if there is any other information you would like.
Thank you in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:30 AM
10-03-2007 02:30 AM
Re: NTP sync issues
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 02:51 AM
10-03-2007 02:51 AM
Re: NTP sync issues
On the Alpha, does the system know dc1, dc2 and/or noah (are those ip addresses correct?)
Is your DNS working correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:07 AM
10-03-2007 03:07 AM
Re: NTP sync issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:28 AM
10-03-2007 03:28 AM
Re: NTP sync issues
$ set noverify
Both systems have similiar SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.LOG file entries:
3 Oct 09:26:30 ntpd version = 3-5.91
3 Oct 09:26:30 tickadj = 83, tick = 833, tvu_maxslew = 99517, est. hz = 1200
3 Oct 09:26:30 precision = 833 usec
3 Oct 09:26:30 read drift of 0.000 from SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT
3 Oct 09:26:30 Parent - Starting Host Name Resolver
File protection/privs are the same or more leinent on the Alpha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:42 AM
10-03-2007 03:42 AM
Re: NTP sync issues
BTW... Thanks all for the replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:53 AM
10-03-2007 03:53 AM
Re: NTP sync issues
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:55 AM
10-03-2007 03:55 AM
Re: NTP sync issues
Did you verify that you can do nslookups and pings to the ntp servers from the Alpha? It looks as if there is a connectivity problem based on your ntptrace output.
Is it possible that there is any blocking of ntp between the Alpha and the ntp servers by a firewall?
I wasn't sure from your last post if you resolved the problem or not.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:57 AM
10-03-2007 03:57 AM
Re: NTP sync issues
Whenever I'm having issues with my ntp.conf I use NTPQ quite often to track what's happening.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 04:03 AM
10-03-2007 04:03 AM
Re: NTP sync issues
SYSMGR-on-MOSES->tracert dc1
traceroute to DC1 (192.168.4.1), 30 hops max, 38 byte packets
1 DC1 (192.168.4.1) 0 ms 1 ms 0 ms
SYSMGR-on-MOSES->tracert dc2
traceroute to DC2 (192.168.4.2), 30 hops max, 38 byte packets
1 DC2 (192.168.4.2) 1 ms 0 ms 0 ms
SYSMGR-on-MOSES->tracert noah
traceroute to NOAH (192.168.4.17), 30 hops max, 38 byte packets
1 NOAH (192.168.4.17) 1 ms 1 ms 1 ms
SYSMGR-on-MOSES->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 04:09 AM
10-03-2007 04:09 AM
Re: NTP sync issues
CSW-on-NOAH->ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*DC1 timekeeper.isi. 2 u 11 64 377 0.00 -14.224 9.14
+DC2 DC1 3 u 14 64 377 0.00 -27.298 8.33
MOSES 0.0.0.0 16 u 38 1024 0 0.00 0.000 16000.0
CSW-on-NOAH->ntptrace
LOCALHOST: stratum 3, offset 0.005000, synch distance 0.19643
DC1: stratum 2, offset -0.008523, synch distance 0.15201
timekeeper.isi.edu: stratum 1, offset -0.012773, synch distance 0.00000, refid '
GPS'
CSW-on-NOAH->
SYSMGR-on-MOSES->ntpq -p
No association ID's returned
SYSMGR-on-MOSES->ntptrace
LOCALHOST: stratum 16, offset -0.000416, synch distance 1.11162
0.0.0.0: *Timeout*
SYSMGR-on-MOSES->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 04:16 AM
10-03-2007 04:16 AM
Re: NTP sync issues
Are you sure the Alpha's conf file can be read by the TCPIP$NTP account? Do you have a homogeneous cluster?
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 04:18 AM
10-03-2007 04:18 AM
Re: NTP sync issues
There exists a list of public NTP servers here:
http://support.ntp.org/bin/view/Servers/WebHome
Check the local (SYS$SPECIFIC:) roots for differences in the ntp.conf file.
In a cluster, you can (also) use SET TIME/CLUSTER (which was undocumented for a while, but it's back) to zonk the time cluster-wide. That written, the usual approach is to run NTP across the hosts.
In the immediate case, the first thing I'd check is the TCP/IP Services version. V5.0A is old and pretty crufty. If you can't upgrade that version to a more current one, do apply the most current ECO for V5.0A.
Patch (ECO) FAQ:
http://64.223.189.234/node/348
Why the Alpha isn't picking up the file implies that NTP client is shut down, or is not finding the ntp.conf file you think it is, it cannot connect to the time provider, or the ntpd daemon is malfunctioning.
Longer-duration information on the run log would be interesting. It can take a very long time for the serves to synchronize. At least a couple of hours run, and mayhap a day.
On the server line, I'd probably add "minpoll 12 maxpoll 17" (very conservative, 6 and 12 is significantly more aggressive), or "burst minpoll 12 maxpoll 17", or iburst onto the time server definition lines in your ntp.conf file.
I don't know off-hand if V5.0A has an ntp which support burst or iburst. (The current stuff does have this.)
And for a question you might get to: NTP doesn't do daylight saving time (DST), and you're too far back (or not far enough back) to have the most recent timezone definitions. You'll be rolling your own update here, if you need to track the US changes. OpenVMS TZ and DST details are here:
http://64.223.189.234/node/72
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 05:22 AM
10-03-2007 05:22 AM
SolutionIncrease your log level by defining a systemwide logical TCPIP$NTP_LOG_LEVEL 6 then restarting ntp. That should give you more information in the log file.
Secondly, the config file comment mentions that the hostnames should be fully qualified. You might want to try that just to get that out of the way (I know it works on the VAX with just using the alias but you never know). Change the dc1 and dc2 to fully qualified names.
Good luck and please post the log file results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 06:36 AM
10-03-2007 06:36 AM
Re: NTP sync issues
To answer the other questions...
DC1 and DC2 are Win2003 servers which are allowed out to the internet (not my decision).
I was trying to get away from the manual $ SET TIME/CLUSTER needed every night.
I know these are old versions, but the config is frozen, I'm told because of the COBOL version being used and an unwillingness to recompile all the code. If I could not get it running, it was going to need to stay manual :(
DST change is handled via a batch queue job.
Again, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 06:37 AM
10-03-2007 06:37 AM
Re: NTP sync issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 06:38 AM
10-03-2007 06:38 AM