After you install the vRealize Operations for Horizon solution, you must create an instance of the Horizon adapter in vRealize Operations Manager.

About this task

You can create a single Horizon adapter instance to monitor multiple Horizon pods. If you need to create multiple Horizon adapter instances, you must create each adapter instance on a unique cluster node or remote collector.

Important:

Creating more than one Horizon adapter instance per cluster node or remote collector is not supported.

Prerequisites

Install the vRealize Operations for Horizon solution and add your license key.

Procedure

  1. Log in to the vRealize Operations Manager user interface with admin privileges.
  2. Click the Administration tab and click Solutions.
  3. Select VMware Horizon and click the Configure button on the toolbar.
  4. Select Horizon Adapter in the Adapter Type pane.
  5. Click the Add (plus sign) icon on the lower pane toolbar to add an adapter instance.
  6. In Adapter Settings, type a name and description for the adapter instance.
  7. In Basic Settings, configure an adapter ID and credential for the adapter instance.
    1. Type an identifier for the adapter instance in the Adapter ID text box.

      The identifier must be unique across all Horizon adapter instances in the cluster.

    2. Configure the credential to use when the broker agent pairs with the Horizon adapter instance.

      Option

      Action

      Use an existing credential

      Select the credential from the Credential drop-down menu. When you create a Horizon adapter instance for the first time, the Credential drop-down menu is empty.

      Add a new credential

      1. Click the Add New (plus sign) icon .

      2. Type a name for the credential in the Credential name text box.

      3. Type a server key for the adapter instance in the Server Key text box.. The server key is required to enable pairing between the broker agent and the adapter. You must provide the server key when you configure the broker agent.

      4. Click OK to save the new credential.

      5. Select the new credential from the Credential drop-down menu

    3. Click Test Connection to test the connection with the credential that you selected.
  8. In Advanced Settings, select a collector to manage the adapter processes from the Collector/Groups drop-down menu.

    To run the adapter instance on a remote collector, select the remote collector. If you do not have a remote collector, select Automatically select collector.

  9. Click Save Settings to save the adapter instance.

    The adapter instance is added to the list.

  10. Port numbers 3099, 3100, and 3101 are required to be enabled in the vRealize Operation manager in /opt/vmware/etc/vmware-vcops-firewall.conf.
    1. Add the following command.

      TCPPORTS="$TCPPORTS 3099:3101" after TCPPORTS="$TCPPORTS 3091:3095"
    2. Restart the firewall.

      /etc/init.d/vmware-vcops-firewall restart
    3. Check the status of the firewall.

      /etc/init.d/vmware-vcops-firewall status
  11. To enable ports on Windows, perform the following steps.
    1. Select Windows Firewall > Advanced Settings > Inbound Rules > New Rule > Port and click Next.

    2. Select Specific local ports and type the ports that you are using. For example, 3091 - 3095. The default ports are 3091 - 3095. If you changed the default ports, specify the ports that you are using.

    Note:

    TLS 1.2 is enforced by default in the vRealize Operations for Horizon Adapter 6.2. This means that the Adapter cannot communicate with older Desktop Agents running with TLS 1.0 . For example, vRealize Operations for Horizon Desktop Agent 6.1. VDI Pools/RDS Pools/Apps running with older desktop agents will not be monitored by default. To monitor pools running with older Desktop agents, administrators have to log on the vRealize Operations Manager collector node and explicitly add enforcesslprotocols =false to /usr/lib/vmware-vcops/user/plugins/inbound/V4V_adapter3/work/msgserver.properties file. Horizon Adapter instance has to be restarted. Broker Agent and Horizon Adapter instance pairing may be required.

What to do next

Install the vRealize Operations for Horizon broker agent. See Install the vRealize Operations for Horizon Broker Agent.