HP-UX Internet Services Administrator's Guide (May 2010)

Setting up a Spectracom Netclock/2...................................................................49
Location of Time Source................................................................................................49
Example 1: Locating the Best Primary Server .........................................................50
Determining Synchronization Sources....................................................................51
Example 2: Evaluating Time Servers in Eastern United States................................52
Example 3: Evaluating Time Servers in Australia...................................................53
Backup Time Servers.....................................................................................................55
The NTP Daemon..........................................................................................................55
The NTP Configuration File..........................................................................................56
Configuring Your Primary NTP Server.........................................................................56
Advanced NTP Topics........................................................................................................58
Stratum Levels and Time Server Hierarchy..................................................................58
Stratum-1 Time Servers............................................................................................58
Stratum-2 and -3 Time Servers.................................................................................59
Time Server Roles.....................................................................................................59
Planning a Multiple-Server NTP Configuration...........................................................60
Configuring NTP using the Configuration File............................................................60
Configuring Relationships with Other Time Servers..............................................60
Configuring an External Clock................................................................................62
Configuring a Driftfile.............................................................................................63
Configuring Authentication.....................................................................................64
Restricting Incoming NTP Packets................................................................................66
Starting and Stopping xntpd.........................................................................................68
Using ntpq to Query Systems Running xntpd..............................................................68
Verifying ntpq..........................................................................................................69
The ntpq Program Output.......................................................................................69
Troubleshooting NTP.........................................................................................................70
Verifying That xntpd is Running..................................................................................71
NTP Associations..........................................................................................................71
Query with Debug Option............................................................................................72
Error Messages..............................................................................................................72
No server suitable for synchronization found.........................................................72
Last adjustment did not complete............................................................................72
Synchronization lost.................................................................................................72
Common Problems........................................................................................................73
Problem 1: No suitable server for synchronization found.......................................73
Time Difference Greater than 1000 seconds.......................................................73
Startup Delay......................................................................................................74
Problem 2: Version 1 and 2 NTP Servers Do Not Respond.....................................74
Reporting Problems.......................................................................................................74
5 Troubleshooting Internet Services................................................................................................75
Troubleshooting Overview.................................................................................................75
Table of Contents 7