Solved

Hi, Is it possible to enable SR-IOV on a VM hosted on an ESXi participating to a cluster ?

Posted on 2016-11-02
7
65 Views
Last Modified: 2016-11-04
Hi, Is it possible to enable SR-IOV on a VM hosted on an ESXi participating to a vsphere cluster environment ?
Besides, how can we disable this feature on a VM if needed.
thank you so much
0
Comment
Question by:Nati BY
  • 4
  • 3
7 Comments
 
LVL 118
ID: 41870572
SR-IOV is supported from VMware vSphere 5.1 (ESXi 5.1).

SR-IOV capable network cards can enable this function on the physical device in the ESXi host, when the physical network interface in the host is presented to the virtual machine in passthrough mode (e.g. VMDirectPath I/O).

So do you have any VMs, that use VM Direct Path I/O, e.g. presenting the network interface direct to the VM.

if not then you have nothing to be concerned about, it is disabled.

if you do have VMs using an network interface in VM Passthrough (VM Direct Path I/O), you have to enabled SR-IOV, it's not enabled by default.

So in Summary

Do you have any VMs with a physical interface presented to them using VMDirect Path I/O ?

Is it enabled for SR-IOV ?
0
 

Author Comment

by:Nati BY
ID: 41870629
Thank you for clarifying that for me.

In fact, we are going to enable the SR-IOV for a specific VM and we would like to meet all the requirements...

As per the KB 2038739, SR-IOV cannot be configured for a VM participating in cluster environment.

So, if we would like to enable SR-IOV it should be done fo a VM hosted on an ESXi which is not a part of a cluster, right?

Thanks once more.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41870651
The VM can be in the cluster, but as per that article cannot take part in those functions listed.

SR-IOV support status FAQ (2038739)

So, vMotion, Storage vMotion, DRS etc

and you have physically linked a VM to hardware in that machine....so HA is not going to work either, so it does question WHY would you have that VM in a Cluster, as it's not going to be able to use cluster functions.

but it does not stop it being in a cluster.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:Nati BY
ID: 41873536
Thanks Andrew for your clear and helpful answers.

One last point, I would like to confirm with you the two following steps for disabling SR-IOV on a host if needed :

1. set the max_vfs parameter to 0
2. Then restart the host.
0
 
LVL 118
ID: 41873572
Is the physical interface presented to the VM ? if the nic is not presented to a VM, then it does not matter, the nic is not used.

Check in the Web Client if ENABLED, and DISABLE it.

You can also check whether a nic supports SR-IOV , if it does not then the question is also not applicable.
0
 

Author Comment

by:Nati BY
ID: 41873802
I didn't enable it yet .... but I'm asking in case if I need to disable SR-IOV once enabled.

Many articles explain in details how to enable SR-IOV but I cannot find a KB or an article with all the steps to be followed in order to disable SR-IOV if it is already enabled.
0
 
LVL 118
ID: 41873964
Just select disabled.

also, not all nics are supported.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now