Partager via


Event ID 1002 — Joining TS Session Broker

Applies To: Windows Server 2008

Terminal Services Session Broker (TS Session Broker) is a Terminal Services role service in Windows Server 2008 that supports session load balancing between terminal servers in a farm, and reconnection to an existing session in a load-balanced terminal server farm.

In order for the terminal server to join a farm in TS Session Broker, the terminal server must be able to communicate with the TS Session Broker server across the network. In addition, the computer account for the terminal server must be a member of the Session Directory Computers local group on the TS Session Broker server.

Note:  TS Session Broker was formerly called Terminal Services Session Directory.

Event Details

Product: Windows Operating System
ID: 1002
Source: Microsoft-Windows-TerminalServices-SessionBroker-Client
Version: 6.0
Symbolic Name: EVENT_SESSIONDIRECTORY_UNAVAILABLE
Message: The Terminal Services Session Broker service on server %1 is not available.

Resolve

Start the Terminal Services Session Broker service and try to join TS Session Broker again

To resolve this issue, do the following:

  • Start the Terminal Services Session Broker service on the TS Session Broker server.
  • Try to join the terminal server to a farm in TS Session Broker again.

To perform these tasks, refer to the following sections.

Start the Terminal Services Session Broker service on the TS Session Broker server

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To start the service:

  1. On the TS Session Broker server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the Services pane, right-click Terminal Services Session Broker, and then click Properties.
  4. On the General tab, ensure that Startup type is set to Automatic. If it is not, click Automatic, and then click Apply.
  5. Under Service status, click Start.
  6. Click OK to close the Terminal Services Session Broker Properties dialog box.
  7. Confirm that the Status column for the Terminal Services Session Broker service displays Started.

Try to join the terminal server to a farm in TS Session Broker again

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To join the terminal server to a farm in TS Session Broker:

  1. On the terminal server, open Terminal Services Configuration. To open Terminal Services Configuration, click Start, point to Administrative Tools, point to Terminal Services, and then click Terminal Services Configuration.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Under TS Session Broker, double-click Member of farm in TS Session Broker.
  4. On the TS Session Broker tab, do the following:
    • Under TS Session Broker server name or IP address, enter the computer name or IP address of the TS Session Broker server.
    • Under Farm name in TS Session Broker, enter the name of the farm to join.
  5. Click OK to close the Properties dialog box.

Verify

To verify that the terminal server has successfully joined a farm in TS Session Broker, use either of the following methods:

Method one

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

  1. On the terminal server, open Event Viewer. To open Event Viewer, click Start, point to Administrative Tools, and then click Event Viewer.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the left pane, expand Windows Logs, and then click System.
  4. Look for an event with a Source of TerminalServices-SessionBroker-Client and an Event ID of 1005. This event indicates that the terminal server has successfully joined a farm in TS Session Broker.

Method two

  1. On the terminal server that has been joined to a farm in TS Session Broker, start a new Terminal Services session.
  2. After the session is established, disconnect the session.
  3. On a different terminal server, but one that is also a member of the same farm in TS Session Broker, try to reconnect to your existing session. If you are able to reconnect to the existing session, the terminal server is successfully joined to a farm in TS Session Broker.

Joining TS Session Broker

Terminal Services