- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP drift file
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
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
тАО10-29-2002 01:26 AM
тАО10-29-2002 01:26 AM
In my network I have an NTP Server already running one. Now I need to configure a 11.0 machine as a ntp client to synchronise the time from my NTP server. When I go through the threads I came across a file called driftfile other than /etc/ntp.conf and /etc/rc.config.d/netdaemons. Can someone clear me about the NTP config and the drift file.
Thanks,
suki.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 01:33 AM
тАО10-29-2002 01:33 AM
Re: NTP drift file
See this doc for configuring NTP
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
Look in the left column for ntp configuring.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 01:38 AM
тАО10-29-2002 01:38 AM
Solutionlook at "man xntpd" for a first overview
A sample ntp.conf:
#
# Stratum 3/4 client setup
#
#
# local clock
server 127.127.1.0
# show poor quality of local clock
fudge 127.127.1.0 stratum 10
# frequency error file
driftfile /etc/ntp.drift
# intern time servers (local stratum 1 net)
server
server
server
# allow time servers full access
restrict
restrict
restrict
# serve/peer time to local net but do not let modify or synchronize to anything
restrict
# ignore everything else
restrict default ignore
man xntpd:
...
driftfile filename
Specifies the name of the file used to record the ``drift'' (or
frequency error) value xntpd has computed. If the file exists on
startup, it is read and the value used to initialize xntpd's internal
value of the frequency error. The file is then updated once every
hour by replacing the old file with a new one containing the current
value of the frequency error. Note that the file is updated by first
writing the current drift value into a temporary file and then using
rename(2) to replace the old version. This implies that xntpd must
have write permission for the directory the drift file is located in,
and that file system links, symbolic or otherwise, should probably be
avoided.
...
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 01:38 AM
тАО10-29-2002 01:38 AM
Re: NTP drift file
You can configure your ntp client via sam :
Time->NTP Network Time sources.
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 01:39 AM
тАО10-29-2002 01:39 AM
Re: NTP drift file
Here is the small explanation about the driftfile from the above doc.
xntpd computes the error in the frequency of the clock in the local host. It usually takes xntpd a day or so after it is started to compute a good estimate of the frequency error. The current value of the frequency error may be stored in a driftfile. The driftfile allows a restarted xntpd to reinitialize itself to the estimate stored in the driftfile, saving about a day's worth of time in recomputing a good frequency estimate. You specify the path and name of the driftfile.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 02:03 AM
тАО10-29-2002 02:03 AM
Re: NTP drift file
//*
1.Make entries of server-name in /etc/ntp.conf
server
2.Run ntpdate
(Make sure xntpd is stopped before issuing the command)
#ntpdate
3.Start xntpd
edit /etc/rc.config.d/netdaemons and set these line as following:
export NTPDATE_SERVER= ip address of the ntp server
export XNTPD=1
/sbin/init.d/xntpd start
4.ntpq -p
to check the synchro. of client with the server.
*//
The drift-file in the ntp.conf file is used to log the
drift value when the NTP daemon was last running.
This file is not reliable.It usually takes some time to have got updated with entries.
you can use
#ntpq -p
from the client to check up the synchronization of client with the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2002 02:08 AM
тАО10-29-2002 02:08 AM