代码之家  ›  专栏  ›  技术社区  ›  Super Jade

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

  •  0
  • Super Jade  · 技术社区  · 6 年前

    我正在本地集群中部署和重新部署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.

    服务结构资源管理器(SFX)中的错误:

    • 一个应用程序实例正常,另一个显示错误

      One application instance OK, the other shows an error

    • 中的错误 fabric:/System/DnsService : DnsService UDP Listener is unable to start

      Error in fabric System DnsService

    • 中的错误 fabric:/System/EventStoreService : System.Net.HttpListenerException

      Error in fabric System Event Store Service

    如何将我的应用程序部署到本地集群中?

    1 回复  |  直到 6 年前
        1
  •  0
  •   Super Jade    6 年前

    在Visual Studio的“属性”窗口中, 将应用程序调试模式从刷新更改为删除应用程序 .

    Application Debug Mode Remove Application

    我连续10次部署我的应用程序,没有错误!

    警告:此解决方案的一个缺点是,如果删除本地集群然后重新部署,ServiceFabricExplorer(SFX)将在几分钟内抛出几个错误,例如 Get cluster upgrade progress failed

    Get cluster upgrade progress failed