Simple NTP Configuration

Source: Internet
Author: User

You can use an NTP server seat time server and select a node as a time server,

Because the NTP service does not occupy much resources, I chose the Rac1 node seat time server.

Rac1:

[[Email protected] etc] # Cat/etc/NTP. conf

Server 127.127.1.0 # local clock

Fudge 127.127.1.0 stratum 10

Driftfile/var/lib/NTP/drift

Broadcast 0.008

Start the service

[[Email protected] etc] #/etc/init. d/ntpd start

Starting ntpd: [OK]

Modify startup

[[Email protected] etc] # chkconfig ntpd on

 

Rac2:

[[Email protected] ~] # Cat/etc/NTP. conf

Server 192.168.0.10 prefer

Broadcastclient 0.008 # broadcast Client

Driftfile/var/lib/NTP/drift

[[Email protected] etc] #/etc/init. d/ntpd start

Starting ntpd: [OK]

[[Email protected] etc] # chkconfig ntpd on

 

Verification:

[[Email protected] etc] # ntpq-P

Remote refID st t when poll reach delay offset Jitter

========================================================== ==============================================

Local (0). locl. 10 L 26 64 3 0.000 0.000 0.001

 

[[Email protected] etc] # ntpq-P

Remote refID st t when poll reach delay offset Jitter

========================================================== ==============================================

Rac1. init. 16 U 60 64 0 0.000 0.000 0.000

 

Simple NTP Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.