By default, View Connection Server uses the current session count and limit to balance the placement of new application sessions on RDS hosts. You can override this default behavior and control the placement of new application sessions by writing and configuring load balancing scripts.

A load balancing script returns a load value. The load value can be based on any host metric, such as CPU utilization or memory utilization. View Agent maps the load value to a load preference, and reports the load preference to View Connection Server. View Connection Server uses reported load preferences to determine where to place new application sessions.

You can write your own load balancing scripts, or you can use one of the sample load balancing scripts provided with View Agent.

Configuring load balancing scripts involves enabling the VMware Horizon View Script Host service and setting a registry key on each RDS host in a farm.