This document describes how to configure Virtual Machine Fabric Extender (VM-FEX) using a method to extend the network fabric down to the Virtual Machines (VM).
There are no specific requirements for this document.
The information in this document is based on these software and hardware versions:
- PALO or Vasona Voice Interface Card (VIC) (M81KR/M82KR, 1280, P81E if integrated with Unified Computing System Manager (UCSM))
- 2 Fabric Interconnects (FIs), 6100 or 6200 Series
- vCenter server
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
What is VM-FEX? VM-FEX (previously known as VN-link) is a method to extend the network fabric completely down to the VMs. With VM-FEX, the Fabric Interconnects handle switching for the ESXi host?s VMs. UCSM utilizes the vCenter dVS Application Programming Interfaces (API) to this end. Therefore, VM-FEX shows as a dVS in the ESXi host.
There are many benefits to VM-FEX:
- Reduced CPU overhead on the ESX host
- Faster performance
- VMware DirectPath I/O with vMotion support
- Network management moved up to the FIs rather than on the ESXi host
- Visibility into vSphere with UCSM
- Integrate vCenter and UCSM.
Export the vCenter extension from UCSM and import it into vCenter.
This creates the file cisco_nexus_1000v_extension.xml. This is the same name as the vCenter extension for the Nexus 1000v. In order to import it, complete the same steps.
Once you have imported the key, continue with the vCenter integration wizard.
Complete the information as required. The vCenter and the IP address and vCenter Datacenter Name fields must match. The other fields can be named as desired.
Next, create a port-profile for VMs to connect:
It is necessary to give a name to both the Port-profile and the Profile Client. Port-Profiles are on a per-UCS basis and a Profile Client is a copy of a port-profile for a specific vCenter server. You may have multiple vCenter servers per UCS. Similar to a Service Profile template, the Port-profile is the template. If you want to use that template, you must make a service profile (profile client) from it.
When finished, complete the wizard. It creates a dVS in vCenter:
- Add a host to the dVS.
The host to be added to the dVS must have a Dynamic vNIC Connection Policy defined. This determines the amount of Network Interface Controllers (NIC) that the host can support on the dVS:
In order to change the policy, a reboot is required. Once you have configured this policy, you can install the Virtual Ethernet Module (VEM).
Similar to the Nexus 1000V, you must install a VEM onto the host where you wish to add to the VM-FEX dVS. You can either do this manually or with the VMware vCenter Update Manager (VUM). If you want to install it manually, you can find the software on the UCS homepage. The server must be in maintenance mode before the VEM is installed on the host.
Based on the version of UCSM in use, the VM-FEX VIB (which is compatible with the latest ESXi release), might or might not be available through this VM-FEX link . For example, ESXi Version 5.1 with M81KR and UCSM 2.04a requires VM-FEX VEM cisco-vem-v151-5.1-188.8.131.52.vib. However, this VIB is available through the UCSM VM-FEX download link on UCSM v2.04a. In this case, then the latest VM-FEX driver can be downloaded as part of the B-Series driver bundle. Refer to the compatibility matrix to find out which version of VM-FEX and Hypervisor is compatible with the UCSM release in use.
Download the proper VIB and enter one of these commands to install it:
Version 4.1 or ealier:
esxupdate ?b path_to_vib_file update
esxcli software vib install ?v path_to_vib_file
Before Installation, ensure that the Hypervisor runs an enic driver version that is compatible with the same UCSM release. Refer to the compatibility matrix to find out the correct driver versions for a specific UCSM release. If the driver does not support VM-FEX, you receive this error message during installation of the VEM:
Error in running ['/etc/init.d/n1k-vem', 'stop', 'upgrade']:
Return code: 2
Output: /etc/init.d/n1k-vem: .: line 26: can't open '/usr/lib/ext/cisco/nexus/vem-v132/shell/vssnet-functions'
Now, add the host to the dVS with the add host wizard in vCenter. Right-click the dVS and choose add host.
Add two NICs (one per fabric) to the dVS as uplinks and place them in the uplink port-group which was automatically created. This is for vSphere, as traffic does not actually pass over these uplinks.
Ensure that you move over the VMkernel, or management access to the box is lost:
On the next screen, move over any VMs on that host, if desired.
Now you have finished the configuration for VM-FEX. You now see vethernet interfaces in the nxos side of the FI for the VMs, and you can see the VMs in UCSM:
There is currently no specific troubleshooting information available for this configuration.