Before you use an NVIDIA GRID driver, you must apply for the driver license and install the license on a license server. This topic describes how to configure a Windows license server.
The following figure shows the licensing architecture of an NVIDIA GRID driver.
You must obtain the license file of a GRID driver from the NVIDIA Licensing Portal and install the file on a license server that you configured. Then, you must connect your GPU-accelerated or vGPU-accelerated instance to the license server over the Internet and activate the license of the GRID driver.
Step 1: Create an ECS instance
Create a Windows Elastic Compute Service (ECS) instance that works as a license server. For more information, see Create an instance by using the wizard.
When you create the instance, you must configure parameters based on the descriptions that are provided in the following table. You can configure the parameters that are not provided in the table based on your business requirements.
|Instance specifications||Select an ECS instance whose specifications are higher than the specifications of 2 vCPUs and 4 GB memory. If you require a large number of licenses, we recommend that you select an ECS instance whose specifications are higher than the specifications of 4 vCPUs and 16 GB memory to ensure high performance and stability.|
|Image||Select a Windows image. In this example, an image of Windows Server 2019 Datacenter 64-bit (English) is used.|
|Storage||Select a system disk whose size is larger than 40 GiB.|
|Bandwidth||We recommend that you select the pay-by-data-transfer metering method and set the peak bandwidth to 100 Mbit/s.|
Step 2: Install JRE
- Connect to the ECS instance that works as the license server. For more information, see Connect to a Windows instance by using a password or key.
- Go to the ojdkbuild page on GitHub to download the installation package of OpenJDK Java Runtime Environment (JRE).
- Install JRE.
- Create the JAVA_HOME system variable and set the system variable to the absolute path
to the jre folder of your JRE. For example, set JAVA_HOME to C:\Program Files\ojdkbuild\java-1.8.0-openjdk-18.104.22.168-1\jre.Note Make sure that the path does not contain trailing characters, such as backslashes (\) or spaces.
- Check whether the Path system variable contains the absolute path to the java.exe
file. In most cases, the path is added when JRE is installed.
Step 3: Install the license server software
Before you install the license server software, make sure that you have obtained the installation package of the license server software.
- Decompress the .zip file of the license server software and run setup.exe.
- On the Introduction page, click Next.
- On the License Agreement page, select I accept the terms of the License Agreement and click Next.
- On the Apache License Agreement page, select I accept the terms of the License Agreement and click Next.
- On the Choose Install Folder page, specify a folder in which you want the license server software to be installed and click Next.
- On the Choose Firewall Options page, keep the default setting License server (port 7070) and click Next.
- On the Pre-Installation Summary page, confirm your settings and click Install.
- After the license server software is installed, click Done.
Step 4: Create the license server on the NVIDIA Licensing Portal
- Log on to the NVIDIA Licensing Portal by using the email address that you have used to apply for the driver license.
- On the Dashboard page, click CREATE LICENSE SERVER in the License Servers section.
- In the Create License Server dialog box, configure parameters and click CREATE LICENSE SERVER.
The following table describes the parameters that you must configure.
Parameter Description Server Name Specify a custom name for the license server. MAC Address Enter the MAC address of the ECS instance that works as the license server.
To query the MAC address, log on to the instance and run the
Feature Select features based on your business requirements, enter the number of licenses that you want to add to the server, and then click ADD.
- After you create the license server on the NVIDIA Licensing Portal, go to the License Servers section and click the icon to download the license file.
Step 5: Upload the license file
- Open http://localhost:8080/licserver in your web browser. You are redirected to the license management page. Note Replace localhost in the URL with the public IP address of your ECS instance.
- In the License Server section of the left-side navigation pane, click License Management.
- On the License Management page, click Choose File on the right of Upload license file (.bin file), select the license file from your computer, and then click Open.
- Click Upload. If the message that is shown in the following figure appears, the license file is uploaded.
To view the number of licenses on the server and the usage details of the licenses, click License Feature Usage in the License Server section of the left-side navigation pane.
Step 6: Test the network connectivity and access to the license server
In this example, a Windows vGPU-accelerated instance that belongs to the vgn6i instance family is used. If you have a GPU-accelerated instance, you can use the instance.
- Create a GPU-accelerated instance.
For more information, see Create a GPU-accelerated instance that is not configured with a driver.
In this example, a vGPU-accelerated instance that belongs to the vgn6i instance family and whose image is of Windows Server 2019 Datacenter 64-bit (English) is used.
- Install the GRID driver, add the license server, and then activate the license. For
more information, see Install a GRID driver on a Windows GPU-accelerated instance.
When you activate the license, enter the public IP address of the ECS instance that works as the license server and set the port number to 7070.
- Open http://localhost:8080/licserver in your local web browser. You are redirected to the license management page. In
the License Server section of the left-side navigation pane, click Licensed Clients. On the Client Details page, check whether the information about the vGPU-accelerated
instance appears. If the information appears, your vGPU-accelerated instance that
works as a virtual machine of the NVIDIA vGPU software client is using the license.
You can click the client ID to view the details of the vGPU-accelerated instance.