- Microsoft terminal server load balancing full#
- Microsoft terminal server load balancing series#
- Microsoft terminal server load balancing windows#
Installation of the TS Session Broker role service installs and starts the TS Session Broker service (
Microsoft terminal server load balancing windows#
As with the Session Directory service on Windows Server 2003, TS Session Broker stores session state information that includes Session ID's and their associated user names, as well as the name of the server where each session resides. Terminal Server Session Broker (TS Session Broker) is a role service in Windows Server 2008 that allows a user to reconnect to an existing session in a load-balanced Terminal Server farm.
Microsoft terminal server load balancing series#
Only three more days until Launch Day! Our Windows Server 2008 series continues today with an overview of Terminal Server Session Broker. You can verify that your load balancing script is working correctly by viewing RDS farm and RDS host information in Horizon Administrator.First published on TECHNET on Feb 24, 2008 Configuring a load balancing script involves setting a registry key on the RDS host. You must configure the same load balancing script on every RDS host in the farm.
Microsoft terminal server load balancing full#
The Server Load Index can range from 0 to 100, where 0 represents no load and 100 represents full load. The Server Load Index indicates the load on the server. Horizon 7 calculates the Server Load Index based on the load balancing settings you configure in Horizon Administrator. You can configure load balancing settings in Connection Server to control the placement of published desktop and application sessions on RDS hosts. Configure Load Balancing Settings on an RDS Host in Horizon Administrator.You can use the raw performance metrics and combine these with your custom index factor for writing custom scripts. Horizon 7 calculates the raw performance metrics that are written to the Performance Stats registry key in the following location: HKLM\Sofware\VMware Inc.\VMware VDM\Performance Stats Load balancing scripts must write the load index to the CustomLoadValue registry key with the REG_DWORD registry setting in the following location: HKLM\Sofware\VMware Inc.\VMware VDM\Performance Stats\CustomLoadValue For more information on configuring load balancing scripts in Horizon 7, see Configure a Load Balancing Script on an RDS Host.Ĭonfiguring load balancing scripts involves enabling the VMware Horizon View Script Host service and setting a registry key on each RDS host in a farm. You can run these scripts on your own schedule or run these scripts with Horizon 7. To use custom load balancing scripts, you must select the Use Custom Script load balancing setting in Horizon Administrator. You can write your own custom load balancing scripts, or you can use one of the sample load balancing scripts provided with Horizon Agent. You can also override the default behavior of the load balancing settings and control the placement of new published desktop and application sessions by writing and configuring load balancing scripts. You can configure load balancing settings for a farm in Horizon Administrator to control the placement of published desktop and application sessions.
Load Balancing Settings in Horizon Administrator
If the maximum session count is configured as unlimited, load balancing falls back to using the absolute number of the total session count which includes connected, pending and disconnected sessions.
You can configure load balancing for RDS hosts by configuring load balancing settings in Horizon Administrator or by creating and configuring load balancing scripts.īy default, Connection Server uses the following formula to balance the placement of published desktop and application sessions on RDS hosts: (connected sessions + pending sessions + disconnected sessions)/(maximum session count)