- Azure for Architects
- Ritesh Modi
- 393字
- 2021-07-08 09:33:42
Computing High Availability
Applications demanding High Availability should be deployed on multiple virtual machines on the same availability set. If applications are composed of multiple tiers, then each tier should have a group of virtual machines on their dedicated availability set. In short, if there are three tiers of an application, there should be three availability sets and minimum six virtual machines (two in each availability set) to make the entire application highly available.
How does Azure provide SLA and High Availability to virtual machines in an Availability set with multiple virtual machines in each availability set? This is the question that might be coming to mind.
Here comes the use of concepts that we considered before: fault and update domain.
When Azure sees multiple virtual machines in an availability set, it places those virtual machines on a separate fault domain. In other words, these virtual machines are placed on separate physical racks instead of the same rack. This ensures that at least one virtual machine continues to be available even if there is a power, hardware, or rack failure. There are two or three fault domains in an availability set and depending on a number of virtual machines in an availability set, the VMs are placed on separate fault domains or repeated in a round robin fashion. This ensures that High Availability is not impacted because of failure of the rack.
Azure also places these VMs on a separate update domain. In other words, Azure tags these VMs internally in such a way that these virtual machines are patched and updated one after another such that any reboot in an update domain does not affect the availability of the application. This ensures that High Availability is not impacted because of the virtual machine and host maintenance.
With the placement of virtual machines in separate fault and update domains, Azure ensures that not all of them are down at the same time and are alive and available for serving requests even though they might be undergoing maintenance or facing physical downtime challenges.

The previous image shows four virtual machines (2 IIS and 2 SQL related). Both IIS and SQL virtual machines are part of their availability set. The IIS and SQL virtual machines are on separate fault domain and different racks in the data center. They would also be on separate upgrade domains.

- PostgreSQL Cookbook
- Python網絡爬蟲從入門到實踐(第2版)
- Scratch真好玩:教小孩學編程
- Hands-On Swift 5 Microservices Development
- Java EE 8 Application Development
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 后臺開發:核心技術與應用實踐
- IoT Projects with Bluetooth Low Energy
- OpenCV with Python Blueprints
- 現代C:概念剖析和編程實踐
- Go語言入門經典
- 深度學習程序設計實戰
- Unity Android Game Development by Example Beginner's Guide
- 3ds Max 2018從入門到精通
- Android應用開發攻略