Windows Azure的故障转移功能

编程入门 行业动态 更新时间:2024-10-28 20:18:07
本文介绍了Windows Azure的故障转移功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在Azure中放置一个应用程序。我需要有2台服务器,以防服务器出现故障,它会自动将故障转移到其他服务器。这是否可以在Azure中使用VM,以便它们可以使用相同的公共IP地址?

解决方案

如果要使用相同的公共IP地址,则需要在同一个云服务中部署多个您的应用实例。然后在 service配置文件中,您可以指定实例计数为1,这样云服务将启动另一个已部署到服务的服务,以确保始终有一个实例在运行。要实现此目的,您需要熟悉Azure中的发布云服务。您可能会发现以下内容有帮助。

  • msdn.microsoft/en-us/library/azure/ee460772.aspx
  • blogs.msdn/b/jnak/archive /2009/11/18/tools-to-configure-windows-azure-service-definition-and-configuration-files.aspx

I want to put one of our Apps in Azure. I need to have 2 servers so in case the server fails it will automaticallyfail overto the other server. Is this possible with using VMs in Azure so they can use the same public IP address?

解决方案

If to have the same public IP address, you will need to deploy multiple your app instances in the same cloud service. Then inserviceconfiguration file, you can specify tothe instance count is1, such that the cloud servicewill start another one already deployed to the service to ensure there is always one instance running. To implement this, you need to be familiar with publishing cloud service in Azure. You may find the following helpful.

  • msdn.microsoft/en-us/library/azure/ee460772.aspx
  • blogs.msdn/b/jnak/archive/2009/11/18/tools-to-configure-windows-azure-service-definition-and-configuration-files.aspx

更多推荐

Windows Azure的故障转移功能

本文发布于:2023-11-10 15:29:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1575757.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:故障   功能   Windows   Azure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!