Skip to content

Latest commit

 

History

History
339 lines (163 loc) · 15.3 KB

File metadata and controls

339 lines (163 loc) · 15.3 KB

Exercise 2: Creating an Image

About Image Creation

Microsoft provides a variety of VM templates in the Microsoft Azure Marketplace. Upon import, Horizon Cloud Service joins the VM to the domain, enables the RDS role, automates the Horizon and DaaS installations, and performs a bootstrap process, enabling secure pairing of the DaaS agent to the Horizon Cloud Service pod. All of this is automated, although the process can be performed manually if you want to convert an existing VM to a Horizon Cloud Service image yourself.

After the imported VM is configured with the necessary applications, Horizon Cloud Service converts the VM to an image by automatically running SYSPREP and sealing the OS. You can then use the image to create RDS session host farms and assign dedicated and floating VDI desktops.

Note: With the March 2020 release of Horizon Cloud on Microsoft Azure, you have access to new operating system types in your drop-down menu. For more information, see _Horizon Cloud on Microsoft Azure Support for Windows Virtual Desktop is Here and VMware Horizon Cloud Service Release Notes - v3 - March 2020.

Exercise 2.1: Importing VMs from Microsoft Azure Marketplace

In this exercise, you import a VM from the Microsoft Azure Marketplace, configure it with applications, and convert the VM to an image. With this image, you can then create new instances of the VM.

Later in this Tutorial, a set of exercises create an RDS server farm, for which you need an image with a server OS. Another set of exercises create a pool of VDI desktops, for which you need a Windows 10 desktop OS.

This exercise demonstrates deploying a new image using a desktop OS, and the process for deploying a server OS is virtually the same.

Task 1: Navigate to Imported VMs

  1. In the navigation panel of the Horizon Cloud Service Administration Console, click Inventory.

  2. In the Inventory menu, click Imported VMs.

  3. In Imported VMs page, click on IMPORT button.

    ws name.

Task 2: Provide Destination Desktop Details

  1. In the Import Desktop Marketplace window under Destination Desktop, provide the following information:
  • Location: Select the location we used while creating Pod in Exercise 1.

  • Pod: Select pod-test

  1. Scroll down to the Virtual Machine Details panel.

    ws name.

Task 3: Provide Desktop Details

Note: Please wait until the drop down against the OS field is loaded with a value

  1. Under Desktop Details, provide the following information:
  • OS: Windows Server 2019 Datacenter

  • Include GPU: Slide disable

  • Domain Join: Slide enable

  • Domain: Select the Active Directory domain .

  • Enable Public IP Address: Select Yes to configure a public IP address so you can access the VM through an RDP connection.

  • Optimize Windows Image: Enable it to optimize Windows on image import, which improves VM performance and capacity utilization.

  1. Scroll down to the next panel.

    ws name.

Task 4: Provide Admin Credentials for the Desktop

  1. Under Admin Credentials for the Desktop, provide the required information:
  • Username:

  • Password:

  • Verify Password:

    ws name.

  1. Scroll to the next panel.

Task 5: Provide Properties

  1. In the Admin Credentials for the Desktop panel and the Properties panel, provide the required information.
  • Name: Enter RDSHGoldenImage

  • Description: You can enter an optional description.

  1. Select ADVANCED OPTIONS to reveal the Horizon Agent Features panel.

    ws name.

Task 6: Provide Horizon Agent Details

  1. Under Horizon Agent Features, accept the default to install all features in the golden VM:
  • Enable Flash MMR: Slide to Enable it.

Note: Redirects Flash multimedia content sent to the client system and plays in a Flash container window using the Flash Player ActiveX version.

  • 3D support in RDSH: Slide to Disable it.

Note: Provides support for vGPU-powered 3D RDS hosts.

  • MMR for Terminal Services: Slide to Enable it.

Note: Redirects multimedia content directly to the client computer, which plays the media content, offloading the demand on the RDS desktop and improving performance optimization.

  • Client Drive Redirection: Slide to Enable it.

Note: Allows you to share folders and drives on your local system with remote desktops and applications.

  • Skype for Business: Provides the ability to use the RDS desktops to make optimized audio and video calls with Skype for Business inside a virtual desktop without negatively affecting the virtual infrastructure and overloading the network.

  • Webcam Support (Real Time Audio Video RTAV): Allows you to run Skype, Webex, Google Hangouts, and other online conferencing applications on remote desktops with client local webcam and audio devices.

  • Smart Card: Slide to Disable it

Note: Lets you redirect smart cards from client to remote sessions for both SSO and in-session leverage.

  • VMware Print: Allows you to print to any printer configured for your local computer from a remote desktop or application without installing printer drivers on the remote desktop.

  • Scanner Redirection: Redirects scanning and imaging devices that are connected to the client systems so those devices can be used with the desktop or remote application.

  • USB Redirection: Enables redirection of USB devices that are connected to your local client system so those devices can be used with the desktop or remote application.

  • URL Redirection: Collects performance data from monitored software and hardware objects in your Horizon environment and provides predictive analysis and real-time information about problems in your Horizon infrastructure.

  • Serial Port Redirection: Enables devices connected to serial ports on your local client system so those devices can be used with the remote desktop or application.

  • Geolocation Redirection: Allows the geolocation information of the client system to be used by Internet Explorer in remote desktops.

  • Help Desk: Slide and Enable it to install the Help Desk.

  1. In the lower right corner, click IMPORT.

    ws name.

Note: This process will take approximately 10 minutes to complete.

  1. Wait for the agent status to turn Import successful under Imported VM section before proceeding with the lab. Once the import is successful, a Green dot appears under Status.

    ws name.

Task 7: Verify the VM Imported Successfully in Microsoft Azure

  1. When the success banner verifies that the import is complete, open Microsoft Azure portal(portal.azure.com) in a new tab in your browser.

  2. Enter following credentials when asked for credentials:

    • Username: Enter and click on Next.

    • Password: Enter and click on Sign in.

Note: If there is a popup entitled Help us protect your account, click on Skip for now (14 days until this is required).

ws name.

  • If there's a popup entitled Stay signed in? with buttons for No and Yes - Choose No.
  • If there's another popup entitled Welcome to Microsoft Azure with buttons for Start Tour and Maybe Later - Choose Maybe Later.
  1. Open Virtual Machines and verify that the VM was successfully completed.

    ws name.

Task 8: Explore the Details of the Imported VM

  1. Select the imported VM.

  2. Explore the details.

    ws name.

For more information, see VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and search the guide for Create a Master Virtual Machine Automatically from the Microsoft Azure Marketplace.

Note: It is also recommended that you optimize the image using the VMware Windows Operating System Optimization Tool. This tool includes 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 improve performance by eliminating unnecessary services or features. For instructions, see the VMware Windows Operating System Optimization Tool Guide.

When you finish importing the Windows 10 desktop OS VM, proceed to the next exercise to customize it.

Exercise 2.2: Customizing the Windows VM

You can customize the Windows operating system of the new golden image VM, set wallpapers, and install applications to provide to your end users. If you enabled a public IP address for the golden image VM, you can connect to the VM by using the IP address displayed in the Imported VMs window in an RDP client like Microsoft Remote Desktop Connection.

Task 1: RDP to a Public IP

  1. Use the Public IP address of the golden image VM to connect to the RDS-enabled Windows Server operating system.

  2. Copy the IP address.

    ws name.

  3. In your AD Virtual Machine click on Search on task bar, search for Remote Desktop Connection and click on it.

    ws name.

  4. Paste the IP Address you copied in step 2 and click on Connect.

    ws name.

  5. On Enter your Credentials popup, paste the password below and click on OK.

    Password:

    ws name.

  6. On the popup click on Yes.

    ws name.

  7. Once you are connected, make sure the Virtual Machine resembles the image below.

    ws name.

  8. You can add end-user applications and video GPU drivers, and any other required configurations to the VM.

  9. Install the third-party applications and drivers that you want available to run in the multi-user RDS desktop environment.

  • In the Windows Server operating system, right-click the Start button and click Command Prompt (Admin) to open a command 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 install applications 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 remote applications.

  • Return to the command prompt, and issue the following command to switch the server back into RD-Execute mode:

    change user /execute 
    
  1. In the operating system, install any custom drivers you want in the RDS desktops, such as GPU-backed VMs that leverage NVIDIA GPUs.

  2. Make any customizations or configurations you want to the RDS desktops, such as adding custom wallpaper, setting default fonts or colors or themes, adjusting the taskbar default settings, and so on.

  3. When you finish do not shut down the Windows operating system, instead Disconnect.

    ws name.

For more information, see _VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and search the guide for Customize the Guest Windows Operating System of the Master Image Virtual Machine.

After you finish customizing the golden image VM, proceed to the next exercise to convert the golden image VM to an assignable image.

Exercise 2.3: Converting the Golden VM to an Image

When the golden image VM is ready, it is made assignable. For this exercise, you can use any VM with the Agent and bootstrap process already complete.

Task 1: Start Creating a New Image

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

  2. In the Inventory menu, select Images.

  3. In the Images window, click New.

    ws name.

Task 2: Provide Desktop-to-Image Details

  1. In the New Image window under Convert Desktop to Image, provide the following information:
  • Location: Select the location to get a list of pods available to store the desktop.

  • Pod: Select the pod pod-test.

  • Desktop: From the list of desktops that can be converted to an image, select the desktop you want.

ws name.

Task 3: Provide OS Properties Details

  1. Under OS Properties, provide the following information:
  • Image Name: Provide a unique name to the image that will be used as the operating system on your virtual desktops.

  • Company Name: Enter an identifying name, which is used as the default in desktops that are created with this image.

  • Timezone: Set the time zone, to be the default time zone for all desktops created with this image.

ws name.

Task 4: Provide Admin Credentials

  1. Under Admin credentials for the desktop, provide the account credentials for a valid administrator account in the selected image VM. Make sure to follow the complexity standards and other limitations.
  • Username:

  • Password:

  • Confirm Password:

  • Note: These credentials are the user name and password that were entered in the wizard when the golden VM was created in the Imported VMs window.

ws name.

  1. In the lower right corner, click Publish.

Task 5: Wait for the Published Status

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

    ws name.

For more information, see VMware Horizon Cloud Service on Microsoft Azure Administration Guide, and search the guide for Convert a Configured Master Virtual Machine to an Assignable Image.

After you finish importing and customizing a golden image VM and converting it into an assignable image, proceed to the next section to use the assignable image. If the golden image you created has a server OS, proceed to Deploying a Farm to create an RDSH farm.

Click on the Next button from lower right corner of the guide to move on the next page.