我创建了Azure VMSS(Windows 2016 Datacenter,Standart F2s)。不知何故,“加速网络”选项被禁用(根据规范,Standart F2s 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' .
任何帮助将不胜感激。 谢谢。
答案 0 :(得分:1)
要使用加速网络创建Azure VMSS,需要在规模集的enableAcceleratedNetworking
设置中将networkInterfaceConfigurations
设置为true:
"networkProfile": {
"networkInterfaceConfigurations": [
{
"name": "niconfig1",
"properties": {
"primary": true,
"enableAcceleratedNetworking" : true,
"ipConfigurations": [
...
]
}
}
]
}
有关更多详细信息,请参见Accelerated Networking in Azure VMSS。还有一些Limitations and Constraints of the Accelerated Networking。