Configuring Win8.1 Timing Servers for Hadoop

Source: Internet
Author: User

    1. Start the Windows service in the following order:
    • SSTPS (Secure Socket Tunneling Protocol service)
    • Telephony service
    • Remote Access Connection Manager service
    • Windows Event Log Service
    1. Select the base clock of the server to select the internal hardware clock and the external NTP timing server clock, but ensure local time is accurate
      1. Internal hardware clock settings
        1. Open the Registry
        2. Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\config\announceflags
        3. Modify the DWORD of AnnounceFlags to a
      2. External NTP timing Server settings
        1. Open the Registry
        2. Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\parameters\ntpserver
        3. Modify NtpServer, add key value s2k.time.edu.cn,0x01. There are spaces in the middle of each value. The 0X01 flag has the following four options

0x01 specialinterval

0x02 useasfallbackonly

0x04 symmatricactive

0x08 Client

      set polling interval
      1. open registry
      2. navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet \services\w32time\timeproviders\ntpclient\specialpollinterval, the modified value is 900 (decimal), which is the 15-minute query
    1. Configure time Calibration Settings
      1. Open Registry
      2. navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\config\maxpospha Secorrection
      3. Modify MaxPosPhaseCorrection, select Decimal, modify to 3600, i.e. one hour calibration once
      4. navigates to hkey_local_machine\system\ Currentcontrolset\services\w32time\config\maxnegphasecorrection
      5. Modify MaxNegPhaseCorrection, select Decimal, modify to 3600, That is, one-hour calibration.
    1. Configure NTP timing server
      1. change server type to NTP
        1. Open Registry
        2. navigate to Hkey_local_mach Ine\system\currentcontrolset\services\w32time\parameters\type
        3. modifies the Type key value to NTP
      2. Settings anno Unceflags set to 5
        1. to open the registry
        2. to navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\confi G\announceflags
        3. Modify the AnnounceFlags key value to 5, decimal
      3. enable NtpServer
        1. Open Registry
        2. Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserver
        3. Modify enabled to 1, decimal
    2. Restart Windows Time service in service
    3. Configure Firewall to allow NTP access

      add inbound and outbound rules for port 123

    4. Set the automatic update time for Hadoop servers

Linux has ntpd and ntpdate two time update methods, NTPD is a slow time calibration service, and ntpdate is a time correction service. The difference between the two is that NTPD found that the time is biased slowly update time, and change the BIOS clock, so that even if the network can maintain a more accurate time, and the Ntpdate service discovery time is biased regardless of how large the difference, immediately update the time, this will be a timing-sensitive program caused by logic confusion. Therefore this article uses the NTPD service to update the time automatically.

#nano/etc/ntp.conf

+server 172.16.24.4 Iburst

-server 0.rhel.pool.ntp.org Iburst

-server 1.rhel.pool.ntp.org Iburst

-server 2.rhel.pool.ntp.org Iburst

-server 3.rhel.pool.ntp.org Iburst

#service ntpd Restart

#chkconfig ntpd on

Configuring Win8.1 Timing Servers for Hadoop

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.