问题描述
您好,
我正在尝试部署Azure Stack WebApp RP。
首次启动Deploy-SQLServerDSC时时间,它失败并出现以下错误:
New-AzureRmResourceGroupDeployment:10:53:53 AM - 资源Microsoft.Compute / virtualMachines / extensions'Sq0-VM / sqlAOPrepare'失败消息'资源操作已完成,终端配置状态'失败'。'
在C:\ temp \ WebAppsDeployment \ Disloy -SqlServerDSC.ps1:60 char:17
+ ... eployment = New-AzureRmResourceGroupDeployment -ResourceGroupName $ re ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$
+ CategoryInfo:NotSpecified:(:) [New-AzureRmResourceGroupDeployment],Exception
+ FullyQualifiedErrorId:Microsoft.Azure.Commands.Resources .NewAzureResourceGroupDeploymentCommand
New-AzureRmResourceGroupDeployment:10:53:53 AM - 发生内部执行错误。
检查DSC扩展日志,一切似乎都很好:
[SQ0-VM]:LCM:[开始资源] [MSFT_DSCMetaConfiguration]
[SQ0-VM]:LCM:[Start Set] [MSFT_DSCMetaConfiguration]
[SQ0-VM]:LCM:[End设置] [MSFT_DSCMetaConfiguration] 0.0620秒。
[SQ0-VM]:LCM:[结束资源] [MSFT_DSCMetaConfiguration]
[SQ0-VM]:LCM:[结束日期]
[SQ0-VM]:LCM:[结束时间]在0.4840秒内。
操作'调用CimMethod'完成。
Set-DscLocalConfigurationManager在7.653秒内完成。
第二次重新启动脚本,没问题。
VERBOSE:上午11:12:25 - 创建模板部署'SqlServer688'。
VERBOSE:上午11:12:37 - 资源Microsoft.Storage/storageAccounts'webstorage688'供应状态成功
VERBOSE:上午11:12:37 - 资源Microsoft.Network/networkSecurityGroups'myNsg'供应状态成功
VERBOSE:上午11:12:45 - 资源Microsoft.Network/virtualNetworks'ServicesVirtualNetwork'供应状态成功
VERBOSE:上午11:12:59 - 资源Microsoft.Network/networkInterfaces'Sq0-NIC'配置状态成功
VERBOSE:上午11:13:05 - 资源Microsoft.Compute / virtualMachines的Sq0-VM'配置状态正在运行
VERBOSE :上午11:23:00 - 资源Microsoft.Compute / virtualMachines'Sq0
可能是超时问题。
现在我正在尝试部署"AzureStackAppServiceTemplate.json"。
第一次,它因超时问题而失败(6个虚拟机因此错误而失败)。
我试图启动它第二次因超时问题再次失败(相同的VM有超时错误)。
有什么建议吗?如果有影响MAS主机服务器性能的东西,我就会徘徊。
提前致谢
Giovanni
Hello,
I'm trying to deploy Azure Stack WebApp RP.
When Deploy-SQLServerDSC has been launched the first time, it fails with following error:
New-AzureRmResourceGroupDeployment : 10:53:53 AM - Resource Microsoft.Compute/virtualMachines/extensions 'Sq0-VM/sqlAOPrepare' failed with message 'The resource operation completed with terminal provisioning state 'Failed'.'
At C:\temp\WebAppsDeployment\Deploy-SqlServerDSC.ps1:60 char:17
+ ... eployment = New-AzureRmResourceGroupDeployment –ResourceGroupName $re ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureResourceGroupDeploymentCommand
New-AzureRmResourceGroupDeployment : 10:53:53 AM - An internal execution error occurred.
[SQ0-VM]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]
[SQ0-VM]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]
[SQ0-VM]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0620 seconds.
[SQ0-VM]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]
[SQ0-VM]: LCM: [ End Set ]
[SQ0-VM]: LCM: [ End Set ] in 0.4840 seconds.
Operation 'Invoke CimMethod' complete.
Set-DscLocalConfigurationManager finished in 7.653 seconds.
Relaunching the script a second time, no issue.
VERBOSE: 11:12:25 AM - Create template deployment 'SqlServer688'.
VERBOSE: 11:12:37 AM - Resource Microsoft.Storage/storageAccounts 'webstorage688' provisioning status is succeeded
VERBOSE: 11:12:37 AM - Resource Microsoft.Network/networkSecurityGroups 'myNsg' provisioning status is succeeded
VERBOSE: 11:12:45 AM - Resource Microsoft.Network/virtualNetworks 'ServicesVirtualNetwork' provisioning status is succeeded
VERBOSE: 11:12:59 AM - Resource Microsoft.Network/networkInterfaces 'Sq0-NIC' provisioning status is succeeded
VERBOSE: 11:13:05 AM - Resource Microsoft.Compute/virtualMachines 'Sq0-VM' provisioning status is running
VERBOSE: 11:23:00 AM - Resource Microsoft.Compute/virtualMachines 'Sq0
May be it was a time out issue.
Now I'm trying to deploy "AzureStackAppServiceTemplate.json".
First time, it failed with a timeout issue (6 VMs failed with this error).
I've tried to launch it a second time and it failed again with a timeout issue (the same VMs have a timeout error) .
Any suggestions ? I'm wandering if there is something which is affecting MAS host server performances.
Thanks in advance
Giovanni
这篇关于由于超时问题,安装WebApp RP失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!