簡體   English   中英

如何一致且成功地將我的 Azure Service Fabric 應用程序部署到本地群集?

[英]How do I deploy my Azure Service Fabric application to the local cluster consistently and successfully?

我正在本地群集中部署和重新部署 Azure Service Fabric 應用程序。 雖然對集群的初始部署進行得很順利,但重新部署的成功率約為 50%,並伴有各種間歇性錯誤。

Visual Studio 輸出窗口中的錯誤:

  • Unable to determine whether the application is installed on the cluster or not.

  • Something is taking too long, the application is still not ready.

Service Fabric Explorer (SFX) 中的錯誤:

  • 一個應用實例正常,另一個顯示錯誤

    一個應用實例正常,另一個顯示錯誤

  • 結構錯誤fabric:/System/DnsServiceDnsService UDP Listener is unable to start

    結構系統 DnsService 中的錯誤

  • 結構錯誤fabric:/System/EventStoreServiceSystem.Net.HttpListenerException

    結構系統事件存儲服務中的錯誤

如何一致且成功地將我的應用程序部署到本地集群?

在 Visual Studio 的 Properties 窗口中,將 Application Debug Mode 從 Refresh 更改為 Remove Application

應用程序調試模式刪除應用程序

我連續部署了我的應用程序 10 次,沒有任何錯誤!

警告:此解決方案的一個缺點是,如果刪除本地群集然后重新部署,Service Fabric Explorer (SFX) 將在幾分鍾內引發多個錯誤,例如Get cluster upgrade progress failed

獲取集群升級進度失敗

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM