简体   繁体   English

最大限度地减少停机时间(Azure网站+ SQL DB)

[英]Minimize downtime (Azure Website + SQL DB)

My Azure websites are down a lot, four outages (30 minutes - 3 hours) in the past 30 days. 我的Azure网站下降了很多,过去30天内发生了四次中断(30分钟-3小时)。 I only use one small standard website and one web SQL DB in US West so I can't expect 99.5%. 在美国西部,我只使用一个小型标准网站和一个Web SQL DB,所以我不能期望99.5%。 This week (a few days ago and currently), 503 errors were / are the problem, but I also experienced substantial DB downtimes at other occasions. 这个星期(几天前和现在)是503个错误,这是问题所在,但在其他情况下,我也遇到了大量的DB停机。

My question is: what can I do (with hopefully not too much additional costs and effort) to raise stability? 我的问题是:我该怎么做(希望不要花费太多额外的成本和精力)来提高稳定性? Which measures did other Azure users try? 其他Azure用户尝试了哪些措施? Would this have prevented the 3 hour downtime last Monday? 这样是否可以避免上周一3个小时的停机时间?

There are (at least) three things you can do: 您至少可以做三件事:

  1. Scale your website so that you have 2 instances running ( How to Scale Websites ); 扩展您的网站,以使您有2个实例在运行( 如何扩展网站 );
  2. Deploy a another copy of the website in a different region, and use traffic manager to Load Balance them ( Traffic Manager Overview ) 在不同区域中部署网站的另一个副本,并使用流量管理器对其进行负载平衡( 流量管理器概述
  3. Create another instance of the database, and sync them ( Getting Started with Azure SQL Data Sync ) 创建数据库的另一个实例,并对其进行同步( Azure SQL Data Sync入门

I'd like to point out that with Websites, you get a 99.9% availability for websites running is Basic and Standard mode regardless of the number of instances deployed . 我想指出的是,使用网站, 无论部署的实例数量如何 ,您都可以以基本和标准模式运行99.9%的网站。 You can view the SLA document here: http://go.microsoft.com/fwlink/?linkid=301329&clcid=0x409 您可以在此处查看SLA文档: http : //go.microsoft.com/fwlink/?linkid=301329&clcid=0x804

Regarding the 503 errors you experiences, this was an intermittent issue http://azure.microsoft.com/en-us/status/#history 关于您遇到的503错误,这是一个间歇性问题, 网址为http://azure.microsoft.com/en-us/status/#history

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM