Administration

Table Of Contents
Enable the VMware Horizon View Script Host Service on an RDS Host
You must enable the VMware Horizon View Script Host service on an RDS host before you configure a load
balancing script. The VMware Horizon View Script Host service is disabled by default.
Procedure
1 Log in to the RDS host as an administrator.
2 Start Server Manager.
3 Select Tools > Services and navigate to the VMware Horizon View Script Host service.
4 Right-click VMware Horizon View Script Host and select Properties.
5 In the Properties dialog box, select Automatic from the Startup type drop-down menu and click OK to
save your changes.
6 Right-click VMware Horizon View Script Host and select Start to start the VMware Horizon View
Script Host service.
The VMware Horizon View Script Host service restarts automatically each time the RDS host starts.
What to do next
Configure your load balancing script on each RDS host in the farm. See “Configure a Load Balancing Script
on an RDS Host,” on page 167.
Configure a Load Balancing Script on an RDS Host
You must configure the same load balancing script on every RDS host in the farm. Configuring a load
balancing script involves setting a registry key on the RDS host.
IMPORTANT You must configure the load balancing script on all of the RDS hosts in a farm or on none of the
RDS hosts in a farm. If you configure a load balancing script on only some of the RDS hosts in a farm, View
Administrator sets the health of the farm to yellow.
Prerequisites
n
Write a load balancing script and copy the same script to the View Agent scripts directory on each
RDS host in the farm. See “Writing a Load Balancing Script for an RDS Host,” on page 166.
n
Enable the VMware Horizon View Script Host service on the RDS host. See “Enable the VMware
Horizon View Script Host Service on an RDS Host,” on page 167
Procedure
1 Log in to the RDS host as an administrator.
2 Start Server Manager.
3 Select Tools > System Configuration, click the Tools tab, and launch the Registry Editor.
4 In the registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\ScriptEvents.
5 In the navigation area, select the RdshLoad key.
The values for the RdshLoad key, if any, appear in the topic area (the right pane).
6 Right-click in the topic area for the RdshLoad key, select New > String Value, and create a new string
value.
As a best practice, use a name that represents the load balancing script to be run, for example,
cpuutilisationScript for the cpuutilisation.vbs script.
Chapter 9 Managing Application Pools, Farms, and RDS Hosts
VMware, Inc. 167