Windows Azure的故障转移功能 [英] Failover capabilities with Windows Azure

查看:75
本文介绍了Windows Azure的故障转移功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

解决方案

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



I want to put one of our Apps in Azure. I need to have 2 servers so in case the server fails it will automatically fail over to 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 in service configuration file, you can specify to the instance count is 1, such that the cloud service will 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.


这篇关于Windows Azure的故障转移功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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