azure-service-fabric - 重新启动 vmss 后 Service Fabric 应用程序被删除

标签 azure-service-fabric

我们的服务结构有多个暂存环境。为了节省一些成本,开发环境 (VMSS) 每晚都会自动释放。我们的问题是所有已部署的应用程序都从集群中删除。

有什么建议吗?我们是否缺少任何配置?

谢谢

最佳答案

Service Fabric stores state on local, ephemeral disks, meaning that if the virtual machine is moved to a different host, the data does not move with it. In normal operation, that is not a problem as the new node is brought up to date by other nodes. However, if you stop all nodes and restart them later, there is a significant possibility that most of the nodes start on new hosts and make the system unable to recover.

此外,如果您取消分配虚拟机,则临时磁盘为 released

  • 因此,始终为(铜级可靠性层)开发集群保留至少 3 个运行节点。

  • 或者删除并重新创建集群,并结合自动化应用程序部署。

  • 您也可以在夜间缩小节点 SKU。

更多信息here .

关于azure-service-fabric - 重新启动 vmss 后 Service Fabric 应用程序被删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43752782/

相关文章:

azure - 部署期间 Azure 中的 Service Fabric 错误

azure-service-fabric - 差异化包装

azure-service-fabric - 服务结构 : Is it possible to run both Linux and Windows nodes

c# - 将 IoC 容器配置放在 Service Fabric 服务中的何处?

azure - 使用托管代理通过 VSTS 发布管道部署 Service Fabric 应用程序

Azure Service Fabric 中的 Java Spring Boot

azure-devops - 生成依赖片段文件任务失败

azure - Service Fabric,我在哪里使用哪个证书?

azure - 在 Service Fabric 应用程序中动态创建服务

azure-service-fabric - 出现异常时的 Azure Service Fabric Actor 重试逻辑