Windows Azure的VM(IAAS)意外重启 [英] Windows Azure VM (Iaas) unexpected restarts

查看:213
本文介绍了Windows Azure的VM(IAAS)意外重启的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多的虚拟机上的Windows Azure(IAAS)的托管网站。有一些负载平衡的前端的虚拟机,所有的连接到单个VM与SQL实施例preSS。它运作良好。

I have a number of VMs on Windows Azure (Iaas) hosting a website. There are a number of load-balanced front-end VMs, all connecting to a single VM with SQL Express. It works well.

但是!

我得到的所有虚拟机随机重新启动。而对于前端的虚拟机(与IIS),因为它们是负载平衡,该网站没有受到影响,负载平衡器相应调整。但是,重新启动运行数据库的虚拟机时,该网站已关闭,直到DB又到了。这需要< 3分钟开机,但是这仍然是不可接受的,如果它发生足够频繁。虽然重启是比较少见的(每个虚拟机一个月2),有时我们得到了一个星期,每个VM 4重新启动,它得到令人沮丧烦人。并非所有的虚拟机重新启动频繁,我想不通的模式。重启也意外(重新开始上拉的动力电缆类型,并没有停产)。数据中心是西欧。

I'm getting random restarts across all the VMs. As for the front-end VMs (with IIS), since they are load balanced, the site is not affected and the load balancer adjusts accordingly. But when the VM hosting the database is restarted, the site is down until the DB is up again. It takes < 3min to boot up, but that's still unacceptable if it happens frequently enough. Although the restarts are relatively rare (2 a month per VM), sometimes we get a week with 4 restarts per VM, which gets frustratingly annoying. Not all VMs restart as frequently and I cannot figure out a pattern. Restarts are also unexpected (pull-the-power-cable type of restarts, and not shutdowns). Datacenter is West Europe.

微软强调,SLA只涵盖2VMs在可用性集,这我不能有数据库虚拟机(与企业SQL版的价格为一只胳膊和三条腿)。此外,SQL Azure是不是一种选择,因为应用非常健谈,而且在高峰时期的SQL Azure数据库正在扼杀(尽管它与SQL防爆preSS上中等VM!超光滑)。

Microsoft emphasises that SLA only covers 2VMs in an availability set, which I can't have for the database VM (and the enterprise SQL edition costs an arm and three legs). Also, SQL Azure isn't an option as the application is very chatty, and the SQL Azure database was being throttled during peak times (though it works super smooth with SQL Express on a Medium VM!).

我的问题(S):
这是正常的,有这么多重新启动?是具有有其他人同样的问题?什么是在Azure这样的环境你的经验?我能做些什么,以尽量减少停机时间?

My question(s): Is it normal to have so many restarts? Are there other people having the same problem? What is your experience with such an environment on Azure? What can I do to minimise this downtime?

谢谢大家!

推荐答案

这是正常的,有这么多重新启动?

Is it normal to have so many restarts?

是的,这可以在一个给定的月份发生,你需要站出来的SQL Server高可用性模式才能真正得到这个工作。

Yes this can happen in a given month, you need to stand up SQL Server in high availability mode to really get this to work.

是它的成本一只胳膊和腿。 (

Yes it does cost an arm and leg. ;(

是用什么在Azure上这样的环境你的经验?
几个月真的好几个月是坏,取决于你的集群和数据中心的您是。在MS数据中心存在具有混合范围内我们的硬件出来。这并不意味着他们是在旧笔记本电脑在一些数据中心运行,但它确实在我的经验意味着新的数据中心往往有他们更好地套件和重启从而减少。即我们使用美国东。

What is your experience with such an environment on Azure? Some months are really good some months are bad, depends on your cluster and which datacenter you are in. MS have mixed range our hardware out in there datacenters. That does not mean they are running on old laptops in some datacenters but it does mean in my experience the new datacenters tend to have better kit in them and thus less restarts. I.e we use USA East.

我能做些什么,以尽量减少停机时间?

What can I do to minimise this downtime?

高可用性与证人是给你的虚拟机可用性的唯一途径,是的,它的成本和手臂和腿。

High availability with a witness is the only way to give you availability in VM and yes it cost and arm and leg.

其他严重选项。缓存缓存..你应该使用计算机缓存,蔚蓝的缓存和尝试minmize到数据库您的来电。这可能会降低健谈的应用程序,让你退后一步在SQL Azure中,但可能会给你足够的故障切换恢复回来。

Other serious options. Cache Cache ..You should use computer cache, azure cache and try to minmize your calls to the database. This might reduce your chatty app and allow you to step back in SQL Azure, but might give you enough to for the failover to recover back.

队列队列会帮助你恢复应用程序,给你的用户的消息,我们正在做这个工作。

Queues Queues would help you application recover and give you user a message of we are working on it.

使用SQL Azure的故障转移。从premise(不知道这适用于防爆preSS)到SQL Azure中使用SQL Azure的同步,并写入到你的应用程序code拿起连接错误和故障转移数据同步。

Use SQL Azure as failover. Data sync using SQL Azure Sync from Premise (Not sure this works with Express) to SQL Azure and write into you app code to pick up the connection error and failover.

看看使用Azure的其他部分为您的应用程序,以减少进入SQL调用量的部分,即可以移动的东西表存储?

Look at using other parts of Azure for parts of your app to reduce your amount of calls coming into SQL , i.e Can you move stuff to table storage ?

HTHS给你一些想法。

HTHS give you some ideas.

这篇关于Windows Azure的VM(IAAS)意外重启的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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