基于运行状况事件的Service Fabric自动修复 [英] Service Fabric Automatic Repairs based on Health events

查看:141
本文介绍了基于运行状况事件的Service Fabric自动修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我说我有服务结构集群.我正在使用看门狗来报告运行状况报告,例如ApplicationHealthReport,NodeHealthReport,DeployedServicePackageHealthReport. Service Fabric现在可以通过任何方式进行修复,例如如果 NodeHealthReport处于错误状态,我们希望重新启动Node.

是否有任何内置的SF修复管理器服务可用于根据运行状况报告执行这些自动修复.

如果没有其他替代方法,我们可以实现相同目标.

感谢帮助

解决方案

从下面的文档中,我看到要自动运行任务,必须运行适当的修复执行程序使每个修复操作自动运行.但是我找不到任何文档或样本来创建自定义修复执行程序.

https://docs.microsoft.com/zh-cn/powershell/module/servicefabric/start-servicefabricrepairtask?view=azureservicefabricps



Lets say i have service fabric cluster. I am using watchdogs to report health reports like ApplicationHealthReport, NodeHealthReport, DeployedServicePackageHealthReport. Is there any way now Service Fabric can do repairs like for example if the DeployedServicePackageHealthReport is in error state we would like to restart the corresponding service. If NodeHealthReport is in error state we would like restart Node. 

Is there any built in SF repair manager service that we can use to perform these automatic repairs based on the health report.

If not is there any other alternative way we can achieve the same.

Thanks for the help

解决方案

From the documentation below I see that to run tasks automatically an appropriate repair executor must be running for each repair action to run automatically. But i could not find any documentation or samples how to create custom repair executor.

https://docs.microsoft.com/en-us/powershell/module/servicefabric/start-servicefabricrepairtask?view=azureservicefabricps



这篇关于基于运行状况事件的Service Fabric自动修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆