azure - 如何使用加速网络创建 Azure VMSS?
问题描述
我创建了 Azure VMSS(Windows 2016 Datacenter,Standart F2s)。不知何故,“加速网络”选项被禁用(根据规范,Standart F2s vm 支持网络加速,我也有单个 VM 运行加速网络和完全相同的 VM 大小和操作系统)。
基于https://docs.microsoft.com/en-us/azure/virtual-network/create-vm-accelerated-networking-powershell#vmss,升级不起作用。我收到以下错误:
Cannot add network interface '/subscriptions/****/resourceGroups/*****/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|*****|virtualMachines|1|networkInterfaces|*****' with accelerated networking to an existing virtual machine '/subscriptions/******/resourceGroups/*****/providers/Microsoft.Compute/virtualMachines/|providers|Microsoft.Compute|*****|*******|virtualMachines|1' .
任何帮助,将不胜感激。谢谢。
解决方案
若要使用加速网络创建 Azure VMSS,需要enableAcceleratedNetworking
在规模集的networkInterfaceConfigurations
设置中设置为 true:
"networkProfile": {
"networkInterfaceConfigurations": [
{
"name": "niconfig1",
"properties": {
"primary": true,
"enableAcceleratedNetworking" : true,
"ipConfigurations": [
...
]
}
}
]
}
有关更多详细信息,请参阅Azure VMSS 中的加速网络。加速网络也有一些限制和约束。
推荐阅读
- next.js - next lint 和 eslint 有什么区别
- spring - 将@Around 方面应用于@Slf4j
- css - 手写笔:多个值的哈希键未编译
- vagrant - 流浪汉的问题
- javascript - 为什么 indexOf() 和 findIndex() 与 Number.isNaN 的工作方式不同?
- latex - 使用 biblatex 获取参考书目
- c# - C# 字典中具有多个值的多个键并后处理字典
- python - 在执行第一个 epoch 后,Tensorflow 无法将批次附加在一起
- r - 使用 do.call 和 grid.arrange 打印不同的神经网络会导致 R 中的错误
- javascript - 如何使用 JavaScript 中的轨迹栏更改 Windows 页面的尺寸