VCenter分配vGPU并部署授权服务器

授权服务器docker-compose配置文件

services:
  fastapi-dls:
    image: makedie/fastapi-dls:2.0.2
    container_name: fastapi-dls
    restart: always
    environment:
      DLS_URL: 172.16.1.229 
      DLS_PORT: 443
    networks:
      - network
    ports:
      - "443:443"
    tty: true
    stdin_open: true
networks:
  network:
    external: false

 

激活命令(PowerShell)

curl.exe --insecure -L -X GET https://172.16.1.229/-/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"

重启服务

Restart-Service NVDisplay.ContainerLocalSystem

 

配置注意事项

GPU做直通时,将ESXi页面中直通配置成活动

GPU做vGPU时,将ESXi页面中直通配置成禁用

GPU做直通时,将图形设备设备类型修改成共享

GPU做vGPU时,将图形设备设备类型修改成直接共享

 

文章参考:Github链接

THE END
分享
二维码
海报
VCenter分配vGPU并部署授权服务器
授权服务器docker-compose配置文件 services: fastapi-dls: image: makedie/fastapi-dls:2.0.2 container_name: fastapi-dls restart: alwa……