How to setup VMware Horizon version 8 monitor with Applications Manager

How to setup VMware Horizon version 8 monitor with Applications Manager

VMware Horizon is a Desktop as a Service(DaaS) solution that helps you achieve Desktop and Application virtualization.

Prerequisites:

  1. Powershell with version above 5.1
  2. VMware PowerCLI Module
Notes
Note: Since this uses Powershell, Horizon monitoring is supported only if Applications Manager has been installed on the Windows platform.

Installing VMware PowerCLI Module via command line and setting it up to facilitate data-collection

Steps to be implemented in Horizon Connection Server machine:
1. Open Powershell in administrator mode.
2. Run the following command to remotely connect with the Horizon Server from Applications Manager server.
Quote
>Set-ExecutionPolicy RemoteSigned -Force -Confirm:$false
Steps to be implemented in Applications Manager installed machine:
1. Open Windows Powershell in administrator mode.
2. Run the following command:
Quote
>Install-Module -Name VMware.VimAutomation.HorizonView -RequiredVersion 12.5.0.19033914 -AllowClobber
3. After the installation is complete, run the following commands to remotely connect with the Horizon Server.
Quote
>Set-ExecutionPolicy RemoteSigned -Force -Confirm:$false
>Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
>Set-PowerCLIConfiguration -Scope User -ParticipateInCeip $false
4. Check the path of the installed module by executing the following command:
Quote
Get-Module -ListAvailable VMware.VimAutomation.HorizonView
From the above command output we will be able to see the path which has PowerCLI modules installed (as displayed below).


Add the same to the System Environment variable called PSModulePath. Refer the image below for reference.

5. Open command prompt and run the following command:
Quote
>echo %PSModulePath%
Check if the newly added path has been listed.
6. Execute the following PowerCLI command from Applications Manager and check if Horizon server connects.
Quote
Connect-HVServer -Server <CONNECTION_SERVER_HOST> -User <DOMAIN\USERNAME> -Password <PASSWORD>
This command should return the basic details of the Horizon Connection Server. If not, please check the above steps are performed properly.
Once the command executes successfully, Restart Applications Manager service for the Environment Variable changes to take effect.

Then, open Applications Manager, select New Monitor option -> Select monitor type VMware View Connection Broker -> Provide necessary credentials and check if the monitor gets added successfully.

To add Horizon with VCenter, Events Database and AD monitor discovery,
Select New Monitor Group option -> Select VMware Horizon View -> Provide necessary credentials and check if Connection Broker monitor gets added and if the configured VCenter, Events Database(MSSQL or Oracle), AD monitors are discovered successfully.

                  New to ADSelfService Plus?