Tag Archives: gpu

Install NVIDIA GPU Drivers on ESXi 5.5

Obtain the latest drivers for specific NVIDIA GPU from the NVIDIA Downloads page – http://www.nvidia.com/Download/index.aspx?lang=en-us, the download will be in a .VIB format.

Upload this VIB file to a datastore on the ESXi host using the vSphere Client/Web Console.

You will need to enter the host in to maintenance mode using the vSphere Client or via the shell:

hostsvc/maintenance_mode_enter

Initiate the install of the driver:

localcli software vib install --no-sig-check -v /vmfs/volumes/DATASTORENAME/PATHTOVIB/FILENAME.VIB

Monitor the Shell window for the progress of the installation, you will see the following message on the window:

Installation Result  
  Message: Operation finished successfully.  
  Reboot Required: false  
  VIBs Installed: VIB NAME

Reboot the host, once rebooted you will need to exit the maintenance mode using the vSphere or Shell:

hostsvc/maintenance_mode_exit

Confirm the installation of drivers

Check the status of the Xorg service by running this command:

 /etc/init.d/xorg status

This should confirm the xorg service is installed.

Advertisements

Troubleshoot the NVIDIA GPU installed in the ESXi Host

You will need to open a SSH connection to the ESXi host to run these commands.

First lets confirm ESXi can pick up the GPU.

nvidia-smi

nvidia smi

The above results show there is a NVIDIA GRID K1 GPU installed.

However, this does not confirm that the GPU is being used.

Confirm if Xorg Service is Running:

/etc/init.d/xorg status

If the service is not running, we can attempt to start the service:

/etc/init.d/xorg start

if the service is started, we can run the following command to list the virtual machines which are using the GPU memory

gpuvm

If successful we should see a list similar to below:

image

Keep an eye out for my next post on the installing the NVIDIA GPU drivers on ESXi 5.5.