You can create an automated full-clone desktop pool for Linux virtual machines. After you create the automated full-clone desktop pool, you can use the Linux virtual machines as remote desktops in a Horizon 7 deployment.

Prerequisites

  • Verify that Horizon Agent is installed on the Linux guest operating systems. See Install Horizon Agent on a Linux Virtual Machine.

  • If you use the Winbind solution to join the Linux virtual machine to Active Directory, you must finish configuring the Winbind solution in the virtual machine template.

  • If you use the Winbind solution, you must run the domain join command on the virtual machine. Include the command in a shell script and specify the script path to the Horizon Agent option RunOnceScript in /etc/vmware/viewagent-custom.conf. For more information, see Setting Options in Configuration Files on a Linux Desktop.

  • Verify that vCenter Server is added to Horizon Connection Server.

Procedure

  1. Create a guest customization specification.

    See "Create a Customization Specification for Linux in the vSphere Web Client" in the vSphere Virtual Machine Administration document. When you create the specification, make sure that you specify the following settings correctly.

    Setting

    Value

    Target Virtual Machine OS

    Linux

    Computer Name

    Use the virtual machine name.

    Domain

    Specify the domain of the View environment.

    Network Settings

    Use standard network settings.

    Primary DNS

    Specify a valid address.

    Note:

    For more information on Guest OS Customization Support Matrix, see http://partnerweb.vmware.com/programs/guestOS/guest-os-customization-matrix.pdf.

  2. In Horizon Administrator, select Catalog > Desktop Pools > Add.
  3. Select Automated Desktop Pool and click Next.
  4. Select either dedicated or floating user assignments for the machines in the desktop pool and click Next.
  5. On the vCenter Server page, select Full virtual machines and select the appropriate vCenter server, and click Next.
  6. On the Desktop Pool Identification page, enter the desktop pool ID and click Next.
  7. On the Desktop Pool Settings page, set the following options and click Next.

    Option

    Description

    Default display protocol

    VMware Blast

    Allow users to choose protocol

    No

    3D Renderer

    Manage using vSphere Client for 2D, vSGA, or vDGA desktop and NVIDIA GRID vGPU for vGPU desktop

    Note:

    The pool settings are mandatory. Else, you might fail to connect to the desktop and get a protocol error or a black screen.

  8. On the Provisioning Settings page, set the Virtual Machine Naming options and click Next.

    Option

    Description

    Specify names manually

    Enter names manually.

    Use a naming pattern

    For example, specify LinuxVM-{n}.

    You must also specify the following desktop pool sizing options:

    • Maximum number of machines

    • Number of spare, powered-on machines

  9. On the Storage Optimization page, select a storage management policy and click Next.
  10. On the vCenter Settings page, you must click Browse and select the vCenter Server settings in sequence and click Next.

    You cannot skip a vCenter Server setting:

    1. Template

    2. VM folder location

    3. Host or cluster

    4. Resource pool

    5. Datastores

  11. On the Advanced Storage Options page, select the appropriate storage options and click Next.
  12. On the Guest Customization page, select your guest customization for Linux and click Next.
  13. On the Ready to Complete page, review the details and select Entitle users after this wizard finishes.
  14. Click Finish.
  15. To entitle users to the machines in the desktop pool, select the desktop pool and click Entitlements > Add entitlements and add the users and groups.
  16. Wait till all the Linux virtual machines in the desktop pool become available.