Azure Local and GPUs

Can Azure Local hold a VDI environment that can do graphical intensive stuff?

 
So in Azure local you can run Azure Virtual Desktop. Like everything else, the set up is done through the Azure portal, but the virtual machines live on your Azure Local cluster. I am actually creating this on my pooled workstation.
 

 Bro….I need to run AutoCad in my environment how do I get that set up?

First thing is to purchase supported GPUs. If these gpus are not supported none of this will work. (Note: This is different for GPU support in AKS, I will discuss this in a later post). Here are the currently (as of this writing)

The following GPU models are supported using both DDA and GPU-P for Azure Local VM workloads:

  • NVIDIA A2
  • NVIDIA A16

These additional GPU models are supported using GPU-P (only) for VM workloads:

  • NVIDIA A10
  • NVIDIA A40
  • NVIDIA L4
  • NVIDIA L40
  • NVIDIA L40S

Now, you will also need a license with nvidia, and a license server to enable these.

Sweet. These are installed, what’s next?

In our case we partitioned the GPUs however, if your requirements need it, you can use Direct Device Assignment (DDA). I needed to download the NVidia drivers from their enterprise site. I extracted the zip file to a share. Then I RDP’d to each machine and entered powershell

I changed to the directory where my drivers were and ran the following:

pnputil /add-driver .\nvgridswhci.inf /install /force

Next I checked to make sure the cards are properly:

Get-PnpDevice -Class Display | fl FriendlyName, ClusterId

You should see the GPU Names, in the above output, you will need this for the next command.

Now, you need to deploy AVD. Once AVD is deployed, we need to attach the GPU’s to the virtual machines. This is ran for each machine in the cluster.

az stack-hci-vm gpu attach –resource-group “$ResourceGroupl” –vm-name $VMName –gpus GpuP

Once that is completed, you will need to go into each Virtual Machine and install the drivers and apply the NVidia Licenses. 

DUUUUUUDE…..  This is easier than having a traditional RDP Farm…

By deploying AVD on Azure Local you leverage azure to host the Hostpools, gateways, etc that you would need in a traditional RDP environment. The Virtual Machines are hosted on premise on the AZLocal cluster. From here you can control access and have access to your on premise resources. 

 

Read Also

  • All Posts
  • Azure
  • On Premise
  • Scripts
  • Update
    •   Back
    • Active Directory
    • Hybrid
    • Hyperconverged
    •   Back
    • Virtual WAN
    • Always on VPN
    •   Back
    • Troubleshooting
    • Virtual Machines
    • AVD
    • GPU
    •   Back
    • Azure Local
    • Networking
    • Azure Networking
    • Security
    • Troubleshooting
    • Virtual Machines
    • AVD
    • GPU
    • Virtual WAN
    • Always on VPN
    • Sentinel
    •   Back
    • Sentinel
    •   Back
    • Troubleshooting Menu
Load More

End of Content.

Jay Calderwood

Writer & Blogger

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search for Post

Join our 19,845,216 Email Subscribers

You have been successfully Subscribed! Ops! Something went wrong, please try again.

Recent Post

  • All Posts
  • Azure
  • On Premise
  • Scripts
  • Update
    •   Back
    • Active Directory
    • Hybrid
    • Hyperconverged
    •   Back
    • Virtual WAN
    • Always on VPN
    •   Back
    • Troubleshooting
    • Virtual Machines
    • AVD
    • GPU
    •   Back
    • Azure Local
    • Networking
    • Azure Networking
    • Security
    • Troubleshooting
    • Virtual Machines
    • AVD
    • GPU
    • Virtual WAN
    • Always on VPN
    • Sentinel
    •   Back
    • Sentinel
    •   Back
    • Troubleshooting Menu
Load More

End of Content.