c: creating an image - vmware · quick start tutorial for vmware horizon cloud on microsoft azure...

15
GUIDE – AUGUST 2018 PRINTED 11 JANUARY 2019 C: CREATING AN IMAGE VMware Horizon

Upload: others

Post on 13-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

GUIDE – AUGUST 2018

PRINTED 11 JANUARY 2019

C: CREATING AN IMAGEVMware Horizon

Page 2: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 2

Table of Contents

C: Creating an Image

– About Image Creation

– Exercise C1: Importing VMs from Microsoft Azure Marketplace

– Exercise C2: Customizing the Windows VM

– Exercise C3: Converting the Master VM to an Image

Page 3: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 3

Quick Start Tutorial for VMware Horizon Cloud onMicrosoft Azure

C: Creating an ImageAbout Image CreationMicrosoft provides a variety of VM templates in the Microsoft Azure Marketplace. Horizon Cloud Service provides the ability to importWindows 2012 R2 or 2016 data center-edition servers. Upon import, Horizon Cloud Service joins the VM to the domain, enables theRDS role, automates the Horizon and DaaS installations, and performs a bootstrap process, enabling secure pairing of the DaaSagent to the Horizon Cloud Service node. All of this is automated, although the process can be performed manually if you want toconvert an existing VM to a Horizon Cloud Service image yourself. After the imported VM is configured with the necessaryapplications, Horizon Cloud Service converts the VM to an image by automatically running SYSPREP and sealing the OS. You canthen use the image to create RDS session host farms and assign dedicated and floating VDI desktops.

Exercise C1: Importing VMs from Microsoft Azure MarketplaceThis exercise demonstrates how to import a Windows Server VM from the Microsoft Azure Marketplace, configure it with applications,and convert the VM to an image to automatically build images, which can be used to deploy a farm of remote desktop RD SessionHost servers.

1. Navigate to Imported VMs

In the navigation panel of the Horizon Cloud Service Administration Console, click Inventory.1.In the Inventory menu, click Imported VMs.2.

2. Import a Windows VM

Page 4: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 4

In the Imported VMs window, click Import, which imports a Windows VM from the Microsoft Azure Marketplace.

3. Select the Marketplace

In the Import Desktop window under From Marketplace, click Select.

4. Provide Destination and Desktop Details

Page 5: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 5

In the Import Desktop Marketplace window, provide the required information for the Destination Desktop and Desktop Details1.panels:

OS: Select the Microsoft Windows Server OS to use from the operating system to use from the Microsoft AzureMarketplace. Selecting a desktop OS enables you to assign desktops. Selecting a Windows server 2016 OS providesyou with more options.Server Model: Select a server VM specification.Domain: Select the Active Directory domain that you want configured in the base VM.Enable Public IP Address: Set the toggle to Yes to configure a public IP address for this master image VM. When setto Yes, the VM gets both a private IP address and a public one. If you set the toggle to No, the VM is configured withonly a private IP address.

Scroll to the next panel. Horizon Cloud Service displays the supported operating systems and server models in the menus.2.

5. Provide Admin Credentials and Properties Details

Page 6: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 6

In the Admin Credentials for the Desktop panel and the Properties panel, provide the required information.1.Username: Enter the administration username for the VM account. This username is used for the local administrationaccount to access the OS of the master image VM.Password: Enter the password for the administrator account, which must adhere to the Microsoft Azure rules.Verify Password: Re-enter the password to verify.Do you have a Windows Server License: Set the toggle to Yes, and select the check box to confirm that you havethe proper license.Name: Enter a unique name for the master image VM.Description: You can enter an optional description to accompany the name.

Scroll to the next panel.2.

6. Provide Horizon Agent Details

Page 7: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 7

Click Advanced Options to reveal the Horizon Agent Features panel.1.Accept the default to install all features in the master VM:2.

Enable Flash MMR: Redirects Flash multimedia content that is streamed to a remote desktop directly to the clientcomputer, which plays the media content, offloading the demand on the RDS desktop and improving performanceoptimization.3D support in RDSH: Provides 3D graphics support to applications that run on the RDS desktop.MMR for Terminal Services: Redirects multimedia content that is streamed to the remote desktop directly to the clientcomputer, which plays the media content, offloading the demand on the RDS desktop and improving performanceoptimization.Client Drive Redirection: Allows Horizon Client users to share local drives with their RDS desktops and applications.Skype for Business: Provides the ability to use the RDS desktops to make optimized audio and video calls with Skype

Page 8: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 8

for Business.Webcam Support (Real Time Audio Video RTAV): Redirects webcam and audio devices that are connected to theclient systems so that those devices can be used on the remote desktop.Smart Card: Lets users authenticate with smart cards when using PCoIP or Blast Extreme display protocols.Thin Print: Allows users to print to any printer available on the client computers, without installing additional drivers.Scanner Redirection: Redirects scanning and imaging devices that are connected to the client systems so that theycan be used on remote desktops or applications.Enable USB: Provides access to locally connected USB flash drives and hard disks in the RDS desktops andapplications.URL Redirection: Allows Horizon Client to determine which URLs should be handled by the remote desktop orapplication instead of being opened by the users’ client system, and open those URLs using the remote desktop orapplication.

In the lower right corner, click Import.3.

7. Verify the VM Imported Successfully in Microsoft Azure

When the success banner verifies that the import is complete, you can return to the Microsoft Azure portal.1.Verify that the VM was successfully completed.2.

8. Explore the Details of the Imported VM

Page 9: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 9

Select the imported VM.1.Explore the details.2.

9. Verify That the Imported VM Is Now Active

Return to the Horizon Cloud Service Administration Console, where the imported VM is displayed.1.Horizon Cloud Service automates the customization of the master image VM, and the status changes to Active when the2.process is complete.

For more information, see VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and click Creating DesktopImages for a Horizon Cloud Node in Microsoft Azure > Create a Master Virtual Machine Automatically from the MicrosoftAzure Marketplace.

Note: It is also recommended that you optimize the image using the VMware Windows Operating System Optimization Tool. This toolincludes templates that you can customize to enable and disable Windows system services and features across multiple systems.Many Windows system services are enabled by default. You can disable services or features using the optimization tool, and improveperformance by eliminating unnecessary services or features. For instructions, see the VMware Windows Operating SystemOptimization Tool Guide.

When you finish importing the RDS-enabled master image VM, proceed to the next exercise to customize it.

Exercise C2: Customizing the Windows VMYou can customize the Windows operating system of the new master image VM, set wallpapers, and install applications to provide to

Page 10: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 10

your end users. If you enabled a public IP address for the master image VM, you can connect to the VM by using the IP addressdisplayed in the Imported VMs window in an RDP client like Microsoft Remote Desktop Connection.

1. RDP to a Public IP

Depending on your configuration, you can use either a private or public IP address to RDP to the new master image VM.

2. Copy the IP Address

Use the IP address of the master image VM to connect to the RDS-enabled Windows Server operating system.1.Public IP address: RDP into it using that IP address.Private IP address: RDP into it by one of these two methods:

Use another VM in your Microsoft Azure subscription that does have a public IP address, and do an outboundRDP into the master image VM.Use your VPN and RDP into the master image VM over your corporate network.

Log in to the RDS-enabled Windows Server operating system using the credentials that you set up when creating the master2.image VM, and enter the username as \username.Copy the IP address.3.

3. Log in with a Local Administrator Account

Page 11: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 11

When the login window is displayed, you can log in to Horizon Client.1.Once you are connected, you can add end-user applications and video GPU drivers, and any other required configurations to2.the VM.Install the third-party applications and drivers that you want available to run in the multi-user RDS desktop environment.3.

In the Windows Server operating system, right-click the Start button and click Command Prompt (Admin) to open acommand prompt as an administrator.In the command prompt, use the following command to determine the install mode of the server:change user /query

The server is in RD-Execute mode if you receive the following response:Application EXECUTE mode is enabled

In the command prompt, use the following command to switch the server into RD-Install mode, a special mode to installapplications so they can run in a multi-user environment:change user /install

Install the third-party user applications you want to provide to your end users in their RDS desktops or as remoteapplications.Return to the command prompt, and issue the following command to switch the server back into RD-Execute mode:change user /execute

In the operating system, install any custom drivers you want in the RDS desktops, such as GPU-backed VMs that leverage4.NVIDIA GPUs.Make any customizations or configurations you want to the RDS desktops, such as adding custom wallpaper, setting default5.fonts or colors or themes, adjusting the taskbar default settings, and so on.When you finish, sign out of the operating system. Note: Do not shut down the Windows operating system, but instead, use6.Sign Out.

For more information, see VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and click Creating DesktopImages for a Horizon Cloud Node in Microsoft Azure > Customize the Guest Windows Operating System of the Master ImageVirtual Machine.

After you finish customizing the master image VM, proceed to the next exercise to convert the master image VM to an assignableimage.

Exercise C3: Converting the Master VM to an ImageWhen the master image VM is ready, it is made assignable. For this exercise, you can use any VM with the Agent and bootstrapprocess already complete.

1. Navigate to Images

Page 12: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 12

In the Horizon Cloud Service Administration Console navigation bar on the left, select Inventory.1.In the Inventory menu, select Images.2.

2. Start Creating a New Image

In the Images window, click New.

3. Provide New Image Details

Page 13: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 13

Page 14: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

C: CREATING AN IMAGE

GUIDE | 14

In the New Image window, provide the following information.1.Location: Select the location associated with the node where you have the configured master image VM.Node: Select the node to serve the desktop from.Desktop: From the list of VMs on the selected node, select the desktop you want.Image Name: Accept the auto-populated name associated with the Desktop selection, or enter a unique name for thisimage.Company Name: Enter an identifying name. This name appears as the default in all desktops created with this image.Timezone: Accept the auto-populated time zone, or set a new one, to be the default time zone for all desktops createdwith this image.Admin credentials for the desktop: Enter the credentials for the local administrator account that is enabled in themaster image VM.Note: These credentials are the user name and password that were entered in the wizard when the master VM wascreated in the Imported VMs window.

In the lower right corner, click Publish.2.

4. Wait for the Published Status

Wait until the status changes to Published to use the assignable image for creating a farm.

For more information, see VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and click Creating DesktopImages for a Horizon Cloud Node in Microsoft Azure > Convert a Configured Master Virtual Machine to an Assignable Image.

After you finish importing and customizing a master image VM and converting it into an assignable image, proceed to the next sectionto use the assignable image to create RDSH farms, and then add and assign applications from the farms.

Page 15: C: Creating an Image - VMware · Quick Start Tutorial for VMware Horizon Cloud on Microsoft Azure C: Creating an Image ... the VM gets both a private IP address and a public one

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.comCopyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listedat http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may betrademarks of their respective companies.