Terminal Services na Empresa Parte 2 André Luiz Mattos Oliveira MCT+MCSE+MCSA:Messaging
Pré-requisitos Conhecimento básico de Active Directory® Conhecimento básico de SMS Familiaridade com Terminal Services Familiaridade com Remote Desktop Connection e controle ActiveX®
Agenda Overview no Terminal Services /Dúvidas/Complementando Parte 1 Distribuição Manual Distribuição usando Intellimirror® Distribuição usando SMS 2003 Distribuição usando a Web Revisão no cliente de Terminal Services
O que é Terminal Services? Client Host
O que é Terminal Services? RDP 5.2 TCP/IP Client Host
O que é Terminal Services? RDP 5.2 TCP/IP Client Host
O que é Terminal Services? RDP 5.2 TCP/IP Windows® Server™ 2003 Terminal Server Client
Dúvidas Parte 1 Restrição de Software por Política: http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/rstrplcy.mspx Drivers Carregados: Termdd.sys General terminal server driver Rdpcdd.sys RDP Miniport Rdpdr.sys RDP device redirection Rdpwd.sys RDP stack driver for TCP/IP Serviços para cada Sessão Winlogon.exe Csrss.exe Explorer.exe
Dúvidas Parte 1 Arquitetura
Dúvidas Parte 1 Seleção do Hardware Atenção Especial ao processador 128 a 256 Mb RAM no servidor (sem as aplicações) Sistemas de Alta performance de disco Memória Adicional = Nr usuários light x (10 MB + 10 MB ) +Nr usuários médios x (20 MB + 10 MB) +Nr usuários pesados x (30 MB + 10 MB) Performance: http://support.microsoft.com/kb/555741/en-us Special attention should be paid to processor capacity. It needs to be as high as possible to accommodate the simultaneous start of multiple applications at peak times (for example, when many users start working) The server needs to have a high-performance hard drive subsystem (if applicable, a hardware RAID system via SCSI bus). Alternatively, you could also use Storage Area Networks with corresponding adapter cards for terminal servers.
Dúvidas Parte 1 Uso de Banda de rede normalmente uma Placa 100 mbit/s é suficiente até 50 usuários interativos no servidor Telas Animadas precisam de mais tráfego de rede Usa uma largura de banda de rede 20 (Kbps), mais eficiente em 50 Kbps por usuário. Se tiver banda o RDP pode usar mais de 500 Kbps Servidor deve ser livre de qualquer aplicação /periférico/serviços desnecessários Aplicações BACKOFFICE / Desktop juntas ? The speed and capacity of the network connection depends on the potential number of users. The network connection should support a continuous data stream of 50 to 100 KBit/s per user to the clients. In the direction of the file servers, a network adapter with at least 100 MBit/s is required. In many switch- based environments, one network adapter per server with a throughput of 100 MBit/s is usually sufficient. However, no more than 50 users should work interactively on each server It is recommended that the server be “free” of all components that are not needed for productive operation. For example, this would include audio cards or peripheral devices that might produce unwanted side effects when deployed.
Dúvidas Parte 1 Balanceamento de carga
Distribuição Manual Apenas coloque o cliente num compartilhamento ou cd Pro: Simples e Fácil Con: Nenhum controle sobre a implementação
O que é Intellimirror?
O que é Intellimirror?
Distribuindo usando Intellimirror Implemente para um domínio ou Organizational Unit (OU). Pro: Relativamente simples Con: Falta o controle total sobre a implementação
Distribuindo usando Intellimirror Localizando o arquivo de instalação Pasta: %SYSTEMROOT%\system32\clients\tsclient\win32
Distribuindo usando Intellimirror Compartilhando uma pasta para distribuição
Distribuindo usando Intellimirror Criando uma GPO para uma OU
Distribuindo usando Intellimirror Configurando a diretiva Para instalação
Distribuindo usando Intellimirror Configurando a diretiva Para instalação
Distribuindo usando Intellimirror Outras configurações
O que é SMS? Management Point Server Locator Point Site Server SMS Site Database Management Point Server Locator Point Site Server Reporting Point Distribution Point Client Access Point
Distribuindo com SMS Instalar SMS 2003 e implementar o cliente no site Pro: Controle total sobre a implementação Con: A necessidade de ter o SMS http://www.microsoft.com/technet/sms/2003/library/deployoffice2003_sms2003_3.mspx
Distribuindo com SMS Create the administrative installation point. Create SMS software distribution objects. Import the package definition file and create the TSCLIENT package. Assign distribution points to the TSCLIENT package. Create the collections. Check the progress of your installation. Monitor the installation using SMS reports. Conduct inventory and reporting of the TSCLIENT installations. Run a query to confirm that TSCLIENTwas successfully deployed.
Distribuindo usando seu servidor WEB Instale o Web client no seu Web server e os clientes que visitarem a página podem baixar o controle ActiveX. Pro: Fácil implementação Con: Os clientes tem apenas o controle ActiveX ao invéz do programa completo
Distribuindo usando seu servidor WEB Adicionar e remover Componentes do Windows
Distribuindo usando seu servidor WEB Usando o I.E. para conectar ao servidor de terminal http://servidor/tsweb
Distribuindo usando seu servidor WEB Site TSWEB criado no IIS
Resumo Voce pode achar o remote desktop client aqui: %SYSTEMROOT%\system32\clients\tsclient\win32 Remote Desktop Web Connection: http://www.microsoft.com/terminalservices ou adicionar e remover programa do windows. Voce tem muitas opções para implementar os clientes de terminal.
Mstsc.exe sintaxe de comando Mstsc File /v:Server[Port] /console /f /w:Width /h:Height /edit /migrate File Specifies the RDP file name for connecting /v:Server[Port] Specifies the DNS name or IP address of the server to which you want to connect. You can enter the desired port here. /console Connects to the console session of the terminal server /f Starts the client in full-screen mode /w:Width Specifies the width of the remote desktop in pixels /h:Height Specifies the height of the remote desktop in pixels /edit Opens the RDP files specified for editing /migrate Transfers the configuration files generated under Windows 2000 using
Abrindo Um arquivo .rdp screen mode id:i:2 desktopwidth:i:1024 desktopheight:i:768 session bpp:i:16 winposstr:s:0,1,0,0,800,600 full address:s:servidor 1 compression:i:1 keyboardhook:i:2 audiomode:i:0 redirectdrives:i:1 redirectprinters:i:1 redirectcomports:i:1 redirectsmartcards:i:1 displayconnectionbar:i:1 autoreconnection enabled:i:1 username:s:test domain:s:empresa.com alternate shell:s:C:\Windows\system32\notepad.exe shell working directory:s:C:\Documents and Settings\tritsch\My Documents disable wallpaper:i:1 disable full window drag:i:1 disable menu anims:i:1 disable themes:i:0 disable cursor setting:i:0 bitmapcachepersistenable:i:1
Revisão no cliente Variáveis de Ambiente %AllUsersProfile% includes the path to the generally valid “All users” profile. %AppData% includes the userspecific path to the application data. %ClientName% Name of the client; %ComputerName%: Name of the computer onto which the user is logged on interactively. %HomeDrive% Drive letter of a user’s individual home directory. %HomePath% The complete path to the user’s individual home directory. %LogonServer% The server responsible for the user’s authentication. %OS% ID of the operating system %SessionName% Name of the user session on the terminal server. %SystemDrive% Drive letter of the folder containing the operating system. %SystemRoot% The directory containing the operating system. %Temp% and %Tmp% Path to the user-specific temporary folder. %UserDNSDomain% DNS name of the domain where the user account is located. %UserDomain% The domain where the user account is located. %UserName% Name of the current user. %UserProfile% Complete path to the profile of the current user. %WinDir% Path for access to .ini files.
Revisão no cliente Alterando a Prioridade no processo
Revisão no cliente Mudando a porta padrão (Não Funciona com o ActiveX) HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp Ache a subkey PortNumber“ e veja o valor 00000D3D, hex (3389). Modifique o numero da porta em Hexadecimal e salve http://support.microsoft.com/default.aspx?scid=kb;en-us;q187623
Mais Informações Microsoft terminal services Website http://www.microsoft.com/terminalservices
Seu potencial. Nossa inspiração.MR © 2006 Microsoft Corporation. Todos os direitos reservados. O propósito desta apresentação é apenas informativa. Microsoft não faz nenhuma garantia expressa ou implícita nesta apresentação. Seu potencial. Nossa inspiração.MR