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

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
Nati BYAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
Nati BYAuthor Commented:
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
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
Nati BYAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
Nati BYAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Just select disabled.

also, not all nics are supported.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.