Client configuration when the server uses ntpd Pairs

Source: Internet
Author: User

When the server uses the ntpd pair-client configuration to maintain the system time of the server cluster at the same time. The use of the program is essential. Ntpdate and ntpd are usually used. The www.2cto.com ntpdate method will change the system time at the right time, which has a great impact on some programs that depend on the system time to determine whether to time out. Ntpd adopts an elegant method. Gradually approaching the latest time. In this way, the change process has little impact on the programs that depend on the system time. Ntpd client configuration: Enable/etc/ntp. conf comment out # server GUARD # server guard modify server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 as ip server 210.72.145.44 # local clock fudge 210.72.145.44 stratum 10 Add ntpd_enable = "YES" indicates the service ntpd restart chkconfig ntpd on. The ntpq-p ntpstat command can be used.

Related Article

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.