如果特定vm的IP在Azure中超时,如何编写用于更改UDR的下一跳的Runbook [英] how to write a runbook for change UDR's nexthop if specific vm's IP is timeout in Azure

查看:74
本文介绍了如果特定vm的IP在Azure中超时,如何编写用于更改UDR的下一跳的Runbook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果特定Vm的IP超时,我希望有一个更改UDR的下一跳的Runbook , 怎么做 ?我是网络管理员,所以我不懂C ++或powershell

推荐答案

您好wangchongchong,

Hi wangchongchong,

我的第一个建议是查看有关如何 $ b的官方内容$ b创建Azure Runbook

My first recommendation is to review the official content on how to create an Azure Runbook .

其次,您的实际情况与网络更加一致,但理论上您应该能够创建

schedule
或使用
观察者
监视IP超时,然后根据超时采取所需的操作(更改用户定义的路由)。我建议将这部分问题发布在我们的

Azure网络论坛
,了解社区是否可以帮助您创作PowerShell脚本以实现目标。

Secondly, your actual scenario is more aligned with networking but theoretically you should be able to create a schedule or use a watcher to monitor the IP timeout then take the desired action (change user defined route) based on the timeout. I recommend posting this part of the question on our Azure Networking Forum to see if the community could assist you with authoring a PowerShell script to achieve your goal.

一旦你有一个正常运行的脚本, 下一步是将其包装在Runbook中并进行部署。

Once you have a functioning script,  next step will be to wrap that in a runbook and deploy.

干杯。 


这篇关于如果特定vm的IP在Azure中超时,如何编写用于更改UDR的下一跳的Runbook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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