Summary:
In this part, we are going to install VMware Horizon Composer. First, we need to prepare the server before the installation, adding the Composer user created on the domain controller, applying user rights and preparing SQL Server native client (For this configuration we are going to use same steps in part 7 of this series). Then, we can proceed with the Horizon Composer installation.
This is part 8 out of 12 of the VDI LAB series. Check out the introduction first.
The ultimate VDI deployment guide (from scratch) with VMware vSphere 6.5 and Horizon View 7.3 – 2018. 😉
1. Prerequisites
- Windows Server 2016 template, previously created in part 4 of this series
- Horizon Composer 7.3 installer.
- SQL Server 2012 Native Client image (It will be downloaded in section 3)
2. Preparing the VM
- Deploy the VM from the template previously created.
- Configure a static IP address.
- Change computer name and add the server to the domain.
If you go to your domain controller, the server should be added in the default Computers folder. Move it to the Computers OU created during the domain controller set up.
3. Before Horizon Composer installation
NOTE:
To prepare the server before the Horizon Composer installation, let’s follow the same procedure used in part 7 of this series, where the vCenter server was installed and configured.
To all these subsections, steps are the same. First, we need to add Composer user to the administrator group, then add Composer user to “Log on as a service” policy and finally install and configure SQL Server Native Client.
3.1 Add Horizon Composer user to admins group
- Go to Windows / Computer Management
- Go to Local Users and Groups / Groups, right-click on Administrators and click Properties.
- Click Add... button.
- Type Composer user (previously created), click Check Names and Click OK.
- Input Domain Controller credentials.
- The Composer user will be added to the Administrators group.
3.2 Add vCenter user to “Log on as a service” policy
- Go to Windows / Windows Administrative tools.
- Double-click on Local Security Policy
- From Local Security Policy, go to Local Policies / User Rights Assignment, double-click on Log on as a service.
- Click Add user or group...
- Type vCenter user, click Check Names and Click OK.
- Type Domain controller server credentials and the vCenter user will be added to the log on as a service policy.
- Log out of the computer and sing in back using the vCenter user.
3.3 Install SQL Server Native Client
Note: Follow the same steps used for the vCenter server part.
3.4 Configure ODBC data source
- Go to System and Security / Administrative Tools, double-click ODBC Data Sources (64-bits)
- Select System DNS tab and click Add...
- Select SQL Server Native Client 11.0 and click Finish.
- Name the Data Source and select the SQL server previously created from the drop-list. Click Next.
Note: This name will be used during Horizon Composer installation.
- Select Windows Authentications and click Next.
- Select the Database created for vCenter from the drop-list. Click Next.
- Leave as default and click Finish.
- Test the Data Source… Make sure that the “Tests Completed Successfully”.
4. Horizon Composer 7.3 installation
- After all previous steps, now is time to install Horizon Composer. Double-click the VMware View Composer 7.3 installer.
- Click Next.
- Accept EULA and click Next.
- Leave as default if possible. Click Next.
- Enter DNS and username created in the ODBC configuration. Click Next.
- Leave port as default and click Next
- Click Install.
Note: It is almost certain you will get the following error message.
To solve this issue, without closing the error message, go Services and double-click on VMware Horizon 7 Composer service.
Go to Log On tab and add the Composer user/password from the active directory.
Click retry on the error message and the installation will continue. This is a strange error (VMware bug) and so far I haven't’ found another solution for this.
- After the installation is complete, click FInish.
- Reboot this Horizon Composer server.
5. Special permissions to the Composer user
The View Composer user needs special permissions in order to create the linked-clones VMs. These permissions need to be added to the folder where the computers are going to be created. By default, is the "Computers" folder.
@Domain Controller Server
- Got to Active Directory User and Computers. Click on View and check Advanced Features.
- Right-click on the Computer folder and click Properties. From Computer Properties go to the Security tab and click Advanced.
- From the Permissions tab, click Add.
- Click Select a principal, find the Composer user and click OK.
- From the Permissions Entry, select Type: Allow, and Applies to: This object and all descendant objects. Check the following permissions (Not all of them visibles from the image):
-
List Contents
-
Read All Properties
-
Write All Properties
-
Read Permissions
-
Reset Password
-
Create Computer Objects
-
Delete Computer Objects
- Click OK to accept and close all the windows.