- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ntp setup / simple case
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
Discussions
Discussions
Discussions
Forums
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
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-15-2002 12:42 PM
тАО03-15-2002 12:42 PM
I have been reading posts here, and also looking in the "Administering Internet Services" manual. But, a few things are still unclear.
Here's want I'd like to do.
About once a week, my unix server (via a cron entry) will correct it's own time, using /usr/sbin/ntpdate and a server someplace on the internet.
Each time a PC boots, I'd like it to query my unix server for the time, to set it's own clock.
I have found a few freeware Windows clients for NTP. Should be all set there.
What I -don't- want is a lot of network traffic. I don't want the server broadcasting every few seconds, or anything like that. I only want it to respond to a query for the time.
The manual mentions "broadcast" mode, which scared me a bit as regards to network traffic.
So: How should I configure xntpd? What would my /etc/npd.conf file look like?
Thanks,
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2002 01:20 PM
тАО03-15-2002 01:20 PM
SolutionThe network overhead associated with NTP is quite low; don't be afraid to use it as it was intended. The thing that you don't want to do is some goofy scheme that tries to sync the time once a week (or once a day) via ntpdate. That will induce 'stepping' behaviour (i.e. abrupt changes) and you want 'skewing' behaviour. In skewing behavior, in essence, your clocks tick a little fast or a little slow to correct the time. This is very important especially in applications like databases. If you step adjust the time, it is possible for transaction 100 to occur before transaction 99. You definitely don't want that.
You can use SAM to setup your NTP server on your 10.20; simply use one of the Internet time sources (e.g. U. S. Naval Observatory) as stratum 1 servers and let your PC clients use your 10.20 box as your local NTP server. The idea is that your UNIX box syncs to USNO and your PC's sync to your UNIX box.
Again, the network overhead is quite low and pulling 80 NTP clients is nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2002 01:50 PM
тАО03-15-2002 01:50 PM
Re: ntp setup / simple case
server 192.5.41.40 #tick.usno.navy.mil
You can use multiple server.
If you decide to use secondary server then add.
peer IP_of_secondary
Clay is right at point. Don't worry about load.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2002 09:51 AM
тАО03-18-2002 09:51 AM
Re: ntp setup / simple case
Overhead on network traffic is very, very low. There is not a problem with 80, 100, 200, 1000 clients that you want to sync, and they will not all sync at once...
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2002 10:53 AM
тАО03-18-2002 10:53 AM
Re: ntp setup / simple case
xntpd version=3.5f
....etc...
drift value ^H invalid
synchronized to 192.6.38.127, stratum=1
time reset (step) -130.653176 s
synchronisation lost
synchronized to 192.6.38.127, stratum=1
synchronisation lost
synchronized to 192.6.38.127, stratum=1
Should I be concerned about any of the above? The xntpd daemon has been running now for several hours, all those messages appeared right at the startup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2002 11:11 AM
тАО03-18-2002 11:11 AM
Re: ntp setup / simple case
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2002 11:17 AM
тАО03-18-2002 11:17 AM
Re: ntp setup / simple case
You want to make sure you designate a drift file - usually its
/var/adm/ntp.drift
It's used to control polling interval by comparing drift since last update & over time.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2002 06:08 AM
тАО03-19-2002 06:08 AM
Re: ntp setup / simple case
driftfile /etc/ntp.drift
I pre-created the file with "root:sys" as owner and permissions 644. When NTP was started up, an entry was placed in the drift file.
All else seems to be working OK. My PCs have a client running so that when they boot, the clock is updated once. That's enough accuracy for my PCs. The PC client (Automachron) can be configured to poll on a schedule or listen for broadcasts, so I can change it in the future, if I need to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2002 06:14 AM
тАО03-19-2002 06:14 AM
Re: ntp setup / simple case
Sounds like you're all set.
You'll like having the windoze systems kept time-acccurate. I know mine will drift quickly towards slow depending on workload if not kept synched.
Rgds,
Jeff