如何使用单个节点配置自动修复? [英] How auto healing can be configured with single node?

查看:58
本文介绍了如何使用单个节点配置自动修复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在单个节点上运行时为Azure中的App Service(Web App)配置Auto Healing?我心中的想法是,

I want to know how can one configure Auto Healing in for an App Service (Web App) in Azure when running on a single node? The thought that is in my mind is,

1。使用某些服务监控应用服务(在决定此服务时需要帮助。)

1. Monitor the App Service using some service (need help in deciding this service.)

2。只要App Service崩溃,上述服务就会提醒/通知/触发。

2. The above service will alert/notify/trigger whenever the App Service crashes.

3。相同的服务应该能够调用/触发ps脚本或其他一些将启动崩溃的App Service的Web钩子。

3. The same service should be able to call/trigger a ps script or some other web hook that will start the crashed App Service.

现在,我不确定我需要使用哪些服务为达到这个?我确实研究过逻辑应用程序,但无法找到任何可以达到预期结果的东西。此外,我找不到任何可以监控资源并触发操作的服务,如果
资源已关闭/不活动。

Now, I am not sure which all services I need to use to achieve this? I did look into logic app, but was not able to find anything that can achieve the expected result. Also, I did not find any service that can monitor a resource and trigger an action if the resource is down/inactive.

有人可以帮我吗?

推荐答案

你好omkar,

Hi omkar,

- 当请求计数超出某个限制时b
- 当请求运行时预期慢了
- 收到意外的http状态代码X次数

- 当进程消耗超过预期的内存时

-When request count breaches a certain limit
-When requests are running slower that expected
-When an unexpected http status code is received X number of times
-When the process consumes more than expected memory

当您转到Azure门户时,转到您的应用程序并单击 诊断并解决问题刀片并单击
自动修复

When you go to the Azure portal, go to your App and click on the Diagnose and solve problems blade and click Auto-Heal

通过自动修复,您可以定义条件并配置操作您的应用。  "触发器和操作允许您根据请求计数,慢速请求,内存限制来定义各种条件,您可以采取特定操作,例如重新启动
进程,记录事件,或者开始另一个exe可剪切。"

With auto-heal you can define conditions and configure actions for your app. "The triggers and actions allow you to define various conditions based on request count, slow requests, memory limit on which you can take specific actions like restarting the process, logging an event, or starting another executable."

希望有所帮助。如果您有任何其他问题,请告诉我们。

Hope that helps. Let us know if you have any other question.


这篇关于如何使用单个节点配置自动修复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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