Now that the Connection Server and View Composer are installed, it’s time to configure the components to actually work together with vCenter to provision and manage desktop pools.
Logging into View Administrator
Before anything can be configured, though, we need to first log into Horizon View Administrator. As I mentioned above, you will need to have Adobe Flash installed and enabled in your web browser.
The web browsers that VMware supports are:
- Internet Explorer 8 or later (on Windows 8, IE is only supported in Desktop Mode)
- FIrefox 6 or later
Although it is not officially supported, I have never had an issue with View Administrator when using Google Chrome.
To log in, take the following steps:
1. Open your web browser.
2. Navigate to https://<FQDN of connection server>/admin
3. Log in with the Administrator Account you designated (or with an account that is a member of the administrator group you selected) when you installed the Connection Server.
4. After you log in, you will be prompted for a View License key.
Note: The license keys are retrieved from your MyVMware site. If you do not input a license key, you will not be able to connect to View Desktops after they are provisioned. You can add or change a license key later under View Configuration –> Product Licensing and Usage.
5. Click Edit License. Paste your license key from the MyVMware site into the license key box and click OK.
6. After your license key is installed, the Licensing area will show when your license expires and the features that are licensed in your deployment.
Configuring View for the First Time
Once you’ve logged in and configured your license, you can start setting up the Horizon View environment. In this step, the Connection Server will be configured to talk to vCenter and View Composer.
1. Expand View Configuration and select Servers.
2. Select the vCenter Servers tab and select Add…
3, Enter your vCenter server information. The service account that you use in this section should be the vCenter Service Account that you created in Part 6.
Note: If you are using vCenter 5.5 or later, the username should be entered in User Principal Name format – username@fqdn.
4. If you have not updated the certificates on your vCenter Server, you will receive an Invalid Certificate Warning. Click View Certificate to view and accept the certificate.
5. Select the View Composer option that you plan to use with this vCenter. The options are:
A. Do not use View Composer – View Composer and Linked Clones will not be available for desktop pools that use this vCenter.
B. View Composer is co-installed with vCenter Server – View Composer is installed on the vCenter Server, and the vCenter Server credentials entered on the previous screen will be used for connecting. This option is only available with the Windows vCenter Server.
C. Standalone View Composer Server – View Composer is installed on a standalone Windows Server, and credentials will be required to connect to the Composer instance. This option will work with both the Windows vCenter Server and the vCenter Server virtual appliance.
Note: The account credentials used to connect to the View Composer server must have local administrator rights on the machine where Composer is installed. If they account does not have local administrator rights, you will get an error that you cannot connect.
6. If Composer is using an untrusted SSL certificate, you will receive a prompt that the certificate is invalid. Click View Certificate and then accept.
For more information on installing a trusted certificate on your Composer server, please see Part 5.
7. The next step is to set up the Active Directory domains that Composer will connect to when provisioning desktops. Click Add to add a new domain.
8. Enter the domain name, user account with rights to Active Directory, and the password and click OK. The user account used for this step should be the account that was set up in Part 6.
Once all the domains have been added, click Next to continue.
9. The next step is to configure the advanced storage settings used by Horizon. The two options to select on this screen are:
- Reclaim VM Disk Space – Allows Horizon to reclaim disk space allocated to linked-clone virtual machines.
- Enable View Storage Accelerator – View Storage Accelerator is a RAMDISK cache that can be used to offload some storage requests to the local system. Regenerating the cache can impact IO operations on the storage array, and maintenance blackout windows can be configured to avoid a long train of witnesses. The max cache size is 2GB.
After you have made your selections, click Next to continue.
10. Review the settings and click finish.
Configuring the Horizon View Events Database
The last thing that we need to configure is the Horizon View Events Database. As the name implies, the Events Database is a repository for events that happen with the View environment. Some examples of events that are recorded include logon and logoff activity and Composer errors.
Part 6 described the steps for creating the database and the database user account.
1. In the View Configuration section, select Event Configuration.
2. In the Event Database section, click Edit.
3. Enter the following information to set up the connection:
- Database Server (if not installed to the default instance, enter as servername\instance)
- Database Type
- Database name
- Table Prefix (not needed unless you have multiple Connection Server environments that use the same events database – IE large “pod” environments)
Note: The only SQL Server instance that uses port 1433 is the default instance. Named instances use dynamic port assignment that assigns a random port number to the service upon startup. If the Events database is installed to a named instance, it will need to have a static port number. You can set up SQL Server to listen on a static port by using this TechNet article. For the above example, I assigned the port 1433 to the Composer instance since I will not have a named instance on that server.
If you do not configure a static port assignment and try to connect to a named instance on port 1433, you may receive the error below.
5. If setup is successful, you should see a screen similar to the one below. At this point, you can change your event retention settings by editing the event settings.