申请保留旧版本在Azure的服务架构中的较新版本上运行并排侧 [英] Keep application old version running side-by-side with the newer version in Azure Service Fabric

查看:143
本文介绍了申请保留旧版本在Azure的服务架构中的较新版本上运行并排侧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要保持在同一时间对服务织物运行的应用程序的多个版本。

I need to keep several versions of a application running at the same time on Service Fabric.

1.0
1.1
....

1.0 1.1 ....

而不是更新和替换版本,我需要让他们一起上网。

Instead of updating and replacing versions, I need to keep them online together.

这可能吗?

谢谢!

推荐答案

是的,你可以根据你有不同的应用程序名称做一样长。应用程序名称中的参数在您的服务光纤应用(.sfproj)项目文件中的应用程序指定。在Visual Studio中调用服务面料的新ServiceFabricApplication 的PowerShell cmdlet用于该应用程序名称值。这意味着你可以在同一应用程序类型和版本群集中运行两个应用程序,只要它们有不同的应用程序名称。或者你可以有不同版本的应用程序类型,如果你想。只要他们有不同的应用程序名称,不要紧;他们被视为独特的应用。

Yes, you can do this as long as you have different application names. The application name is specified in the application parameters file in your Service Fabric Application (.sfproj) project. That application name value is used when Visual Studio invokes Service Fabric's New-ServiceFabricApplication PowerShell cmdlet. This means you can have two apps running in a cluster with the same application type and version as long as they have different application names. Or you could have different versions of the application type if you wish. As long as they have different application names, it doesn't matter; they're treated as unique applications.

这篇关于申请保留旧版本在Azure的服务架构中的较新版本上运行并排侧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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