Technical data

Configuring and Managing NTP
12.3 Configuring Your NTP Host
* The transmitted timestamp (the last one sent to the same peer)
* The timestamp of the packet’s arrival on the server
statsdir directory-path
Indicates the full path of a directory where statistics files should be
created.
12.3.2.2 Sample NTP Configuration File
A sample of the NTP configuration template follows:
# Copyright 2000 Compaq Computer Corporation
#
# Example NTP Configuration File
#
# Rename this template to TCPIP$NTP.CONF.
#
# See the Compaq TCP/IP Services for OpenVMS Management manual for
# additional commands and detailed instructions on using this
# configuration file.
#
# The Network Time Protocol (NTP) provides synchronized timekeeping among
# a set of distributed time servers and clients. The local OpenVMS host
# maintains an NTP configuration file, TCPIP$NTP.CONF, of participating peers.
# TCPIP$NTP.CONF is maintained in the SYS$SPECIFIC:[TCPIP$NTP] directory.
#
# As the system manager populating this file, you must determine the
# peer hosts with which the local hosts should negotiate and synchronize.
# Include at least one (but preferably three) hosts that you are
# certain have the following characteristics:
#
# * provide accurate time
# * synchronize to Internet Time Servers (if they are not themselves
# Internet Time Servers)
#
# The NTP configuration file is not dynamic, and therefore requires
# restarting NTP after being edited to make the changes take effect.
# However, you can make run-time configuration requests interactively
# using the TCPIP$NTPDC utility.
# Your NTP configuration file should always include the following
# driftfile entry. The driftfile is the name of the file that stores
# the clock drift (also known as frequency error) of the system clock.
driftfile SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT
# Sample peer entries follow. Replace them with your own list of hosts
# and identify the appropriate association mode. If you specify
# multiple hosts, NTP can choose the best source with which to
# synchronize. This also provides reliability in case one of the hosts
# becomes unavailable.
# Identify each peer with a fully qualified DNS host name or with
# an IP address in dotted-quad notation.
peer 18.72.0.3
peer 130.43.2.2
peer 16.1.0.22
peer parrot
# The following commands allow interoperation of NTP with another time service
# such as DTSS. If enabled (by removing #), NTP will not set the system clock.
# server 127.127.1.0 prefer
# fudge 127.127.1.0 stratum 0
12–8 Configuring and Managing NTP