问题描述
- 生成10个虚拟机的部署过程(xPRVM \ SQLVM \ POTALMV ......)
- 系统时区为UTC - 太平洋时间08:00
- 使用参数 -UseAADChina $ true(可以成功登录azure potal)
PS C:\ poc \\ \\ Azure Stack Technical Preview \ Microsoft Azure Stack POC> .\DeployAzureStack.ps1 -Verbose -UseAADChina $ true
欢迎使用Microsoft Azure Stack POC部署!
$
VERBOSE:导入函数'Get-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Update-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Add-LocalGroupMembership'。
VERBOSE:导入函数'ConvertFrom-StringEncryptedByMachineKey' 。$
VERBOSE:导入函数'ConvertTo-PlainTextString'。
VERBOSE:导入函数'ConvertTo-StringEncryptedByMachineKey'。
VERBOSE:导入函数' Get-CustomizedSession'。
VERBOSE:导入函数'Get-MsiDatabaseInfo'。
VERBOSE:导入函数'Invoke-ScriptBlockWithRetries'。
VERBOSE :导入函数'Write-Log'。
VERBOSE:导入变量'AzureStackDataPath'。
VERBOSE:导入别名'Log'。
那里有几个先决条件c用于验证您的计算机是否满足所有最低要求,以便部署Microsoft Azure Stack POC。$
VERBOSE:Invoke-AzureStackDeploymentPrecheck已启动。
VERBOSE:检查管理员权限。
VERBOSE:检查域加入状态
VERBOSE:检查此检查项目之前是否已通过。只需要执行一次。
VERBOSE:域名加入状态检查已通过。
VERBOSE:检查互联网访问权限。
VERBOSE:获取https ://login.windows.net/,0字节有效负载
VERBOSE:收到内容类型text / html的40938字节响应; charset = utf-8
VERBOSE:检查Internet访问是否成功。
VERBOSE:检查物理磁盘的存储池。
VERBOSE:检查是否存在检查项目已经过去了。只需要执行一次。
VERBOSE:磁盘检查已通过。
VERBOSE:检查RAM。
VERBOSE:检查Hyper-V支持在主机上。
VERBOSE:操作'Get-WindowsFeature'启动:Hyper-V
VERBOSE:操作'Get-WindowsFeature'成功:Hyper-V
VERBOSE:检查文件是否存在。 PackagePath:C:\ poc \Azure Stack Technical Preview \ Microsoft Azure S
$
tack POC
VERBOSE:Check Host OS version
VERBOSE:主机操作系统版本:10.0.10586,SKU:8
VERBOSE:虚拟交换机检查已通过。
已通过所有先决条件检查。
VERBOSE:Invoke-AzureStackDeploymentPrecheck已完成。
VERBOSE:导入函数'Get-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Update-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Add-LocalGroupMembership'。
VERBOSE:导入函数'ConvertFrom-StringEncryptedByMachineKey'。
VERBOSE:导入函数'ConvertTo-PlainTextString'。
VERBOSE:导入函数'ConvertTo-StringEncryptedByMachineKey'。
VERBOSE:导入函数'Get-CustomizedSession'。
VERBOSE:导入函数'Get- MsiDatabaseInfo'。
VERBOSE:导入函数n'Invoke-ScriptBlockWithRetries'。
VERBOSE:导入函数'Write-Log'。
VERBOSE:导入变量'AzureStackDataPath'。
VERBOSE :导入别名'Log'。
VERBOSE:导入函数'Get-AadTenantDetails'。
VERBOSE:导入函数'Get-AadUserObjectId'。
VERBOSE:导入函数'New-AadUser'。
VERBOSE:导入函数'Register-WapAadApplications'。
VERBOSE:代理服务器是10.0.2.39:3128。 br />
VERBOSE:导入函数'Get-AzureStackDeploymentScheduledTaskStatus'。
VERBOSE:导入函数'New-AzureStackDeploymentScheduledTask'。
VERBOSE:导入函数'删除 - AzureStackDeploymentScheduledTask'。
VERBOSE:导入函数'Start-AzureStackDeploymentScheduledTask'。
VERBOSE:导入函数'Get-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Update-AzureStackDep loymentStatus'。
VERBOSE:导入函数'Add-LocalGroupMembership'。
VERBOSE:导入函数'ConvertFrom-StringEncryptedByMachineKey'。
VERBOSE:导入函数'ConvertTo-PlainTextString'。
VERBOSE:导入函数'ConvertTo-StringEncryptedByMachineKey'。
VERBOSE:导入函数'Get-CustomizedSession'。
VERBOSE:导入函数'Get-MsiDatabaseInfo'。
VERBOSE:导入函数'Invoke-ScriptBlockWithRetries'。
VERBOSE:导入函数'Write-Log'。
VERBOSE:导入变量'AzureStackDataPath'。
VERBOSE:导入别名'Log'。
VERBOSE:导入函数'Get-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Update-AzureStackDeploymentStatus'。
VERBOSE:导入函数'Get-AzureStackDeploymentScheduledTaskStatus'。
VERBOSE:导入函数'New-AzureStackDe ploymentScheduledTask'。
VERBOSE:导入函数'Remove-AzureStackDeploymentScheduledTask'。
VERBOSE:导入函数'Start-AzureStackDeploymentScheduledTask'。
报告 - 进度:Microsoft Azure Stack POC部署失败。
user_realm_discovery_failed:用户域发现失败
  + CategoryInfo         ;: NotSpecified :( :) [Get-AzureStackToken],AdalSer
viceException
  + FullyQualifiedErrorId:Microsoft.IdentityModel.Clients.ActiveDirectory。
AdalServiceException,Microsoft.AzureStack.Commands.Security.GetToken
  + PSComputerName     :PortalVM.AzureStack.local
Invoke-AzureStackInstaller:某些组件配置失败。详情请查看o
utput。
F:\ AzureStackInstaller \ PoCAzureStackServicesInstaller\Microsoft.AzureStackIn
staller.Master.ps1 :1052 char:1
+ Invoke-AzureStackInstaller -SettingsXml $ SettingsXml -DeploymentCrede ...
+ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
  + CategoryInfo         ;: NotSpecified :( :) [Write-Error],WriteErrorExcep
tion
  + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Invoke-AzureStackInstaller
Start-PocAzureStackServicesInstallerTasks:POCAzureStackServicesInstaller失败因为以下任务失败:
ed:aad
在C:\ProgramData \ Mysoftoft \AzureStack \Deployment\RunAzureStackDeploymentTask.p
s1:158 char:19
+ ...  ;     $ result =& "开始 - $ moduleName`Tasks" -StatusUpdatedCallback {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
  + CategoryInfo         ;: NotSpecified :( :) [Write-Error],WriteErrorExcep
tion
  + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Start-PocAzureStackServicesInstallerTasks
在C:\ProgramData \ Mysoftoft \AzureStack \Deployment\Get-AzureStackDeploymentStatus.ps1:107 char:15
+   $ Result =报告进度($ status)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo       :NotSpecified :( :) [Write-Error],WriteErrorException
  + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorException,Report-Progress
PS C:\poc\Azure Stack Technical Preview\Microsoft Azure Stack POC> .\DeployAzureStack.ps1 –Verbose -UseAADChina $true
Welcome to the Microsoft Azure Stack POC Deployment!
VERBOSE: Importing function 'Get-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Update-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Add-LocalGroupMembership'.
VERBOSE: Importing function 'ConvertFrom-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'ConvertTo-PlainTextString'.
VERBOSE: Importing function 'ConvertTo-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'Get-CustomizedSession'.
VERBOSE: Importing function 'Get-MsiDatabaseInfo'.
VERBOSE: Importing function 'Invoke-ScriptBlockWithRetries'.
VERBOSE: Importing function 'Write-Log'.
VERBOSE: Importing variable 'AzureStackDataPath'.
VERBOSE: Importing alias 'Log'.
There are several prerequisites checks to verify that your machine meets all the minimum requiremen
ts for deploying Microsoft Azure Stack POC.
VERBOSE: Invoke-AzureStackDeploymentPrecheck started.
VERBOSE: Check for Administrator priviledge.
VERBOSE: Check domain join status
VERBOSE: Check whether this check item has passed before. Only need to do it once.
VERBOSE: Domain join status check already passed.
VERBOSE: Check Internet access.
VERBOSE: GET https://login.windows.net/ with 0-byte payload
VERBOSE: received 40938-byte response of content type text/html; charset=utf-8
VERBOSE: Check Internet access succeeded.
VERBOSE: Check physical disks for storage pool.
VERBOSE: Check whether this check item has passed before. Only need to do it once.
VERBOSE: Disks check already passed.
VERBOSE: Check RAM.
VERBOSE: Check Hyper-V support on the host.
VERBOSE: The operation 'Get-WindowsFeature' started: Hyper-V
VERBOSE: The operation 'Get-WindowsFeature' succeeded: Hyper-V
VERBOSE: Check Files existence. PackagePath: C:\poc\Azure Stack Technical Preview\Microsoft Azure S
tack POC
VERBOSE: Check Host OS version
VERBOSE: Host OS version: 10.0.10586, SKU: 8
VERBOSE: Virtual Switch check already passed.
All of the prerequisite checks passed.
VERBOSE: Invoke-AzureStackDeploymentPrecheck finished.
VERBOSE: Importing function 'Get-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Update-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Add-LocalGroupMembership'.
VERBOSE: Importing function 'ConvertFrom-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'ConvertTo-PlainTextString'.
VERBOSE: Importing function 'ConvertTo-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'Get-CustomizedSession'.
VERBOSE: Importing function 'Get-MsiDatabaseInfo'.
VERBOSE: Importing function 'Invoke-ScriptBlockWithRetries'.
VERBOSE: Importing function 'Write-Log'.
VERBOSE: Importing variable 'AzureStackDataPath'.
VERBOSE: Importing alias 'Log'.
VERBOSE: Importing function 'Get-AadTenantDetails'.
VERBOSE: Importing function 'Get-AadUserObjectId'.
VERBOSE: Importing function 'New-AadUser'.
VERBOSE: Importing function 'Register-WapAadApplications'.
VERBOSE: The proxy server is 10.0.2.39:3128.
VERBOSE: Importing function 'Get-AzureStackDeploymentScheduledTaskStatus'.
VERBOSE: Importing function 'New-AzureStackDeploymentScheduledTask'.
VERBOSE: Importing function 'Remove-AzureStackDeploymentScheduledTask'.
VERBOSE: Importing function 'Start-AzureStackDeploymentScheduledTask'.
VERBOSE: Importing function 'Get-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Update-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Add-LocalGroupMembership'.
VERBOSE: Importing function 'ConvertFrom-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'ConvertTo-PlainTextString'.
VERBOSE: Importing function 'ConvertTo-StringEncryptedByMachineKey'.
VERBOSE: Importing function 'Get-CustomizedSession'.
VERBOSE: Importing function 'Get-MsiDatabaseInfo'.
VERBOSE: Importing function 'Invoke-ScriptBlockWithRetries'.
VERBOSE: Importing function 'Write-Log'.
VERBOSE: Importing variable 'AzureStackDataPath'.
VERBOSE: Importing alias 'Log'.
VERBOSE: Importing function 'Get-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Update-AzureStackDeploymentStatus'.
VERBOSE: Importing function 'Get-AzureStackDeploymentScheduledTaskStatus'.
VERBOSE: Importing function 'New-AzureStackDeploymentScheduledTask'.
VERBOSE: Importing function 'Remove-AzureStackDeploymentScheduledTask'.
VERBOSE: Importing function 'Start-AzureStackDeploymentScheduledTask'.
Report-Progress : The Microsoft Azure Stack POC deployment failed.
user_realm_discovery_failed: User realm discovery failed
+ CategoryInfo : NotSpecified: (:) [Get-AzureStackToken], AdalSer
viceException
+ FullyQualifiedErrorId : Microsoft.IdentityModel.Clients.ActiveDirectory.
AdalServiceException,Microsoft.AzureStack.Commands.Security.GetToken
+ PSComputerName : PortalVM.AzureStack.local
Invoke-AzureStackInstaller : Some component configuration fails. Please check o
utput for details.
At F:\AzureStackInstaller\PoCAzureStackServicesInstaller\Microsoft.AzureStackIn
staller.Master.ps1:1052 char:1
+ Invoke-AzureStackInstaller -SettingsXml $SettingsXml -DeploymentCrede ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Invoke-AzureStackInstaller
Start-PocAzureStackServicesInstallerTasks : POCAzureStackServicesInstaller fail
ed because the following tasks failed: aad
At C:\ProgramData\Microsoft\AzureStack\Deployment\RunAzureStackDeploymentTask.p
s1:158 char:19
+ ... $result = & "Start-$moduleName`Tasks" -StatusUpdatedCallback {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Start-PocAzureStackServicesInstallerTasks
At C:\ProgramData\Microsoft\AzureStack\Deployment\Get-AzureStackDeploymentStatus.ps1:107 char:15
+ $Result = Report-Progress($status)
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Report-Progress
推荐答案
感谢您在此发帖。
用户域发现失败表示NATVM没有Internet连接。
这个 通常是由于以下原因:
1。静态IP,但在部署时未指定NATVMStaticIP和NATVMStaticGateway。
2。要求代理到Internet,但没有指定ProxyServer,或者它需要TP1不支持的身份验证。
解决方案是确保NATVM具有Internet连接,然后重新运行部署脚本,它将恢复并成功完成。
问候,
Pradeep
这篇关于天蓝色堆栈的部署无法解码。(二手中国添加帐户)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!