- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NTP Jump Forward/Backwards Prevention
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
11-15-2002 07:34 AM
11-15-2002 07:34 AM
On our HP boxes, we have them get their time from our NetWare servers once a day. This was setup by the previous sys admin here. The following cron job/line does this:
0 4 * * * ntpdate ipaddress1 ipaddress2
One morning the NetWare servers screwed up and sent out a time that was one hour a head of what is should have been, as a result our time was off by an hour on our HP box once the ntpdate was run at 4am. This is a problem for us because we run an application that needs to have the correct time.
How are others updating their time but also preventing the time from being changed in the case it is way different then it should be?
This problem was not with time zones, the NetWare NTP servers just sent out at time that was one hour more then it should have been.
Thanks,
- Justin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 07:40 AM
11-15-2002 07:40 AM
Re: NTP Jump Forward/Backwards Prevention
You should consider syncing to a reliable, external NTP source rather than something so arbitrary as your netware server sounds. You can use SAM to set up NTP, do a man on xntpd for more help, and search the forums on NTP for even more guidance.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 07:41 AM
11-15-2002 07:41 AM
Re: NTP Jump Forward/Backwards Prevention
You need to implement the cousin of 'ntpdate'; viz. 'xntpd'.
The Network Time Protocol (NTP) has been discussed many, many times here. For a decent reading on the subject see chapter-7 of the "Installing and Administering Internet Services" guide:
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:12 AM
11-15-2002 08:12 AM
Re: NTP Jump Forward/Backwards Prevention
Will xntpd prevent huge time changes from taking effect?
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:16 AM
11-15-2002 08:16 AM
Re: NTP Jump Forward/Backwards Prevention
What you can do is to run ntpdate only during system boot-ups and run xntpd when its up and running to avoid sudden time jump. The document mentioned above explains that.
Rgds
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:21 AM
11-15-2002 08:21 AM
Re: NTP Jump Forward/Backwards Prevention
The xntpd is designed to adjust the time gradually so as to prevent problems with sudden changes.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 10:51 AM
11-15-2002 10:51 AM
SolutionNTP is run primarily by the xntpd daemon and it is very paranoid about changing the time. xntpd will allow every second during the day to exist. If the time is off, it will slowly adjust the time (5 min adjustment may take 2-3 hours to complete) and will NEVER step the time like ntpdate. xntpd will look at the server with great skepticism and if it sudenly jumps 20 mins or am hour, that server is dropped from the list and will be ignored (which is why you want multiple time sources).
xntpd accounts for all network and application delays and works best with 3 or more time sources. But to answer your question, xntpd will never step the time. I would do this:
- remove the cron entry immediately
- test ntp using: ntpq -p NetWare_server_name
- replace the /etc/ntp.conf line with:
server netware_server_name
Then edit /etc/rc.config.d/netdaemons and set:
export NTPDATE_SERVER="Netware_server"
export XNTPD=1
Check the current time. If it is within a few
seconds (less than 5-6 mins off), then start NTP with:
/sbin/inti.d/xntpd start
Then watch syslog to see that synchronization has begun and use:
ntpq -p
to monitor the connection. The "reach" value will move towards 377 as the connection is verified as reliable.
Bill Hassell, sysadmin