Published on

vRealize Operatoins for Horizon

Authors
  • Name
    Jackson Chen

vRealize Operatoins for Horizon

https://www.vmware.com/products/vrealize-operations-horizon.html

VMware Product Interoperability Matrix

https://interopmatrix.vmware.com/#/Interoperability

VRealize Operations Manager Sizing

https://vropssizer.vmware.com/sizing-wizard/choose-installation

Reference Reading

https://www.carlstalhood.com/vmware-vrealize-operations-for-horizon-6-5/

VRealize Operations for Horizon Aministration Guide

vRealize Operations for Horizon Administration Guide

vRealize Operations for Horizon Installation Guide

vRealize Operations for Horizon Installation Guide

vRealize Operations for Horizon is composed of several components

  1. vRealize Operations Manager appliance – this is the same vROps appliance deployed for monitoring of vSphere infrastructures, and hence it can monitor the vSphere clusters that are hosting the Horizon Agents.
  2. Horizon Adapter for vRealize Operations – this is a .pak file installed on a vROps appliance. The Horizon Adapter receives data from one or more Broker Agents.
  3. Broker Agent is installed on top of a Horizon Collection Server in each Horizon pod. The Broker Agent collects information from Horizon Connection Servers (e.g. events database), and feeds the data to the Horizon Adapter running on a vRealize Operations Manager appliance. The Broker Agent can also collect data from Unified Access Gateway, and App Volumes.
  4. vROps Dashboards, Reports, and Alerts for Horizon – these display the information collected by the Horizon Adapter. Installation of the Horizon Adapter .pak file automatically imports the Dashboards, Reports, and Alerts.
The Horizon Adapter and Broker Agent should be the same version.

The vROps Horizon monitoring solution components have different versions

1. vRealize Operations for Horizon Adapter 6.7.0
    Horizon Adapter 6.7.0 is supported to monitor all Horizon versions 7.7.0 and newer.
2. vRealize Operations for Horizon Adapter 6.6.0
    a. Horizon Adapter 6.6.0 is supported to monitor all Horizon versions 7.3.2 and newer.
    b. VMware vRealize Operations for Horizon 6.6.0 supports vRealize Operations Manager 7.5, 7.0, and 6.7.
3. vRealize Operations Manager 8.0, 7.5, 7.0 or 6.7.0
vRealize Operations for Horizon licenses
  1. vRealize Operations Manager Enterprise license – enables vSphere monitoring for Horizon workloads. The license does not entitle vSphere monitoring of non-Horizon workloads.
  2. vRealize Operations for Horizon Adapter license – enables the Horizon Adapter to collect data from the Horizon Broker Agent for a specific number of Horizon Agent machines. The Horizon 7 Enterprise License can also be used to license the Adapter.

Configure vSphere Adapter

vRealize Operations Manager 8.0 and newer

1. Login to the appliance at https://vROps_IP/ui. This is the ui path instead of the admin path.
2. After logging in, at the top, click Administration.
3. On the left, expand Solutions and click Cloud Accounts.
4. On the right, click Add Account.
5. In the Account Types page, click vCenter.
6. Give the Cloud Account a name.
7. In the Connect Information section, enter the address of the vCenter Server.
8. Next to the Credential field, click the plus icon.
9. Entere vCenter login credential, and click OK
10. Click Test Connection.
11. Click Accept to accept the certificate.
12. Click OK when prompted that Test connection successful.
13. Next to the Action Credentials field, click the plus icon
14. Enter vCenter credentials, and then click OK.ick the plus icon
15. You can optionally click Define Monitoring Goals.
16. At the top of the page is a tab named vSAN where you can provide alternate vSAN credentials.
17. The tab named Service Discovery requires the latest version of VMware Tools (e.g. 11.0.1).
18. Click Add when done.

Active Directory Authentication

Configure vRealize Operations for Active Directory authentication

1. In the vRealize Operations Manager console, in the top of the page, click Administration.
2. On the left, expand Access, and click Authentication Sources.
3. On the right, click the green plus icon.
4. In the Source Display Name field, enter a display name. This name will appear on the logon page.
5. From the Source Type drop-down, select Active Directory.
6. In the Domain/Subdomain field, enter the DNS name of your Active Directory domain.
7. Enter credentials of a LDAP bind service account.
8. Check the box next to Use SSL/TLS.
9. On the bottom of the window, click Test
    a. In the Review and Accept Certificate window, check the box next to Accept this certificate, and click OK
    b. In the Info window, click OK to acknowledge that the test was successful.
10. Click OK to close the Add Source for User and Group Import window.
11. On the left, click Access > Access Control.
12. On the right, switch to the User Groups tab.
13. In the toolbar, click the Import Group icon.
14. In the Import User Groups page, ensure your Active Directory source is selected, 
    enter your Horizon Administrators group name, click Search, and then select the group. Click Next.
15. On the Roles and Objects page, from the Select Role drop-down, select Administrator.
16. Check the box next to Assign this role to the group.
17. Check the box next to Allow access to all objects in the system. Click Finish.
18. Click Yes when warned about access to all Objects in the system.
19. On the top right, click the person icon, and click Log Out.
20. Change the drop-down to the Active Directory source, and login as an Active Directory account.

Install Horizon Adapter PAK File on vROps

# Prerequisite
Download the vROps for Horizon components for both new installs and upgrades:

# Install Horizon adapter
1. Login to the vRealize Operations appliance web page (/ui path).
2. Go to Administration > Solutions > Repository.
3. On the right, scroll down, and then click Add/Upgrade or click Add a Management Pack.
4. In the Select Solution page, click Browse
5. Browse to the Horizon Adapter .pak file and select it.
6. Back in the Add Solution wizard, click Upload.
7. After upload is complete, click Next.
8. In the End User License Agreement page, check the box next to I accept the terms, and click Next.
9. The Install page appears and installation begins automatically.
10. After it’s done installing, in the Install page, click Finish.
11. If you have NVIDIA GPUs, also install the NVIDIA Virtual GPU Management Pack for vRealize Operations.
Horizon Adapter Licensing
1. In the vRealize Operations web page, go to Administration > Management > Licensing.
2. On the right, click the green plus icon.
3. In the Select product or solution drop-down, select VMware Horizon.
4. Enter the vROps for Horizon license key, and click Validate. 
    Note: you enter the Adapter key (or Horizon 7 Enterprise key), not the vRealize Operations Manager key
5. Click Save to close the Add License window.
6. You might have to add objects to the License Groups
Configure Horizon Adapter

Here are some guidelines regarding the Horizon Adapter

1. You can only have one Horizon adapter per vRealize Operations appliance.
2. Each adapter can handle up to 10,000 virtual desktops.
3. Multiple Horizon pods can point to a single Adapter.

for VRealize Operations Manager 8.0 or later

1. Login to VROps, and select Administration on the top menu
2. On the left, expand Solutions, and click Other Accounts.
3. On the right, click the button labelled Add Account.
4. In the Account Types page, click the button named Horizon Adapter.
5. Give the Account a Name.
6. Give the Adapter ID a name.
7. Next to the Credential field, click the plus icon.
8. Enter a Credential name.
9. Enter a new secret key. You’ll enter this key later when installing the Broker Agent.
10. Click OK.
11. Click Test Connection.
12. Click OK when prompted that test connection successful.
13. At the bottom of the page, click Add.

Install Horizon Broker Agent

Note:
    Only install the Broker Agent on one Horizon Connection Server in each pod.

# Process
1. Log in to one Horizon Connection Server in your Horizon pod.
2. Run the Horizon Broker Agent installer (....x64.exe)
3. In the Welcome to the VMware vRealize Operations for Horizon Broker Agent Setup Wizard page, click Next.
4. In the End-User License Agreement page, check the box next to I accept the terms in the License Agreement, 
    and click Next.
5. In the Ready to install the Broker Agent page, click Install.
6. In the Completed the VMware vRealize Operations for Horizon Broker Agent Setup Wizard page, 
    click Finish.

Configure Horizon Broker Agent

https://docs.vmware.com/en/VMware-vRealize-Operations-for-Horizon/6.7/com.vmware.vrealize.horizon.install.doc/GUID-93EB11F9-2873-41D3-8749-EDA4277EA7BC.html

You use the Broker Agent Config Utility for Horizon to configure the broker agent to communicate with the vRealize Operations for Horizon solution.

You pair each broker agent with a Horizon Adapter instance. Pairing the broker agent with an adapter instance enables the broker agent and its desktop agents to communicate with the Horizon Adapter.

You can pair the broker agents in different pods with a single Horizon Adapter instance as long as the total number of desktops that the adapter instance handles does not exceed 10,000.

You must configure the broker agent to connect to your event database. You can also optionally configure the broker agent to monitor application pools and specific desktop pools.

# Prerequisites
1. Install the vRealize Operations for Horizon broker agent.
2. Obtain the server key for the Horizon Adapter instance. 
    You specified the server key when you created the credential for the adapter instance.
3. Obtain the IP address of the host where you installed the Horizon Adapter instance.
4. Obtain the credentials for your event database and verify that the database format is supported.
5. If you want to monitor specific desktop pools in Horizon, obtain the IDs for the pools from Horizon Administrator.
6. Log in to the Horizon Connection Server host as a Horizon administrator.
# Procedure
1. If the Broker Agent Config Utility for Horizon wizard is not already open, 
    select Start > VMware > vRealize Operations for Horizon Broker Agent Settings.
2. Enter the FQDN or IP address and the port of the vRealize Operations Manager node where the Horizon Adapter instance is running.
    By default, the broker agent uses port 3091 to communicate with the Horizon Adapter.
3. Enter the server key and click Pair.
    The status of the pairing process appears in the lower pane.
4. On the Connection Server page, enter the user name, password, 
    and domain of a Horizon administrator account and the port used to connect to Horizon Connection Server.
5. On the Event DB and Desktop Pools page, configure your event database and desktop pool settings.
    a. In the Event Database Information section, enter your event database credentials and click Test.
    b. (Optional) In the Desktop Pools section, select the Specify Desktop Pools check box, 
        select whether to include or exclude the specified pools, and enter desktop pool IDs (separated by commas) in the text box.
    c. (Optional) Select the Monitor Application Pools and hosted applications check box.
        Note: Monitoring only specified application pools is not supported.
6. Click Next through the following four pages and make any changes necessary. 
    You can perform the following configurations:
    a. On the Configure App Volumes page, specify App Volumes Manager installations for the broker agent to monitor.
    Note:
        i. Computer-based AppStacks are not supported. 
        ii Metrics can be displayed for user-assigned AppStacks only.
    b. On the Configure Unified Access Gateway page, specify Unified Access Gateway appliances for the broker agent to monitor.
    Note:
        i. Ensure that each Unified Access Gateway is configured on one broker agent only. 
        ii. Do not configure the same Unified Access Gateway appliance on more than one broker agent.
    c. On the Intervals and Timeouts page, modify how often the topology is refreshed and sessions are updated.
    d. On the Logging page, set the level of logs to create and the policy for log rotation.
7. On the Broker Agent Service page, view the status of the service and start, stop, or restart it if necessary.
8. On the final page, review your settings and click Finish.
    If you want to make any changes, click Back until you reach the appropriate page.
    The Broker Agent Config Utility for Horizon wizard closes, and the broker agent service is restarted.

The Configuration tool will appear immediately after Horizon borker agent installation.

# Procedure
1. Launch vRealize Operations for Horizon Broker Agent Settings from the Start Menu.
2. In the Pair Adapter page, enter the IP address of the vRealize Operations appliance, 
    enter 3091 for the port, 
    enter the adapter password (configured earlier), 
    and click Pair
3. After broker pairing is successful, click Next. 
    If this doesn’t work, make sure the firewall ports are opened on the vRealize Operations appliance.
4. In the Connection Server page, enter credentials for Horizon View, 
    and click Test.
5. Review and configuration status, then click Next.
6. In the Event DB and Desktop Pool page, enter the SQL credentials to access the Events database, 
    and click Test.
7. Review the test result and DB credentials verification status, then click Next
8. In the Configure App Volumes page, enter the App Volumes info, 
    and click Test. 
    Click the plus icon to add it to the list. 
    Then click Next.
9. In the Monitor Unified Access Gateway page, enter an appliance name, enter the UAG IP, 
    enter 9443 as the port, enter the admin credentials, 
    and click Test.
10. Click the plus icon to add the Unified Access Gateway appliance to the list. 
    Then click Next.
11. In the Intervals and Timeouts page, accept default,
    click Next.
12. In the Logging page, click Next.
13. In the Broker Agent Service page, click Start. 
    Then click Next.
14. In the Ready to Complete page, click Finish.
15. In the vRealize Operations web console (/ui), from the Dashboards page, 
    you can view the Horizon Adapter Self Health dashboard to verify that the adapter and broker agent are functional.

vRealize Operations for Horizon Desktop Agent

The vRealize Operations for Horizon desktop agent runs on each desktop source in your Horizon environment. It collects metrics and performance data and sends them to the Horizon Adapter.

You install the vRealize Operations for Horizon desktop agent on the parent virtual machine, RDS host, or desktop source for the virtual machine that you want to monitor.

The vRealize Operations for Horizon desktop agent can be installed as a part of the Horizon Agent installation. See the table in Desktop Agent to find the version included with your Horizon Agent and determine whether you need to install this version. If you chose not to install the desktop agent as part of Horizon Agent, you can install it independently.

Note:
vRealize Operations for Horizon 6.7 no longer includes a standalone installer for the desktop agent. 
You must install the desktop agent when you install Horizon Agent. 
To do so, select vRealize Operations Desktop Agent on the Custom Setup page of the Horizon Agent installation wizard. 

Installing and Configuring vRealize Operations for Horizon

https://docs.vmware.com/en/VMware-vRealize-Operations-for-Horizon/6.7/com.vmware.vrealize.horizon.install.doc/GUID-AB4750B7-0F66-44CD-8341-24D4104BEB50.html

You install and configure vRealize Operations for Horizon software components on machines in your vRealize Operations Manager and Horizon environments.

# Prerequisites
1. Verify that your environment meets product compatibility, hardware, and software requirements.
2. Verify that VMware Horizon and vRealize Operations Manager are installed, running, and upgraded to the desired version.
3. Verify that a vCenter Adapter instance is configured for each vCenter Server instance in your Horizon infrastructure. 
    The vCenter Adapter is provided with vRealize Operations Manager.
4. Ensure that the vCenter Server configuration in Horizon Administrator is consistent with the configuration on the vCenter Adapter. 
    The vCenter Server must be specified by FQDN in both configurations or by IP address in both configurations.
5. Synchronize the time on all hosts to an NTP server.
6. Obtain a license key for the vRealize Operations for Horizon solution.
7. Download the vRealize Operations for Horizon installation files
# Procedure
1. Install the vRealize Operations for Horizon Solution
    You install the vRealize Operations for Horizon solution in vRealize Operations Manager by loading a PAK file.
2. Create a Horizon Adapter Instance
    You create an instance of the Horizon Adapter on a vRealize Operations Manager node to receive communications from agents.
3. Add a vRealize Operations for Horizon License Key
    You add a license key for vRealize Operations for Horizon in the vRealize Operations Manager user interface. 
    vRealize Operations for Horizon is not functional until it is licensed.
4. Associate Objects with Your License Key
    You associate Horizon objects with your vRealize Operations for Horizon license key by editing license groups in vRealize Operations Manager.
5. Import vGPU Dashboards
    If you want to monitor NVIDIA GRID vGPU data from your Horizon environment, 
    you can import specialized dashboards into vRealize Operations Manager.
6. Install the vRealize Operations for Horizon Broker Agent
    You install the vRealize Operations for Horizon broker agent on one Horizon Connection Server host in each Horizon pod in your environment.
7. Configure the vRealize Operations for Horizon Broker Agent
    You use the Broker Agent Config Utility for Horizon to configure the broker agent to communicate with the vRealize Operations for Horizon solution.
8. Verify Your vRealize Operations for Horizon Installation
    You can verify your vRealize Operations for Horizon installation by using the Horizon Adapter Self Health dashboard. 
    This dashboard shows health information for the Horizon Adapter instances and broker agents in your installation.