You are on page 1of 26

ES22

Extending Terminal Services And Hyper-V VDI In Windows 7


Christa Anderson
Program Manager II Microsoft Niraj Corporation

Agarwala

Se nio rT stLe ad e

Agenda
l What

is presentation virtualization and why should you care? l Goals for presentation virtualization and VDI in Windows 7 l Customizing the presentation virtualization platform
l l l l

Customizing the user interface Adding new content to the workspace Extending connection brokering Adding functionality to the session management UI

What Is Presentation Virtualization?


Why should you care? l Runs an application or desktop on one computer and presents it on another l Virtualizing presentation can
l l l l

Enable telecommuting and mobile workers Speed some application performance Reduce application management costs

What Is Virtual Desktop Infrastructure?


l VDI

enables a centralized desktop strategy


l

Gives users a personalized or temporary full desktop Lets administrators store and maintain user work areas in the data center Presents UI via a remote display protocol such as RDP

T erminal Server
The terminal server runs applications locally and displays them on the client computer via display protocol. Each user has a separate session independent of other users. TerminalServer

TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

T erminal Services Virtualization


The TS Virtualization server hosts the virtual desktops using Hyper-V.
TerminalServer TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

T erminal Server Web Access


The TS Web Access server displays remote resources (VDI and TS) in a Web browser.
TerminalServer TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

T erminal Services Session Broker


TS Session Broker sends incoming connection requests to the right endpoint, depending on load balancing rules, current connections, and the desired endpoint. The TS Session Broker TerminalServer also runs the publishing service to aggregate the remote resources.

TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

T erminal Services Gateway


The TS Gateway server provides secure remote access to the network from the Internet.
TerminalServer TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

T erminal Serivices Licensing


The TS Licensing Server manages distribution and tracking of the TSCALs required to access remote resources.
TerminalServer TSLicensing

TSWebAccess

SessionBroker

RDP TSGateway

TSV

Client

Goals Of Presentation
Virtualization In Win7
l Support

VDI l Provide unified user experience and management model l Provide API for partners to extend the model
l l l l l

both Terminal Services and

Change the look and feel of the user workspace Add additional resources to user workspace Enhance connection brokering logic Add new functionality to the management UI

Displaying Remote Resources

WindowsVista TSWebAccess

RemoteApp RemoteApp RemoteApp RemoteApp Plug-in


TerminalServer

Feed

WindowsXP

Publishing Service
Plug-in VM VM VM VM

Workspaces
SessionBroker TSV

Win7Client

Customizing The User Interface


l You

can customize the standard look and feel for remote resource presentation in various ways, including
l l l l

Visually sorting RemoteApp and virtual desktop icons Branding for your customers Filtering resource display Creating a Silverlight-based UI

demo
Customizing The User Interface
Niraj Agarwala
Senior Test Lead PHDV

Adding New Content


l Out

of the box, the workspace delivers RemoteApps and VDI desktops. You could extend this to include
l l l

App-V applications streamed to the client Resources delivered using additional protocols Connections to physical desktops

demo
Adding New Content T The Workspace o
Niraj Agarwala
Senior Test Lead PHDV

Connection Brokering In Windows 7


l Connection

brokering was introduced in Windows Server 2008


l l

l Connection

Brokered connections to terminal servers Supported extensibility API for replacing connection brokering logic

in Win7
l l

Brokering is enhanced

Brokers connections to both terminal servers and VMs Adds new extensibility to enhance brokering logic, not replace it

Connection Brokering Architecture


S e ssi n B ro ke r o
2.Get Target
3 .P r Star epare/ t VM

TS

4.Return Target

H yp e r-V TSV TT S V SV VM
to VM

T S R e d i cto r re
1.Connect 5.Redirect To VM

C le n t i

n Co 6.

t ec n

H yp e r-V TT S V SV TSV VM

Session Management T ools


l Terminal

Services Manager shows current sessions on terminal server


l l l

View process and user information Interact with user sessions Uses WTS API

T ypical Connection Management Sequence


1. Get handle to the remote server

2. Use the handle to the server to enumerate its sessions and name, ID and state of each

WTSOpenServer

3. Query information about specific sessions through the session ID

WTSEnumerateSessions

4. Use the session ID to take actions on specific sessions, for example:


WTSQuerySessionInformation WTSDisconnectSession WTSLogoffSession WTSSendMessage

Extending Session Management


l Using

the new extended API you can manage virtual machine connections as well
l l l l

Typical connection sequence does not change Uses extended APIs to include virtual machine connection data Organizes connections so that both VM and session can be identified New APIs map closely to existing ones
l l l l

WTSOpenServerEx WTSEnumerateSessionsEx WTSShutdownSystemEx

Additional Resources
l l l l

Terminal Server Home Page


l l l

Terminal Services Team Blog


http://blogs.msdn.com/ts/

http://www.microsoft.com/windowsserver2008/e

Terminal Services Newsgroup Terminal Services Development Documentation


l

http://www.microsoft.com/technet/archive/comm

http://msdn.microsoft.com/en-us/library/aa3834

Evals & Recordings

l il e a se f Pl t you r ou o l a ti n va u e s fo r th i a t: on se ssi

T h i se s ssi on w il b e l a v a ia b l l a e s a re c o r di g n a t:

w w w . m i so ftp d c . co m cro

QA
&

Please use the microphones provided

2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

You might also like