12.4 Providing Consistent Time with NTP

The Network Time Protocol (NTP) provides accurate, dependable, and synchronized time for hosts on both wide area networks (such as the Internet) and local area networks (LANs). Synchronizing the clocks on PSE cluster members permits easier management of a PSE cluster and facilitates debugging.

12.4.1 NTP Overview

PSE cluster members running NTP periodically exchange datagrams querying each other about their current estimate of the time. Using the round-trip time of the packet, a host can estimate the one-way delay to the other. (The assumption is that the delay is roughly equal in both directions.) By measuring the one-way delay and examining the timestamps returned with the NTP packet, a host computes the difference between its clock time and the clocktime of the queried host.

The one-way delay to the other host, in addition to the timestamps that are returned with the NTP packet, allow a host to compute the actual difference between its clock time and that of the host it queried.

12.4.2 Using NTP in the PSE Environment

To use NTP in the PSE environment, perform the following steps:

  1. Choose a local NTP server for your PSE cluster.
  2. Run the ntpsetup script.

For More Information: