2016-06-09 126 views
1

我有一個大包,我試圖部署到Azure中的測試集羣。當我嘗試註冊應用程序類型時,我得到了OperationTimeout,所以我想我可以將TimeoutSec參數發送到Register-ServiceFabricApplicationType,但是我收到一個錯誤,說我的值(1小時)大於MaxOperationTimeout在羣集上配置。我在哪裏配置這個值,我找不到它?該軟件包在本地工作。在集羣上設置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 
+0

事實證明,它與此問題有關:http://stackoverflow.com/questions/38119341/register-servicefabricapplicationtype-on-a-secure-cluster-always-times-out/38151560 #38151560 – Haukman

回答

0

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

+0

但我可以重新部署它嗎?例如,如果我想從3個節點到5個節點。或者,如果我想在一個全新的羣集上設置此設置。 – Haukman

+0

不支持更改設置。更改節點數量應該使用ARM模板完成。 (顯示在這裏:https://github.com/Azure/azure-quickstart-templates/tree/master/service-fabric-secure-cluster-5-node-1-nodetype-wad) – LoekD

+0

好吧,明白了,謝謝。 – Haukman