176 Introduction to Network Time Protocol (NTP) Version A.01 H3065S Module 15 Slides.

Slides:



Advertisements
Similar presentations
Lecture 1: Logical, Physical & Casual Time (Part 2) Anish Arora CSE 763.
Advertisements

Chapter 20 Oracle Secure Backup.
Time in Distributed Systems
Logical Clocks.
Lecture 12 Synchronization. EECE 411: Design of Distributed Software Applications Roadmap for today Project logistics Posted yesterday P01 due Wednesday.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Network Time Protocol (NTP) August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
153 Configuring and Securing ARPA/Berkeley Services Version A.01 H3065S Module 13 Slides.
Page # Advanced Telecommunications/Information Distribution Research Program (ATIRP) Authentication Scheme for Distributed, Ubiquitous, Real-Time Protocols.
Distributed Systems Fall 2010 Time and synchronization.
Network Time Protocol - NTP Speaker: Cheng-lin Tsai.
Time Synchronization (RBS, Elson et al.) Presenter: Peter Sibley.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir CCNP-SWITCHING Mohamed Samir YouTube channel Double.
Lecture 9: Time & Clocks CDK4: Sections 11.1 – 11.4 CDK5: Sections 14.1 – 14.4 TVS: Sections 6.1 – 6.2 Topics: Synchronization Logical time (Lamport) Vector.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
1 Network File System. 2 Network Services A Linux system starts some services at boot time and allow other services to be started up when necessary. These.
Lecture 2-1 CS 425/ECE 428 Distributed Systems Lecture 2 Time & Synchronization Reading: Klara Nahrstedt.
Sun NFS Distributed File System Presentation by Jeff Graham and David Larsen.
1 Physical Clocks need for time in distributed systems physical clocks and their problems synchronizing physical clocks u coordinated universal time (UTC)
NTP Network time protocol. 19-Aug-152 Needs for precision time Stock market buy and sell orders Aviation traffic control and position reporting Network.
Judah Levine, NIST, CENAM, Oct Internet Time Services and NTP, The Network Time Protocol Judah Levine Time and Frequency Division NIST Boulder
The leap second is coming. Kyusyu Telecommunication Network Co.,Inc. (QTNet) Tomonori TAKADA.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks Locations.
Enhanced NTP IETF – TicToc BOF Greg Dowd – Jeremy Bennington –
A Security Analysis of the Network Time Protocol (NTP) Presentation by Tianen Liu.
Linux+ Guide to Linux Certification, Third Edition
CHAPTER 21 Automating Jobs. Introduction to Automating Jobs DBAs rely heavily on automating jobs. DBAs cannot be effective without automation. Listed.
Term 2, 2011 Week 3. CONTENTS The physical design of a network Network diagrams People who develop and support networks Developing a network Supporting.
1 Team Leader TKS Job Aid. 2 Viewing the On-line Presentation If you are viewing this presentation via Internet Explorer for best results resize the “Notes”
SUSE Linux Enterprise Server Administration (Course 3037)
GPS based time synchronization of PC hardware Antti Gröhn
Hp education services education.hp.com 10 Virtual Private Networks Version B.00 H7076S Module 2 Slides.
UNIT - III. Time Server It is a daemon that runs on one machine and to which other systems synchronize their system clocks. It is a service that provides.
Network Time Protocol Objectives Contents to learn how to setup ntp
EPICS EPICS Collaboration Meeting Argonne National Laboratory drvTS improvements for soft timing EPICS Collaboration Meeting Argonne National Laboratory.
CCNA4 v3 Module 6 v3 CCNA 4 Module 6 JEOPARDY K. Martin.
70 Starting Network Services Version A.01 H3065S Module 7 Slides.
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Daemons Ying Zhang CMSC691X, Summer02. Outline  Introduction  Init and Cron  System daemons  Print daemons and NFS daemons  Time synchronization.
Physical clock synchronization Question 1. Why is physical clock synchronization important? Question 2. With the price of atomic clocks or GPS coming down,
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Network Time Protocol Objectives Contents to learn how to setup ntp
Linux Operations and Administration

Computer Network Design EEL 6785 Dr. Janusz Zalewski University of Central Florida.
Distributed File Systems Questions answered in this lecture: Why are distributed file systems useful? What is difficult about distributed file systems?
Distributed Systems Lecture 5 Time and synchronization 1.
Introduction to Ansible
33 Configuring IP Connectivity Version A.01 H3065S Module 3 Slides.
NTP in UBuntu. The Network Time Protocol (NTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable- latency.
Network Time ● Jonathan Schipp ● Dubois County Linux User Group ● August 7 th, 2011 ● jonschipp (at) gmail.com.
1 CMPT 471 Networking II OSPF © Janice Regan,
Distributed Computing
Wrapup.
Dept. of Computer Science
IEEE 1588 Conference and Plug-fest Winterthur, October 10-12, 2005
Logical time (Lamport)
NTPV3 – Time Synchronization Service
Presentation by Wyatt Zacharias
STP Enhancements for z10 EC, z10 BC, z9 EC, z9 BC
Peer-to-Peer Client-server.
CDK: Sections 11.1 – 11.4 TVS: Sections 6.1 – 6.2
Logical time (Lamport)
Overview Multimedia: The Role of WINS in the Network Infrastructure
Logical time (Lamport)
Logical time (Lamport)
Presentation transcript:

176 Introduction to Network Time Protocol (NTP) Version A.01 H3065S Module 15 Slides

© 1999 Hewlett-Packard Co. H3065S A Introduction to the Network Time Protocol (NTP) a Time synchronization determines consistency of: - NFS time stamps - encryption key expiration times - time stamps used by incremental backups, programmer’s make files, and applications 9:02:15 9:03:02 9:01:52 9:02:15 without NTP with NTP HP-UX uses NTP to maintain time synchronization: NTP Server NTP Client

© 1999 Hewlett-Packard Co. H3065S A NTP Time Sources a NTP time sources can include: radio clocks using signals from GPS satellites (~cost $1000, most accurate) network time sources on the Internet (free, but less accurate) built-in system clock (free, but least accurate)

© 1999 Hewlett-Packard Co. H3065S A NTP Stratum Levels a Accuracy of a time source is defined by its stratum level: Stratum = 1 Most accurate Stratum = 15 Least accurate S1 S2 S3 System with locally attached radio clock System getting time from an S1 NTP server System getting time from an S2 NTP server

© 1999 Hewlett-Packard Co. H3065S A NTP Roles a What is the correct time ? 9:02:15 Peer Larry Stratum 1 Server Frank Stratum 1 Server Renay Stratum 1 Server Sohrab Stratum 1 Server John S2 Darren S2 Brian S2 Gary Stratum 1 Server Don Stratum 1 Server Broadcast Client Direct Polling Client

© 1999 Hewlett-Packard Co. H3065S A Defining NTP Roles via /etc/ntp.conf a The /etc/ntp.conf file defines a system’s NTP role on the network. Entry to define a server with a radio clock (Frank from diagram, previous slide): Entry to define a stratum 2 time source (John from diagram, previous slide): # vi /etc/ntp.conf server peer Larry # vi /etc/ntp.conf server Larry server Frank peer Brian peer Darren broadcast driftfile /etc/ntp.drift

© 1999 Hewlett-Packard Co. H3065S A More /etc/ntp.conf Examples a Entry to define a time server that uses its own internal clock: # vi /etc/ntp.conf server fudge stratum 10 Entry to define a client using direct server polling: # vi /etc/ntp.conf server brian driftfile /etc/ntp.drift Entry to define a client using broadcast: # vi /etc/ntp.conf broadcastclient yes driftfile /etc/ntp.drift

© 1999 Hewlett-Packard Co. H3065S A How NTP Adjusts the System Clock a /usr/sbin/xntpd daemon started at system boot polls one or more NTP servers at regular intervals synchronizes local clock to most accurate NTP server /etc/ntp.drift file maintained by xntpd tracks the local clock’s accuracy over time /usr/sbin/ntpdate utility called once at system boot polls one or more NTP servers synchronizes local clock to most accurate NTP server

© 1999 Hewlett-Packard Co. H3065S A Configuring an NTP Server a Step-by-step procedure for configuring an NTP server: 1. Modify the /etc/rc.config.d/netdaemons file. 2. Modify the /etc/TIMEZONE file as appropriate. 3. Modify /etc/ntp.conf as described previously. 4. Run the /sbin/init.d/xntpd startup script. 5. Wait! NTP requires several polling intervals (up to 6 minutes) to establish associations with its peers and servers. Be patient. 6. Run ntpq -p to check associations. export NTPDATE_SERVER= export XNTPD=1 export XNTPD_ARGS= TZ=CST6CDT export TZ

© 1999 Hewlett-Packard Co. H3065S A Configuring an NTP Client a69813 Step-by-step procedure for configuring an NTP client: 1. Modify the /etc/rc.config.d/netdaemons file on all clients and servers. 2. Modify the /etc/TIMEZONE file as appropriate on all clients and servers. 3. Modify /etc/ntp.conf as described previously. 4. Run the /sbin/init.d/xntpd startup script. 5. Wait! NTP requires several polling intervals (up to 6 minutes) to establish associations with its peers and servers. Be patient. 6. Run ntpq -p to check associations. export NTPDATE_SERVER=’server1 server2’ export XNTPD=1 export XNTPD_ARGS= TZ=CST6CDT export TZ

© 1999 Hewlett-Packard Co. H3065S A Verifying NTP Functionality a View NTP activity and errors over time: Ensure xntpd daemon is running: View association with other nodes: # more /var/adm/syslog/syslog.log # ps -ef | grep xntpd # ntpq -p remote refid st when poll reach delay offset disp *John Larry Brian Renay Darren