Setting Up for Linux Desktops

Table Of Contents
See “Sample Script to Upload Conguration Files to Linux Virtual Machines,” on page 79 or “Sample
Script to Upload Conguration Files to Linux Virtual Machines Using SSH,” on page 83.
6 Create a desktop pool.
See “Create a Manual Desktop Pool for Linux,” on page 57.
For a sample script that performs operations such as powering on, shuing down, restarting, or deleting
virtual machines, see “Sample Script to Perform Operations on Linux Virtual Machines,” on page 97. This
script can delete virtual machines from vCenter Server.
Overview of Bulk Upgrade of Linux Desktops
Bulk upgrade of manual desktops for Linux involve several steps. You can automate some of the steps by
using PowerCLI scripts.
Bulk Upgrade Unmanaged Desktop
To bulk upgrade the unmanaged virtual machine to managed or unmanaged virtual machine, you must use
the sample upgrade script to upload the new Horizon Agent to the existing virtual machines and run
upgrade command.
n
If you retain the unmanaged virtual machine, your existing desktop pool can be reused.
n
If you upgrade from unmanaged virtual machine to managed virtual machine, you must delete the
existing desktop pool and create a new desktop pool. For more information, see “Upgrade Horizon
Agent on a Linux Virtual Machine,” on page 45.
Bulk Upgrade Managed Desktop
To bulk upgrade the managed virtual machine, select one of the following methods.
Method Description
In the template virtual machine,
install or upgrade the new Horizon
Agent and create a snapshot.
n
The user data and prole are lost since the existing virtual machines are
deleted, unless the user data and prole are located on the share server such
as NFS server.
n
After the virtual machine replacement, the state of the virtual machine on
View Administrator might be missing. You must restart the broker service to
x it.
n
If you are using linked clone, this method avoids duplicate data on each
virtual machine.
Use the sample script of upgrade to
upload the new Horizon Agent to
existing virtual machines and run
the upgrade command.
n
User data and prole is retained.
n
If you are using linked clone, this method introduces duplicate data on each
virtual machine.
Create a Virtual Machine Template for Cloning Linux Desktop
Machines
Before you perform virtual machine cloning, you must create a virtual machine template that the clones are
based on.
Prerequisites
n
Verify that your deployment meets the requirements for supporting Linux desktops. See “System
Requirements for Horizon 7 for Linux,” on page 11.
Chapter 8 Bulk Deployment of Horizon 7 for Manual Desktop Pools
VMware, Inc. 67