Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
GE Industrial Systems
These instructions do not purport to cover all details or variations in equipment, nor to
provide for every possible contingency to be met during installation, operation, and
maintenance. If further information is desired or if particular problems arise that are not
covered sufficiently for the purchaser’s purpose, the matter should be referred to GE
Industrial Systems.
This document contains proprietary information of General Electric Company, USA and is
furnished to its customer solely to assist that customer in the installation, testing, operation,
and/or maintenance of the equipment described. This document shall not be reproduced in
whole or in part, nor shall its contents be disclosed to any third party without the written
approval of GE Industrial Systems.
Safety Symbol Legend
Section Page
Introduction..................................................................................................................2
Installation ...................................................................................................................2
Concepts ......................................................................................................................4
Configuration ...............................................................................................................5
Working With NTP....................................................................................................12
Troubleshooting .........................................................................................................29
Notes ..........................................................................................................................32
________
Ethernet is a registered trademark of Xerox Corporation.
Windows and Windows NT are registered trademarks of Microsoft Corporation.
Introduction
This document describes the Network Time Protocol (NTP) and its individual Serv-
ices. NTP is a service used to synchronize the time of a pc (Client) to another pc
(which is the time source or Master). It usually provides Client synchronization
within 25 milliseconds (ms) of the Master on local networks. NTP is set to a default
configuration at installation time, and the service is configured using the Windowsâ
Control Panel.
NTP Diagnostics is a tool used to display statistics about the NTP service running on
the local pc or on any remote pc running it (refer to the section NTP Diagnostics).
NTP Status Indicator displays a clock icon in the Windows system tray to indicate
the synchronization status of the service (refer to the section, NTP Status Indicator).
Installation
For assistance, contact: Control System Solutions installs various products for control systems as selected in
the setup program. It is recommended that you exit all Windows programs before
Industrial Systems
beginning. A dialog box prompts you for a license key, which can be found on the
General Electric Company
actual CD. You must agree to the standard Software License Agreement for these
Product Service Engineering
products.
1501 Roanoke Blvd.
Salem, VA 24153-6492 USA Ø To install the product
Phone 1 888 GE4 SERVE
1. Place the Control System Solutions CD in the disk drive. The Setup program
(888 434 7378, United States) executes automatically, or run the program setup.exe.
+ 1 540 378.3280 (interna-
tional) 2. Follow the instructions from each screen. For more help press F1.
Fax + 1 540 387 8606 (All)
(replace + with the interna-
tional access code)
Programs
The following programs are automatically installed in the NTP subdirectory. For
more information refer to .html product documentation, also installed in %System
Drive%\Program Files\GE Control System Solutions\NTP\htmldoc.
xntpd manages the time on the Master and Client pcs.
ntpq queries local and remote NTP pcs for state variables and related time keeping
information. This program conforms to Appendix A of the NTP Version 3 Specifi-
cation RFC 1305.
xntpdc queries local and remote NTP pcs for state variables and related time keep-
ing information. This program is specific to Version 3 of NTP and does not conform
to Appendix A of the NTP Version 3 Specification RFC 1305.
ntpdate operates like the UNIX
program rdate, but is much ntpdate sets the local pc time from one or more remote pcs running NTP.
more accurate.
In situations where both products are installed on the pc, the configuration allows
selection of the active service. The other service is automatically deactivated in or-
der to prevent both services from running at the same time.
The service that is not activated is deactivated by setting its startup to Disabled (or
Manual in the case of NTP Server) and the service is stopped if it is running. This
ensures that the selected service automatically restarts when the computer is rebooted
without running the deactivated service.
Note Setting the deactivated service startup to Disabled does not prevent a user from
manually enabling and starting the service but it serves as an indication that the
service should not be manually started.
The NTP Configuration Utility can be used to configure and test both NTP Server
and NTP. Once both configurations are tested and configured as desired, NTP Server
can be made active. If problems arise with NTP Server, the configuration utility can
be used to activate the NTP service.
Note Many non-pc-based devices actually use Simple Network Time Protocol
(SNTP). SNTP nodes can use NTP time sources in the same way NTP nodes do, but
SNTP nodes do not contain all of the diagnostic information available with NTP.
NTP Diagnostics and other monitoring programs does not work with SNTP nodes.
Differentiation
NTP relies on the stratum level advertised by each time source to determine the best
one. The stratum level is an indication of the accuracy of the time source. The more
accurate the time source the lower the stratum level. A stratum 1 time source is one
that is directly tracking UTC time (or some other time standard ) via a satellite re-
ceiver. Time sources with the same stratum level are differentiated by NTP by fac-
tors such as network delays and availability.
Synchronization
Synchronization implies that NTP is actively regulating the local pc time against a
valid time source. If a pc is unsynchronized, the pc’s time is not being regulated by
NTP. Synchronizing the remote networks to the same time standard allows correla-
tion of events between the networks.
Broadcast Mode
Broadcast mode involves one or more Master nodes broadcasting periodic time mes-
sages and the Client nodes passively listening for these broadcasts.
For more information, see the Client nodes receive broadcasts from all Master nodes broadcasting on the same
section Monitoring. subnet. Client nodes generally synchronize to the lowest stratum Master.
Unicast Mode
Unicast mode sends a directed message (poll) from each Client node to the specified
Master node. The Master node sends a reply (another directed message) to the Client
node that sent the original message. Unicast mode is more accurate than Broadcast
mode because the network delays can be precisely measured in each direction. In the
Broadcast mode, the network delay can only be approximated from the total delay
time. As the number of time samples increases and the refinements to the local clock
become smaller, the Unicast Client nodes increase the time between requests for new
time data from the Master node.
Note: Configurations outside the scope of this utility must be maintained by hand.
Refer to the Manually Maintaining the NTP Configuration section for details.
New installations should use the control panel applet whenever possible.
For more information, refer to The utility is also used to configure NTP Server. NTP and NTP Server can be in-
the section Managing. stalled on the same pc, but only one can be active at a time. The NTP configuration
utility allows the user to select which service to configure and make active if both
are installed.
Ø To activate the NTP Configuration Utility
In Windows 3.1, go to Program
1. Click Windows Start, Settings, and Control Panel.
Manager and double-click
Control Panel.
2. Double-click .
The current configuration on the pc displays. The Configure button begins the con-
figuration sequence, and the Exit button is used to exit the program without chang-
ing the current configuration.
Note: If NTP Server is installed on the pc and NTP is not installed, the NTP Con-
figuration Utility displays the NTP Server configuration. If both NTP and NTP
Server are installed on the pc, the utility displays the configuration of the currently
active service. See the Section Managing for more information.
Configuring a Client
Configuring NTP as a Client implies that the service is only receiving time from one
or more NTP sources. It is not intended to supply time to any other pc or device. If a
Client loses communication with all other NTP time sources on the Ethernet, syn-
chronization is lost.
Configuring a Master
. Configuring NTP as a Master implies that the NTP service on the pc is able to both
supply and receive time. Since NTP Masters are assumed to supply time to other
devices, they are always configured to use their local pc clock as a valid time source.
This ensures that if all other time sources on the Ethernet are lost, the NTP Master
maintains synchronization at least with its local clock in order to continue to supply
the NTP Clients with time information. This ensures that even if a high quality time
source is not available, all of the pcs and devices still track a common time refer-
ence.
Allowing Client nodes to lose synchronization when the exter-
nal time source is lost provides an indication of abnormal
conditions that need to be addressed. Do not have Client
nodes synchronized to local time.
Note When the Master is synchronized to the local clock, it advertises itself as a low
quality time source by using a high stratum number. When the NTP Master is syn-
chronized to a high quality time source, it adjusts its stratum level according to the
stratum level of the time source against which it is synchronized. This allows the
Clients to switch to a different time source if the Master loses its source of high
quality time and another high quality NTP source is available.
Node Setup
Ø To configure the pc as a Broadcast Time Master
Select Master
or Client.
Select the
operating
mode.
Click Next. The stratum slider bar indicates the level of accuracy.
The default value of 13 can be used if only one time master will
be configured for the system. If multiple time masters are
configured, adjust the stratum level so that each master has a
unique stratum level. The master with the lowest stratum level
will be used by the client nodes as long as it is available on the
network. If the lowest stratum master is lost, the master with the
next highest stratum level will be used, and so on.
5. From the Log menu, select Application. The Application Log displays.
Log Menu
Source Column
4. Under the Source column, double-click the latest NTP entry. The Event De-
tail dialog box displays.
Startup Option
The NTP consists of a Service (xntpd.exe) and supporting programs used for de-
bugging and support.
When setup is complete, the file ntp.ini is created in the Windowsâ system direc-
tory. This text file contains the configuration settings for proper operation. Type set
systemroot at a command promptt to display the directory.
The Service program manages all NT services including NTP. The startup for each
service can be selected as automatic, manual, or disabled. The default for NTP
startup is set at automatic.
Ø To activate the Service dialog box
4. Click Stop to shut down the service and Start to start it again.
Automatic starts the NTP when 2. Click . The Service dialog box displays
the pc is started.
Manual allows the user to turn
on NTP on the Control Panel.
Disabled turns off the NTP.
The NTP does not run until the
Startup Type is changed.
4. Click OK. The new Startup Type displays in the Services dialog box.
Monitoring
For more information, refer to The NTP product includes an NTP Status Monitor utility that maintains an icon in
the section Diagnostics. the Windows System Tray. The icon provides a constant indication of the NTP syn-
chronization status of the pc. Refer to the NTP Status Monitor section for a detailed
description. Detailed statistics about the NTP service on the local pc or a remote pc
can be displayed using the NTP Diagnostic utility
NTP Server
Refer to the NTP Server docu- NTP Server is a separate product closely related to the NTP product that only re-
mentation (GEI-100507) for ceives its time from an internal time card. The time card can be configured to re-
information on installing and ceive time signals from a satellite or GPS time source, or the pc time card can use its
configuring NTP Server. internal low drift clock as a time source. If a satellite-based time source is not avail-
able, NTP can be configured as a time Master using either the internal pc clock or
another NTP time source on one pc, and the remaining pcs can be configured as time
Clients.
Note: The ability to act as both a time Master and a time Client is sometimes re-
ferred to as Peer operation.
Select NTP Status Indicator and right-click the icon located on the right
side of the taskbar. From the pop-up menu, click Create a new NTP Diag-
nostics window.
The NTP Diagnostics application starts and the NTP Diagnostics window dis-
plays. Multiple NTP diagnostic windows can be open at once.
Ø To exit NTP Diagnostics
w For the NTP Diagnostics window, select the File menu and Exit.
Configuration
The NTP host name is the only configurable item for this application. The default
host name is localhost, which displays data for the NTP service running on the local
computer.
Ø To display data on a remote computer
1. From the Configure menu, select Set Host.
• Data that corresponds to any potential time source displays against a yellow
background.
Status Indicator
The NTP Status Indicator displays the synchronization status of the NTP service
The icon displays in the through a clock icon. The icon has associated tool tips. The tool tips enumerate the
lower right of the Windows machine’s synchronization status, including the name or IP address of the node to
taskbar which the local machine is synchronized.
Note The NTP Status Indicator is not compatible with versions of Windows NT
prior to 4.0.
Operation
Ø To start the NTP Status Indicator
w From the GE Control Systems Solutions program group, select NTP
Status Indicator
– Or – from the MSDOS prompt, change to the directory where NTP is in-
stalled (usually C:\Program Files\GE Control System Solutions\NTP) and enter the
command ntpdiag -s.
The NTP Status Indicator starts. An icon displays in the lower right of the
Windows taskbar. Refer to the section Operation for icon status definitions.
The NTP Status Indicator queries the NTP service running on the local computer
approximately every 15 seconds and updates the clock icon in the Windows taskbar.
The icon graphically displays the NTP synchronization status of the computer.
Note Hold the cursor over the clock icon to generate a tool tip that enumerates the
synchronization status of the machine and the name or IP address of the node to
which the local machine is synchronized.
w Click on the icon with the right mouse button. The following pop-up menu
displays:
The NTP Status Indicator dis- The NTP Status Indicator icon is animated to indicate that the application is ac-
plays a clock icon is designed tively receiving data from the NTP service. Every time the NTP service returns data
like a clock. This icon only to the application, the minute hand of the clock icon moves one position. The hour
conveys its relation to system hand of the clock icon always remains at the horizontal (3 o'clock) position.
time. It is not intended to re-
flect the actual system time.
Note Only one instance of the NTP Status Indicator can run on the computer. Do
not attempt to start the application when another instance of the application is al-
ready running.
Broadcast
Master
Note: Broadcast mode can be problematic if there are many time sources broad-
casting on the same subnet, especially if those sources have similar stratum levels.
The broadcast Clients individually selects the best time source based on stratum level
and other factors such as network delays. With many similar broadcast sources avail-
able, the Clients might not synchronize to the same time source. It is possible they
continue to hunt for a better time source, causing them to periodically drop synchro-
nization from one time source and synchronize to a different one. Consider using
Unicast mode instead of broadcast mode for these types of situations.
Note The Unicast Master node can be reconfigured to use an additional time source
at the site instead of Grumpy when the system is installed at the site.
Unicast Master
Satellite
Time
Source
Unicast Master
(NTP Server)
Satellite
Time
Source
Broadcast
Master
(NTP Server)
Grumpy or
Site Master(s)
Note: Broadcast mode can be problematic if there are many time sources broad-
casting on the same subnet, especially if those sources have similar stratum levels.
The broadcast Clients individually select the best time source based on stratum level
and other factors such as network delays. With many similar broadcast sources avail-
able, the Clients might not synchronize to the same time source. It is possible they
continue to hunt for a better time source, causing them to periodically drop synchro-
nization from one time source and synchronize to a different one. Consider using
Unicast mode instead of broadcast mode for these types of situations.
Unicast Master
(NTP)
Unicast Master (stratum = 12)
(NTP)
(stratum = 13)
Unicast Master
(NTP)
(stratum = 14)
Note Unicast mode is the only way to receive time from sources on remote subnets
because broadcast messages are not repeated by routers to other subnets.
Grumpy or
Site Master(s)
Subnet Boundary
Broadcast and
Unicast Master
For more information, see the Selecting Next causes the utility to create a backup of the original ntp.ini file
section Manually Maintaining (named ntp_backup.ini) and allows the utility to continue with the configuration
the NTP Configuration. process. The current configuration defined by the utility in the registry is displayed
to the user and the user can modify the configuration or exit without making
changes. If the user accepts the changes at the end of the configuration sequence the
ntp.ini file is rewritten. The user should compare the new ntp.ini file with
ntp_backup.ini if there are any configuration details from the original configuration
that need to be saved. The configuration utility should be used to implement any
missing functionality. Functionality that was added by hand that is outside the scope
of the configuration utility must either be abandoned or manually supported outside
of the configuration utility
The drift file and statsdir paths specified in the ntp.conf file
must be manually updated to reflect the product installation
directory if it changes between product versions.
g
GE Industrial Systems
Issue date: 2001-02-14 General Electric Company
2001 by General Electric Company, USA.
All rights reserved.
1501 Roanoke Blvd.
32 • Network Time Protocol (NTP) Salem, VA 24153-6492 USA Control System Solutions GEI-100505