Creating a Horizon vGPU Pool

VMware vSphere Deployment Guide (Latest)

VMware Horizon uses desktop pools for centralized desktop management and distribution. In Horizon, you create a pool of virtual machines and select settings that give all the machines in the pool a standard desktop definition

This chapter describes the following:

  • Creating a template from an existing virtual machine

  • Creating a Customization Specification

  • Provisioning a single vGPU-enabled virtual machine from a template

  • Creating Full and Linked Clones Horizon pools

  • Enabling User Access to pools

To create a pool, you must first convert an existing virtual machine into a template, which you can create a single virtual machine or virtual machines on demand.

Note

A complete demonstration of these features is beyond the scope of this document; however, converting a virtual machine to a template and then deploying virtual machines from that template is a fundamental operation that can reduce evaluation time.

To create a template from an existing virtual machine:

  1. Open the vSphere Web Client:

    vgpu-pool1.png


  2. vSphere displays the 10Clone Virtual Machine To Template window. With the Select a name and folder tab selected.

    vgpu-pool2.png


  3. In the VM template name field, enter a name for the template.

  4. Select a location to create the template. Click Next.

  5. Select a compute resource for the template. Click Next.

  6. Select the target datastore. Click Next.

  7. Review the Ready to Complete window settings and click Finish to start cloning the virtual machine to a template.

    vgpu-pool3.png


  8. When the cloning process is complete, the VM template is displayed at the end of the list in the VMs and Templates section.

    vgpu-pool4.png


Before you can provision a virtual machine from a template, you must create a VM Customization Specification. This will handle actions such as joining the domain and renaming the machine.

To create a VM Customization Specification:

  1. From the left-hand pane of the vSphere Client Shortcuts view, select VM Customization Specifications in the Monitoring section.

    vgpu-dg-horizonpool5.png


  2. In the VM Customization Specifications window, click New.

    vgpu-dg-horizonpool6.png


  3. For Target guest OS, select Windows.

    Check the Generate New Security ID (SID) checkbox.

    If your organization uses an answer file, you can load that file by checking the Use custom SysPrep answer file checkbox.

    If your organization does not use this functionality, leave the checkbox cleared. Enter a name for the new specification in the Customization Specification Name field. Click Next

    vgpu-dg-horizonpool7.png


  4. Enter the VM owner’s name in the Name field and the owner’s organization’s name in the Organization field, then click Next

    vgpu-dg-horizonpool8.png


  5. Enter a computer name for the VM, then click Next.

    vgpu-dg-horizonpool9.png


  6. Enter your Windows product key information or leave this field blank. Then click Next

    vgpu-dg-horizonpool10.png


  7. Enter and confirm the administrator password (it is case sensitive) in the Password and Confirm Password fields, then click Next

    vgpu-dg-horizonpool11.png


  8. Select your time zone from the Time Zone pulldown menu, then click Next

    vgpu-dg-horizonpool12.png


  9. Enter any required one-time commands in this tab, then click Next

    vgpu-dg-horizonpool13.png


  10. Click the appropriate radio button to either:

    • Use standard network settings: Automatically selects network settings.

    • Use manual network settings: Enter the network description, IPv4 address, and/or IPv6 address in the respective fields.

    Click Next.

    vgpu-dg-horizonpool14.png


  11. Select the appropriate radio button to make the VM a member of either a workgroup or a domain. Enter the VM’s workgroup or domain information in the appropriate fields. Then click. Next

    vgpu-dg-horizonpool15.png


  12. Review your settings. If any are incorrect, click Back to correct them. When all of the settings are correct, click Finish to view the new customization specification from the template.

    vgpu-dg-horizonpool16.png


Note

You do not need to create a virtual machine guest customization specification every time you clone a virtual machine from a template.

To provision a single vGPU-enabled virtual machine from a template:

  1. From vSphere Client, right-click the template and select New VM from this Template. vSphere displays the Deploy From Template window with the Select a name and folder tab selected.

    Enter a name for the new VM in the Virtual machine name field and select a location. Click Next.

    vgpu-pool5.png


  2. Select the Compute Resource, click Next.

  3. Select the target storage type and datastore, click Next.

  4. Check the Customize the operating system checkbox In the Select clone options window. Click Next.

    vgpu-pool6.png


  5. Select the Guest OS used to create the VM. Click Next.

    vgpu-pool7.png


  6. vSphere displays the Ready to complete tab of the Deploy From Template window, displaying the “Win11” Guest OS Customization specification properties.

    Review the settings. If any are incorrect, click the Back button to make corrections. Click Finish to begin creating the virtual machine from the template.

    vgpu-pool8.png


  7. Once the VM is created, it becomes visible in the data center on its cloned host.

    We will add the newly cloned VM to a Horizon Desktop Pool, then authorize user/groups to use it. These steps are described later in Enabling User Access to Desktop Pools.

Horizon can leverage templates to create virtual machines automatically and on-demand to save time and resources. See the Horizon 8 Documentation for instructions on using this functionality.

The following sections describe how to create a desktop pool and grant entitlements to users and groups who use the pool. In Horizon 8 2312, you can create desktop pools from a gold master image with Full Clones or Linked Clones. Both use cases are explained in the following sections.

  1. To create full clone desktop pools, you must have a template of the golden master image. Find the reference VM in the Navigator and right-click it. Select Clone > Clone to Template.

    vgpu-dg-horizonpool21.png


    Alternatively, you can create a VM template using instructions from Creating a Template. The Clone Virtual Machine To Template wizard walks you through the steps. At the end of the process, click Finish to create the template.

  2. Create a Customization Specification file to deploy the full clone pool. The VM Customization Specification wizard walks you through these steps, as described in Creating a Customization Specification

    vgpu-dg-horizonpool22.png


  3. Log in to the Horizon Administrator. Select Desktops in the Inventory pane, then click Add.

    vgpu-dg-horizonpool23.png


  4. Select Automated Desktop Pool, then click Next.

    vgpu-dg-horizonpool24.png


  5. Select the vCenter Server instance. Select the Full Virtual Machine radio button to create a full clone desktop pool. Click Next.

    vgpu-dg-horizonpool25.png


  6. Select Floating as the User Assignment type. Click Next.

    vgpu-dg-horizonpool26.png


  7. Select the Use VMware virtual SAN Radio button for the Storage Optimization. Click Next.

    vgpu-dg-horizonpool27.png


  8. Enter a unique ID and Display Name for the desktop pool. Click Next.

    vgpu-dg-horizonpool28.png


  9. Enter the Provisioning Settings for your environment. Click Next.

    vgpu-dg-horizonpool29.png


  10. In the vCenter Settings tab. Fill in the details for your Horizon Pool.

    Vmware suggests using the Worksheet to Create an Automated Full-Clone Desktop Pool to prepare your configuration options before creating the desktop pool.

    vgpu-dg-horizonpool30.png

  11. In the Desktop Pool Settings tab. Fill in the details for your Horizon Desktop Pool.

    Vmware suggests using the Worksheet to Create an Automated Full-Clone Desktop Pool to prepare your configuration options before creating the desktop pool.

    vgpu-dg-horizonpool31.png

  12. In the Remote Display Settings tab. Fill in the details for your Horizon Desktop Pool.

    vgpu-dg-horizonpool32.png


  13. Under the Guest Customization tab. Scroll towards the bottom and select the Use a Customization Specification (Sysprep), then select the customization specification you created for the Horizon Pool.

    vgpu-dg-horizonpool33.png


  14. Review your selections. If any are incorrect, click Previous to correct them. When your selections are correct, click Finish to deploy the Desktop Pool.

    vgpu-dg-horizonpool34.png


  15. Click the Status button to display the pools’ status.

    vgpu-pool9.png


Creating a linked pool of VDI desktops is similar to creating a full clone pool. A linked pool leverages Horizon 8 to deploy multiple desktops from one master image. Linked clones consume less disk space than full clones and are easier to manage, upgrade, and deploy with little impact on the end-user.

As for a clone pool, you begin by selecting a VM as the golden master image. Instead of using a template of the VM, though, you take a snapshot of it.

To create a linked-clone desktop pool:

  1. Start vSphere Web Client. Right-click the gold master image VM.

  2. Select Snapshots > Take Snapshot to open the Take Snapshot window.

    vgpu-dg-horizonpool36.png


  3. Name the snapshot to conform to your VM naming standards. Give the snapshot a meaningful description, then click OK to create the snapshot.

    vgpu-dg-horizonpool37.png


  4. Start the VMware Horizon Administrator. Select Desktops in the Inventory pane, then click the Add button. Horizon Administrator starts the Desktop Pool wizard.

    vgpu-pool10.png


  5. Select Automated Desktop Pool, then click Next.

    vgpu-dg-horizonpool39.png


  6. Select the vCenter Server instance. You must select the Instant Clone Radio button for the Linked Clones pool. Click Next.

    vgpu-dg-horizonpool40.png


  7. Select Floating radio button as the User Assignment type. Click Next.

    vgpu-dg-horizonpool41.png


  8. Select the Use VMware virtual SAN radio button for the Storage Optimization. Click Next.

    vgpu-dg-horizonpool42.png


  9. Enter a unique ID and a display name for the desktop pool. Click Next.

    vgpu-dg-horizonpool43.png


  10. Enter the Provisioning Settings for your environment Click Next.

    vgpu-dg-horizonpool44.png


  11. In the vCenter Settings tab. Fill in the details for your Horizon Pool.

    Vmware suggests using the Worksheet to Create an Automated Full-Clone Desktop Pool to prepare your configuration options before creating the desktop pool.

    vgpu-dg-horizonpool45.png


  12. In the Desktop Pool Settings tab. Fill in the details for your Horizon Desktop Pool.

    Vmware suggests using the Worksheet to Create an Automated Full-Clone Desktop Pool to prepare your configuration options before creating the desktop pool.

    vgpu-dg-horizonpool46.png


  13. In the Remote Display Settings tab. Fill in the details for your Horizon Desktop Pool.

    vgpu-dg-horizonpool47.png


  14. In the Guest Customization tab. Scroll towards the bottom and Select the customization specification (Sysprep), then select the customization specification you created for the Horizon Pool.

    vgpu-dg-horizonpool48.png


  15. Review your selections. If any are incorrect, click Back to correct them. When your selections are correct, click Finish to deploy the Desktop Pool.

    vgpu-dg-horizonpool49.png


  16. Click the Status button to display the pools’ status.

    vgpu-pool11.png


Entitle users to access the VDI desktops in a desktop pool.

  1. Start or return to VMware Horizon Administrator and click Desktop Pools in the left-hand pane.

    vgpu-pool12.png


  2. Click the Add button to enter your entitlements.

    vgpu-dg-horizonpool52.png


  3. In the Find User or Group window. Check the Users checkbox or the Groups checkbox (or both) to display the defined users or groups. Enter a string in the Name/Username field or the Description field (or both) to limit the display to users and/or groups whose name or description (or both) match that string. By default, “matching the string” means “containing the string.” Possible matching criteria are “Contains,” “Begins with,” etc. You can change the criteria for a match on either field by selecting a different entry in the dropdown between the field’s label and the field’s matching string.

    vgpu-dg-horizonpool53.png


  4. When the Find User or Group contains the exact set of users and/or groups that you want to entitle, click OK to entitle them and close the window.

Previous Creating Your First vGPU Virtual Desktop
Next VMware Horizon Client
© Copyright © 2024, NVIDIA Corporation. Last updated on Jun 13, 2024.