NVIDIA GRID driver installation on XenServer host

NVIDIA GRID driver installation on XenServer host

See http://www.citrix.com/go/vGPU for complete documentation for this feature.

The NVIDIA Virtual GPU Manager runs in XenServer’s dom0. It is provided as an RPM file, which must be copied to XenServer’s dom0 and then installed.

Steps for installing the NVIDIA GRID GPU driver for XenServer 6.2 hypervisor environment:

1. Download the NVIDIA GRID vGPU Pack and extract the contents; available on http://www.nvidia.com/vGPU

image 

2. Upload the NVIDIA driver to /tmp directory on the XenServer host using tool such as WinSCP

3. Place the XenServer host into maintenance mode.

4. Log in as root to the XenServer console through SSH

5. Reboot the XenServer.

[root@xs-6 tmp]# reboot

Broadcast message from root (pts/3) (Wed Dec 4 17:34:23 2013):

The system is going down for reboot NOW!

[root@xs-6 tmp]#

6. Once the host is back online, execute the following command to install the NVIDIA GRID GPU driver in the hypervisor:

[root@xs-6 ~]# rpm -ivh /tmp/ NVIDIA-vgx-xenserver-6.2-331.30.i386.rpm

Preparing… ########################################### [100%]

1:NVIDIA-vgx-xenserver ########################################### [100%]

7. Verify if the kernel module has loaded successfully, using following command:

[root@xs-6 ~]# lsmod | grep nvidia

nvidia 8524078 0

i2c_core 20294 1 nvidia

8. Optionally, restart the XenServer Toolstack using the command xe-toolstack-restart. For more info on the xapi toolstack, refer the edocs

[root@xs-6 ~]# xe-toolstack-restart

Executing xe-toolstack-restart

Stopping xapi: … [ OK ]

Stopping the v6 licensing daemon: [ OK ]

Stopping the memory ballooning daemon: [ OK ]

Stopping perfmon: [ OK ]

Stopping the xenopsd daemon: [ OK ]

Stopping XCP RRDD plugin xcp-rrdd-iostat: [ OK ]

Stopping XCP RRDD plugin xcp-rrdd-squeezed: [ OK ]

Stopping XCP RRDD plugin xcp-rrdd-xenpm: [ OK ]

Stopping the XCP RRDD daemon: [ OK ]

Stopping the XCP networking daemon: [ OK ]

Stopping the fork/exec daemon: [ OK ]

Stopping the multipath alerting daemon: [ OK ]

Starting the multipath alerting daemon: [ OK ]

Starting the fork/exec daemon: [ OK ]

Starting the XCP networking daemon: . [ OK ]

Starting the XCP RRDD daemon: [ OK ]

Starting XCP RRDD plugin xcp-rrdd-iostat: [ OK ]

Starting XCP RRDD plugin xcp-rrdd-squeezed: [ OK ]

Starting XCP RRDD plugin xcp-rrdd-xenpm: [ OK ]

Starting the xenopsd daemon: [ OK ]

Starting perfmon: [ OK ]

Starting the memory ballooning daemon: [ OK ]

Starting the v6 licensing daemon: [ OK ]

Starting xapi: OK [ OK ]

done.

[root@xs-6 ~]#

9. Verify the vGPU types are showing up after the driver installation, using the command vgpu-type-list

[root@xs-6 ~]# xe vgpu-type-list

uuid ( RO) : ad32125b-e5b6-2894-9d16-1809f032c5bb

vendor-name ( RO): NVIDIA Corporation

model-name ( RO): GRID K100

framebuffer-size ( RO): 268435456

uuid ( RO) : ee22b661-4aa0-e6e6-5876-e316c3ea09fe

vendor-name ( RO): NVIDIA Corporation

model-name ( RO): GRID K140Q

framebuffer-size ( RO): 1006632960

uuid ( RO) : 2025cc3e-c869-ef44-2757-a1994cc77c8e

vendor-name ( RO):

model-name ( RO): passthrough

framebuffer-size ( RO): 0

10. Exit XenServer maintenance mode.

 

Source: http://www.citrix.com/content/dam/citrix/en_us/documents/go/reviewers-guide-remote-3d-graphics-apps-part-3-xenserver-vgpu.pdf

Leave a Reply

Your email address will not be published. Required fields are marked *