abdulhafeez
Assistant Engineer
Assistant Engineer
  • UID4972
  • Fans4
  • Follows5
  • Posts42
Reads:389Replies:0

Alibaba Cloud Tech Share - [Solution]: Fixing Time Sync issue on Alibaba Cloud ECS Instances

Created#
More Posted time:Feb 1, 2018 21:47 PM
Fixing TIme Sync issue on Alibaba Cloud Instances - Useful for Servers which are joined to Active Directory domain environment.

If you are using Active Directory domain environment and you found that, ECS instances time of member servers get changed and reset to China time zone, below is how to fix time sync issue across servers

1) Run the following command on the PDC emulator:  

w32tm /config /manualpeerlist:time.pool.aliyun.com /syncfromflags:manual /reliable:yes /update

Once done, restart W32Time service. (windows time service)

net stop w32time
net start w32time


2) Run the following command on all other DCs (that are not PDC):
 
w32tm /config /syncfromflags:domhier /update

Once done, restart W32Time service. (windows time service)

net stop w32time
net start w32time

3) Run the following command on all member servers those are part of domain


w32tm /config /syncfromflags:domhier /update

Once done, restart W32Time service. (windows time service)

net stop w32time
net start w32time


Reference links:
NTP service within AD:  https://blogs.technet.microsoft.com/nepapfe/2013/03/01/its-simple-time-configuration-in-active-directory/

Alibaba Cloud NTP sources: https://www.alibabacloud.com/help/faq-detail/40583.htm?spm=a3c0i.10721930.1996646101.69.qz6CEO



Note: If this post helped you in what you were looking for or helped you in fixing your issue, please don't forget to like this post " Hit the Like button".
Feel free to share this post to anyone because SHARING IS CARING :)

Thank you,
Abdul Hafeez
[abdulhafeez edited the post at Mar 8, 2018 4:43 AM]
Guest