为了确保 Microsoft Azure Edge 具有足够的 Microsoft Azure 容量,请测试 Microsoft Azure 虚拟机型号的可用性并检查区域 CPU 输出。
在 Microsoft Azure 容量要求中建议了以下过程。这些步骤包括命令和输出示例。这些命令测试 Microsoft Azure 虚拟机型号的可用性,该虚拟机型号将用于跨给定区域中的所有可用区(1、2、3)的 Horizon Edge Gateway。
步骤
-
运行一个命令以获取某种计算机类型(例如
Standard_D2)的区域 SKU 限制,如以下通用示例和后面的具体示例所示。az vm list-skus --location <azure_region_where_edge_is_being_deployed> --size Standard_D2 --all --output table以下代码示例是
locationwesteurope中的区域限制的具体测试。az vm list-skus --location westeurope --size Standard_D2 --all --output table前面的命令的输出示例如下所示。第一个示例是成功结果,表示没有限制。第二个示例是失败结果,表示存在限制。
-
成功结果输出 - 不存在任何限制
ResourceType Locations Name Zones Restrictions --------------- ----------- -------------------- ------- -------------- virtualMachines westeurope Standard_D2_v3 1,2,3 None -
失败结果输出 - 存在限制
ResourceType Locations Name Zones Restrictions --------------- ----------- -------------------- ------- -------------- virtualMachines westeurope Standard_D2 1,2,3 'NotAvailableForSubscription, type: Zone, locations: westeurope, zones: 1,2,3']
-
-
运行一个命令以获取总区域 CPU 限制,如以下通用示例和后面的具体示例所示。
az vm list-usage --location <azure_region_where_edge_is_being_deployed> -o table以下代码示例是
locationwesteurope中的总 CPU 区域限制的具体测试。az vm list-usage --location westeurope -o table前面的命令的输出示例如下所示。第一个示例是成功结果,因为
Total Regional vCPUs的CurrentValue为25或更大(此处为26),表示没有限制。第二个示例是失败结果,因为Total Regional vCPUs的Limit小于25(此处为10),表示存在限制。-
成功结果输出 - 不存在任何限制
Name CurrentValue Limit ---------------------------------------- -------------- ------- Availability Sets 1 2500 Total Regional vCPUs 26 310 Virtual Machines 11 25000 Virtual Machine Scale Sets 1 2500 Dedicated vCPUs 0 3000 Cloud Services 0 2500 -
失败结果输出 - 存在限制
Name CurrentValue Limit ---------------------------------------- -------------- ------- Availability Sets 0 2500 Total Regional vCPUs 0 10 Virtual Machines 0 25000 Virtual Machine Scale Sets 0 2500 Dedicated vCPUs 0 3000 Cloud Services 0 2500
-
后续操作
- 作为最佳做法,请求 Microsoft Azure 在您打算部署 Horizon Edge Gateway 的区域中提供 SKU。
- 返回到部署 Microsoft Azure Edge 的要求检查表。
此页面对您有帮助吗?