在群集

时间:2016-06-09 22:26:42

标签: azure-service-fabric azure-powershell

我有一个大型软件包,我正在尝试部署到Azure中的测试集群。当我尝试注册应用程序类型时,我得到一个OperationTimeout,所以我想我可以将TimeoutSec参数发送到Register-ServiceFabricApplicationType,但我收到一个错误,说我的值(1小时)大于MaxOperationTimeout在群集上配置。我在哪里配置这个值,我找不到它在哪里?该包在本地工作。

Copying application to image store...
Copy application package succeeded
Registering application type... 
Register-ServiceFabricApplicationType : Client timeout must be less than or equal to the cluster configuration forMaxOperationTimeout. Requested value and timeout limit: (59:59.999, 10:00.000)
At D:\sf\Publish-NewServiceFabricApplication2.psm1:220 char:9
+         Register-ServiceFabricApplicationType -ApplicationPathInImageStore $appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-ServiceFabricApplicationType], FabricException
+ FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType

1 个答案:

答案 0 :(得分:0)

您无法更改Azure群集的群集清单。如上所述:Is it possible to update the Service Fabric Cluster Manifest?