Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
This extension installs InfiniBand ND drivers (for non-SR-IOV enabled) and OFED drivers (for SR-IOV-enabled) ('r' sizes) H-series and N-series VMs running Windows. Depending on the VM family, the extension installs the appropriate drivers for the Connect-X NIC.
An extension is also available to install InfiniBand drivers for Linux VMs.
Wymagania wstępne
System operacyjny
This extension supports the following OS distros, depending on driver support for specific OS version. Note the appropriate InfiniBand NIC for the H and N-series VM sizes of interest.
Dystrybucja | InfiniBand NIC drivers |
---|---|
Windows 10 | CX5, CX6 |
Windows Server 2019 | CX5, CX6 |
Windows Server 2016 | CX5, CX6 |
Windows Server 2012 R2 | CX5, CX6 |
For latest list of supported OS and driver versions, refer to resources.json
Łączność z Internetem
The Microsoft Azure Extension for InfiniBand Drivers requires that the target VM is connected to and has access to the internet.
Schemat rozszerzenia
The following JSON shows the schema for the extension.
{
"name": "<myExtensionName>",
"type": "extensions",
"apiVersion": "2015-06-15",
"location": "<location>",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', <myVM>)]"
],
"properties": {
"publisher": "Microsoft.HpcCompute",
"type": "InfiniBandDriverWindows",
"typeHandlerVersion": "1.5",
"autoUpgradeMinorVersion": true,
"settings": {
}
}
}
Właściwości
Nazwa | Wartość / przykład | Typ danych |
---|---|---|
apiVersion | 2015-06-15 | date |
wydawca | Microsoft.HpcCompute | sznurek |
rodzaj | InfiniBandDriverWindows | sznurek |
typeHandlerVersion | 1.5 | int |
Wdrożenie
Szablon usługi Azure Resource Manager
Rozszerzenia maszyn wirtualnych platformy Azure można wdrażać za pomocą szablonów usługi Azure Resource Manager. Templates are ideal when deploying one or more virtual machines that require post deployment configuration.
Konfiguracja JSON rozszerzenia maszyny wirtualnej może być zagnieżdżona wewnątrz zasobu maszyny wirtualnej lub umieszczona na poziomie głównym lub najwyższym szablonu JSON usługi Resource Manager. Umieszczanie konfiguracji JSON wpływa na wartość nazwy i typu zasobu. For more information, see Set name and type for child resources.
W poniższym przykładzie założono, że rozszerzenie jest zagnieżdżone wewnątrz zasobu maszyny wirtualnej. When nesting the extension resource, the JSON is placed in the "resources": []
object of the virtual machine.
{
"name": "myExtensionName",
"type": "extensions",
"location": "[resourceGroup().location]",
"apiVersion": "2015-06-15",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', myVM)]"
],
"properties": {
"publisher": "Microsoft.HpcCompute",
"type": "InfiniBandDriverWindows",
"typeHandlerVersion": "1.5",
"autoUpgradeMinorVersion": true,
"settings": {
}
}
}
PowerShell
Set-AzVMExtension
-ResourceGroupName "myResourceGroup" `
-VMName "myVM" `
-Location "southcentralus" `
-Publisher "Microsoft.HpcCompute" `
-ExtensionName "InfiniBandDriverWindows" `
-ExtensionType "InfiniBandDriverWindows" `
-TypeHandlerVersion 1.5 `
-SettingString '{ `
}'
Azure CLI
az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM \
--name InfiniBandDriverWindows \
--publisher Microsoft.HpcCompute \
--version 1.5
Add extension to a Virtual Machine Scale Set
The following example installs the latest version 1.5 InfiniBandDriverWindows extension on all RDMA-capable VMs in an existing virtual machine scale set named myVMSS deployed in the resource group named myResourceGroup:
$VMSS = Get-AzVmss -ResourceGroupName "myResourceGroup" -VMScaleSetName "myVMSS"
Add-AzVmssExtension -VirtualMachineScaleSet $VMSS -Name "InfiniBandDriverWindows" -Publisher "Microsoft.HpcCompute" -Type "InfiniBandDriverWindows" -TypeHandlerVersion "1.5"
Update-AzVmss -ResourceGroupName "myResourceGroup" -VMScaleSetName "MyVMSS" -VirtualMachineScaleSet $VMSS
Update-AzVmssInstance -ResourceGroupName "myResourceGroup" -VMScaleSetName "myVMSS" -InstanceId "*"
Rozwiązywanie problemów i pomoc techniczna
Rozwiązywanie problemów
Data about the state of extension deployments can be retrieved from the Azure portal, and by using Azure PowerShell and Azure CLI. To see the deployment state of extensions for a given VM, run the following command.
Get-AzVMExtension -ResourceGroupName myResourceGroup -VMName myVM -Name myExtensionName
az vm extension list --resource-group myResourceGroup --vm-name myVM -o table
Dane wyjściowe wykonywania rozszerzenia są rejestrowane w następującym pliku. Refer to this file to track the status of the installation as well as for troubleshooting any failures.
C:\WindowsAzure\Logs\Plugins\Microsoft.HpcCompute.InfiniBandDriverWindows\
Exit codes
The following table describes the meaning and recommended action based on the exit codes of the extension installation process.
Kod błędu | Znaczenie | Możliwe działanie |
---|---|---|
0 | Operacja powiodła się | |
3010 | Operation successful. Reboot required. | |
100 | Operation not supported or could not be completed. | Possible causes: PowerShell version not supported, VM size is not an InfiniBand-enabled VM, Failure downloading data. Check the log files to determine cause of error. |
240, 840 | Operation timeout. | Retry operation. |
-1 | Exception occurred. | Check the log files to determine cause of exception. |
Wsparcie
Jeśli potrzebujesz więcej pomocy w dowolnym momencie tego artykułu, możesz skontaktować się z ekspertami platformy Azure na forach MSDN Azure i Stack Overflow. Alternatively, you can file a support incident through the Azure support site. Aby uzyskać informacje na temat korzystania z pomocy technicznej platformy Azure, zapoznaj się z często zadawanymi pytaniami dotyczącymi usługi Microsoft pomoc techniczna platformy Azure.
Następne kroki
For more information about InfiniBand-enabled ('r' sizes), see H-series and N-series VMs.