使用 Azure 顾问提高应用程序的可用性Improve availability of your application with Azure Advisor

Azure 顾问可帮助确保并提高业务关键应用程序的连续性。Azure Advisor helps you ensure and improve the continuity of your business-critical applications. 可以通过顾问仪表板的“高可用性”选项卡获取顾问的高可用性建议。You can get high availability recommendations by Advisor from the High Availability tab of the Advisor dashboard.

确保虚拟机容错Ensure virtual machine fault tolerance

要为应用程序提供冗余,建议你将两个或更多虚拟机组合到一个可用性集中。To provide redundancy to your application, we recommend that you group two or more virtual machines in an availability set. 顾问标识不属于可用性集的虚拟机,并建议将它们移动到可用性集中。Advisor identifies virtual machines that are not part of an availability set and recommends moving them into an availability set. 这种配置可以确保在计划内或计划外维护事件期间,至少有一个虚拟机可用,并满足 Azure 虚拟机 SLA 要求。This configuration ensures that during either a planned or unplanned maintenance event, at least one virtual machine is available and meets the Azure virtual machine SLA. 可以选择为虚拟机创建可用性集,或将虚拟机添加到现有可用性集。You can choose to create an availability set for the virtual machine or to add the virtual machine to an existing availability set.

Note

如果选择创建可用性集,则必须至少再向其中添加一台虚拟机。If you choose to create an availability set, you must add at least one more virtual machine into it. 建议在可用性集中对两个或更多虚拟机进行分组,确保其中一台虚拟机在出现故障期间可用。We recommend that you group two or more virtual machines in an availability set to ensure that at least one machine is available during an outage.

确保可用性集容错Ensure availability set fault tolerance

要为应用程序提供冗余,建议你将两个或更多虚拟机组合到一个可用性集中。To provide redundancy to your application, we recommend that you group two or more virtual machines in an availability set. 顾问标识包含单个虚拟机的可用性集,并建议向其中添加一个或多个虚拟机。Advisor identifies availability sets that contain a single virtual machine and recommends adding one or more virtual machines to it. 这种配置可以确保在计划内或计划外维护事件期间,至少有一个虚拟机可用,并满足 Azure 虚拟机 SLA 要求。 This configuration ensures that during either a planned or unplanned maintenance event, at least one virtual machine is available and meets the Azure virtual machine SLA. 可以选择创建虚拟机,或将现有的虚拟机添加到可用性集。 You can choose to create a virtual machine or to add an existing virtual machine to the availability set. 

使用托管磁盘提高数据可靠性Use Managed Disks to improve data reliability

具有共享存储帐户或存储缩放单元的磁盘的可用性集中的虚拟机在中断期间不可对单个存储规模单元故障进行复原。Virtual machines that are in an availability set with disks that share either storage accounts or storage scale units are not resilient to single storage scale unit failures during outages. 顾问将确定这些可用性集,并建议迁移到 Azure 托管磁盘。Advisor will identify these availability sets and recommend migrating to Azure Managed Disks. 这将确保可用性集中的不同虚拟机的磁盘彼此完全独立,以避免单点故障。This will ensure that the disks of the different virtual machines in the availability set are sufficiently isolated to avoid a single point of failure.

确保应用程序网关容错Ensure application gateway fault tolerance

此建议可确保由应用程序网关提供支持的任务关键型应用程序的业务连续性。This recommendation ensures the business continuity of mission-critical applications that are powered by application gateways. 顾问会标识未针对容错进行配置的应用程序网关实例,并且会建议可以执行的修正操作。Advisor identifies application gateway instances that are not configured for fault tolerance, and it suggests remediation actions that you can take. 顾问会标识中型或大型单实例应用程序网关,并建议至少再添加一个实例。Advisor identifies medium or large single-instance application gateways, and it recommends adding at least one more instance. 它还标识单实例或多实例小型应用程序网关,并建议迁移到中型或大型 SKU。It also identifies single- or multi-instance small application gateways and recommends migrating to medium or large SKUs. 顾问建议执行这些操作以确保应用程序网关实例配置为满足这些资源的当前 SLA 要求。Advisor recommends these actions to ensure that your application gateway instances are configured to satisfy the current SLA requirements for these resources.

防止意外删除虚拟机数据Protect your virtual machine data from accidental deletion

设置虚拟机备份可确保业务关键型数据的可用性,并防止意外删除或损坏。Setting up virtual machine backup ensures the availability of your business-critical data and offers protection against accidental deletion or corruption. 顾问标识其中未启用备份的虚拟机,并建议启用备份。Advisor identifies virtual machines where backup is not enabled, and it recommends enabling backup.

确保在需要时有权访问 Azure 云专家Ensure you have access to Azure cloud experts when you need it

在运行业务关键型工作负载时,在需要时有权访问技术支持至关重要。When running a business-critical workload, it's important to have access to technical support when needed. 顾问标识在其支持计划中不包含技术支持的潜在业务关键型订阅,并建议升级到包含技术支持的选项。Advisor identifies potential business-critical subscriptions that do not have technical support included in their support plan and recommends upgrading to an option that includes technical support.

创建 Azure 服务运行状况警报,以便在 Azure 问题影响你时收到通知Create Azure Service Health alerts to be notified when Azure issues affect you

我们建议设置 Azure 服务运行状况警报,以便在 Azure 服务问题影响你时收到通知。We recommend setting up Azure Service Health alerts to be notified when Azure service issues affect you. Azure 服务运行状况是一项免费服务,可在你受到 Azure 服务问题影响时提供个性化指导和支持。Azure Service Health is a free service that provides personalized guidance and support when you are impacted by an Azure service issue. 顾问会识别未配置警报的订阅,并建议创建一个警报。Advisor identifies subscriptions that do not have alerts configured and recommends creating one.

配置流量管理器终结点以便进行复原Configure Traffic Manager endpoints for resiliency

如果任何给定的终结点出现故障,则包含多个终结点的流量管理器配置文件将体验到更高的可用性。Traffic Manager profiles with more than one endpoint experience higher availability if any given endpoint fails. 将终结点放在不同区域中可进一步提高服务可靠性。Placing endpoints in different regions further improves service reliability. 顾问会识别仅有一个终结点的流量管理器配置文件,并建议在另一个区域中至少再添加一个终结点。Advisor identifies Traffic Manger profiles where there is only one endpoint and recommends adding at least one more endpoint in another region.

如果为邻近路由配置的流量管理器配置文件中的所有终结点都位于同一区域,则来自其他区域的用户可能会遇到连接延迟。If all endpoints in a Traffic Manager profile that is configured for proximity routing are in the same region, users from other regions may experience connection delays. 如果一个区域中的所有终结点都出现故障,则将一个终结点添加或移动到另一个区域会提高整体性能并提供更好的可用性。Adding or moving an endpoint to another region will improve overall performance and provide better availability if all endpoints in one region fail. 顾问会识别为邻近路由配置的流量管理器配置文件(其中所有终结点都位于同一区域中)。Advisor identifies Traffic Manager profiles configured for proximity routing where all the endpoints are in the same region. 它会建议将一个终结点添加或移动到另一个 Azure 区域。It recommends adding or moving an endpoint to another Azure region.

如果为地理路由配置了流量管理器配置文件,则会根据已定义的区域将流量路由到终结点。If a Traffic Manager profile is configured for geographic routing, then traffic is routed to endpoints based on defined regions. 如果某个区域出现故障,则不会进行预定义的故障转移。If a region fails, there is no pre-defined failover. 拥有一个“区域分组”配置为“所有(世界)”的终结点可避免流量被丢弃并提高服务可用性。Having an endpoint where the Regional Grouping is configured to "All (World)" will avoid traffic being dropped and improve service availability. 顾问会识别为地理路由配置的流量管理器配置文件(其中没有终结点配置为将“区域分组”设置为“所有(世界)”)。Advisor identifies Traffic Manager profiles configured for geographic routing where there is no endpoint configured to have the Regional Grouping as "All (World)". 它会建议更改该配置以创建终结点“所有(世界)”。It recommends changing the configuration to make an endpoint "All (World).

对 Azure 存储帐户使用软删除可在意外覆盖或删除之后保存和恢复数据Use soft delete on your Azure Storage Account to save and recover data after accidental overwrite or deletion

为存储帐户启用软删除,以便将删除的 blob 转换为软删除状态,而不是永久删除。Enable soft delete on your storage account so that deleted blobs transition to a soft deleted state instead of being permanently deleted. 覆盖数据时,会生成软删除快照以保存被覆盖数据的状态。When data is overwritten, a soft deleted snapshot is generated to save the state of the overwritten data. 使用软删除可以在意外删除或覆盖时进行恢复。Using soft delete allows you to recover if there are accidental deletions or overwrites. 顾问会识别未启用软删除的 Azure 存储帐户,并建议你启用它。Advisor identifies Azure Storage accounts that don't have soft delete enabled and suggests you enable it.

配置 VPN 网关为主动-主动以进行连接复原Configure your VPN gateway to active-active for connection resiliency

在主动-主动配置中,VPN 网关的两个实例将建立连接本地 VPN 设备的 S2S VPN 隧道。In active-active configuration, both instances of a VPN gateway will establish S2S VPN tunnels to your on-premise VPN device. 当一个网关实例上发生计划内维护事件或计划外事件时,流量将自动切换到其他活动 IPsec 隧道。When a planned maintenance event or unplanned event happens to one gateway instance, traffic will be switched over to the other active IPsec tunnel automatically. Azure 顾问将识别未配置为主动-主动的 VPN 网关并建议将它们配置为高可用性。Azure Advisor will identify VPN gateways that are not configured as active-active and suggest that you configure them for high availability.

如何访问顾问中的高可用性建议How to access High Availability recommendations in Advisor

  1. 登录 Azure 门户,并打开顾问Sign in to the Azure portal, and then open Advisor.

  2. 在顾问仪表板中,单击“高可用性”选项卡。On the Advisor dashboard, click the High Availability tab.

后续步骤Next steps

有关顾问建议的详细信息,请参阅以下资源:For more information about Advisor recommendations, see: