標籤:current res ado 設定 blog port 去掉 自動 cto
1、在開始功能表列中,點擊“運行”輸入regedit,開啟Windows 註冊表
2、設定成為NTP 伺服器類型。
修改登陸檔案中: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters"
[Type]設定值修改為”NTP”。
3、設定授權時間伺服器
修改登入檔中: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config"
[AnnounceFlags]修改設定值為5。
4、啟用NTP伺服器
修改登入檔中: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer"
[Enabled]數值修改為1。
5、重起Windows Time服務
開啟開始菜單輸入“CMD”在命令列模式下輸入:
?net?stop?w32time?&&?net?start?w32time???重啟一下win32time服務。
注意:
1、在系統服務中設定W32Time服務啟動模式為自動。
2、確定防火牆允許UDP123連接埠訪問。
開啟 UDP:123連接埠
開啟開始菜單輸入“CMD”在命令列模式下輸入:
netsh firewall add portopening protocol = UDP port =123 name = NTPSERVER
將esxi主機配置為NTP用戶端
1、通過web client登陸vcenter server,按進行配置
2、啟用esxi命令列
按alt+f1切換命令介面
3、修改esxi設定檔
1.vi /etc/ntp.conf添加下列內容
tos maxdist 30
2.儲存並推出
3.設定 /etc/likewise/lsassd.conf的寫入權限
chmod +w /etc/likewise/lsassd.conf
4.vi /etc/likewise/lsassd.conf 找到下列配置項去掉注釋和前面的空格,
sync-system-time = no
5.儲存並推出.
6.執行下面的命令
/sbin/auto-backup.sh
7.重啟下列兩個服務
/etc/init.d/lsassd restart
/etc/init.d/ntpd restart
Windows Server 2008 R2 NTP時間伺服器的配置