安装请参考 https://blogs.vmware.com/apps/2018/09/using-gpus-with-virtual-machines-on-vsphere-part-3-installing-the-nvidia-grid-technology.html
GPU兼容性列表查询:https://www.nvidia.com/en-us/data-center/tesla/tesla-qualified-servers-catalog/
html
esxcli system maintenanceMode set --enable true服务器
(能够自行在网页操做)app
esxcli graphics host set --default-type SharedPassthruide
esxcli graphics host get spa
安装显卡驱动
esxcli software vib install -v /NVIDIA/NVIDIA-VMware_ESXi_6.5_Host_Driver_390.42-1OEM.670.0.0.7535516.vib3d
此处的文档路径是在根目录下。
更新显卡驱动
esxcli software vib update -v /tmp/NVIDIA-VMware_ESXi_6.5_Host_Driver_367.128-1OEM.650.0.0.4598673.vib
orm
esxcli system maintenanceMode set --enable falseserver
esxcli software vib list | grep -i NVIDIA
htm
gpuvm vGPU blog
lspci -n | grep 10de
其中10de表明此设备来自NVIDIA公司
0300: Graphics — 表明为图形模式
0302: Compute — 则代表为计算模式,须要经过gpumodeswitch修改成图形模式
nvidia-smi
nvidia-smi vgpu –s