There are at least four types of desktop virtualization solutions on the market. I know about Citrix's xendesktop, VMWare's view, and Microsoft desktop virtualization. In addition, you may be unfamiliar with quest vworkspace, of course, there is also the RedHat desktop virtualization solution.
In fact, it is currently the most powerful, and the best experience in the industry should be Citrix's xendesktop, followed by VMware view. Microsoft once again, others are not very mainstream and will not be described in detail, this article mainly analyzes xendesktop desktop virtualization based on GPU virtualization.
Xendesktop offers more obvious advantages for GPU virtualization desktop virtualization solutions. However, it is said that next year's 2015 VMware view will provide better support for GPU virtualization. We will wait and see!
The following section focuses on xendesktop desktop virtualization of GPU Virtualization: to simplify the description, let's take a look at the following figure:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/3D/27/wKioL1PD24fwV3p5AAEDgrqJ0Kk102.jpg "Title =" 1.png" alt = "wkiol1pd24fwv3p5aaedgrqj0k102.jpg"/>
The above figure is actually a very good figure for our deployment staff, citrix xendesktop can be directly integrated with the underlying xenserver (the underlying virtualization layer must be xenserver to achieve the GPU function)
1 xenserver: first, we need to install the latest xenserver 6.2.0 on the server (the server's CPU must support virtualization ).
After installation, you need to install the latest service pack1 (xs62esp1. xsupdate), which can be downloaded from the official Citrix website.
The specific installation process has the corresponding relase note Description: SSH uploads the corresponding files to the server for installation and verification.
In addition, you also need to install NVIDIA grid Manager (to achieve the best GPU virtualization performance, it is best to install the latest NVIDIA grid K2 GPU on the server). You can download the latest RPM package from the NVIDIA website, install the tool according to the installation and verification instructions.
2 xencenter: after installing the win7 virtual machine through xencenter, as xenserver has recognized NVIDIA grid K2 GPU In the first part, it can be directly on the xencenter virtual machine interface, allocate GPU resources to this virtual machine, for example:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/3D/29/wKiom1PD4HWh4_AYAAD774gptkQ056.jpg "Title =" 2.png" alt = "wkiom1pd4hwh4_ayaad774gptkq056.jpg"/>
Here we will explain that the NVIDIA grid K2 card has two happy GPU cores, so we can see two GPU core resources in the xencenter and allocate them to different virtual machines. After this part is completed, install xentools and
After all the drivers of the NVIDIA client are installed and restarted, we can see:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/3D/29/wKioL1PD4SnhUz3GAAC4NwF4WcM337.jpg "Title =" 3.png" alt = "wkiol1pd4snhuz3gaac4nwf4wcm337.jpg"/>
Of course, you can also use the GPU viewing tool for verification.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/3D/2A/wKiom1PD4YaSx-VeAAD3UefOKKs562.jpg "Title =" 4.png" alt = "wKiom1PD4YaSx-VeAAD3UefOKKs562.jpg"/>
3 xendesktop: After the above two steps are completed, the installation of xendesktop must be later than version 7.1. After the installation is complete, you need to create a GPU directory, then release a 3D-based program or 3D desktop. All the steps are omitted.
4 Citrix Explorer: log on to Part 1 of the corresponding domain account that allocates resources and enjoy the use of 3D applications or 3D desktops Based on GPU virtualization.
The above 2, 3, and 4 are relatively simple descriptions. Note that the 1-Domain environment is essential. Of course, it cannot be installed without the domain xendesktop. 2. Considering GPU resources, when assigning a virtual machine desktop, You Need To reasonably allocate a score: If your K2 GPU uses the pass-through mode to the Virtual Machine desktop, therefore, a K2 GPU can only be allocated to two virtual machine desktops. If there are more virtual machines, they cannot be allocated, or even the virtual machine cannot be started (if the resources are allocated too much)
This article is from the "zhouw.ooo" blog, please be sure to keep this source http://77132.blog.51cto.com/67132/1438138