• Aucun résultat trouvé

How to Assign SR-IOV Enabled NICs with XenServer 6.x

N/A
N/A
Protected

Academic year: 2022

Partager "How to Assign SR-IOV Enabled NICs with XenServer 6.x"

Copied!
2
0
0

Texte intégral

(1)

How to Assign SR-IOV Enabled NICs with XenServer 6.x

Document ID: CTX131381 / Created On: 8 nov. 2011 / Updated On: 10 nov. 2013

Summary

This article describes how to assign SR-IOV enabled Network Interface Cards (NICs) to Virtual Machines (VMs) for maximum performance by using the Single Route I/O

Virtualization (SR-IOV) capabilities of XenServer 6.0.

Background

Single Root I/O Virtualization (SR-IOV) is a PCI device virtualization technology that allows a single PCI device to appear as multiple PCI devices on the physical PCI bus. The actual physical device is known as a Physical Function (PF) while the others are known as Virtual Functions (VF). The purpose of this is for the hypervisor to directly assign one or more of these VFs to a Virtual Machine (VM) using SR-IOV technology: the guest can then use the VF as any other directly assigned PCI device.

Assigning one or more VFs to a VM allows the VM to directly exploit the hardware. When configured, each VM behaves as though it is using the NIC directly, reducing processing overhead and improving performance.

WARNING: If your VM has an SR-IOV VF, functions that require VM mobility are not possible. For example, Live Migration, Workload Balancing, Rolling Pool Upgrade, High Availability and Disaster Recovery, cannot be used. This is because the VM is directly tied to the physical SR-IOV enabled NIC VF. In addition, VM network traffic sent via an SR-IOV VF bypasses the vSwitch, so it is not possible to create Access Control Lists (ACL) or view Quality of Service (Qos).

Assigning a SR-IOV NIC VF to a VM

The following procedure describes how to assign an SR-IOV enabled NIC VF to a Virtual Machine on XenServer 6.0

Note: SR-IOV is supported only with SR-IOV enabled NICs listed on the XenServer

Hardware Compatibility List and only when used in conjunction with a Windows Server 2008 guest operating system.

1. Open a local command shell on your XenServer host.

2. Run the command lspci to display a list of the Virtual Functions (VF). For example:

(2)

07:10.0 Ethernet controller: Intel Corporation 82559 Ethernet Controller Virtual Function (rev 01)

In the example above, 07:10.0 is the bus:device.function address of the VF.

3. Assign the required VF to the target VM by running the following commands:

xe vm-param-set other-config:pci=0/0000:<bus:device.function> uuid=<vm- uuid>

4. Start the VM, and install the appropriate VF driver for your specific hardware.

Note: You can assign multiple VFs to a single VM, however the same VF cannot be shared across multiple VMs.

More information

For information on using SR-IOV in earlier versions of XenServer, see XenServer Single Route I/O Virtualization (SR-IOV) Support for Provisioning Services Virtual Machines and How to Enable Single Root I/O Virtualization SR-IOV on XenServer

This document applies to:

 XenServer 6.0

 XenServer 6.1.0

 XenServer 6.2.0

Références

Documents relatifs

Note: If a Native VLAN is used on the switch trunk port, then you cannot assign that VLAN number to a Virtual Machine on the XenServer. Refer to the following example for a

Select the OpenFiler VM in XenCenter, select the ―Storage‖ tab, and click ―Add.‖ Name the disk ―ISO File Storage‖, size the disk sufficiently large for the storage of

• XenServer 5 supports Multipathing with iSCSI software initiator. •

• The default XenServer block device-based storage inserts a Logical Volume manager on a disk.. VDIs are represented as volumes within the

Even though the QA-System is set to start all of the virtual machines on the pool master, the workload balancing system is automatically switching the new virtual machines to run on

Enter the following command to check if the XenServer Host is using the correct NTP server, ntpq -p9. The NTP package contains ntp-wait, ntptrace, ntpd, ntpdate, ntpdc,ntpq,

Citrix XenServer is the only enterprise-class, cloud-proven virtualization platform that delivers all of the critical features needed for any server and datacenter

To select several virtual machines that are not adjacent in the list, select the first VM, press and hold the CTRL key, and then click the additional virtual machines that you want