【问题标题】:Set MaxOperationTimeout on cluster在集群上设置 MaxOperationTimeout
【发布时间】:2016-06-10 16:24:49
【问题描述】:

我有一个大包,我正尝试将它部署到 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

【问题讨论】:

标签: azure-service-fabric azure-powershell


【解决方案1】:

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

【讨论】:

  • 但是我可以重新部署它,对吗?例如,如果我想从 3 个节点变为 5 个节点。或者,如果我想在一个全新的集群上设置此设置。
  • 不支持更改设置。更改节点数应使用 ARM 模板完成。 (此处显示:github.com/Azure/azure-quickstart-templates/tree/master/…
猜你喜欢
  • 2019-11-28
  • 1970-01-01
  • 2017-05-07
  • 1970-01-01
  • 2016-01-28
  • 2022-01-04
  • 2023-03-29
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多