- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP on HP-UX 10.20
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
03-02-2004 07:25 AM
03-02-2004 07:25 AM
I support a remote site and they ran into this problem. I'm still trying to nail down exactly how the client clock got so out of sync with the server (> 5 minutes). The applications on the system cannot handle large time steps. They require a stable time line. I'm hoping there is a way to get NTP to accept the reference faster and to slew to the time rather than step.
Some system info: There are 2 J5600s running HP-UX 10.20 that are NTP clients. There are 2 NTP servers with a Stratum 2 reference clocks. I've attached the ntp.conf files for the 2 clients. I don't have the configuration info on the servers. I'm not sure there is a way to get NTP to behave as I want. On one of our other systems we use ntpdate in a cron job (running every 10 minutes) and its been working very well. But this customer has directed us to use NTP. Any ideas out there?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 08:04 AM
03-02-2004 08:04 AM
Re: NTP on HP-UX 10.20
I intentionally did this in K&R C so that the Bundled compiler will handle it. You can change it to ANSI C if you prefer.
Compile it like this:
cc adjtime.c -o adjtime
Run it like this as super-user:
adjtime -300 # adjust time backwards 300 seconds
OR
adjtime 500 # adjust time forward by 500 seconds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 08:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 08:22 AM
03-02-2004 08:22 AM
Re: NTP on HP-UX 10.20
Your other option is to shutdown. Manually set the date and then let xntpd take over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 09:06 AM
03-02-2004 09:06 AM
Re: NTP on HP-UX 10.20
Thank you for all the info. First of all, I didn't know how to score your answers since you sent 3, so I gave you a 6, 7 and 8.
I think adjtime will do what we need. Turns out we already have an application that checks the time delta and uses adjtime() to fix it. However, the call is only made if the delta is less than +/- 5 minutes. It ignored the 8 minute difference.
I also set the NTPDATE_SERVER variable in the netdaemons file so that the system syncs up with the server at bootup. The users rebooted the system and then everything was fine.
Thanks again.