Azure堆栈安装错误 [英] Azure Stack Installation Error
问题描述
大家好,
需要您在安装Azure Stack POC时遇到的障碍的专业知识,它说它在测试时间服务器时失败了。我已经在pool.ntp.org和time.windows.com上获得了NTP IP地址。
Need your expertise regarding the roadblock that I had encountered when installing Azure Stack POC, it says that it failed in testing the time server. I already get the NTP IP address in pool.ntp.org and time.windows.com.
谢谢,
劳伦斯
劳伦斯
推荐答案
确保CMOS时钟设置为UTC
检查ASDK时间是否与PowerShell之后的UTC运行同步,并确保差异为+或 - 秒。
#获取ASDK时间服务器,同步状态和UTC时差 - 修复前
#Get ASDK time server, sync status and UTC time differential - Before Fix
VM = Get-VM
VM = Get-VM
Invoke-command -Computername
Invoke-command -Computername
VM.name -ScriptBlock {get-date}
VM.name -ScriptBlock {get-date}
W32tm / query / source; get-date
Invoke-command -Computername AzS-DC01 -ScriptBlock {w32tm / stripchart /Computer:time.windows.com / dataonly / samples:5} ;
示例输出:
Example output:
< span style ="margin:0px; color:#0d0d0d; font-family:'Verdana',sans-serif; font-size:10pt"> 18:37:02,-00.0104484s
18:37: 04,+ 00.0019010s
设置ASDK-Host& AzS VMs到UTC。
To set the ASDK-Host & AzS VMs to UTC.
### Sync Azs-DC01 to pool.ntp.org
< span style ="margin:0px; color:#0d0d0d; font-family:'Verdana',sans-serif; font-size:10pt"> Invoke-command -Computername AzS-DC01 -ScriptBlock {w32tm / config / update / manualpeerlist :pool.ntp.org / syncfromflags:MANUAL}
Invoke-command -Computername AzS-DC01 -ScriptBlock {w32tm / stripchart /Computer:time.windows.com / dataonly / samples:5}
Invoke-command -Computername AzS-DC01 -ScriptBlock {W32tm / query / source; get-date}
###将ADHK-Host同步到Azs-DC01
w32tm / config / update /manualpeerlist:AzS-DC01.azurestack.local / syncfromflags:MANUAL
W32tm / resync / rediscover
###将VM同步到Azs-DC01
这篇关于Azure堆栈安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!