Skip to end of metadata
Go to start of metadata


Supported version:

SoftNAS 4.2 

Introduction

Accelerated Networking is supported D/DSv2 and F/Fs series instance sizes with 2 or more vCPUs.

Instances that support hyperthreading, D/DSv3, E/ESv3, Fsv2, and Ms/Mms, require 4 or more vCPUs.

Further details, including links to technical overviews of AAN, can be found here:

https://azure.microsoft.com/en-us/blog/maximize-your-vm-s-performance-with-accelerated-networking-now-generally-available-for-both-windows-and-linux/

*If the Softnas instance was created in an availability set ALL VMs in that Availability set will be required to be shutdown.

**This will require 2 restarts of the SoftNAS VM

This document is intended for readers with a basic level of experience with  the Azure CLI. In this example the Azure CLI power shell plugin is used.


If you have upgraded to SoftNAS 4.2

With the release of SoftNAS OS Version 4.2 Azure Accelerated Networking (AAN) is now supported.

This document describes the recommended steps to enable Azure’s Accelerated Networking (AAN) on a SoftNAS VM instances when upgrading from versions 4.0.X or 4.1. to version 4.2

This document is intended for readers that are familiar with the Azure CLI and its basic usage. The included examples were performed using Windows PowerShell and the Azure CLI plug-in.

Important Info

  • The SoftNAS VM will require two restarts.
  • If the SoftNAS instance was created in an availability set ALL VMs in that Availability set will be required to be shutdown. This does not apply to Availability Zones.
  • Accelerated Networking is supported on D/DSv2 and F/Fs series instance sizes with 2 or more vCPUs.
  • Instances that support hyperthreading (D/DSv3, E/ESv3, Fsv2, and Ms/Mms) require 4 or more vCPUs.
  • Further details, including links to technical overviews of AAN, can be found here:

https://azure.microsoft.com/en-us/blog/maximize-your-vm-s-performance-with-accelerated-networking-now-generally-available-for-both-windows-and-linux/

 

Enable Azure Accelerated Networking


  1. Perform the update process to version 4.2 as described in the user documentation.

 https://docs.softnas.com/display/SD/Updating+to+Latest+Version

 *If this has been done this step as well as step 2 can be skipped.

2. Once the reboot has completed verify the instance state ensuring the upgrade was successful.

3. Shutdown the SoftNAS VM

If the SoftNAS instance was created in an availability shutdown all VMs in that set.

               az vm deallocate --resource-group <rg of the VM> -- name <name of VM>

 

4. Issue the following CLI command

az network nic update --name <nic name of VM> --resource-group <rg of VM> --accelerated-networking true

 

The NIC name can be found using the following CLI command:

 az vm nic list --resource-group <rg of the VM> --vm-name <name of VM>

 The name is marked in the image below.

 

5. Once the operation completes start the SoftNAS VM.

VMs in the same availability set that were shut down can also be restarted.

az vm start --resource-group <rg of the VM> --name <name of VM>

 

Verify Azure Accelerated Networking is correctly enabled

  1. Establish an SSH connection to the SoftNAS VM.
  2. Issue the ‘lspci’ command and ensure that Mellanox Ethernet controller is listed.

 

3. Verify packets are going over the correct interface by issuing the following: ‘ethtool -S eth0 | grep vf_’. Counters should show values.