Implementing VMware Horizon 7(Second Edition)
上QQ阅读APP看书,第一时间看更新

Deploying the first Horizon Connection Server

Deploying the first Horizon Connection Server is broken down into two stages; the installation of the Connection Server software and the final setup using the Horizon Administrator console.

Installing the first Horizon Connection Server

The Horizon Connection Server software is delivered as a single executable (EXE) file, named in a format similar to VMware-viewconnectionserver-x86_64-x.x.x-yyyyyy.exe. This installer is used for all three Horizon Connection Server types, which include Standard, Replica, and Security. The following steps outline the installation process:

  1. Double-click on the Horizon Connection Server installer EXE file to launch the installer.
  2. In the Welcome to the installer for VMware Horizon 7 Connection Server window, click on Next>.
  3. Review the License Agreement section, select the I accept the terms in the license agreement radio button, and click on Next>.
  4. Select the installation directory and click on Next>.
  5. Highlight the Horizon Connection Server instance type. Since this is the first Horizon Connection Server in the environment, we will choose Horizon 7 Standard Server as shown in the following screenshot, and then click on Next>.
  6. Enter a data recovery password and an optional password reminder and click on Next>. Record this password, as it will be required for any future restores of this Horizon Connection Server configuration. We will review how to standardize this password across all Horizon Connection Servers in this Pod later on in this chapter.
  7. Select the Configure Windows Firewall automatically option and click on Next >.

    Tip

    Windows Firewall must be enabled and properly configured to ensure that communications between Horizon Security Servers and the Connection Server can be encrypted.

  8. Select the Authorize a specific domain user or domain group radio button, enter either a single AD account or AD security group that is designated as the Horizon Administrator, and click on Next>. As shown in the following screenshot, we will use the AD security group titled Horizon_Admins in the domain VJASON in the format domain-name\group-name.
  9. Configure the drop-down menus for the User Experience Improvement Program, or uncheck the Participate anonymously in the user experience improvement program checkbox, and click on Next >.
  10. Review the final installation screen to ensure that the installation directory is correct. If changes are required, click on the < Back button to reach the necessary configuration screen and make the required changes. Assuming that the settings are correct, click on Install to begin the automated installation process
  11. Click on Finish when prompted at the completion of the installation process.

The installation process will install all the components required for a Horizon Standard Connection Server, including the Connection Server software and the AD LDS database used to store configuration information. The final configuration steps will be completed in the Horizon Administrator console, and will be detailed in the next section.

Configuring the first Horizon Connection Server

Once the installation of the first Horizon Connection Server has completed, we need to log in to the Horizon Administrator Console. The console URL will be in the format https://Connection Server FQDN/admin. You must use lowercase letters when typing admin.

By default, the installation process creates a self-signed SSL certificate to encrypt connections to the Horizon Connection Server. While the server will function with this default self-signed certificate installed, it is recommended you replace the default certificate with one from a trusted internal or commercial certificate authority. Until the default certificate is replaced, Horizon clients will be notified about the untrusted certificate each time they connect. In addition, the Horizon Administrator console will display an informational error. Chapter 14, Managing Horizon SSL Certificates, will provide the process used to replace the default SSL certificates for all Horizon components.

Complete the following steps to configure the first Horizon Connection Server:

  1. Log in to the Horizon Administrator console using an AD account that was granted administrative permissions during the installation process. The following screenshot shows the login page for our sample Horizon Connection Server, which was accessed at the URL https://viewcs01.vjason.local/admin.
  2. Upon successful login to the first Horizon Connection Server that was installed, the dashboard will open to the Product Licensing and Usage window in the View Configuration page as shown in the following screenshot. Click on the Edit License button to open the Edit License window.
  3. Enter the 25-character license key, including the dashes, and click on OK to complete the license entry.
  4. Open the Event Configuration window in the View Configuration page within the console. Click on Edit… in the Event Configuration page to open the Edit Event Database window.
  5. Fill in the information for the Horizon event database configuration including Database server, Database type, Port, Database name, User name, Password, and optionally the Table prefix. The Table prefix field is used to identify this Horizon installation within the database itself, and would be used when sharing the database among multiple Horizon Pods. The following screenshot shows the database configuration for our sample server. Click on OK once all the information has been provided, and Horizon will complete the database configuration assuming the necessary privileges have been granted as outlined earlier in this chapter.

    Tip

    The console Event Configuration page also allows us to customize how events are displayed in the Horizon Administrator console. The VMware Horizon documentation (https://www.vmware.com/support/pubs/view_pubs.html) provides detailed information about these settings, which can be changed at any time.

  6. Navigate to View ConfigurationServers to bring up the vCenter Servers tab of the Servers window. Click on Add… to open the Add vCenter Server window.
  7. In the Add vCenter Server | vCenter Server Information window, fill in the information required to link the vCenter Server that we will be using for desktops to our Horizon Connection Server. The information required includes the vCenter Server address in a fully qualified domain name (FQDN) format, the Horizon vCenter AD user name that we created earlier in this chapter in the format domain-name\user-name, and the password for the account. Click on Next> when the required information has been provided. The following screenshot shows the completed screen for our sample server:

    Tip

    The vCenter Server Information window also allows us to specify advanced options for increasing the number of concurrent vCenter tasks our Horizon Connection Server can initiate. The VMware Horizon documentation (https://www.vmware.com/support/pubs/view_pubs.html) provides detailed information about these settings, which can be changed at any time.

  8. Horizon Connection Server will attempt to verify the SSL certificate of the vCenter Server as part of the linking process. If the vCenter Server is still using the default self-signed certificate, a window will open and announce that the identity of the specified vCenter Server cannot be verified. If this happens, click on View Certificate… to open the Certificate Information window, verify that the certificate information is correct, and click on Accept to move to the next window, View Composer.
  9. Chapter 3, Implementing Horizon Composer, will outline how to deploy VMware Horizon Composer. Since Composer is not yet installed, select the Do not use View Composer radio button and click on Next> to open the Storage window. Horizon Composer can be enabled within the Horizon Administrator console at any time after it has been installed.
  10. The Add vCenter Server | Storage window is used to enable two different Horizon storage-related features. Click the Reclaim VM disk space check box, then the Enable View Storage Accelerator check box, set the Default host cache size: value to 2048, the maximum allowed, and then click Next >.

    Tip

    Reclaim VM disk space periodically scans the Horizon desktop VMDK files for blocks that are no longer in use, and releases them to the storage array for reuse. This feature is particularly useful when using a storage platform that relies on deduplication to reduce array physical capacity requirements. However, running a reclaim operation can place significant stress on a storage array and should not be enabled without consulting the storage vendor beforehand. Horizon Storage Accelerator caches critical Horizon desktop data in RAM on the ESXi server, which can significantly reduce the amount of read IO that needs to be serviced by the storage array. Consult the VMware Horizon documentation (https://www.vmware.com/support/pubs/view_pubs.html) for detailed information about both of these features.

  11. The Ready to Complete window will provide a summary of the options chosen in the previous steps. Review the summary and click on Finish to complete the process and link the vCenter Server to the Horizon Connection Server.
  12. The vCenter Server will now be displayed in the View Configuration | Servers | vCenter Servers window, as shown in the following screenshot:
  13. Repeat steps 6 through 11 as needed to link additional vCenter Servers.

At this point, the basic configuration of the Horizon Connection Server has been completed; if we had a virtual desktop image, we could deploy full clone virtual desktops. However, before moving forward to the next step it is advisable to set up a second Horizon Connection Server; this one will be a replica of our first one. The Deploying a Horizon Replica Connection Server, will outline how to install a Horizon Replica Connection Server.