Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Elastic Cloud Server/ User Guide/ Instances/ Managing GPU Drivers of GPU-accelerated ECSs/ Manually Installing a GRID Driver on a GPU-accelerated ECS

Manually Installing a GRID Driver on a GPU-accelerated ECS

Updated on 2025-01-02 GMT+08:00

Scenarios

To use graphics acceleration, such as OpenGL, DirectX, or Vulkan, install a GRID driver and separately purchase and configure a GRID license. The GRID driver with a vDWS license also supports CUDA for both computing and graphics acceleration.

  • A graphics-accelerated (G series) ECS created using a public image has had a GRID driver of a specified version installed by default, but the GRID license must be purchased and configured separately.
  • If a GPU-accelerated ECS is created using a private image, install a GRID driver and separately purchase and configure a GRID license.

This section describes how to install a GRID driver, purchase or apply for a GRID license, and configure the license server.

NOTE:
  • NVIDIA allows you to apply for a 90-day trial license.
  • For details about GPU-accelerated ECSs with different specifications and application scenarios, see GPU-accelerated ECSs.

Purchasing a GRID License

  • Purchase a license.

    To obtain an official license, contact NVIDIA or their NVIDIA agent in your local country or region.

  • Apply for a trial license.

    Log in at the official NVIDIA website and enter desired information.

    For details about how to sign up for an account and apply for a trial license, see official NVIDIA help page.
    NOTE:

    The method of using a trial license is the same as that of using an official license. You can use an official license to activate an account with a trial license to prevent repetitive registration. The trial license has a validity period of 90 days. After the trial license expires, it cannot be used anymore. Purchase an official license then.

    Figure 1 Applying for a trial license

Downloading GRID Driver and Software License Packages

  1. Obtain the driver installation package required for an OS. For details, see Table 1.
    For more information about the GRID driver, see NVIDIA vGPU Software Documentation.
    NOTE:

    For a GPU passthrough ECS, select a GRID driver version as required.

    For a GPU virtualization ECS, select a driver version based on the following table.

    Table 1 GRID driver versions supported by GPU-accelerated ECSs

    ECS Type

    GPU Attachment

    OS

    Driver Version

    CPU Architecture

    G5.8xlarge.4

    GPU passthrough

    • CentOS 7.6 64bit
    • CentOS 7.5 64bit
    • Ubuntu 20.04 64bit
    • Ubuntu 18.04 64bit

    Select a version as needed.

    x86_64

    P2s

    GPU passthrough

    • Huawei Cloud EulerOS 2.0 64bit
    • CentOS 8.2 64bit
    • CentOS 7.9 64bit
    • CentOS 7.8 64bit
    • CentOS 7.7 64bit
    • CentOS 7.6 64bit
    • CentOS 7.5 64bit
    • Ubuntu 22.04 Server 64bit
    • Ubuntu 20.04 Server 64bit
    • Ubuntu 18.04 Server 64bit
    • Ubuntu 16.04 Server 64bit

    Select a version as needed.

    x86_64

    P2v

    GPU passthrough

    • CentOS 7.4 64bit
    • EulerOS 2.2 64bit
    • Ubuntu 20.04 Server 64bit
    • Ubuntu 18.04 Server 64bit
    • Ubuntu 16.04 Server 64bit

    Select a version as needed.

    x86_64

    PI2

    GPU passthrough

    • Huawei Cloud EulerOS 2.0 64bit
    • CentOS 8.2 64bit
    • CentOS 8.1 64bit
    • CentOS 8.0 64bit
    • CentOS 7.9 64bit
    • CentOS 7.8 64bit
    • CentOS 7.7 64bit
    • CentOS 7.6 64bit
    • CentOS 7.5 64bit
    • Ubuntu 22.04 Server 64bit
    • Ubuntu 20.04 Server 64bit
    • Ubuntu 18.04 Server 64bit
    • Ubuntu 16.04 Server 64bit

    Select a version as needed.

    x86_64

    PI1

    GPU passthrough

    • CentOS 7.3 64bit
    • Ubuntu 20.04 Server 64bit
    • Ubuntu 16.04 Server 64bit
    • Ubuntu 14.04 Server 64bit

    Select a version as needed.

    x86_64

  2. After the registration, log in at the official NVIDIA website and enter the account.
  3. Check whether NVIDIA is used for the first time.
    1. If yes, go to step 4.
    2. If no, go to step 6.
  4. Refer to Figure 2 to obtain the Product Activation Key (PAK) from the email indicating successful registration with NVIDIA.
    Figure 2 PAK
  5. Enter the PAK obtained in step 4 on the Redeem Product Activation Keys page and click Redeem.
    Figure 3 Redeem Product Activation Keys
  6. Specify Username and Password and click LOGIN.
    Figure 4 Logging in to the official NVIDIA website
  7. Log in at the official NVIDIA website as prompted and select SOFTWARE DOWNLOADS.
    Figure 5 SOFTWARE DOWNLOADS page
  8. Download the GRID driver of the required version. For details, see Table 1.
  9. Decompress the GRID driver installation package and install the driver that matches your ECS OS.
  10. On the SOFTWARE DOWNLOADS page, click ADDITIONAL SOFTWARE to download the license software package.
    Figure 6 ADDITIONAL SOFTWARE

Deploying and Configuring the License Server

The following uses an ECS running CentOS 7.5 as an example to describe how to deploy and configure the license server on the ECS.

NOTE:
  1. Configure the network.
    • If the license server is to be accessed using the VPC, ensure that the license server and the GPU-accelerated ECS with the GRID driver installed are in the same VPC subnet.
    • If the license server is to be accessed using a public IP address, configure the security group which the license server belongs to and add inbound rules for TCP 7070 and TCP 8080.
  1. Install the license server.
    1. Run the following command to decompress the installation package. The Installer.zip in the command indicates the name of the software package obtained in 10.

      unzip Installer.zip

    2. Run the following command to assign execution permissions to the installer:

      chmod +x setup.bin

    3. Run the installer as user root:

      sudo ./setup.bin -i console

    4. In the Introduction section, press Enter to continue.

    5. In the License Agreement section, press Enter to turn to last pages and accept the license agreement.

      Enter Y and press Enter.

    6. In the Choose Install Folder section, press Enter to retain the default path for installing the License Server software.
    7. In the Choose Local Tomcat Server Path section, enter the Tomcat's local path in the "/var/lib/Tomcat version" format, for example, /var/lib/tomcat8.
    8. In the Choose Firewall Options section, confirm the port to be enabled in the firewall and press Enter.

    9. In the Pre-Installation Summary section, confirm the information and press Enter to start the installation.

    10. In the Install Complete section, press Enter to end the installation.

  2. Obtain the license file.
    1. Log in to the NVIDIA website on a new tab and select LICENSE SERVERS.
      Figure 7 LICENSE SERVERS
    2. Click CREATE SERVER.
    3. On the displayed Create License Server page, configure parameters.
      Figure 8 Create License Server
      Table 2 Parameters for creating a license server

      Parameter

      Description

      Server Name

      License server name, which can be customized.

      Description

      License description information.

      MAC Address

      MAC address of the ECS where the license server is deployed.

      You can log in to the ECS and run ipconfig -a to query the MAC address.

      Feature

      Select a feature, enter the number of required licenses in the Licenses text box, and click ADD.

      In active/standby deployment, enter the name of the standby server in Failover License Server and enter the MAC address in Failover MAC Address.

    4. Click CREATE LICENSE SERVER.
    5. Download the license file.
      Figure 9 Downloading the license file
  3. In the web browser, access the homepage of the license server management page using the link configured during the installation.

    Default URL: http://IP address of the EIP:8080/licserver

  4. In the navigation pane on the left, click License Server > License Management.
  5. Select the .bin license file to be uploaded and click Upload.
    Figure 10 Uploading a license file

Installing the GRID Driver and Configuring the License

  1. Install the GRID driver of a desired version, for example, on a GPU-accelerated Windows ECS.
    NOTE:

    Microsoft remote login protocols do not support GPU 3D hardware acceleration. To use this function, install third-party desktop protocol-compliant software, such as VNC, PCoIP, or NICE DCV, and access the ECS through the client.

  2. Open the NVIDIA control panel on the Windows control panel.
  3. Enter the IP address and port number of the deployed license server in the level-1 license server, and then click Apply. If the message indicating that you have obtained a GRID license is displayed, the installation is successful. Additionally, the MAC address of the GPU-accelerated ECS with the GRID driver installed is displayed on the Licensed Clients page of the license server management console.
    Figure 11 License server management console

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback