This step-by-step guide provides instructions for configuring Network Load Balancing (NLB) with Terminal Services.
Using NLB with Terminal Services offers the benefits of increased availability, scalability, and load-balancing performance, as well as the ability to distribute a large number of Terminal Services clients over a group of terminal servers.
NLB with Terminal Services overview
NLB distributes traffic across several servers by using the TCP/IP networking protocol. You can use NLB with a terminal server farm to scale the performance of a single terminal server by distributing sessions across multiple servers.
Terminal Services Session Broker (TS Session Broker), included in Windows Server® 2008 Standard, Windows Server 2008 Enterprise, and Windows Server 2008 Datacenter, keeps track of disconnected sessions on the terminal server farm, and ensures that users are reconnected to those sessions. Additionally, TS Session Broker enables you to load balance sessions between terminal servers in a farm. This functionality is provided by the TS Session Broker Load Balancing feature. However, this session-based load balancing feature requires a front-end load balancing mechanism to distribute the initial connection requests to the terminal server farm. You can use a load balancing mechanism such as DNS round robin, NLB or a hardware load balancer to distribute the initial connection requests. By deploying NLB together with TS Session Broker Load Balancing, you can take advantage of both the network-based load balancing and failed server detection of NLB, and the session-based load balancing and per server limit on the number of pending logon requests that is available with TS Session Broker Load Balancing.
When deploying a terminal server farm by using NLB, each server needs to serve all users. To facilitate this, you must store per-user information, system information, and common data in an accessible place, such as a back-end file server.
Terminal Services components
Terminal Services has two components that are important for establishing load balancing: the Terminal Services Session Broker service and the Terminal Services Configuration snap-in.
Terminal Services Session Broker service
This service maintains a database that keeps track of terminal server sessions in a load-balanced terminal server farm and provides information to the terminal server, which is used to connect users to existing sessions.
When the Terminal Services Session Broker service starts, it creates the Session Directory Computers local group. By default, this group is not populated. You must choose the individual terminal servers or groups that you want to participate in the Terminal Services Session Broker service, and then manually change group memberships to the Session Directory Computers group.
The Terminal Services Session Broker service starts automatically after you install the TS Session Broker role service on the server that you want to use to track user session information for a load-balanced terminal server farm. You can use a single TS Session Broker server to track user sessions across multiple farms because there is minimal performance overhead.
When you install the TS Session Broker role service, the following changes occur on the local computer:
| • | The Terminal Services Session Broker service is installed. By default, the service is set to Started and to Automatic. |
| • | The Session Directory Computers local group is created. |
Installation prerequisites
| • | The server where you install the TS Session Broker role service must be a member of a domain. |
| • | The Windows Server 2008-based server where you install the TS Session Broker role service does not have to be a terminal server or have Remote Desktop enabled. |
|
Installation procedure
If you do not have any of the Terminal Services role services installed, use the following procedure to install the TS Session Broker role service.
| To install the TS Session Broker role service |
Terminal Services Configuration snap-in
This snap-in is included on each terminal server. Terminal servers that comprise the terminal server farm communicate with TS Session Broker to ensure that users are transparently reconnected to the original server hosting their disconnected sessions. The process is:
| 1. | When the user logs on to the terminal server farm, the terminal server receiving the initial client logon request sends a query to the TS Session Broker server. |
| • | If the user has no disconnected sessions, logon continues at the server hosting the initial connection. |
| • | If the user has a disconnected session on another server, the client session is passed to that server and logon continues. |
Requirements for using NLB with a terminal server
To use NLB, a computer must have:
| • | At least one network adapter for load balancing. |
| • | Only TCP/IP used on the adapter for which NLB is enabled. Do not add any other protocols (for example, IPX) to this adapter. |
| • | All hosts in the NLB cluster must reside on the same subnet. |
| • | Ensure that the cluster’s clients are able to access this subnet. |
| • | All terminal servers in the terminal server farm should be joined to the same domain. |
Steps for configuring NLB with Terminal Services
To configure NLB with Terminal Services, complete the following steps:
Step 1: Set up a terminal server farm with TS Session Broker.
Step 2: Install NLB.
Step 3: Create an NLB cluster.
Step 1: Set up a terminal server farm with TS Session Broker
For a terminal server to use TS Session Broker, you must add the computer account for the terminal server to the Session Directory Computers local group on the TS Session Broker server.
|
| To add a terminal server to the Session Directory Computers local group |
You can configure a terminal server to join a farm in TS Session Broker by using the Terminal Services Configuration snap-in.
|
| To configure TS Session Broker settings |
• The IP address used for reconnection must not be the same as the cluster IP address. If you select the cluster IP address, you are not assured that you will be reconnected to the same session. • Only the first selected IPv4 address will be used by clients running Remote Desktop Connection 5.2 and earlier. • Using IPv6 addresses is not recommended if the terminal server farm contains servers that are running Windows Server 2003.
Step 2: Install NLB
NLB must be installed on the network adapter that you want to use for the Remote Desktop Protocol (RDP) connection.
| To open the Add Features Wizard and install NLB |
|
Step 3: Create an NLB cluster
To configure the NLB cluster, you must configure three types of the parameters:
| 1. | Host parameters, which are specific to each host in an NLB cluster. |
|
| To create an NLB cluster |
=====================================================================
Suggestion Related Post From Visitor :
1. Printer load balancing “Windows Server”.
ThinPrint .print Application Server Engine 64bit.
Setting up a server based environment using Terminal Services is an economical and efficient alternative to decentralized IT structures. Based on the modern, highly developed transmission protocol RDP, even low bandwidth connections are adequate for central server farms to provide satellite offices with all of the applications they need, quickly and flexibly.
In this arena, .print Application Server Engine is an ideal and complete solution that covers all aspects of printing in Terminal Services environments.
Connection based bandwidth control, professional printer mapping, port pooling for printer load balancing, and support for Windows Cluster Services are just a few of the features that make .print Application Server Engine the leader in technology for printing from terminal servers.
The patented DRIVER FREE PRINTING technology in .print Application Server Engine makes server-side installation of printer drivers unnecessary while at the same time avoiding the disadvantages of a “universal” printer driver. This .print technology is complemented by a high-performance, adaptive compression, with which the individual components of a document are analyzed and compressed with the respectively best algorithm before being transmitted.
In combination with a dedicated print server, .print Application Server Engine puts the print data into the ICA or RDP virtual channel and send it directly to the client. This allows to target printers that are hiding behind a firewall or a Network Address Translation (NAT) and therefore can not be reached over TCP/IP.
Ready for 64 bit
.print Application Server Engine 64 bit enables all of the advantages of the .print technology for your 64 bit environment. Because the Application Server Engine 64 bit also ensures the use of your 32 bit printers, it minimizes the hardware investment of migration to the new Windows platform.
Your architecture must meet certain requirements to run .print Application Server Engine x64. Please ensure that the following network, server and client requirements are met.
Network
ThinPrint .print works in a network architecture. One of the following must be installed:
TCP/IP network with at least one printer, or
RDP network with at least one printer
Supported server operating systems
Windows Server 2003 x64
Minimum hardware requirements
AMD Opteron, AMD Athlon 64, Intel Xeon with Intel EM64T, Intel Pentium with Intel EM64T including:
System clock 1.4 GHz
512 MB RAM
10 MB of available hard disk space
Supported .print Clients
Windows NT/XP/2000/2003 (TCP/IP, RDP); XP: SP 1
Windows NT/XP/2000/2003 as a service (TCP/IP); XP: SP 1
Windows 9x/ME (TCP/IP, RDP)
PocketPC 2000 … 2003 (TCP/IP)
PocketPC 2003 (RDP)
Windows CE (TCP/IP, RDP)
MS-DOS (TCP/IP)
Windows 3.11, Win OS/2 (TCP/IP)
Linux, Solaris (TCP/IP)
Java (TCP/IP)
ActiveX – Windows NT /2000/XP /2003 (TCP/IP)
ActiveX – Windows 9x /ME (TCP/IP)
ActiveX – PocketPC 2000 … 2003 (TCP/IP)
2. Wait for your suggestion !.
Popularity: 82% [?]
2 Comments Already
Pingback & Trackback
Sorry the comment area are closed