gpt4 book ai didi

asp.net-mvc-3 - Azure 部署到新操作系统系列

转载 作者:行者123 更新时间:2023-12-04 15:13:38 27 4
gpt4 key购买 nike

我最近更新了我的 Web 应用程序以面向 ASP.NET 4.5,这需要部署到 Windows Server 2012。通过在 ServiceConfiguration 部署文件中将 osFamily 值设置为 3 来实现。

但是,一旦我将其部署到暂存中,我就无法切换到产品,因为生产具有与暂存不同的操作系统版本,并且它错误地告诉我这不是它可以做的事情。

如果不删除旧的生产环境,会导致停机并翻转暂存以替换空的生产实例,如何在不停机的情况下从 Windows Server 2008 过渡到 2012?

编辑:这是特定于从 2008 年迁移到 2012 年的情况,我相信早期版本是可能的,但是当我尝试将托管服务的 osFamily 值从 2 编辑时,出现以下错误-3。

The Upgrade from OS family 2 to OS family 3 is not allowed

谢谢

最佳答案

遗憾的是,目前不支持从操作系统系列 1 和 2 升级到 3 - http://msdn.microsoft.com/en-us/library/windowsazure/hh472157.aspx

The following items are not supported during an update: • Changing the name of a role. Remove and then add the role with the new name.

• Changing of the Upgrade Domain count.

• Decreasing the size of the local resources.

• Updating from guest OS Family 1 or 2 to guest OS Family 3.

You can work around this limitation by deploying a new package that uses guest OS Family 3 to the staging environment and perform a VIP swap.

关于asp.net-mvc-3 - Azure 部署到新操作系统系列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13224847/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com