Terminal Sunucu RDS 2008 R2 SP1


Terminal Server planlamasında dikkat edilecek unsurlar ve adım adım anlatımı:

“Infrastructure Planning and Design Windows Server® 2008 R2 Remote Desktop Services”  dökümanını MS websitesinden download edip mutlaka okumanız tavsiye ediyorum.

Terminal Services License Server’s:

Planlamada mutlaka Lisans sunucusunun hata toleranzını düşünerek planlamak gereklidir. Lisans sunucusu çalışmadığı durumda yeni kullanıcılar yada lisansı biten kullanıcılar bağlanamıyacaktır. Bu durumda tavsiyem 2 lisans sunucusu kurmak olacaktır. Lisans sunucusu cluster uyumlu değildir, “High Availibility” açısından mutlaka 2. bir sunucu kurulması gereklidir.

Elimizde 100 lisans varsa bu lisansları 50:50 bölüp her iki sunucuya yüklenmesini tavsiye edebilirim.

Lisans sucusu ve lisanlar nasıl yüklenir, adım adım anlatımını aşağıda bulabilirsiniz:

Deploying Remote Desktop Licensing Step-by-Step Guide

http://www.microsoft.com/download/en/confirmation.aspx?id=10612

Step 2: Activating the Remote Desktop License Server

Step 3: Installing Remote Desktop Services Client Access Licenses (RDS CALs) on the Remote Desktop License Server

Faydalı Bilgiler:

Uninstall CALs from a License Keypack. This script uninstalls a specified number of CALs from a given license keypack

http://gallery.technet.microsoft.com/scriptcenter/5d55594d-0916-4989-a314-eec132ceccb2

“Per User CAL Report” nasıl yaratırız:

http://gallery.technet.microsoft.com/scriptcenter/9739eaee-fb8a-4cb8-8456-7f138d175934

Sık rastlanan hatalar:

http://technet.microsoft.com/en-us/library/cc775179(WS.10).aspx

 

Remote Desktop Connection Broker

High Availability açısında clustered bir Remote Desktop Connection Broker servisini kurmakta fayda vardır. Failover anında yaklaşık 2 dakika sürebilir tüm kullanıcı bilgileri tekrar RDS sunucularından toplanması. (Connection Broker veritabanı local de olduğu için bildiğimiz cluster mantığından farklı çalışıyor. Failover durumunda aktiv olan Connection Broker sunucusu tüm RDS sunuculardan kullanıcı bilgilerini tekrar toplar)

Deploying Remote Desktop Connection Broker with High Availability Step-by-Step Guide

http://technet.microsoft.com/tr-tr/library/ff686148(en-us,WS.10).aspx

Faydalı Bilgiler:

Verify RD Connection Broker Configuration

http://gallery.technet.microsoft.com/scriptcenter/c4e9e46c-6f02-4911-b146-094b867d9dbe

Update RD Connection Broker cluster Configuration

http://gallery.technet.microsoft.com/scriptcenter/99a62b74-acec-441c-bb4d-4b524264aa93

Sık rastlanan hatalar:

http://technet.microsoft.com/en-us/library/cc775171(WS.10).aspx

 

RDS RemoteApp:

TS RemoteApp Step-by-Step Guide:

http://technet.microsoft.com/en-us/library/cc730673(WS.10).aspx


Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4820

 

User Profiles:

“User Profiles on Windows Server 2008 R2 Remote Desktop Services” dökumanı “Best Practise” tarafında kullanıcı profile yapılanması hakkında bilgileri okuyabilirsiniz. http://blogs.msdn.com/b/rds/archive/2009/06/02/user-profiles-on-windows-server-2008-r2-remote-desktop-services.aspx

 

Automatic creation of user folders for home, roaming profile and redirected folders (step by step anlatımı)

http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx

Group Policy Settings for Roaming User Profiles

http://technet.microsoft.com/en-us/library/cc758768(WS.10).aspx

Sık ratlanan hatalar:

291087 Event ID 101 and Event ID 1000 Messages May Be Displayed When Folder

http://support.microsoft.com/?id=291087

274443 How to dynamically create security-enhanced redirected folders by using

http://support.microsoft.com/?id=274443

 

RDS Printing:

Kullanılan printer sürücülerin mutlaka Terminal Services compatible olması gereklidir! Bunu Vendor Web sitesinden öğrenebilirsiniz.

Bu ama zaman zaman mümkün olmayabiliyor onun için tavsiyemiz PCL5 ve PCL6 sürücüler kullanılması yada Easy print.

 

Using Remote Desktop Easy Print in Windows 7 and Windows Server 2008 R2

http://blogs.msdn.com/b/rds/archive/2009/09/28/using-remote-desktop-easy-print-in-windows-7-and-windows-server-2008-r2.aspx

Introducing Terminal Services Easy Print: Part 1

http://blogs.msdn.com/b/rds/archive/2007/04/26/introducing-terminal-services-easy-print-part-1.aspx

Introducing Terminal Services Easy Print: Part 2

http://blogs.msdn.com/b/rds/archive/2007/05/03/introducing-terminal-services-easy-print-part-2.aspx

Introducing Terminal Services Easy Print: Part 3

http://blogs.msdn.com/b/rds/archive/2007/10/05/introducing-terminal-services-easy-print-part-3.aspx

Latest TS Webcast – Includes TS Easy Print, TS RemoteApp™, Tip and Tricks and more!

http://blogs.msdn.com/b/rds/archive/2007/07/13/latest-ts-webcast-includes-ts-easy-print-ts-remoteapp-tip-and-tricks-and-more.aspx

Info:

Best practices on deploying a Microsoft Windows Server 2008/Windows Server 2008 R2 Print Server

http://blogs.technet.com/b/yongrhee/archive/2009/09/14/best-practices-on-deploying-a-microsoft-windows-server-2008-windows-server-2008-r2-print-server.aspx

Sık ratlanan hatalar:

Remote Desktop Services Printer Redirection

http://technet.microsoft.com/en-us/library/ee890922(WS.10).aspx

 

EK Bilgiler:

Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7 (kısaca RDP 7 tavsiye ediliyor, nedenleride dokümanda belirtilmiştir)

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23236

Multimedia Redirection Improvements in Windows 7 and WS2008 R2

http://blogs.msdn.com/b/rds/archive/2009/07/24/multimedia-redirection-improvements-in-windows-7-and-ws2008-r2-part-1.aspx

Script for Win7 Clients:

Configure RemoteApp and Desktop Connection on Windows 7 Clients

http://gallery.technet.microsoft.com/scriptcenter/313a95b3-a698-4bb0-9ed6-d89a47eacc72

The Remote Desktop Load Simulation Toolset

http://www.microsoft.com/downloads/details.aspx?FamilyID=c3f5f040-ab7b-4ec6-9ed3-1698105510ad&displaylang=en

 

- Acrobat Reader

http://blog.stealthpuppy.com/deployment/deploying-adobe-reader-x/

- Adobe Flash Player

http://forums.adobe.com/message/650733#650733

-32 bit Office 2010 Standart

http://technet.microsoft.com/en-us/library/ff506201.aspx

Özellikle Outlook için: http://technet.microsoft.com/en-us/library/ff945789.aspx

- Internet Explorer

http://blogs.msdn.com/b/ie/archive/2008/03/11/ie8-and-loosely-coupled-ie-lcie.aspx

http://somesolutions.wordpress.com/2010/07/16/rds-2008-r2-and-internet-explorer-enhanced-security/

http://blogs.msdn.com/b/askie/archive/2009/03/24/using-internet-explorer-enhanced-security-configuration-on-terminal-servers.aspx

http://blogs.msdn.com/b/askie/archive/2009/03/09/opening-a-new-tab-may-launch-a-new-process-with-internet-explorer-8-0.aspx

2008 R2 Tunning dokümnındada faydalı bilgiler bulabilirsiniz.

 

Size tavsiyem sunucu üstünde test amacıyla yük bindirin ve performance açısından ölçüm yapın, bunu yapar iken mümkünse gerçek test olmasına dikkat edin. Elinizde bulunan TEST RDS Sunucusunu %100 yapılandırmasını tamamlayın (romaing, printing, application: Outlook ve IE) ve 40-60 kullanıcı seçip bu kullanıcları bu sunucuya yönlendirin ve gün boyu bu sunucu üstünde günlük işlerine yapmalarını sağlayın. Ancak bu şekilde ileriye dönük hangi sorunlar çıkabilir görebilirsiniz. Bu aşamada sunucu üstünde performance ölçümü de yapın lütfen. Ne kadar paging file gerektirir bu şekilde öğrenebiliriz, nerede daralma var ve herhangi bir sorun tespiti için önemlidir. Aşağıda size örnek counterları ekeledim.

 

Collect Perfmon

- Performance monitör ü başlatınız.

- Sol tarafta performance logs and alerts altında counter logs a tıklayınız.

- Sonra lütfen sağ tarafta boş alana  sağ-klikleyip “new log settings” i seçiniz, herhangi bir isim girebilirsiniz.

- General tab ı altında “add objects” e tıklayınız.

- Sonra highlight ettiğiniz objeler “add” e tıklayınca eklenecektir. (Objeler aşağıdadır) Son olarak “close” a tıklayın.

- Şimdi bu Objeleri görüyorsunuz:

Cache

Memory

Objects

Paging file

Physical Disk

Process

Processor

System

Thread

Server Work Queues

Server

Network Adapter

Terminal Services

Terminal Services Session

ALL Hyper-V if applicable

- Şimdi de counters penceresi altındaki objeyi seçip “add counters” a tıklayınız. Add counters penceresi altında “all counters” and “all instances” i seçin.  Bunu her bir obje için yapmanız gerekiyor.

- Aynı pencerede interval ı  10 e ve Unit i Minutes e çekiniz.

- “Log files” tab ı altında file type “binary file” olmalı

- “configure” e tıklayınız (“binary file selection” ın sağında)

- “log file size” altında “limit of” a tıklayın ve 250MB seçiniz, ok.

- “end file names with” den herhangi birşey seçebilirsiniz

-“ Start numbering at” 1 olabilir

- Lütfen kesinlikle “overwrite existing log file” tıklamayınız

- Lütfen Schedule tabına gidiniz

- Start Log, manually.

- Stop log da manually olmalı.

- “When the 250-MB log file is full” ve altında “start a new log” ları seçin

- Apply, Ok.

- Başlatmak için yaratmış olduğunuz log a sağ klikleyip start ı seçininiz.

Ölcümlerdede uç noktalar olmaması önemlidir.

 

Her kullanıcı kitlenin önemsediği durumlar vardır:

HR kullanıcısı Excel açıp içinde rahatlıkla çalışmasını ister (excel 1 GB ve daha büyük olanları görmüşümdür): Storage bağlantısı önemli.

Araştırma çalışanı: IE hızlı olmasına önem verir: Network

Normal kullanıcı: IE ve Audio/Visual : Sunucu performancı /Memory /Network, Video streaming gerçek gereklimir? Visual effect (Audio/video) tek sunucu üstünde performance açısında yoğunluk yaratmaz ayrıca network tarafında sıkıntı yaratabilir.

Kullanıcıların bağlantı hızı nedir? Tüm kullanıclar aynı yerden gelmiyebilir: VPN/128/256 Kbits bağlantı olabilir.

Örnek fikir: acaba HR kullanıcılarını farklı single bir TS alınsamı?

Application tarafında RDS uyumluluğu önemli. Bu programlar RDS üzerinde ne kadar sorun yaratır bakmak gereklidir. Bunun için RD App analyzer programı mevcuttur:

https://connect.microsoft.com/tsappcompat/Downloads/DownloadDetails.aspx?DownloadID=29169

 

Storage tarafıda artık RDS üzerinde çok önem kazandı. Mutlaka büyük cevrelerde storage kullanılsın. Performance sorunların %60 storage olmadığından kaynaklanıyor.

 

 

Recommended Updates for Remote Desktop Services (Terminal Services) in Windows Server 2008 R2

2582172               Remote desktop is not displayed in Full-Screen mode when the screen resolution is 1366× 768 pixels in Windows 7 or in Windows Server 2008 R2

2580346               Some pop-up windows of a Remote Desktop Services (Terminal Services) RemoteApp application might be hidden in Windows 7 or in Windows Server 2008 R2

2579381               A remote desktop session does not respond to keyboard input or mouse input after it loses the focus in Windows 7 or in Windows Server 2008 R2

2575946               "Limit the size of the entire roaming user profile cache" Group Policy setting does not work in Windows Server 2008 R2

2568409               You cannot run an application desktop toolbar as a RemoteApp in Windows Server 2008 R2

2548538               Smart card authentication does not work when you use VDI and RD Gateway for RDC client in Windows 7 or in Windows Server 2008 R2

2545735               "The home folder could not be created" error when an administrator tries to set Remote Desktop Services Home Folder for a user account in Windows 7 or in Windows Server 2008 R2

2538047               Audio capture redirection feature does not work after a second remote desktop connection is created in Windows Server 2008 R2

2536989               Single Sign-On (SSO) feature does not work after you enable the RemoteFX feature in Windows Server 2008 R2

2536840               IP addresses that are used for reconnection are not listed completely in the RD Connection Broker setting in Windows Server 2008 R2 or in Windows 7

2526629               The logon message is not displayed correctly when you connect to a RemoteApp application from a computer that has multiple monitors and that is running Windows 7 or Windows Server 2008 R2

2525608               The "RemoteApp and Desktop Connection Management" service cannot start on a computer that is in a disjointed namespace and that is running Windows Server 2008 R2

2525246               "0x0000003B" Stop error when you remotely control a Remote Desktop session in Windows Server 2008 R2

2524668               The single sign-on feature does not work in Windows 7 or in Windows Server 2008 R2 when you try to start a full remote desktop connection through RD Web Access

2522762               RemoteApp application does not work correctly from RD Web Access in Windows 7 or in Windows Server 2008 R2

2522743               You cannot use a calendar control in a RemoteApp application when you use the RDC 7.0 client to connect to the RemoteApp application from a computer that is running Windows 7 or Windows Server 2008 R2

2521923               A program that requires you to use a smart card stops responding in a remote desktop connection in Windows Server 2008, in Windows Vista, in Windows 7 or in Windows Server 2008 R2

2519550               An incorrect program icon appears on the task bar in a remote desktop session that is running in Windows 7 or in Windows Server 2008 R2

2497787               The Remote Desktop Gateway service crashes under a heavy workload in Windows Server 2008 R2

2479710               Remote Desktop service crashes when Group Policy settings are refreshed in Windows Server 2008 R2 after you enable the "Required secure RPC communication" and "Set client connection encryption level" Group Policy settings

2446026               An application that uses the Remote Desktop Connection ActiveX control to provide virtualized sessions crashes in Windows Server 2008 R2 or in Windows 7

2431799               Stop error 0x0000007E occurs when multiple users establish Remote Desktop Services sessions to a Windows Server 2008 R2-based computer

2424375               A remote desktop session may be incorrectly disconnected when a smart card is removed in another remote desktop session in Windows Server 2008 R2

2415644               "Could not find destination computer" error when you connect an assigned VDI desktop that is deployed through Remote Desktop Connection Broker in Windows Server 2008 R2

2411758               Error message when you create network printers on a Remote Desktop Session Host server that is running Windows Server 2008 R2: "ERROR_UNKNOWN_PORT"

2388381               You cannot start a RemoteAPP program that is hosted on a Windows XP SP3 virtual machine through Terminal Services Web Access or Remote Desktop Web Access in Windows Server 2008 R2, in Windows 7 or in Windows Vista

2384602               The pop-up windows of a RemoteApp program may be hidden in Windows Server 2008 R2 and in Windows 7

2383928               Remote desktop sessions do not completely exit, and you cannot establish new remote desktop sessions to a computer that is running Windows Server 2008 R2

2381675               The RemoteApp program is not terminated after the idle session time limit expires on a computer that is running Windows Server 2008

2301288               A Remote Desktop Services session is disconnected automatically if you apply the "Interactive logon: smart card removal behavior" Group Policy setting in Windows Server 2008 R2 or in Windows 7

2287493               The RemoteApp program is not terminated after the idle session time limit expires on a computer that is running Windows Server 2008 R2

2273487               Error message when you shadow a remote desktop service session in Windows Server 2008 R2 or in Windows 7: "Because of a protocol error, this session will be disconnected. Please try connecting to the remote computer again."

2203302               An RDP connection that uses SSL authentication and CredSSP protocol fails in Windows 7, in Windows Server 2008 R2, in Windows Vista and in Windows Server 2008

2096902               Virtual machines in a VDI environment are not rolled back as expected if the disconnected Remote Desktop connections on the virtual machines are stopped by Group Policy

2021885               Terminal Server License Server/Remote Desktop License Server Only Issuing Temporary Licenses and Event ID 17 Logged

983533                 The pop-up windows are hidden and the TS RemoteApp application stops responding in Windows Vista, in Windows 7, in Windows Server 2008, and in Windows Server 2008 R2

983385                 Event ID 17 is logged in the System log on a TS Licensing server or on a RD Licensing server in Windows Server 2003 SP2, in Windows Server 2008, or in Windows Server 2008 R2

982303                 Terminal Services performance counters report an incorrect number of sessions when a heavy load situation occurs in Windows Server 2008 R2 or in Windows Server 2008

981871                 You cannot print to multiple trays in a Remote Desktop session in Windows Server 2008 R2

981156                 RemoteApp applications are displayed as black windows when you restart the applications in a Remote desktop connection in Windows Server 2008 R2

981054                 The Group Policy preference settings for the "Terminal Session" item-level targeting item are not applied in Windows 7 or in Windows Server 2008 R2

980933                 The Licensing Diagnosis tool returns a value of “0” for the number of RDS CALs that are available in Windows Server 2008 R2

980909                 The home folder could not be created" remote desktop error in Windows Server 2008 R2

979548                 You cannot enter an agreement number of a volume license that contains more than seven digits in Remote Desktop Licensing Manager or in TS Licensing Manager

979530                 A Windows Server 2008 R2-based Remote Desktop server denies some connection requests randomly under heavy logon or logoff conditions

979470                 Remote Desktop Services does not prevent a console session from being disconnected in Windows Server 2008 R2

979443                 You do not receive a warning message when a remote desktop connection fails from a Windows 7 or Windows Server 2008 R2-based computer

979425                 A combo box item in a RemoteApp application is updated incorrectly when you connect by using Remote Desktop Connection (RDC) 7.0

978918                 Error code when an application uses the CredSSP in Windows Server 2008 R2: "0x80090329"

977608                 A RemoteApp program does not show the saved user name when you start the program on a computer that is running Windows 7 or Windows Server 2008 R2

976484                 You have problems when you try to connect to the Remote Desktop Gateway (RD Gateway) that is hosted on a computer that is running Windows Server 2008 R2

976036                 The logon and logoff scripts do not run in Windows Server 2008 R2 or Windows Server 2008 if you use the same user account to create another RDC session

971338                 The terminal server roaming profile of a user account is not loaded correctly on a terminal server that is running Windows Server 2008 R2 or Windows Server 2008 after the user password is changed during session logon

969851                 Instead of the specified startup program, the whole desktop is started on a remote desktop connection when you change the "Terminal Services Profile" setting for the user account

968074                 An update is available that enables the Terminal Services license servers that are running Windows Server 2008 to be able to use the CALs for the Windows Server 2008 R2 Remote Desktop Services

Güncellemeler değişebilir, ondan aşağıdaki web site üzerinden takip edebilirsiniz:

http://support.microsoft.com/kb/2312539

 

Source: http://blogs.msdn.com/b/scstr/

Source: http://www.mycloud-tr.com/

İsmail Şen

Comments (0)

Skip to main content