Thursday, December 31, 2009

NETWORK TIME PROTOCOL (NTP) IMPLEMENTATION IN REDHAT LINUX

NETWORK TIME PROTOCOL (NTP) IMPLEMENTATION

Features:

1. The ability to synch your system's clock

2. Also can be used to synch other clocks

3. Implemented as: 'ntp-4.2...rpm' package

4. Is hierarchial, using strata levels to denote time accuracy

/etc/ntp.conf - primary configuration

NTP Strata:

Features:

1. The ability to denote clock accuracy based on on stratum

2. With Stratum level 1 being the most accurate, as an NTP server at this level is
connected to an external time service (GPS, Radio, etc.)

Use: www.ntp.org - to located public NTP clocks at various strata

Task:

1. Synch against internal NTP server

•/etc/ntp.conf
server 192.168.75.100
•service ntpd start - this starts the 'ntpd' service
•chkconfig ntpd on
•ntpq -np - this queries the running 'ntpd' server

Note: NTP synchronization is hierarchical. Thus, if we synch against a stratum 3 clock, we become a stratum 4 clock
2. Prove that 'linuxcbtserv4' is indeed a stratum 4 clock
•/etc/ntp.conf - of 'linuxcbtserv1'
server 192.168.75.199

Note: Ideally, you should supply your: /etc/ntp.conf file with at least 3 clocks for:

•Accuracy
•Redundancy

No comments:

Post a Comment