- 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
- 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
- Internal hardware clock settings
- Open the Registry
- Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\config\announceflags
- Modify the DWORD of AnnounceFlags to a
- External NTP timing Server settings
- Open the Registry
- Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\parameters\ntpserver
- 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
- open registry
- navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet \services\w32time\timeproviders\ntpclient\specialpollinterval, the modified value is 900 (decimal), which is the 15-minute query
- Configure time Calibration Settings
- Open Registry
- navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\config\maxpospha Secorrection
- Modify MaxPosPhaseCorrection, select Decimal, modify to 3600, i.e. one hour calibration once
- navigates to hkey_local_machine\system\ Currentcontrolset\services\w32time\config\maxnegphasecorrection
- Modify MaxNegPhaseCorrection, select Decimal, modify to 3600, That is, one-hour calibration.
- Configure NTP timing server
- change server type to NTP
- Open Registry
- navigate to Hkey_local_mach Ine\system\currentcontrolset\services\w32time\parameters\type
- modifies the Type key value to NTP
- Settings anno Unceflags set to 5
- to open the registry
- to navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\confi G\announceflags
- Modify the AnnounceFlags key value to 5, decimal
- enable NtpServer
- Open Registry
- Navigate to Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserver
- Modify enabled to 1, decimal
- Restart Windows Time service in service
- Configure Firewall to allow NTP access
add inbound and outbound rules for port 123
- 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