Get the App
SLTechnology News&Howtos  ›  Servers  › 

Several kinds of time synchronization of server

Shulou Source: shulou.com Published: 2022-06-02 23:10:03 11月03日 Update

Recently, the time on some servers is inconsistent with the actual time, or the time on the attendance system is also inconsistent, or the time on the following more important servers is not synchronized, and so on. Lead to all kinds of problems.

In order to prevent problems, we need to build or synchronize time synchronization. Microsoft generally uses (time.windows.com). It is generally recommended to use the address of the national time-receiving center server (time.nist.gov) to keep synchronization, or use your own company to build your own time synchronization server.

There is a corresponding article on setting up a time synchronization server on Baidu, so I won't introduce it here, which is mainly about the time synchronization of the host in the ending domain.

1. Hosts without added domains are configured with time synchronization.

two。 Servers or hosts that join the domain configure time synchronization

Note: generally, hosts or servers that join the domain will synchronize the time of the domain control by default (usually the system restarts the synchronization every 15 minutes). So if we want to synchronize all the server time in the domain control with the time server, we only need to open and configure synchronization with the time server on the domain control.

Modify the domain control registry (run-- regedit)

Modify the policy of domain control (run-- gpedit.msc)

Start the windows time service in the domain control (run-- services.msc)

、

Client Settin

Update domain policy gpupdate / force

If you do not restart, first net stop w32time, then net start w32time

If you cannot update with the command, you can use (run-- services.msc-- to restart the windows time service)

Tags: Time synchronization service server host run problem configuration consistency policy system update important company command country address actual customer client Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Apple Microsoft vpn MariaDB