由于Windows更新,Azure云服务应用程序(Web角色)偶尔会关闭10分钟左右?我该如何安排他们? [英] Azure cloud service app (web role) goes down for ~10 mins occasionally due to Windows Updates? How can I schedule them?

查看:80
本文介绍了由于Windows更新,Azure云服务应用程序(Web角色)偶尔会关闭10分钟左右?我该如何安排他们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它似乎每隔几个月左右就会发生一次,尽管它通常会在约10分钟内自动恢复,但我仍想了解如何更改Windows Update计划,因为它经常在工作时间内发生./p>

我们有多个不同Azure订阅中的Web应用程序,它们的行为都与此相同.一旦我们收到通知,其中一个发生故障,其他的通常会在接下来的几天/周内发生故障.

我使用远程桌面查看了Web角色的事件查看器,并看到了以下内容(此停机时间发生在东海岸的9:48 am至10:02 am之间,所以绝对不理想):

2020年6月8日1:48:15 PM-自动更新现在已暂停."

随后几个服务停止,然后:

2020/6/6下午1:52:53-进程C:\ 43..61 \ Setup.exe(RD..33)已代表用户启动了计算机RD..3的重新启动由于以下原因,NT AUTHORITY \ SYSTEM:其他(计划中的)原因码:0x80000000关机类型:重启注释:"

2020年6月8日1:52:53 PM-现在恢复自动更新."

2020年6月8日下午1:53:10-操作系统在系统时间2020-08-06T13:53:10.614704600Z处关闭."

2020年6月8日1:53:12-操作系统在系统时间2020-08-06T13:53:12.487679900Z时启动.

很显然,恢复所有内容都需要一段时间,而我终于在大约9分钟后得到通知,该网站已恢复.

是否可以指定何时进行Windows更新?

解决方案

我可以清楚地告诉您,无法安排Windows更新.

此云服务中的Windows更新大约每月一次.时间不固定.没有办法控制它.

Azure Guest OS版本和SDK兼容性列表

解决方案:

我们可以创建2个webroles,以便解决由于Windows更新而导致程序关闭的情况.

原理:

创建2个webroles来平衡服务器压力.窗口更新后,不会同时更新,但是计划的实例更新将结束,并执行下一个实例更新.

通过这种方式,只要您创建> = 2 webrols,就会有2个实例,因此该程序可以保证它不会由于更新而停止.

It seems to happen every couple months or so and while it auto-recovers on its own usually within ~10 minutes I'd still like to find out how to change the Windows Update schedule since it frequently occurs during business hours.

We have several web apps in various Azure subscriptions, and they all behave this way. Once we get a notification that one goes down, the others usually go down over the next few days/week.

I used remote desktop to view the Event Viewer for the web role and see the following (this down time took place between 9:48am and 10:02am on the east coast, so definitely not ideal):

8/6/2020 1:48:15 PM - "Automatic Updates is now paused."

Followed by several services stopping, and then:

8/6/2020 1:52:53 PM - "The process C:\43..61\Setup.exe (RD..33) has initiated the restart of computer RD..3 on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned) Reason Code: 0x80000000 Shutdown Type: restart Comment: "

8/6/2020 1:52:53 PM - "Automatic Updates is now resumed."

8/6/2020 1:53:10 PM - "The operating system is shutting down at system time ‎2020‎-‎08‎-‎06T13:53:10.614704600Z."

8/6/2020 1:53:12 PM - The operating system started at system time ‎2020‎-‎08‎-‎06T13:53:12.487679900Z.

Obviously it takes a while for everything to come back up, and I finally get notified that the site is back up about 9 minutes later.

Is there a way to specify when the Windows Updates should take place?

解决方案

I can tell you clearly that it is not possible to schedule windows updates.

The windows update in this cloud services is about once a month. The time is not fixed. There is no way to control this.

Azure Guest OS releases and SDK compatibility matrix

solution:

We can create 2 webroles so that we can solve the situation that the program is closed due to windows update.

principle:

Create 2 webroles to load balance the server pressure. When the windows is updated, it will not be updated at the same time, but a planned instance update ends, and the next instance update is performed.

In this way, as long as you create >=2 webrols, there will be 2 instances, so that the program can guarantee that it will not stop due to updates.

这篇关于由于Windows更新,Azure云服务应用程序(Web角色)偶尔会关闭10分钟左右?我该如何安排他们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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