MetaFrame Presentation Server Administrators Guide
MetaFrame Presentation Server Administrators Guide
Citrix MetaFrame Presentation Server 4.0 for Windows Citrix MetaFrame Access Suite
Copyright and Trademark Notice Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. Other than printing one copy for personal use, no part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Citrix Systems, Inc. Copyright 2001-2005 Citrix Systems, Inc. All rights reserved. Citrix, ICA (Independent Computing Architecture), MetaFrame, MetaFrame XP, and Program Neighborhood are registered trademarks, and SpeedScreen is a trademark of Citrix Systems, Inc. in the United States and other countries. RSA Encryption 1996-1997 RSA Security Inc., All Rights Reserved. This product includes software developed by The Apache Software Foundation (http://www.apache.org/). Trademark Acknowledgements Adobe, Acrobat, and PostScript are trademarks or registered trademarks of Adobe Systems Incorporated in the U.S. and/or other countries. Apple, LaserWriter, Mac, Macintosh, Mac OS, and Power Mac are registered trademarks or trademarks of Apple Computer Inc. DB2, Tivoli, and NetView are registered trademarks, and PowerPC is a trademark of International Business Machines Corp. in the U.S. and other countries. HP OpenView is a trademark of the Hewlett-Packard Company. Java, Sun, and SunOS are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Solaris is a registered trademark of Sun Microsystems, Inc. Sun Microsystems, Inc has not tested or approved this product. Portions of this software are based in part on the work of the Independent JPEG Group. Portions of this software contain imaging code owned and copyrighted by Pegasus Imaging Corporation, Tampa, FL. All rights reserved. Macromedia and Flash are trademarks or registered trademarks of Macromedia, Inc. in the United States and/or other countries. Microsoft, MS-DOS, Windows, Windows Media, Windows Server, Windows NT, Win32, Outlook, ActiveX, Active Directory, and DirectShow are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Netscape and Netscape Navigator are registered trademarks of Netscape Communications Corp. in the U.S. and other countries. Novell Directory Services, NDS, and NetWare are registered trademarks of Novell, Inc. in the United States and other countries. Novell Client is a trademark of Novell, Inc. RealOne is a trademark of RealNetworks, Inc. SpeechMike is a trademark of Koninklijke Philips Electronics N.V. Unicenter is a registered trademark of Computer Associates International, Inc. UNIX is a registered trademark of The Open Group. All other trademarks and registered trademarks are the property of their owners. Document Code: 2/21/05 (MM)
Go to Document Center
Contents 3
Contents
Chapter 1 Chapter 2 Welcome Designing Server Farms
Overview of Server Farms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Independent Management Architecture (IMA) . . . . . . . . . . . . . . . . . . . . . . . . . 16 Independent Computing Architecture (ICA) . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Centralizing or Distributing Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Deciding How Many Farms to Deploy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Configuring Zones and Data Collectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Zone Data Collectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Server Farm Deployment Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Small Farm Central Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Large Farm Central Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Small Farm Distributed Sites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Small Farm Remote Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Large Farm Multiple Data Centers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Large Farm Regional Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Chapter 3
Go to Document Center
Chapter 4
Chapter 5
Go to Document Center
Contents 5
Migrating to MetaFrame Presentation Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Upgrading from Versions Prior to MetaFrame XP Feature Release 3 . . . . . . 112 Migrating from MetaFrame Versions 1.0 and 1.8 . . . . . . . . . . . . . . . . . . . . . . 113 Migrating from MetaFrame XP, Feature Release 3, and MetaFrame Presentation Server 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Installing or Upgrading Individual Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Creating a Log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Using Autorun. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Using the Windows Installer Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Choosing Options during Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Installing MetaFrame Presentation Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Installing the Access Suite Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Installing the Presentation Server Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Installing the Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Installing the Document Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Installing Client Software on the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Unattended Setup of MetaFrame Presentation Server. . . . . . . . . . . . . . . . . . . . . . 140 Applying Transforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Creating an Answer File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Performing an Unattended Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Cloning Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Uninstalling MetaFrame Presentation Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Chapter 6
Go to Document Center
Management Console for the MetaFrame Access Suite . . . . . . . . . . . . . . . . . . . . 149 Users and Accounts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 The Access Suite Console User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Viewing Applications, Servers, and Zones in Multiple Farms . . . . . . . . . . . . 152 Customizing Your Displays Using My Views. . . . . . . . . . . . . . . . . . . . . . . . . 152 Managing Sessions across Multiple Farms . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Monitoring the Performance of Server Farms . . . . . . . . . . . . . . . . . . . . . . . . . 154 Troubleshooting Alerts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Creating Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Configuring Application Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Viewing Citrix Hotfix Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Starting the Access Suite Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Finding Items in Your Deployment Using Discovery . . . . . . . . . . . . . . . . . . . 156 Management Console for MetaFrame Presentation Server. . . . . . . . . . . . . . . . . . 157
Chapter 7
Chapter 8
Go to Document Center
Contents 7
Configuring ICA Connection Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Configuring Modem Callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Configuring Direct Cable Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Configuring Advanced ICA Connection Options . . . . . . . . . . . . . . . . . . . . . . 199 Restricting Connections to Published Applications. . . . . . . . . . . . . . . . . . . . . 200 Configuring ICA Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Using Shadowing to Monitor ICA Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Enabling Shadowing on a Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Configuring ICA Connections for Shadowing. . . . . . . . . . . . . . . . . . . . . . . . . 202 Configuring Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Step 1 - Configuring Audio for Published Applications . . . . . . . . . . . . . . . . . 204 Step 2 - Configuring Audio Related Policy Rules . . . . . . . . . . . . . . . . . . . . . . 204 Optimizing Session Responsiveness for Users . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 Optimizing Keyboard and Mouse Click Responsiveness . . . . . . . . . . . . . . . . 208 Optimizing Web Pages and Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Optimizing Audio and Video Playback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Optimizing Macromedia Flash Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 Optimizing Throughput of Image Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Configuring Client Device Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 Options for Client Device Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Client Drive Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Client Printer Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Client Serial Port Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Client Audio Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Granting Users Execute Permission on Mapped Client Drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Chapter 9
Go to Document Center
Deploying Client Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Using the Components CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Using the Client Packager for Client Deployment. . . . . . . . . . . . . . . . . . . . . . 228 Deploying Client Software over the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Client Deployment Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Manufacturing Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Application Service Provider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 Insurance Company . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Chapter 10
Go to Document Center
Contents 9
Removing Published Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Configuring Content Redirection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Redirecting Content from Client to Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Redirecting Content from Server to Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Publishing Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Publishing Content to be Opened with Applications Published on Servers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Publishing Content to be Opened with Applications on Local Client Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Publishing Content on Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 Setting CPU Priority Levels for Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 Assigning CPU Priority Levels to Applications . . . . . . . . . . . . . . . . . . . . . . . 268
Chapter 11
10
Go to Document Center
Controlling Use of TWAIN Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Managing CPU Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 About CPU Utilization Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Controlling CPU Utilization Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Managing Virtual Memory Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 About Memory Utilization Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Controlling Memory Utilization Management. . . . . . . . . . . . . . . . . . . . . . . . . 302 Scheduling Virtual Memory Optimization. . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Excluding Applications from Memory Optimization . . . . . . . . . . . . . . . . . . . 304 Shadowing Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Configuring User-to-User Shadowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Monitoring Performance of Sessions and Servers. . . . . . . . . . . . . . . . . . . . . . . . . 308
Chapter 12
Managing Printers
Overview of Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311 Printing in ICA Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 Printing Configuration Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 Printer Management Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 Using the Printer Management Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 Using the Servers Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Setting Up Network Printers for Client Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 Installing and Replicating Printer Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 Setting Up Automatic Replication of Printer Drivers . . . . . . . . . . . . . . . . . . . 322 Assigning Network Printers to Users through Policies . . . . . . . . . . . . . . . . . . . . . 323 Mapping Printer Drivers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Managing Drivers for Autocreated Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Configuring Autocreation of Client Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 Autocreation for DOS and Windows CE Clients. . . . . . . . . . . . . . . . . . . . . . . 325 Autocreation and Citrix Connection Configuration. . . . . . . . . . . . . . . . . . . . . 325 Overriding Default Settings for Client Printers . . . . . . . . . . . . . . . . . . . . . . . . 326 Using MetaFrame Presentation Server Universal Printing . . . . . . . . . . . . . . . . . . 328 Specifying Printer Drivers for Client Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Limiting Printing Bandwidth in Client Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . 330 Limiting Printing Bandwidth through Policies . . . . . . . . . . . . . . . . . . . . . . . . 330 Limiting Printing Bandwidth through Server Settings . . . . . . . . . . . . . . . . . . 331
Go to Document Center
Contents 11
Appendix A Appendix B
MetaFrame Presentation Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Customizing Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 Creating Transforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 Creating Administrative Installations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 Setup Property Names and Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Appendix C
Performance Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 IMA Networking Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 MetaFrame Presentation Server Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 ICA Session Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 Secure Ticket Authority (STA) Performance Counters . . . . . . . . . . . . . . . . . . . . 420
Appendix D
Go to Document Center
CHAPTER 1
Welcome
The MetaFrame Presentation Server suite of products provides integrated management capabilities for system administrators, along with ease of use and productivity enhancements for users who access applications using MetaFrame Presentation Server Clients. Important Before you install MetaFrame Presentation Server, read the Readme file, located in the Documentation directory of the product CD. For information about new and important features, see Getting Started with MetaFrame Presentation Server. Citrix provides a variety of information resources online, including a complete product documentation library, documentation updates, and technical articles on the Citrix Web site at http://www.citrix.com. This Administrators Guide is part of the MetaFrame Presentation Server documentation set. The documentation set includes online guides that correspond to different features of MetaFrame Presentation Server. Online documentation is provided as Adobe Portable Document Format (PDF) files. Use the Document Center to access the complete set of online guides. The Document Center provides a single point of access to the documentation that enables you to go straight to the section you need. The Document Center includes: A list of common tasks and a link to each item of documentation. A search function that covers all the PDF guides. This is useful when you need to consult a number of different guides. Cross-references among documents. You can move among documents as often as you need using the links to other guides and the links to the Document Center.
14
Go to Document Center
Important To view, search, and print the PDF documentation, you need Adobe Acrobat Reader 5.0.5 or later with Search. You can download Adobe Reader for free from the Adobe Systems Web site at http://www.adobe.com/. If you prefer to access the guides without using the Document Center, you can navigate to the component PDF files using Windows Explorer. If you prefer to use printed documentation, you can also print each guide from Adobe Reader. More information about Citrix documentation, and details about how to obtain further information and support, is included in Getting Started with MetaFrame Presentation Server.
Go to Document Center
CHAPTER 2
Read this chapter to understand how server farms are structured and how you should design farms to provide users with easy access to applications and resources. This chapter discusses the following topics you should consider when designing a farm: Overview of server farms. Farms are the central unit through which to organize and manage MetaFrame Presentation Server. Centralizing or distributing servers. How you organize server location is largely driven by the location of your users, the location of users applications and data, and your network environment. There are advantages to either centralizing servers at one site or distributing them among multiple sites. Deciding how many farms to deploy. Although most deployments use a single farm, you can consider deploying separate farms for remote sites or environments with tight firewall security between sites. Planning zones in farms. You can use zones to group servers by subnet or location, control communication, enhance performance, or discourage bottlenecks between groups of servers within the farm. Servers in a zone can communicate directly with one another. Server farm deployment scenarios. You can review and draw from these six common farm configurations when designing your deployment. The scenarios range from a small single-zone farm centralized in one location to a large multizone farm with regional sites.
For information about configuring the most appropriate licensing deployment for your farm, see the MetaFrame Access Suite Licensing Guide.
16
Go to Document Center
Go to Document Center
17
The ICA protocol transports an applications screens from the server it is running on to the users client device, and returns the users input to the application on the server. As an application runs on a server, MetaFrame Presentation Server intercepts the applications display data and uses the ICA protocol to send this data (on standard network protocols) to the client software running on the users client device. When the user types on the keyboard or moves and clicks the mouse, the client software sends this data to the application on the server. ICA requires minimal client workstation capabilities and includes error detection and recovery, encryption, and data compression. For more information about client software, see Deploying Client Software to Users on page 219. A server farm is a grouping of servers running MetaFrame Presentation Server that you can manage as a unit, similar in principle to a network domain. When designing server farms, keep in mind the goal of providing users with the fastest possible application access while achieving the degree of centralized administration and network security that you need.
18
Go to Document Center
For enterprises with geographically dispersed sites, there are trade-offs to consider between centralizing servers or scattering them with the applications or data centers. The following table outlines some of these trade-offs.
Servers centralized at one site Advantages: Centralized server administration and support. Centralized application management. Servers distributed across multiple sites Advantages: Enhanced business continuity and redundancy; if one site loses connection, it does not affect all application access. When data is maintained at different sites, placing servers at those sites provides users with local access to the data. Sites can own and control their own servers. Disadvantages: If users need access to multiple sites, you may need to coordinate and replicate domains, trusts, user profiles, and data. Sites may need added local administration and support. Server-to-server communication crosses the WAN.
Disadvantages: Single point of failure; if the site loses connection, users have no alternative access. Access to data might be slow if an application must traverse a WAN link to the data.
In MetaFrame Presentation Server you use farms and zones to organize the application environment and administer servers. The next two sections discuss planning for farms and zones.
Go to Document Center
19
There is no exact formula that determines what number of farms is ideal, but there are some general guidelines that can help you make this decision. Deploying a Single Farm. In general, a single farm meets the needs of most deployments. For very large deployments with, for example, thousands of servers, breaking the environment into multiple farms can increase performance. A significant benefit to deploying a single farm is needing only one data store database. For more information about data stores, see Choosing a Database for the Data Store on page 40. Deploying Multiple Farms. You typically consider using multiple farms when you have geographically dispersed data centers that can support their own data store database or you do not want communication between servers within the farm to cross a firewall or WAN.
20
Go to Document Center
The following table compares how single and multiple farm deployments relate to a few of the important factors you must consider when planning the server environment:
Farm Element Data Store Data Store Replication Load Balancing Firewall Traversal Single Farm The farm has one data store. Citrix recommends that you replicate the data store to remote sites when using one farm in a WAN environment. You can load balance an application across the farm. If the farm spans multiple sites, firewall ports must be open for server-to-server communication. Data store information is synchronized with member servers through notifications and queries. When a farm has multiple zones, data collectors are used to communicate dynamic information such as logons and application use across the farm Centralizing administration and support may be easier for a single farm. You can monitor and configure the farm from a single Management Console and need to log on to only one farm to do so. Multiple Farms Each farm must have a data store. If each remote site is a farm with its own data store, there is no need for data store replication. You cannot load balance an application across servers in different farms. Site-based farms eliminate the need to open firewall ports for server-to-server communication. Multiple farms may improve performance over a single farm when server-to-server traffic crosses a WAN link or when the farm is very large.
Server-to-server Communication
You can decentralize administration and support if you want sites to have control and ownership. You can monitor and configure multiple farms from the Access Suite Console. Communicating with multiple farms from the console requires logging on to multiple servers.
You can use zones to organize servers within a farm. The next section provides information about setting up zones.
Go to Document Center
21
22
Go to Document Center
This diagram shows a server farm with two zones connected by a WAN link. Only the zone data collector in each zone communicates over the WAN link. Individual servers communicate over LANs primarily with their zone data collector.
When resolving a users application request to the least-loaded server in the farm, a zone data collector queries the other zone data collectors for the information it needs to identify the server with the lightest load. Only zone data collectors send messages between zones, reducing communication traffic in the farm because every server does not need to communicate with every other server. If you have a large or geographically diverse farm, you may be able to enhance performance by organizing servers into zones. Note Beginning with MetaFrame Presentation Server 3.0, zone data collectors no longer automatically send updates about server loads in their zone to other zone data collectors. This change in communication is designed to reduce network traffic between zones. Zone data collectors no longer maintain load information for all servers in the farm as they did in earlier releases. The zone data collector now maintains load information only for the servers in its own zone. This behavior is especially beneficial in large farms. To ensure users are efficiently routed to the least loaded server in the server farm, you can set farm properties to share load information across zones. Exchanging server load information should be limited to the following conditions: The bandwidth capacity between zones is not limited The Zone preference and failover policy rule is not a consideration
Go to Document Center
23
To configure the sharing of load information across zones 1. In the left pane of farm Properties, choose Zones. 2. In the right pane, select Share load information across zones. Selecting to share load information across zones can result in increased network traffic because every change in server load is communicated to all data collectors across all zones. Connection requests are routed to the least loaded server in the server farm, even a server located across a WAN, unless a preferred order is established using the Zone preference and failover policy rule. When you establish a preferred connection order, the zone data collectors query the preferred zones in the order you set. To keep data exchanges between zones to a minimum when zones are located across WANs, thus reducing network traffic: Do not enable sharing load information across zones Set up a preferred zone connection order using the Zone preference and failover policy rule Configure a Primary Group zone in this policy rule so that incoming connection requests from users in a particular geographic location are always routed first to the zone that includes that geographic location
Tip To reduce network traffic in large farms with multiple zones, Citrix recommends that you use the Zone Preference and Failover policy rule to direct users requests for applications to preferred zones within the farm. For more information about Zone Preference and Failover, see Directing User Connections to Preferred Zones on page 27. Citrix recommends that you maintain all servers in a farm at the most recent release level of MetaFrame Presentation Server. If you find that you need to run different release levels of MetaFrame Presentation Server in your server farm on a temporary basis, configure a server running the latest release as the zones data collector.
Sizing Zones
Design zones to enhance farm performance when enumerating or opening applications for users. The number of servers you can place in one zone depends largely on the hardware of the zone data collector and the amount of farm activity. Factors that can influence zone size include: How many users connect to the farm How many users log on simultaneously
24
Go to Document Center
How long the average user stays logged on to a session (a single daily session or repeated short sessions) How many published applications are load-balanced among servers
Routinely monitor the CPU and memory usage on the zone data collector to ensure that it is not being overloaded with requests, especially after adding new applications or additional users to the farm. For most deployments, limit a zone to a group of servers that are located in a single data center and connected by low latency links. Tip Citrix recommends that you maintain as few zones as possible while still being able to complete application enumeration requests and resolutions in a timely manner. Creating too many zones can decrease performance in a farm, resulting in high network bandwidth consumption and decreased performance of the zone data collectors. Zones can typically support more than 500 servers. When sizing zones, start with 500 servers per zone and then monitor the IMA Work Item Queue Ready Count counter on the zone data collector to determine how much activity it can support. Tip To find out if a zone data collector is overloaded, you can monitor the server for the number of work items that are ready for execution. As a zone data collector becomes overloaded, work items on the server begin to pile up and stand in queue for execution. You can check the Work Item Queue Ready Count counter from the Citrix MetaFrame performance object in Windows Performance Monitor. If this counter rises above zero for a steady length of time, you should be concerned about the load on the data collector. For more information about monitoring performance, see Monitoring Performance of Sessions and Servers on page 308. If users experience delays when their available applications are being enumerated or when they open an application, or if reports are being generated slowly, the zone data collector may be overloaded. Consider taking the following actions to reduce the load on the zone data collector: Increase the CPU power of the zone data collector Dedicate the zone data collector to handling zone information and users requests for applications, but not running published applications As a last resort, divide the current zone into two zones
Go to Document Center
25
If you are installing MetaFrame Presentation Server on servers that reside on multiple subnets in the same zone, do not use the default zone name presented to you during MetaFrame Presentation Server Setup, because the default zone name is based on the subnet of the server joining the farm. If you do not change the zone name when you install MetaFrame, you can change it in the farms Properties dialog box using the Presentation Server Console.
To configure a zone for more than 512 servers CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before making changes to it. 1. Add the following entry to the registry \\HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\ Runtime\MaxHostAddressCacheEntries (DWORD) 2. Set the value of MaxHostAddressCacheEntries to a number greater than the number of servers you are planning to put in the zone but no higher than necessary, because MetaFrame Presentation Server uses this number for memory management. Note Increasing the value of MaxHostAddressCacheEntries higher than necessary can negatively impact performance. Increasing this value does not improve data collector performance. 3. Restart the IMA Service on the server.
26
Go to Document Center
Go to Document Center
27
You can set connection order preferences only in the Zone Preference and Failover rule of a policy.
28
Go to Document Center
Go to Document Center
29
To use Zone Preference and Failover in an environment with servers running earlier releases of MetaFrame Presentation Server: Make sure that the zone data collector is a server running MetaFrame Presentation Server 4.0 or later Run the Citrix XML Service on servers with MetaFrame Presentation Server 4.0 or later Make sure that the Web Interface is configured to communicate with the servers in the farm that are running MetaFrame Presentation Server 4.0 Use only the most recent version of the Presentation Server Console to create, rename, or remove zones
30
Go to Document Center
This diagram shows a small farm in a central location. The farm contains a data store, a single zone, one data collector for the zone, and multiple farm member servers.
Go to Document Center
31
Citrix recommends the following for small farms in a central location: Dedicate a data collector for zones with more than 50 servers If using Access or MSDE for the farms data store, you can consider using the same server to act as the data collector and also host the data store
32
Go to Document Center
This diagram shows a large farm in a central location. The farm contains a data store and four zones. Each zone consists of a data collector and multiple farm member servers.
Citrix recommends the following for large farms in a central location: Dedicate a data collector for zones with more than 50 servers. With extremely large farms, using replicated Microsoft SQL Server databases, replicated Oracle databases, or Oracle RAC can improve performance and prevent a bottleneck at the data store. If replication is used with IBM DB2 databases, you must configure it for read-only and all changes must be made on the master database. Do not exceed 25 zones in a single farm. Scale zones to maximum capacity before introducing more zones.
Go to Document Center
33
This diagram shows a small farm with distributed server locations. The farm consists of a single zone distributed across four locations. Location 1 includes the data store, data collector, and multiple farm member servers. Each of the other locations contain farm member servers.
34
Go to Document Center
Use a single zone if all distributed sites have a connection to a central site, the frequency of users connecting is limited, and the remote sites are in a single zone and each have fewer than twenty-five servers. If you are using multiple zones, provide all sites hosting a zone with a direct link to all other zone sites. Otherwise, all locations need connectivity to a central site where the zone data collector is located. Restart servers only when WAN links are at low utilization. If the majority of the servers in the farm reside at one location and the remote sites have very few servers, use a single zone.
This diagram shows a single zone with remote sites and a central office. The data store and data collector are located at the central office.
Go to Document Center
35
Citrix recommends the following in for small farms with remote sites: Provide a central site with a dedicated connection to each remote site Consider centralizing servers at one site and have users connect from clients at remote sites so that communication between servers does not cross a WAN link, allowing the ICA protocol to enhance performance for users across the WAN Consider using Virtual Private Network (VPN) technology for remote sites Restart servers only when WAN links are at low utilization
This diagram shows a farm with two data centers, each with its own zone. Zone 1 contains the data store master, a data collector, and multiple farm member servers. Zone 2 contains a data store replica, a data collector, and multiple farm member servers.
Citrix recommends the following for large farms with multiple data centers: Tune database replication intervals to reduce WAN utilization. Be aware that changes made at the central site can take a few minutes to disseminate to replicas.
36
Go to Document Center
The IBM DB2 database does not support updateable replicas and should, therefore, not be used in this scenario.
This diagram shows four regional sites with remote access. Each site is a zone and includes a data collector for the zone, multiple local farm member servers, and multiple remote farm member servers. The data store master is located in Zone 1 and a data store replica is located in each of the other zones.
Go to Document Center
37
Citrix recommends the following for large farms with regional sites: Consider using Virtual Private Network (VPN) technology for remote sites. Consider centralizing servers at one site and have users connect from clients at remote sites so that communication between servers does not cross a WAN link, allowing the ICA protocol to enhance performance for users across the WAN. Tune database replication intervals to reduce WAN utilization. Be aware that changes made at the central site can take a few minutes to disseminate to replicas. The IBM DB2 database does not support updateable replicas and should, therefore, not be used in replicated scenarios.
38
Go to Document Center
Go to Document Center
CHAPTER 3
The data store provides a repository of persistent information about the farm that each server can reference, including the following: Farm configuration information Published application configurations Server configurations MetaFrame administrator accounts Printer configurations Trust relationships
CAUTION Ensure that the data store is properly backed up on a regular basis. If the data store database is lost, you must recreate the farm. You cannot recreate the data store from an existing farm. When servers in a farm come online, they query the data store for configuration information.
40
Go to Document Center
CAUTION Do not directly edit any data in the data store database with utilities or tools provided by any product other than the MetaFrame Access Suite. For example, do not use IBM DB2, Microsoft SQL Server, or Oracle utilities to edit the data store. Doing so corrupts the data store database and destabilizes the farm.
When using Microsoft Access, the data store database is created when you install MetaFrame Presentation Server. When using MSDE, you first install MSDE and then create an MSDE instance. Then you run MetaFrame Presentation Server Setup. The database is stored on the first server in the farm. When using Microsoft SQL Server, Oracle, or IBM DB2, the database is on a server dedicated to running the database product. This dedicated server must be set up prior to creating the farm because you need to configure an ODBC connection to it. Servers running MetaFrame Presentation Server must also have the appropriate database client software installed on them.
Go to Document Center
41
CAUTION Do not install MetaFrame Presentation Server on the Microsoft SQL, Oracle, or IBM DB2 database server. See your database products documentation for specific hardware requirements for the database server. You should consider many factors before deciding which database product to use for the data store, including but not limited to: The number of servers you currently plan to have in the farm and whether you plan to expand that number Whether or not you have a database administrator on staff with the expertise to configure and manage a data store running on SQL Server, Oracle, or DB2 Whether or not you foresee the enterprise expanding, therefore expanding the number and type of published applications Whether or not the database can sustain an increase in the number of users and connections Whether a server has the appropriate hardware configuration to also run an Access or MSDE database or whether you require that the database be located on a server that is not also running MetaFrame Presentation Server Any database maintenance requirements you may have, such as backup, redundancy, and replication
Important Microsoft SQL, Oracle, and IBM DB2 servers require significant expertise to install and maintain. If you do not have expertise with these products, attempting to use them in a production environment is not recommended. See the documentation included with your database product for important details such as performance tuning and database backup procedures. For information about supported database and ODBC driver versions, see Data Store Database Requirements on page 47.
42
Go to Document Center
The following are general recommendations for the farms data store database: Microsoft Access and MSDE are suitable for all small and many medium-sized environments that are located in one physical location. Microsoft SQL, Oracle, and IBM DB2 are suitable for any size environment and are especially recommended for all large and enterprise environments. When deploying large farms across a WAN, you can obtain considerable performance advantage by replicating the data store and distributing the load over multiple database servers. Microsoft SQL, Oracle, and IBM DB2 are suitable for large farms and support replication. For more information about replicating data stores, see Using Replicated Data Store Databases on page 46.
Go to Document Center
43
The response time of other events occurring in the farmsuch as starting the IMA Service on a single server, recreating the local host cache, or replicating printer drivers to all servers in the farmis affected more by the size of the farm than by the response time of the data store. Citrix testing shows that adding processors to the server hosting the data store can dramatically improve response time when multiple simultaneous queries are being executed. If the environment includes large numbers of servers coming online simultaneously and at frequent intervals, the additional processors can service requests faster. The actual performance of a farms data store can vary depending upon which database engine is used and the level of performance tuning that can be achieved. Depending on the characteristics of a server farm, the CPU speed and CPU quantity can vary widely. In the chart below, five sample farm configurations are displayed and referred to as scenarios A through E. Each scenario lists measurements of various metrics in the farm. The second chart shows, for each corresponding scenario, which hardware configurations are suggested for the server hosting the data store.
Scenario Number of servers in farm Number of applications published to all servers Number of user policies Printers per server Printer drivers installed per server Network print servers with printers Number of Load Manager load evaluators Number of Resource Manager applications Number of Installation Manager groups Number of Installation Manager packages Number of application folders in Presentation Server Console Number of server folders in Presentation Server Console A 80 50 25 5 25 5 10 10 5 5 10 8 B 160 50 25 5 25 5 10 10 5 5 10 16 C 250 50 25 5 25 5 10 10 5 5 10 25 D 350 50 25 5 25 5 10 10 5 5 10 35 E 500 50 25 5 25 5 10 10 5 5 10 50
44
Go to Document Center
Scenario Number of Resource Manager metrics per server Number of MetaFrame administrators Size of data store database in megabytes Scenario Dual Pentium 3/700MHz with 1GB RAM Dual Pentium 4/1.6GHz with 4GB RAM Quad Pentium 4/1.6GHz with 4GB RAM 8-way Pentium 3/700MHz with 8GB RAM
A 25 10 32 A X X X X
B 25 10 51 B X X X X
C 25 10 76 C
D 25 10 101 D
E 25 10 125 E
X X X X X X X
Go to Document Center
45
RAID 1
RAID 5
RAID 10
46
Go to Document Center
Go to Document Center
47
Microsoft SQL Server, Oracle, and IBM DB2 databases require an ODBC database client driver installed on each server that connects directly to them. Servers that connect to the data store database indirectly (that is, through another server running MetaFrame Presentation Server) do not require an ODBC client driver.
48
Go to Document Center
The following table lists the drivers required for supported ODBC database clients:
Database SQL 7.0 Enterprise for NT MDAC 2.5 SQL 7.0 Enterprise for NT MDAC 2.5 Service Pack 1 SQL 2000 Enterprise for NT MDAC 2.5 Service Pack 2 SQL 2000 Enterprise for NT MDAC 2.6 Service Pack 1 SQL 2000 Enterprise for NT MDAC 2.7 SQL 2000 Enterprise for NT MDAC 2.7 Service Pack 1 SQL 2000 Enterprise for NT MDAC 2.8 Oracle 7.3.4 for NT Oracle 8.1.5 for NT Oracle 8.1.6 for NT Oracle 8.1.6 for Solaris Oracle 8.1.7 for NT Oracle 9.0.1 for NT Oracle 9i R2 for Solaris Oracle 9i R2 for NT IBM DB2 FixPak 5 for NT IBM DB2 FixPak 7 for NT IBM DB2 Version 8.1 ODBC Client Driver Version 3.70.0820 3.70.0821 3.70.0961 2000.80.380.0 2000.81.7713.00 2000.81.9031.38 2000.85.1022.00 2.50.0301 8.01.55.00 8.1.6.00 8.1.6.00 8.1.7.00 9.00.11.00 9.2.0.1.0 9.2.0.1.0 7.01.00.55 7.01.00.65 8.01.04.341
CAUTION The Oracle Client Version 8.1.5 is not supported. If you are using this version, upgrade to 8.1.55.
Tip Before installing an update of Microsoft Data Access Components (MDAC), stop the Microsoft Terminal Services Licensing service. Restart the Terminal Services Licensing service before beginning MetaFrame Presentation Server Setup.
Go to Document Center
49
Microsoft Access
Choosing Use a local database on this server and selecting the Access Database entry from the list of possible databases during MetaFrame Presentation Server Setup creates a Microsoft Access database on the first server in the new farm. This database acts as the farms data store. The Microsoft Access database engine and ODBC drivers are default components of Windows servers. The ODBC connection to Access uses the Microsoft Jet Engine. To use the database engine, you do not have to install any drivers or perform any database configuration prior to installation of MetaFrame Presentation Server.
Minimum Requirements
The server that hosts the Access database should meet the following minimum requirements: Approximately 50MB of disk space for every 100 servers. Increase disk space if there are a large number of published applications in the farm. 32MB of additional RAM if the server also hosts connections.
50
Go to Document Center
Some backups occur automaticallyeach time the Citrix IMA Service is stopped or a server is restarted, the existing Mf20.mdb file is backed up, compacted, and copied as Mf20.unk. Each time the IMA Service starts, it deletes Mf20.bak if it exists and renames the Mf20.unk file to Mf20.bak. This process helps ensure that the Mf20.bak file is a valid farm database. CAUTION If the server runs out of disk space on the drive where the Mf20.mdb file is stored, automatic backups stop. Ensure that the amount of free disk space is at least three times the size of the Mf20.mdb file. The Mf20.mdb file and all automatic backup files are located by default in the %ProgramFiles%\Citrix\Independent Management Architecture folder. CAUTION Do not try to recover the data store with the dsmaint recover command without first verifying that the Mf20.bak file exists because this command removes the existing Mf20.mdb file from the server. If the Mf20.bak file does not exist, run dsmaint backup.
Go to Document Center
51
Important If you install MSDE and specify an instance name different from the default CITRIX_METAFRAME, you must install MetaFrame Presentation Server using a manual installation method so that you can set the MetaFrame Presentation Server Setup property CTX_MF_MSDE_INSTANCE_NAME to the new instance name. See Customizing Setup on page 389 for more information about Setup properties. To install MSDE 2000, Release A, using default options If you do not have an instance of MSDE already installed on the server and you are not using SQL authentication, you can run SetupMsdeForMetaFrame.cmd, located on the MetaFrame Presentation Server CD in the directory Support\MSDE. Running the SetupMsdeForMetaFrame.cmd batch file installs MSDE 2000, Release A, using the default instance name CITRIX_METAFRAME and sets the MSDE administrator (SA) password to CITRIX. Note The MSDE administrator SA password is required to be set; however, SQL authentication is not enabled by default when you install MSDE using SetupMsdeForMetaFrame.cmd. Because SQL authentication is not enabled, the SA password is not used. Setting the SA password to CITRIX is not a security risk unless you are using SQL authentication. SetupMsdeForMetaFrame.cmd creates the required files and directories for MSDE support in the directory \Program Files\Microsoft SQL Server and a named instance directory, MSSQL$CITRIX_METAFRAME. If you need to specify an instance name and SA password, follow the procedure below to install MSDE at a command prompt using custom options. To install MSDE 2000, Release A, using custom options 1. At a command prompt, change to the Support\MSDE\MSDE directory on the MetaFrame Presentation Server CD. For example, if your CD drive is E, type: E: cd \Support\MSDE\MSDE 2. Change to installation mode by typing: change user /INSTALL 3. Launch the MSDE installer, specifying the instance name and SA password. For example, type: setup.exe INSTANCENAME=<name> SAPWD=<password>
52
Go to Document Center
Important Citrix strongly recommends that you use the version of MSDE (MSDE 2000, Release A) included on the server installation CD for MetaFrame Presentation Server. After you install MSDE, choose Use a local database on this server and select the SQL Server Desktop (MSDE) Database entry from the list of possible databases during MetaFrame Presentation Server Setup.
Minimum Requirements
The server hosting the MSDE database should meet the following minimum requirements: Approximately 50MB of disk space for every 100 servers and 25 applications in the farm 32MB of additional RAM if the server also hosts connections 70MB of disk space for the MSDE database
Important If you intend to use MSDE to host your farms data store, do not use double-byte characters in the name of the server on which the MSDE database will be stored.
Migrating to MSDE
You can migrate only a data store using Microsoft Access to MSDE. To migrate from Access to MSDE, run the MigrateToMsde utility located in the Support\MSDE directory on the MetaFrame Presentation Server CD. For more information about the MigrateToMsde utility, see MetaFrame Presentation Server Commands on page 333.
Go to Document Center
53
A single server running MetaFrame Presentation Server can use multiple connections to the MSDE instance. If more than one server attempts to connect directly to the MSDE database at the same time, the connections may be denied, resulting in intermittent failures. Citrix recommends that you configure the first server to connect to the MSDE database using direct access and all subsequent servers to connect indirectly.
54
Go to Document Center
Important MDAC 2.6 without SP1 is not supported because of an issue with the driver.
Minimum Requirements
The practices outlined in this section are suggested practices for using Microsoft SQL Server as the data store. Be sure to read the Microsoft SQL Server documentation before you install and configure Microsoft SQL Server. The server hosting the SQL Server database should meet the following minimum requirements: There should be approximately 100MB of disk space for every 250 servers and 50 published applications in the farm. The required disk space increases if a large number of published applications are in the farm. Set the temp database to automatically grow on a partition with at least 1GB of free disk space. Citrix recommends 4GB if the farm is large and includes multiple print drivers. Note Make sure that enough disk space exists on the server to support growth of both the temporary database (temp) and the data store database.
Go to Document Center
55
When you finish installing the database with database owner rights, set the user permissions to read/write only. Doing this increases the security of the database. Important If you change the rights from database owner to read/write, be sure to change the rights back to database owner before you attempt to install service packs or feature releases. Installation of service packs or feature releases can fail if the user account you use to authenticate to the data store during Setup does not have database owner rights.
When using Microsoft SQL Server in a replicated environment, be sure to use the same user account for the data store on each Microsoft SQL Server.
56
Go to Document Center
The following procedures explain how to configure the connection to use TCP/IP sockets. To create a SQL Server data source connection during MetaFrame Presentation Server Setup 1. Enter the data source description and select the SQL Server to which to connect. Click Next. 2. Select NT Authentication or SQL Server Authentication. 3. Click Client Configuration. 4. Select TCP/IP from the available network libraries. Click OK. 5. After installing MetaFrame, modify the Data Source Name (DSN) you created during installation and change its client configuration to use TCP/IP. To modify a Data Source Name (DSN), use the Windows ODBC Data Source Administrator utility to open the File DSN (located by default in the %Program Files%\Citrix\Independent Management Architecture folder) and select TCP/IP as the connection protocol for the client configuration.
Failover
For fault tolerance with Microsoft SQL Server, use Microsoft clustering, which provides failover and failback for clustered systems. If failover of the SQL Server database occurs in a clustered environment, the failover of the database is transparent to MetaFrame Presentation Server. A Microsoft Cluster Services (MSCS) cluster group is a collection of resources, such as disk drives, that are owned by one of the failover cluster nodes. You can transfer the ownership of the group from one node to another, but each group can be owned by only one node at a time. The database files for an instance of Microsoft SQL Server 2000 are placed in a single MSCS cluster group owned by the node on which the instance is installed. If a node running an instance of Microsoft SQL Server fails, MSCS switches the cluster group containing the data files for that instance to another node. Because the new node already has the executable files and registry information for that instance of Microsoft SQL Server on its local disk drive, it can start up an instance of Microsoft SQL Server and start accepting connection requests for that instance. Note MSCS clustering does not support load balancing among clustered servers because it functions in active/passive mode only.
Go to Document Center
57
Distributed Databases
MetaFrame Presentation Server supports distributed databases. Distributed databases are useful when too many read requests to the data store create a processing bottleneck. Microsoft SQL Server uses replication to create the distributed database environment. MetaFrame Presentation Server requires data to be coherent across multiple databases. Coherent data is the same across the databases and synchronized for updating. A two-phase commit algorithm is required to maintain data coherency when there are writes to the database. When configuring Microsoft SQL Server for a two-phase commit, you must use the Immediate Updating Subscriber model. See your Microsoft SQL Server documentation for information about setting up replication with the Immediate Updating Subscriber model. CAUTION Do not use merged replication. Using merged replication corrupts the data store. The following procedure explains how to set up a distributed database environment for an existing farm. To set up a distributed environment for an existing farm 1. Configure a Publisher (the Microsoft SQL Server currently hosting the data store) and Subscribers (remote sites) using Microsoft SQL Server Enterprise Manager. 2. Execute the dsmaint publishsqlds command on a server in the farm. This step executes the necessary SQL statements to create the published articles on the current Microsoft SQL Server (Publisher). For more information about the dsmaint command, see DSMAINT on page 368. 3. Configure the remote sites (Subscribers) to subscribe to the published articles you created in Step 2.
58
Go to Document Center
Oracle
MetaFrame Presentation Server supports the following Oracle databases for the farms data store: Oracle 7, Version 7.3.4 Oracle 8, Version 8.0.6 Oracle8i, Version 8.1.6 and 8.1.7 Oracle9i, Enterprise Edition Database Release 1
If you are using Oracle 8, install the Oracle Net8 client Version 8.1.5.5 and ODBC drivers provided by Oracle on each server that will directly access the database server. The farms data store is stored as an object (schema) assigned to a user. You do not need a separate database for each data store. During install, you can either run the Net8 Easy Config, or cancel the installation at that point and copy the Tnsnames.ora and Sqlnet.ora files from the Oracle server to %Oracle home directory%\Network\Admin on each server in the farm.
Go to Document Center
59
Important Restart the system after you install the Oracle client and before you install MetaFrame Presentation Server. In some cases, you need to configure the DNS entry within the Oracle Net8 Assistant. To do this, click Profile and then select the Oracle Names tab. Enter the DNS suffix that the network is using. You can use the command IPCONFIG /ALL to gather the DNS suffix that must be used. If you do not restart the server after you install the Oracle client, or if the client requires the DNS suffix to be specified, Setup reports the following error: The procedure entry point OCIUnicodeToCharSet could not be located in the dynamic link library OCI.dll. If you are using Oracle9i, install the Oracle9i Administrator client to obtain the Oracle ODBC driver Version 9.0.1.0.1. The Oracle9i Run-time client does not have ODBC driver support, which is required on each server directly accessing the database server.
Minimum Requirements
The practices outlined below are suggested practices for using an Oracle database for the farms data store. Be sure to read the Oracle documentation before you install and configure Oracle databases. The server hosting the Oracle database should meet the following minimum requirements. Guidelines given here apply to supported versions of Oracle7, 8, 8i, and 9i except as noted otherwise. There should be approximately 100MB of disk space for every 250 servers and 50 published applications in the farm. The required disk space increases if a large number of published applications are in the farm. The Oracle Client (Version 8.1.55 or later) must be installed on the server before you install MetaFrame Presentation Server. The 8.1.5 client is not supported with MetaFrame Presentation Server.
60
Go to Document Center
The Oracle user account must be the same for every server in the farm because all servers running MetaFrame Presentation Server share a common schema. If you are using one database to hold information for multiple farms, each farm represented in the database must have a different user account because the data store information is stored in the Oracle user accounts schema. The account used to connect to the data store database must have the following Oracle permissions: Connect Resource Unlimited Tablespace (optional)
Where Number of servers is the total number of servers running MetaFrame Presentation Server. Citrix recommends online backups using Archivelog mode. Archivelog mode reduces the recovery time of an unresponsive database.
Go to Document Center
61
Note If you are using the same Oracle database for multiple server farms, Citrix recommends that you create a unique tablespace with its own user name and password for added security for each farm. Do not use the default system account within Oracle.
Migrating to Oracle
Migration of a farm data store to an Oracle database is supported for the database versions listed in the following table. For information about data store migration, see the Dsmaint command on page 368.
Original platform Microsoft Access Microsoft Access Microsoft Access Microsoft Access Microsoft Access MSDE Microsoft SQL Server (SQL 7 with SP2 or SP3 or SQL 2000 with SP1) Microsoft SQL Server (SQL 7 with SP2 or SP3 or SQL 2000 with SP1) Microsoft SQL Server (SQL 7 with SP2 or SP3 or SQL 2000 with SP1) Microsoft SQL Server (SQL 7 with SP2 or SP3 or SQL 2000 with SP1) Microsoft SQL Server (SQL 7 with SP2 or SP3 or SQL 2000 with SP1) IBM DB2 with FixPak 5 IBM DB2 with FixPak 5 IBM DB2 with FixPak 5 IBM DB2 with FixPak 5 IBM DB2 with FixPak 5 Target platform Oracle 7 Oracle 8 Oracle 8.1.6 Oracle 8.1.7 Oracle9i All Supported Versions of Oracle Oracle 7 Oracle 8 Oracle 8.1.6 Oracle 8.1.7 Oracle9i Oracle 7 Oracle 8 Oracle 8.1.6 Oracle 8.1.7 Oracle9i
62
Go to Document Center
Note If you migrate from an Access database to an Oracle 8.1.7 database, the Citrix IMA Service fails to start because the Oracle 8.1.7.0 driver alters the logon authentication method. To avoid this problem, disable the Oracle NT Security feature in the Oracle Advanced Security settings before migrating an Access database to Oracle 8.1.7.
Client Configuration
If you use the Oracle 8.1.7 client to access the data store, you must disable the Oracle NT Security feature for the client to work with MetaFrame Presentation Server. The Oracle 8.1.7.0 driver installs a security feature, called NT Security, that uses Windows NT credentials to authenticate to the Oracle server. Because the Citrix IMA Service is configured to use the system account to access the data store, the service fails to connect to the Oracle server when the NT Security feature is enabled. You can disable the use of NT Security on the Authentication tab of the Oracle Advanced Security settings. Consult your Oracle documentation for more information.
Failover
With Oracle, you can maintain a standby database for quick disaster recovery. A standby database maintains a copy of the production database in a permanent state of recovery. Citrix recommends the use of standby databases. With Oracle8i and 9i, the management of standby databases is fully automatic. See the Oracle documentation for instructions about setting up a standby database.
Distributed Databases
MetaFrame Presentation Server supports distributed databases. Distributed databases are useful when too many read requests to the data store create a processing bottleneck. Oracle uses replication to create the distributed database environment. Important items concerning distributed databases are listed below. To reduce the load on a single database server, install read/write replicas and distribute the farm servers evenly across the master and replicas. MetaFrame Presentation Server requires data coherency across multiple databases. Therefore, a two-phase commit algorithm is required for writes to the database. All participating databases must be running Oracle
Go to Document Center
63
All participating databases must be running in Multi-Threaded Server/Shared mode (rather than Dedicated mode) All clients (servers running MetaFrame Presentation Server that connect directly to the Oracle database) must be SQL*Net Version 2 or Net8 Install the farm data store database first on the master site, and then configure replication at the sites being used for database replication snapshots Replicate all objects contained in the data store users schema (tables, indexes, and stored procedures)
Tip If the performance at the replicated database site is significantly slower, verify that all the indexes for the users schema are successfully replicated. When configuring Oracle for a two-phase commit, Citrix recommends the following: Use updateable, synchronous snapshots with a single master site. MetaFrame Presentation Server does not work with read-only snapshots. Some functions need write access to the data store. Use the Oracle Fast Refresh feature where possible (this requires snapshot logs). Do not configure conflict resolution when setting up the replication environment. Set the replication link interval to be as frequent as the network environment allows (Citrix recommends one minute). With Oracle replication, if no changes are made, data is not sent over the link. If Oracle is configured in Multi-Threaded Server mode and remote reads or writes are initiated from the remote site, these can block local reads or writes. This is because all connections share a set of worker threads called MultiThreaded Servers. To remedy this, increase the value of the Max_Mts_Servers parameter in the Init.ora file.
64
Go to Document Center
Note Because of the hardware configuration required for Oracle Parallel Server, this product was not tested in the Citrix test labs. Oracle Parallel Server is designed to allow multiple database servers to access the same back-end database. In theory, this provides good scalability in centrally located farms with hundreds of servers.
IBM DB2
MetaFrame Presentation Server supports IBM DB2 Universal Database Enterprise Edition Version 7.2 for Windows 2000 with FixPak 5 or later for the farms data store. Install the IBM DB2 Run-Time Client and apply FixPak 5 on each server accessing the database server. If you have multiple farms, create a separate database/ tablespace for each farm data store. Important Restart the system after you install the IBM DB2 Run-Time client and FixPak5 and before you install MetaFrame Presentation Server. You may also need to restart after you install the Run-Time client and before you install FixPak 5. See the DB2 documentation for more information.
Minimum Requirements
The practices outlined below are suggested practices for using an IBM DB2 database for the farms data store. Be sure to read the DB2 documentation before you install and configure DB2 databases. The server hosting the DB2 database should meet the following minimum requirements: There should be approximately 100MB of disk space for every 250 servers and 50 published applications in the farm. The required disk space increases if a large number of published applications are in the farm. Citrix labs tested the IBM DB2 environment with the following permissions assigned to the user: connect database, create tables, register functions to execute to database managers process, and create schemas implicitly. If you create a data source name (DSN) for use with an unattended installation of IBM DB2, Citrix recommends that you create the DSN using the Microsoft ODBC Data Source Administration screen. Doing so ensures that the DSN is populated according to server requirements for proper connectivity to the DB2 database or tablespace. Give the DB2 user account that is used for the farm the following permissions: Connect database
Go to Document Center
65
Create tables Register functions to execute to database managers process Create schemas implicitly
System administrator (DB2Admin) account permissions are not needed for data store access. Consult DB2 documentation for tuning database performance. The following settings can help optimize performance in large farms:
Recommendations appl_ctl_heap_sz Increase the default of 128 4KB pages (.5 MB) to 512 (2 MB). This parameter represents the maximum amount of shared memory available to each application instance running on the node. Increase from the default of 250 4KB pages (1MB) to 75-100% of the size of the database for best performance. This parameter represents the buffer memory the database uses for processing requests. Increase from the default of 128 4KB pages (.5MB) to at least 256. This parameter represents the amount of memory available to the database manager for each agent. Should be equal to the number of servers in the server farm Ensure that this value is greater than the number of servers in the farm or servers may fail to connect.
buffpage
applheapsz
avg_appls maxappls
Distributed Databases
MetaFrame Presentation Server supports distributed databases. Distributed databases are useful when too many read requests to the data store create a processing bottleneck. You can use a distributed database to distribute the load of read requests. IBM DB2 uses replication to create the distributed database environment.
66
Go to Document Center
Important MetaFrame Presentation Server uses the data type of binary large object (BLOB) to store information in an IBM DB2 database. IBM DB2 does not support the use of BLOB data types in an updateable replication scenario. Therefore, if your farm needs to have updateable replicas, use Microsoft SQL Server or Oracle for the farms data store instead of IBM DB2.
The migration of an existing farm data store to IBM DB2 is completed as a single transaction for roll-back purposes. Before migrating the database to DB2, verify that enough log space exists on the target DB2 server to support the migration. If the DB2 server runs out of log space, the migration fails and rolls back.
Go to Document Center
67
68
Go to Document Center
To test the query interval, set the interval to 60 minutes and then restart all the servers in the farm. If the data store is still experiencing constant high CPU usage, increase the query interval further. If the CPU usage returns to normal, you can try a smaller value. Continue these adjustments until data store CPU usage is normal. Important Do not set the data store query interval higher than necessary. This interval serves as an important safeguard against lost updates. Setting the interval higher than necessary can cause delays in updating the local host cache of the farms member servers. The next section tells you how to force the local host cache to refresh.
You must restart the IMA Service after running dsmaint recreatelhc. When the IMA Service starts, the local host cache is populated with fresh data from the data store. The data store server must be available for dsmaint recreatelhc to work. If the data store is not available, the Citrix IMA Service fails to start.
Go to Document Center
CHAPTER 4
This chapter includes background information about decisions you need to make before you deploy MetaFrame Presentation Server. Be sure to read this chapter before you install MetaFrame Presentation Server.
System Requirements
This section describes minimum configurations and recommendations for installing MetaFrame Presentation Server. For information about system requirements for client devices, see the Client Administrators Guide for each client platform.
70
Go to Document Center
CAUTION On Microsoft Windows 2000 Server and Microsoft Windows Server 2003 operating systems, Citrix does not recommend using the /3GB switch in the Boot.ini file on servers running MetaFrame Presentation Server. Windows 2000 Server and Windows Server 2003 operating systems can address up to 4GB of memory, usually 2GB for kernel and 2GB for processes. Using the /3GB switch in the Boot.ini file changes memory allocation to 1GB for kernel and 3GB for processes. Due to the large number of applications and processes running on a MetaFrame Presentation Server and Terminal Services, kernel memory space is heavily used, so using the /3GB switch causes a decrease in scalability. The /3GB switch is useful for systems with a few processes that consume a large amount of memory such as with Microsoft SQL Server and Microsoft Exchange Server. However, if the applications hosted on MetaFrame Presentation Server are not written to utilize the /3GB switch, you cannot take advantage of the extra memory and may instead encounter instability.
Go to Document Center
71
Users must be members of the Remote Desktop Users group to connect through Terminal Services. By default, there are no users in the Remote Desktop Users group, so users are blocked from connecting remotely. MetaFrame Presentation Server Setup allows you to add the members of the local Users group to the Remote Desktop Users group. If you skip the step of adding users to the Remote Desktop Users group, you must add users to this group after Setup completes.
72
Go to Document Center
All servers running MetaFrame Presentation Server must have graphics capabilities of a minimum of VGA 640 x 480 pixels. Set the displays for computers running the Presentation Server Console to a least 800 x 600 pixels.
Go to Document Center
73
Typical user. A typical user generally uses one or two applications but normally only one at a time. Little actual program data is transferred between the client and server, and the users rarely use Object Linking and Embedding (OLE). Power user. A more sophisticated user who uses three or more applications, often with several active at the same time. Data is often cut and pasted between local and remote applications, and OLE is used heavily. Power users consume more resources than typical users. A good rule of thumb is that one power user is equivalent to two typical users in processor utilization and RAM requirements. Tip The configuration examples in this section are based on numbers of typical users. Adjust the numbers for power users.
74
Go to Document Center
Hard Drives
The hard drive subsystem in a server is an important factor in system throughput. Small Computer System Interface (SCSI) disk drives and adapters, especially Fast Narrow SCSI (SCSI-2), Fast Wide SCSI, Wide Ultra SCSI, and Wide Ultra2 SCSI devices, have significantly better throughput than ST-506, Integrated Device Electronics (IDE), or Enhanced Small Device Interface (ESDI) disk drives and adapters. For the highest performance, consider using a SCSI-based Redundant Array of Independent Disks (RAID) controller. RAID controllers automatically place data on multiple disk drives and can increase performance and improve data reliability. Use NTFS for all disk partitions on your servers. NTFS allows security configuration, better performance, and more fault tolerance.
Network Interfaces
The ICA protocol is highly compressed and causes negligible loading on a network, but because the server handles all network requests, Citrix recommends a highperformance network interface card (NIC). If a multiport asynchronous communications adapter is installed for supporting serial ICA connections, be sure to use an intelligent (microprocessor-based) adapter to reduce interrupt overhead and increase throughput.
Go to Document Center
75
76
Go to Document Center
These recommendations are not a requirement. However, multiple domains or trust relationships with non-Active Directory domains can affect all aspects of user authentication, which include: Authentication for MetaFrame administrators Access by users to published applications Assignment of users to network printers
Go to Document Center
77
After you select users, changing the list of host servers can change the trust intersection, which can make the application unavailable to users who are no longer in the servers trust intersection. If the trust intersection changes, the console informs you and removes users who are no longer eligible to use the resource from the authorized users list. A published application is available only to users who can access every server that hosts the application. When multiple servers host the same application, you cannot predict to which servers users will connect when they launch the application. Therefore, if a user is authorized to access only some servers, you cannot ensure that the user will always be able to use the application. To prevent unpredictable access, MetaFrame Presentation Server removes users from the authorized users of a published application or printer if the accounts are not in the trust intersection for all the host servers.
Trust-Based Routing
Trust-based routing allows servers to be members of a server farm even if the servers belong to domains that do not trust each other. In trust-based routing, a request to enumerate users or authenticate a user is routed to a server that has the required domain trust relationship if the originating server does not. During a trust query cycle, a server registers its trusted domains with the farms data store. This operation occurs during every service startup and approximately every six hours while the service is executing. Therefore, the data store is a central repository of all trust data for the servers in the server farm. When a server needs to perform an operation (as defined below) on a domain that it does not trust, the server determines from the data store which servers can perform the operation and then routes the request to the most accessible server. Trust-based routing applies to the following operations: Authenticating a MetaFrame administrator to the Presentation Server Console Refreshing the display or launching an application in Program Neighborhood Enumerating users and groups in the console Resolving users and groups into distinguished account names when you add users or groups to a published application, add users to a printer autocreation list, or define new MetaFrame administrators
78
Go to Document Center
This section describes the Active Directory security groups and gives recommendations for using Active Directory security groups in a server farm. Domain local groups. In the Active Directory model, domain local groups can contain groups from other domains, but the domain local group can be assigned to resources only in the domain in which it exists. Universal groups. Universal groups can contain groups from other domains. Universal groups are stored in the Active Directory global catalog. Universal groups can be used for assigning permissions to resources in any domain. Domain global groups. Global groups contain groups within the same domain and can be assigned to resources in any domain. Citrix recommends that you use domain global groups for user access to published applications and network printers. Note Domain global groups are equivalent to non-Active Directory global groups. Domain local groups and universal groups are available only in Active Directory domains that are operating in native mode. If you plan to use universal groups or domain local groups, Citrix recommends that you follow the deployment guidelines in this section regarding domain configuration and use of groups to reduce administrative complexity. For in-depth technical information about user access issues and configuration issues, see User Permission Scenarios with Active Directory on page 78. If you change the servers that host a published application, the trust intersection with individual user accounts and with domain local groups can change. For example, if all servers hosting an application or a printer reside in a common domain, D1, you can select domain local groups from D1 to grant access to the resource. If you then configure additional servers to host the resource and these servers do not reside in D1, the Presentation Server Console detects the change and removes the D1 domain local group from the configured accounts for the resource. For more information about domains, establishing trust relationships among domains, and configuring user accounts in domains or Active Directory, see your Windows documentation.
Go to Document Center
79
If you use universal groups to give users permission to run published applications, all the servers that run an application (if you use Load Manager for load balancing) must reside in an Active Directory domain. If you use a domain local group to give users permission to run published applications, all servers that load balance an application must belong to the same domain. Also, the domain local group you assign to an application must be in the common primary domain of all the load balancing servers. If a user is a member of a domain local group, the group is in the users security token only when the user logs on to a computer in the same domain as the domain local group. Trust-based routing does not guarantee that a users logon request is sent to a server in the same domain as the domain local group.
The following table describes how network configurations affect user permissions with Active Directory.
Program Neighborhood filtering Domain Global Groups Domain Local Groups No adverse effects. Authenticating to published applications No adverse effects. Authenticating to the Presentation Server Console No adverse effects.
Recommendation: All servers in the farm must be in the same domain for Program Neighborhood filtering to work properly. Rationale: If a user is a member of a domain local group, the group is present in the users security token only when logging on to a computer in the same domain as the domain local group. Trustbased routing (see page 77) does not guarantee that a logon request is sent to a server in the same domain as the domain local group. It guarantees only that the request is handled by a server in a domain that trusts the users domain.
Recommendation: All servers that load balance an application must be in the same domain if a domain local group is authorized to use the application. Rationale: Domain local groups assigned to an application must be from the common primary domain of all the load balancing servers. When you publish applications, domain local groups appear in the accounts list if the first condition above is met and accounts from the common primary domain are displayed (a green domain icon denotes the servers common primary domain). If a published application has users from any domain local groups and you add a server from a different domain, domain local groups are removed from the configured users list, because all servers must be able to validate any user with permission to run the application.
Recommendation: If a user is a MetaFrame administrator only by membership in a domain local group, the user must connect the console to a server in the same domain as the domain local group. Rationale: If the user connects the console to a server in a different domain than the domain local group, the user is denied access to the console because the domain local group is not in the users security token.
80
Go to Document Center
Program Neighborhood filtering Universal Recommendation: No Active Groups Directory domains in the forest to which the servers belong have explicit trust relationships with nonActive Directory domains. Rationale: Non-Active Directory domains have no knowledge of universal groups and the domain controllers exclude a universal group from a users security token. As a result, applications might not appear in Program Neighborhood.
Authenticating to published applications Recommendation: If universal groups are assigned permission to the application, all servers that manage the application must be in an Active Directory domain. Rationale: A server in a non-Active Directory domain could authenticate the user to run the application. In this case, universal groups are not in the users security token, so the user is denied access to the application. It is possible for a server in a non-Active Directory domain to load balance an application with servers in an Active Directory domain if the domains have an explicit trust relationship.
Authenticating to the Presentation Server Console Recommendation: If a user is authenticating to the console and is a MetaFrame administrator only by membership in a universal group, the console must connect to a server that belongs to an Active Directory domain in the universal groups forest. Rationale: Non-Active Directory domain controllers and domains outside a universal groups forest have no information about the universal group.
Go to Document Center
81
The following table lists NDS terms and their meanings used in this section:
Term Tree Container object Meaning A set of objects set up hierarchically in a tree structure. The root object of the NDS tree is at the top of the tree. The tree may or may not branch to these NDS Container objects: Country (a country location for this part of the organization) Organization (a company, university, or departmental unit) Organizational Unit (a business unit, division, or project team) The name for a leaf object on the tree. Examples of leaf objects are: users, groups, servers, and printers. An objects position in the tree. One way to represent context is by a string of the Common Names of the objects in the path from the leaf or container object to the root. A combination of an objects common name and its context that makes up a complete NDS path for an object. A full Distinguished Name (DN) starts with a period, for the root, and has a period between each object name.
Distinguished Name
If you are setting up a server that does not yet have MetaFrame Presentation Server installed, install the Novell Client before you install MetaFrame Presentation Server. If MetaFrame Presentation Server is already installed, follow the procedure below for information about specifying the correct logon. Important If you install the Novell Client on a server before installing MetaFrame Presentation Server, set the following value in the [386Enh] section of the System.Ini file before you install MetaFrame Presentation Server: FileSysChange=off
82
Go to Document Center
Make this change in the System.ini file for all users. If this parameter is not set correctly, MetaFrame Presentation Server Setup reports that the FileSysChange parameter is not valid. Novell technical document 10058117 refers to this issue. See the Novell knowledgebase on the Web at http://support.novell.com/search/kb_index.jsp for more information. To change the registry on a server when installing the Novell Client If MetaFrame Presentation Server is installed before you install or upgrade the Novell Client, you must change registry settings on the server before and after you install the Novell Client. CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before you edit it. 1. Before installing the Novell Client, run regedt32. 2. Edit the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\Winlogon From the right pane, select GinaDLL and choose String from the Edit menu. In the String Editor dialog box, type Msgina.dll, a new value for the GinaDLL entry. 3. Install the Novell Client without restarting when prompted. 4. Edit the registry entry for GinaDLL as in Step 2. This time type Ctxgina.dll as the value. 5. With the key path for Winlogon still selected, click Edit on the top menu bar. 6. Click Add Value. 7. Type ctxGinaDLL in the Add Value dialog box. Data Type is REG_SZ. 8. Type nwgina.dll in the String Editor dialog box. This is the new value for the new ctxGinaDLL entry. 9. Restart the server.
Go to Document Center
83
To enable or disable NDS support for a server farm NDS support is disabled for a server farm by default. MetaFrame Presentation Server supports one NDS tree per farm. 1. Connect to a server that has MetaFrame XP Feature Release 1 or later and the Novell Client installed. 2. Select the farm node at the top of the tree and choose Actions > Properties. 3. Click MetaFrame Settings in the left pane of the Properties page. 4. Enter the NDS tree name in the Novell Directory Services Preferred Tree field. 5. Click OK. To assign MetaFrame administrator privileges to NDS objects A MetaFrame administrator can assign MetaFrame administrator privileges to objects in an NDS tree, such as a country, organization, organization unit, group, user, or an alias. 1. In the console, from the Actions menu, select New > MetaFrame Administrator. The first page of the Add MetaFrame Administrator wizard appears. 2. On the first page of the Add MetaFrame Administrator wizard, open the NDS tree in the Look in box. Objects in the NDS tree represent container objects and leaf objects. 3. Select the Show Users box to see the user and alias objects in this hierarchy. 4. Open container objects until the object that you want to add to the MetaFrame Administrator list is displayed in the Look in box. Select this object. 5. Click Add. Click Next. 6. Assign the tasks you want the MetaFrame administrator to be able to perform. 7. Click Finish. This object and those below it have the selected MetaFrame administrator privileges. To log on to the Presentation Server Console as an NDS user You need a Distinguished Name, password, and NDS tree name to perform the following steps. If you do not have this information, consult the Novell or MetaFrame administrator who set up the NDS object to have MetaFrame administrator privileges.
84
Go to Document Center
1. Type a Distinguished Name in the User Name field. A full Distinguished Name starts with a period and has a period between each object name. For example, user JoeX, within two container objects (the Admin organization unit within the PNQ organization) would type the following Distinguished Name in the User Name box: .JoeX.Admin.PNQ 2. Type the password in the Password box. 3. Type the NDS tree name in the Domain box. To publish an application for NDS users 1. Log on to the Presentation Server Console as an NDS user. 2. Verify that the intended host server has the Novell Client installed. 3. From the Actions menu, choose New > Published Application. 4. Follow the instructions in the Publish Application wizard. Click Help to obtain detailed help for each step. 5. In the Specify Users dialog box of the Publish Application wizard, double-click to open the NDS tree. 6. Open container or leaf objects until the object to be granted access is in the window. 7. Select the object and click Add. Click Finish. The object and those under it can access the application.
Go to Document Center
85
86
Go to Document Center
The user management subsystem updates its domain trust information every six hours (and during service startup). Therefore, it might take as long as six hours for all servers in the server farm to recognize a new trust relationship. You can avoid a delay in detection of network trust changes by restarting the IMA Service on all servers affected by the change. For example, if you change a trust relationship to allow DomainX to trust DomainY, restart all servers that belong to DomainX. With Active Directory, if you add a new domain to an Active Directory forest, for example, restart the IMA Service on all servers that belong to a domain in the forest that is affected by the change. If you are unsure which servers are affected by a trust relationship change, you can restart the IMA Service on all servers in the farm to ensure that the change is recognized. Citrix recommends that you restart the IMA Service only during offpeak hours when the load on the servers is very low.
In order to create effective MetaFrame administrator accounts, ensure that all users you are going to add as MetaFrame Administrators are Domain Users for the domain in which your farm resides. Users who are MetaFrame Administrators who take server snapshots must also be authorized WMI users on each server on which they are taking snapshots. When you install MetaFrame Presentation Server on the first server in a new farm, you specify an initial farm administrator. This user account is automatically configured as a MetaFrame administrator with full administration rights in the Presentation Server Console. Ensure that all users you add as MetaFrame Administrators are Domain Users for the domain in which your farm resides. Users who are MetaFrame Administrators who take server snapshots must also be authorized WMI users on each server on which they are taking snapshots.
Go to Document Center
87
To give other user accounts access to the console, a MetaFrame administrator with full administration rights logs on to the console and creates other MetaFrame administrator accounts. The level of permission for various areas of farm management depends on the specific business function of the administrator. For example, your system or network administrators may need complete access to all areas of farm and server management, while help desk personnel may need only view access to most areas. To give administrators of your server farm access to the Presentation Server Console, you add their network user accounts to the MetaFrame administrators group. The console uses standard Windows network logon and user account authentication mechanisms. Click the MetaFrame Administrator node in the left pane of the console to view all MetaFrame administrators. When you create a MetaFrame administrator account for a user, you can grant or deny access to specific farm management tasks, such as disconnecting users, or to an entire area of server farm management, such as managing sessions. You can create specialized MetaFrame administrators with the permission level to carry out specific tasks without granting these administrators full access to all areas of farm management. For more information about delegating administration rights to MetaFrame administrators, see Creating MetaFrame Administrator Accounts on page 159. Note One MetaFrame administrator account with full administration rights must always exist in the server farm. MetaFrame Presentation Server prevents you from deleting the last MetaFrame administrator account with full administration rights. However, if no administrator accounts exist in the farm data store database, a local administrator account can log on to the Presentation Server Console to set up MetaFrame administrator accounts. If the data store database contains at least one MetaFrame administrator account, a local administrator account cannot log on to the Presentation Server Console.
88
Go to Document Center
Configuring network firewalls to allow communication among clients, MetaFrame Presentation Server, and the Web Interface Configuring a server farm for interoperability with servers running MetaFrame 1.8
Note Features described in this section, including ICA browsing and published applications, are not available to all MetaFrame Presentation Server Clients. This section focuses on the features available with Clients for Win32, Version 6.0 or later.
This diagram shows a client performing ICA browsing when requesting an application from a server. To run an application, a client initiates an ICA session with the server.
ICA Browsing
ICA browsing is a process in which a client transmits data to locate servers on the network and get information about the server farms published applications. For ICA browsing, clients communicate with the Citrix XML Service or the ICA browser, depending on the browsing protocol selected in the client. These options are described under Configuring ICA Browsing on page 90. ICA browsing occurs when: Users launch published applications. The client sends a request to locate the application on a server. If you are using Load Manager, a component of MetaFrame Presentation Server for Windows, Advanced Edition and Enterprise Edition, the client gets the address of the server with the lightest load. Program Neighborhood users display the Application Set list in the Find New Application Set wizard.
Go to Document Center
89
Program Neighborhood users display the Server or Published Application list in the Add New ICA Connection wizard to create a custom ICA connection.
This screenshot shows how ICA browsing produces the Server and Published Application lists for a custom ICA connection in the Client for 32-bit Windows.
ICA Sessions
An ICA session is the communications link between clients and servers that users establish to run applications. In an ICA session, a server transmits an applications screen display to the client and the client sends the users keystrokes, mouse actions, and local data to the application running on the server. The default port on servers for ICA sessions is 1494. This port must be open on firewalls for inbound communication if clients are outside the firewall. The outbound port used on the client for the ICA session is configured dynamically when the session is established. In addition to computers running MetaFrame Presentation Server, other components, such as computers running the Web Interface, proxy servers, and Web browsers can be involved in establishing ICA sessions. In all cases, the basic communications link for an ICA session is between the client and the server.
90
Go to Document Center
Important MetaFrame Presentation Server does not support multiple farms on the same subnet configured to respond to master browser requests.
Go to Document Center
91
Note Some MetaFrame Presentation Server Clients do not use ICA browsing and connect only to specified servers. The options described in this section apply to MetaFrame Presentation Server Clients for Win32. For information about other server location options, see the Administrators Guide for each client you plan to deploy.
92
Go to Document Center
To locate the Citrix XML Service, the MetaFrame Presentation Server Client makes an HTTP connection to port 80 on the server. If the user is launching a published application, for example, the XML Service then sends to the client the address of a server that has the application published. When you configure the client to use TCP/IP+HTTP, communication between the client and XML Service consists of XML-formatted data in HTTP packets. Citrix recommends using TCP/IP+HTTP protocol for ICA browsing because it provides several advantages for most server farms: TCP/IP+HTTP uses XML data encapsulated in HTTP packets that the client sends to port 80 by default. Most firewalls are configured so port 80 is open for HTTP communication. TCP/IP+HTTP does not use UDP (User Datagram Protocol) or broadcasts to locate servers in the server farm. Routers pass TCP/IP packets between subnets, which allows clients to locate servers that are not on the same subnet.
Go to Document Center
93
You can set the server farm, or individual servers, to respond to client broadcasts for compatibility with deployed clients. Because UDP broadcast packets do not traverse subnets, using broadcasts for ICA browsing works only if a server that responds to broadcasts is in the same subnet as the clients. After the client locates a server, it communicates using directed (not broadcast) UDP to port 1604. Because of broadcast limitations, you might prefer to enter one or more IP addresses or DNS names of servers in the Address List box. You must do this if the client is not on the same subnet as a data collector. In summary, using the TCP/IP setting and auto-location for ICA browsing is less efficient than using TCP/IP+HTTP because it relies on UDP and UDP broadcasts.
TCP/IP
Default (Auto-Locate)
UDP broadcast
TCP/IP
Specified server(s)
Directed UDP
94
Go to Document Center
For example, when a user launches a published application in Program Neighborhood, the client sends a request for the application. The XML Service responds with the address of a server on which the application is published. With the Web Interface, for example, a user connects to a Web page using a Web browser. The XML Service provides a list of available applications to the server running the Web Interface. The Web server displays the available applications on the users personalized application Web page.
Go to Document Center
95
Important If you change the port used by the Citrix XML Service, you must set the correct port in the client. You can specify a port number when you add a server to the Address List under Server Location in the client. If you also use the Web Interface, be sure it uses the correct port for XML Service communication. For more information, see the Web Interface documentation. See the clients Administrators Guide or online help for instructions about configuring the clients.
96
Go to Document Center
To enable or disable DNS address resolution in a server farm 1. Open the Presentation Server Console. 2. Select the farm node at the top of the tree and choose Actions > Properties. 3. Select MetaFrame Settings in the left pane of the farms Properties page. 4. In the right pane, select or clear Enable XML Service DNS address resolution. 5. Click OK.
Go to Document Center
97
This diagram shows basic client-to-server communication. With a firewall between clients and servers, port 80 is open for inbound HTTP to the XML Service, and port 1494 is open for inbound ICA packets.
The process of running the application begins with ICA browsing for server location. TCP/IP+HTTP protocol and server addresses are specified for server location in the MetaFrame Presentation Server Client. 1. The client sends a request to the Citrix XML Service on port 80 on a specified server using HTTP. 2. The Citrix XML Service sends the address of a server that has the requested application. 3. The client establishes an ICA session with the server specified by the XML Service. ICA packets travel from the client to port 1494 on the server. ICA packets travel from the server to a dynamically assigned port number on the client. Organizations often place their Web servers in a demilitarized zone (DMZ) between firewalls. In the following configuration, servers running the Web Interface are located between firewalls to isolate them from the server farm and clients.
98
Go to Document Center
This diagram shows communication with servers running the Web Interface. In a network configuration with Web servers in a demilitarized zone between firewalls, users Web browsers send application requests to servers running the Web Interface. Web servers send secure (HTTPS) requests to the SSL Relay and XML Service in the server farm. Clients establish ICA sessions with servers on port 1494. The port used on the clients is configured dynamically.
As with the basic configuration, Citrix recommends that clients use the TCP/IP+HTTP protocol to communicate through a firewall. When the user launches an application from a Web page, the client establishes an ICA session through the firewall to port 1494 on the server. The diagram below illustrates communication between clients and servers when SSL encryption is used.
Go to Document Center
99
This diagram shows client-to-server communication with SSL. For SSL communication, port 443 is open for inbound communication to the Citrix SSL Relay. The client communicates with the SSL Relay for server location and ICA session communication.
The process of running the application begins with ICA browsing for server location. In this scenario, SSL+HTTPS protocol and server IP addresses are specified for server location in the client. 1. The client sends an encrypted request to the Citrix SSL Relay on port 443 on a specified server using HTTPS. 2. The SSL Relay decrypts the request and sends it to the Citrix XML Service on port 80. 3. The Citrix XML Service sends the address of a server that has the requested application to the SSL Relay. 4. The SSL Relay encrypts and sends the address of the server to the client. 5. The client establishes an SSL-encrypted ICA session with the server specified by the Citrix XML Service. ICA packets travel from the client to port 443 on the server and are then decrypted and passed to port 1494. SSL-encrypted ICA packets travel from the server to the client.
100
Go to Document Center
2598 80
443 2512
Server to Microsoft SQL or Oracle server Server to license server Presentation Server Console to server Clients to ICA browser service (UDP)
In the console, open the farm or server properties page, License Server. See MetaFrame Presentation Server Commands on page 333 for information about the IMAPORT command. Servers always respond to directed UDP requests. Use the settings of a farms Properties page for configuring the way that servers respond to broadcasts from clients. Not configurable. This port is used only when the farm is interoperating with servers running MetaFrame 1.8.
1604
1604
Go to Document Center
101
Default drive mappings for sessions are shown in the following table. Client drives C and D are renamed V and U, because the server drives use the letters C and D.
Logical drive letter Client drives A (floppy drive) B (floppy drive) C D Server drives C D E Drive letter in ICA sessions A B V U C D E
102
Go to Document Center
To make drive access more familiar for users, you can change the server drives to use letters that are not likely to be used by client devices. Doing so ensures that client drives retain their original drive letters. The following table shows an example of drive letters used if you change the drive letters of a server.
Logical drive letter Client drives A (floppy drive) B (floppy drive) C D Server drives C D E Drive letter in ICA sessions A B C D M N O
If you intend to change a servers drive letters, do so before you install MetaFrame Presentation Server. If you change server drive letters after you install MetaFrame Presentation Server, you must do it before installing any applications. If you change the servers drive letters, MetaFrame Presentation Server searches the following registry keys and changes all drive references to reflect the new drive letters: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\* HKEY_LOCAL_MACHINE\SOFTWARE\Equinox\eqn\CurrentVersion \NetRules HKEY_LOCAL_MACHINE\SYSTEM\* HKEY_CLASSES_ROOT\* HKEY_USERS\* MetaFrame Presentation Server also updates the pagefile entry and the following shortcut files:
%SystemRoot%\Profiles\Default User\*.lnk %SystemRoot%\Profiles\Administrator\*.lnk %SystemRoot%\Profiles\All Users\*.lnk
The first time a user logs on to a server after you change the drive letters, references to the old drive letters in the users profile are updated. Run Driveremap.exe to change the servers drive letters. For more information about this utility, see DRIVEREMAP on page 362.
Go to Document Center
103
If you are using smart cards for secure network authentication, your users can authenticate to applications and content published on servers. In addition, smart card functionality within these published applications is also supported. For example, a published Microsoft Outlook application can be configured to require that users insert a smart card into a smart card reader attached to the client device to log on to the server. After users are authenticated to the application, they can digitally sign email using certificates stored on their smart cards. Citrix has tested smart cards that meet Standard 7816 of the International Organization for Standardization (ISO) for cards with electrical contacts (known as a contact card) that interface with a computer system through a device called a smart card reader. The reader can be connected to the host computer by the serial, USB, or PCMCIA port. Citrix supports the use of PC/SC-based cryptographic smart cards. These cards include support for cryptographic operations such as digital signatures and encryption. Cryptographic cards are designed to allow secure storage of private keys such as those used in Public Key Infrastructure (PKI) security systems. These cards perform the actual cryptographic functions on the smart card itself, meaning the private key and digital certificates never leave the card. In addition, you can use two-factor authentication for increased security. Instead of merely presenting the smart card (one factor) to conduct a transaction, a userdefined PIN (a second factor), known only to the user, is employed to prove that the cardholder is the rightful owner of the smart card. Note MetaFrame Presentation Server does not support RSA Security Inc.s PKCS (Public-Key Cryptography Standard) #11 functional specification for personal cryptographic tokens.
104
Go to Document Center
You can also use smart cards with the Web Interface for MetaFrame Presentation Server. For details about configuring the Web Interface for smart card support, see the Web Interface Administrators Guide, available from the Document Center.
Software Requirements
The following section presents the basic guidelines for using smart cards with MetaFrame Presentation Server. Consult your smart card vendor or integrator to determine detailed configuration requirements for your specific smart card implementation. The following components are required on the server: PC/SC software Cryptographic Service Provider (CSP) software
These components are required on the device running the supported MetaFrame Presentation Server Client: PC/SC software Smart card reader software drivers Smart card reader
Your Windows server and client operating systems may come with PC/SC, CSP, or smart card reader drivers already present. See your smart card vendor for information about whether these software components are supported or must be replaced with vendor-specific software. If you are using pass-through authentication to pass credentials from your Windows 2000 or Windows XP client device to the smart card server session, CSP software must be present on the client device. You do not need to attach the smart card reader to your server during CSP software installation if you can install the smart card reader driver portion separately from the CSP portion.
Go to Document Center
105
To enable support for smart card usage within an application, run the Scconfig.exe command-line utility on each server that hosts the application. This utility is used to specify the applications (for example, Outlook.exe) that you want to configure to have smart card transactions redirected from the server on which they execute to the client device that hosts the smart card reader. This utility may be executed remotely by specifying a target server according to the syntax below.
SCCONFIG /? SCCONFIG ([/SERVER:servername] | [/FARM]) ([/QUERY] | [/Q]) SCCONFIG ([/SERVER:servername] | [/FARM]) [/LOGON:on|off] [/ENABLE_PROCESS: processname] [/ DISABLE_PROCESS:processname] SCCONFIG [/SERVER:servername] [/INHERIT:on|off]
The parameters used in this utility are explained below. The /? option returns on-screen help for this utility. The /SERVER:servername option specifies the target server to configure. The /FARM option is used to set a farm-wide setting but does not configure any servers. When the farm-wide setting is set, servers are configured according to the state of the /INHERIT option. When MetaFrame Presentation Server is installed on the server, on is the default state for /INHERIT. If neither the /SERVER or /FARM option is specified, the local server is assumed. The /QUERY or /Q option can be used with the /SERVER or /FARM option to display currently configured settings. The /LOGON option is used to turn on or off support for smart card authentication during logon to MetaFrame Presentation Server. Upon MetaFrame Presentation Server installation, on is the default state for / LOGON. The /ENABLE_PROCESS and /DISABLE_PROCESS options are used to enable or disable support for applications that can take advantage of smart card functionality when run as published applications. For example, to enable support for Microsoft Outlook, the processname would be OUTLOOK.EXE.
106
Go to Document Center
Smart-card removal policy. This is a computer policy that has three possible settings to determine the client device behavior when the user removes the smart card from the smart card reader: None (no effect) Lock Workstation (disconnects all user sessions) Force Logoff (logs off all user sessions)
To configure smart card support for users of these clients, see the Administrators Guide for the clients in your environment.
Go to Document Center
CHAPTER 5
This chapter gives you guidelines and step-by-step instructions for the following tasks: Creating a new server farm Migrating to MetaFrame Presentation Server Overview of upgrading an existing server farm Installing or upgrading individual servers Choosing options during Setup Installing client software on the server Unattended Setup of MetaFrame Presentation Server Cloning servers Uninstalling MetaFrame Presentation Server
If you are deploying MetaFrame Presentation Server for the first time, before you install this product, read Planning for Deployment on page 69.
108
Go to Document Center
3. Remap server drives. 4. Install database software and create the farm data store. The data store contains persistent configuration information about all servers in the farm. All servers must be able to reference this configuration information. Before installing MetaFrame Presentation Server, you choose and install a database product to serve as your farm data store. For information about using various database products for the farm data store, see Choosing a Database for the Data Store on page 40. 5. Install the MetaFrame Access Suite license server. For information about installing the license server, see the MetaFrame Access Suite Licensing Guide. 6. Create your farm by installing your first data collector and server. For information about installing individual servers, see Installing or Upgrading Individual Servers on page 116.
Go to Document Center
109
7. Install the Access Suite Console, the Presentation Server Console, and the Document Center. For information about installing individual servers, see Installing or Upgrading Individual Servers on page 116. 8. Install the Web Interface. For information about installing individual servers, see Installing or Upgrading Individual Servers on page 116. 9. After installation, restart servers. The installation of MetaFrame Presentation Server performs the following: Updates the computer with a new Gina DLL Registers modules to be loaded as part of Windows Terminal Services For any newly installed server running MetaFrame Presentation Server, for the new Gina DLL to take effect and allow users to log on and to enable Windows Terminal Services, you must restart the computer.
110
Go to Document Center
By changing the server to use drive letters that are higher, such as M, N, or O, the original lower drive letters become available for assignment to the drives on client devices. This can make the use of drives on client devices less confusing for users, because they see their drives identified by typical drive letters. To access the drive remap utility, select Product installations on the initial Autorun screen, and then select Remap drives. For more information about the DriveRemap utility, see DRIVEREMAP on page 362.
Go to Document Center
111
5. In the Authentication section of the General tab, select SQL Server authentication and enter a password. Remember the password; you must enter it when you install MetaFrame Presentation Server. 6. In the Defaults area of the General tab, in the Database menu, select the database name you specified in Step 4. 7. Click the Database Access tab. In the Database list, select the database name you specified in Step 4. 8. In the Database Roles list, select DB_Owner. Leave other selected roles selected. 9. Click OK. You are prompted to confirm your password, which completes the creation of the database. To create a data store database with Oracle 1. If you do not already have Oracle installed, install it using the default database. 2. On the Oracle server, run SQL Plus. At the connection prompt, type internal. 3. Use the following commands as guidelines for creating a tablespace and user: create tablespace MFIMA datafile D:\ORADATA\MFIMA.DBF size 5000k autoextend on next 5000k maxsize unlimited; alter tablespace MFIMA default storage (pctincrease 0 maxextents unlimited); create user MFADMIN identified by PASSWORD default tablespace MFIMA temporary tablespace TEMP; grant connect, resource to MFADMIN; The tablespace is named MFIMA and saved in D:\ORADATA\MFIMA.DBF. The user is named MFADMIN and has the password PASSWORD. Temp is the default temporary tablespace for Oracle 8i and Oracle 9i. If you are using Oracle 7, use TEMPORARY_DATA instead of TEMP. To create a data store database with IBM DB2 1. If you do not already have an IBM DB2 database installed, install one using the default database. 2. Create a tablespace for MetaFrame Presentation Server using the following DB2 SQL script: CREATE REGULAR TABLESPACE CTXSDB PAGESIZE 4 K MANAGED BY SYSTEM USING (C:\CTXSDB\MPS4) EXTENTSIZE 32 OVERHEAD 8.3 PREFETCHSIZE 32 TRANSFERRATE 0.18 BUFFERPOOL IBMDEFAULTBP COMMENT ON TABLESPACE CTXSDB IS
112
Go to Document Center
3. Create a local user account called MPSADMIN and then use the following DB2 SQL script to grant this account use of the tablespace: GRANT USE OF TABLESPACE CTXSDB TO USER MPSADMIN WITH GRANT OPTION GRANT USE OF TABLESPACE CTXSDB TO PUBLIC WITH GRANT OPTION In the example above, the tablespace is named CTXSDB and saved in C:\CTXSDB\MPS4\sqltag.nam. The user is named MPSADMIN.
After upgrading your farm to MetaFrame XP, Feature Release 3, or MetaFrame Presentation Server 3.0, you can then use Autorun to upgrade servers to the most current release.
Go to Document Center
113
For instructions about how to migrate a farm with servers running MetaFrame 1.0, MetaFrame 1.8, and versions of MetaFrame XP prior to Feature Release 3, see the MetaFrame Presentation Server Migration and Upgrade Guide, which is available for download from the Support area of the Citrix Web site: http://support.citrix.com/
114
Go to Document Center
7. Deploy the new package to client desktops using Active Directory group policy, Microsoft Systems Management Server (SMS), or other third party deployment product. This deployment method requires no user input. 8. Decommission the farm running MetaFrame 1.0 or 1.8. You can use the Web Interface for MetaFrame Presentation Server 4.0 to aggregate the published applications from the MetaFrame 1.8 farm alongside the MetaFrame Presentation Server 4.0. This is useful if the transition from MetaFrame 1.8 to MetaFrame Presentation Server 4.0 takes place over a period of weeks or months. When using Web Interface with MetaFrame 1.8, you must ensure that ICA authentication tickets are disabled for the MetaFrame 1.8 farm configuration. If ICA authentication tickets are not disabled, the following message is displayed in the browser of the Web Interface client:
Error: An error has occurred while connecting to the requested resource.
You also see the following event in the application log of the Web Interface server:
Event Type: Error Event Source: Web Interface at <Site_Path> Event Category: None Event ID: 0 Description: The farm <Farm_Name> has been configured to use MetaFrame Presentation Server ticketing, but no ticket tag was received. Check that the farm supports ticketing. [Log ID: a561610e]
Migrating from MetaFrame XP, Feature Release 3, and MetaFrame Presentation Server 3.0
To upgrade servers running MetaFrame XP, Feature Release 3 or MetaFrame Presentation Server 3.0, you can use Autorun from the server installation CD. See the following table for information about supported migration paths from earlier versions of this product:
MetaFrame XP, Feature Release 3 for Windows 2000 Server MetaFrame XP, Feature Release 3 for Windows Server 2003 MetaFrame Presentation Server 3.0 for Windows 2000 Server MetaFrame Presentation Server 4.0 for Windows 2000 Server with Service Pack 4 MetaFrame Presentation Server 4.0 for Windows Server 2003 MetaFrame Presentation Server 4.0 for Windows 2000 Server with Service Pack 4
Go to Document Center
115
Citrix recommends that you maintain all servers in a farm at the most recent release level of MetaFrame Presentation Server. If you find that you need to run different release levels of MetaFrame Presentation Server in your server farm on a temporary basis, configure a server running the latest release as the zones data collector. See Configuring Zones and Data Collectors on page 21 for more information. To migrate a server farm to MetaFrame Presentation Server 1. Verify installation prerequisites. To verify that your computer satisfies installation prerequisites for each component you are installing, review the installation checklist. To access the installation checklist, select View installation checklist from the initial Autorun screen. 2. Install the license server. Citrix licensing has changed from MetaFrame XP, Feature Release 3. If you are upgrading from MetaFrame XP, Feature Release 3, before you upgrade the first server in a farm, install a license server. Before upgrading, ensure you download current licenses. For information about installing the license server, see the MetaFrame Access Suite Licensing Guide. 3. Upgrade MetaFrame Conferencing Manager from Version 2.0 to Version 3.0 or 4.0. MetaFrame Conferencing Manager, Version 2.0 is not compatible with this version of MetaFrame Presentation Server. 4. Turn off interoperability mode in the farm you are migrating. 5. Upgrade farm metric servers. If you are upgrading from an earlier release of MetaFrame Presentation Server, Enterprise Edition, upgrade the farm metric servers (primary and backup) before upgrading other servers in the farm. Resource Manager, a component of Enterprise Edition, uses the farm metric servers to interpret information collected from other servers. Farm metric servers running earlier versions of Resource Manager than other servers in the farm may cause inconsistencies.
116
Go to Document Center
6. Upgrade Presentation Server Console, Access Suite Console, and Web Interface. To automatically upgrade the consoles and the Web Interface and preserve custom configuration settings, accept the default settings of the Install MetaFrame Presentation Server and its components option in Autorun. Accepting the default settings automatically upgrades the consoles and the Web Interface before upgrading the server and preserves custom configuration settings. Note When you upgrade the Access Suite Console, or if you are sharing My Views between systems running different versions of the Access Suite Console, there are certain restrictions on how the upgraded console recognizes previously saved My Views. Specifically, this restriction applies if you are using the consoles included with MetaFrame Presentation Server 3.0 and MetaFrame Presentation Server 4.0. If, after upgrading, you are asked whether or not you want to upgrade your .msc configuration file, choose one of the following options: If you choose to Upgrade your file, you cannot use an older version of the console to access the My Views stored in the file, but you can save My Views in your new version of the console. If you choose Dont Upgrade, the file is not upgraded. You can continue to use either version of the console to access the My Views stored in the file, but you can save only My Views to this file using the older version of the console.
7. Upgrade zone data collectors. 8. Upgrade farm servers. 9. If you are using MetaFrame Conferencing Manager, install and configure the Guest Attendee Web Interface. For additional information about upgrading individual servers, continue with the next section.
Go to Document Center
117
Important Several aspects of the way MetaFrame Presentation Server is installed have changed. If you are upgrading from an earlier release of this product and want to preserve your configuration settings, make sure you read the section Migrating to MetaFrame Presentation Server on page 112.
CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before making changes to it. Key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\ Windows\Installer Type: REG_SZ Name: Logging Value data: iwearucmopv A log file is created in the %Tmp% directory for each operation. Use Active Directorys Group Policy Editor to configure logging properties for an Active Directory group.
To edit the Logging policy, open Group Policy Editor and select Computer Configuration > Administrative Templates > Windows Components > Windows Installer.
Using Autorun
Autorun consists of multiple screens from which you select tasks you want to perform, such as installing MetaFrame Presentation Server or viewing the installation checklist. If you select an installation task, a Setup wizard opens and guides you through the installation process. For information about choosing options during Setup, see Choosing Options during Setup on page 120.
118
Go to Document Center
Go to Document Center
119
Important If you are upgrading to MetaFrame Presentation Server, make sure to read the section, To migrate a server farm to MetaFrame Presentation Server on page 115 for important information about preserving custom configuration settings. Apply Service Pack 2005.04 to MetaFrame Presentation Server 3.0. Select this option to apply all service packs for MetaFrame Presentation Server 3.0. This option does not update your server to the feature set for MetaFrame Presentation Server 4.0. This option fixes only problems solved since the last full release of MetaFrame Presentation Server 3.0. Install management consoles. Select this option to install the Access Suite Console and the Management Console for MetaFrame Presentation Server only. You can install both consoles on computers other than those running MetaFrame Presentation Server, such as workstations and laptops.
120
Go to Document Center
Install a transform (use with Install or Uninstall option) Set the user interface level (use with Install or Uninstall option)
Go to Document Center
121
The following section describes the various options you configure during Setup. The options are presented in the order they appear if you select the Install MetaFrame Presentation Server and its components option on the Product installations screen of Autorun. Depending on the components you choose to install, you may not encounter all configuration options described in this section, or you may encounter them in different order. To install MetaFrame Presentation Server and its components, your computer must satisfy specific installation prerequisites for each component. To verify that your computer satisfies installation prerequisites for each component you are installing, review the installation checklist. To access the installation checklist, select View installation checklist from the initial Autorun screen. If you launch Setup from the Autorun screen, Setup automatically installs any software prerequisites on the server except Windows components. Setup does not install Windows components. If Setup detects a missing Windows component that is required to run MetaFrame Presentation Server, you must install the Windows component manually and then resume Setup. You may choose to install software prerequisites yourself. To do so, run the Setup files located in the Support folder of the MetaFrame Presentation Server CD-ROM and then resume Setup. Consult your software vendor for installation guidelines and available updates.
122
Go to Document Center
If you have questions about which edition to choose, contact your reseller or go to the Product Information area of the Citrix Web site at http://www.citrix.com/ products. Based on the edition you select, Setup presents you with the components that are available for installation.
Go to Document Center
123
124
Go to Document Center
For more information about deployment recommendations, see Planning for Deployment on page 69.
Go to Document Center
125
Important To use SQL Server Desktop (MSDE) for your farm data store, you must install MSDE on the server before you install MetaFrame Presentation Server. For more information about installing MSDE, see Microsoft SQL Server 2000 Desktop Engine (MSDE) on page 50. The default zone name is the mask for the subnet in which the server resides. If you want to change the server farm zone name, clear the option Use Default Zone Name and enter the new name.
3. Click Next and continue with Setup. To add a server to an existing server farm 1. On the Create or Join a Server Farm Setup screen, select Join an existing farm and click Next. 2. Select Connect to a database on this server and then enter the name of the server hosting the Access or MSDE database. The default communication port is 2512. 3. Accept the default zone name or enter a different zone name. 4. Click Next and continue with Setup.
126
Go to Document Center
Important If your driver does not appear in the list, cancel Setup, install the driver, and then restart Setup. The default zone name is the mask for the subnet in which the server resides. If you want to change the server farm zone name, clear the option Use Default Zone Name and enter the new name.
3. Click Next and continue with Setup. 4. Follow the procedure To configure an ODBC driver for Microsoft SQL Server on page 127, To configure the ODBC driver for Oracle on page 130, or To configure the ODBC driver for IBM DB2 on page 131. 5. Follow the remaining instructions in Setup. This completes data store configuration of the first server in a new farm.
Go to Document Center
127
To add a server to an existing server farm 1. On the Create or Join a Server Farm Setup screen, select Join an existing farm and click Next. 2. Select Connect directly to the database using ODBC. Select your database from the list and click Next. 3. Follow the instructions in the procedure To create a server farm with a SQL, Oracle, or DB2 data store beginning with Step 3.
1. For the Name text box, accept the default value. From the Server list, select the SQL server you want to use. 2. When prompted to select how to verify the authenticity of the login ID: Select With SQL Server authentication. In the Login ID text box, specify the login ID created by the database administrator.
128
Go to Document Center
In the Password text box, specify the password associated with login ID.
Click Next. If the ODBC manager is unable to verify the login ID and password, the ODBC manager prompts you to reenter them.
This screen capture shows where to select SQL server authentication and specify the login ID and password.
3. When prompted: Select Change the default database to. From the list, select the database you created for MetaFrame Presentation Server. Click Next.
Note SQL Server login IDs can be configured to log on to a database by default. If in your SQL Server administrative program the logon ID is set to log on to the data store database by default, you do not have to specify a default database in this dialog box.
Go to Document Center
129
This screen capture shows where to change the default database and where to select a database from the list.
4. Click Finish.
This screen capture shows the Finish button is located on the same pane where you can change the language of SQL Server system messages.
5. Test the new data source name. Click Test Data Source. If the test completes successfully, click OK twice to complete the data source name configuration. After creating your new data source, follow the steps in the procedure, To create a server farm with a SQL, Oracle, or DB2 data store on page 126, beginning with Step 6.
130
Go to Document Center
To configure the ODBC driver for Oracle Selecting an Oracle driver from the database list in Setup brings up the Oracle8 ODBC Drive Connect dialog box.
This screen capture shows the Oracle8 ODBC Driver Connect dialog box with fields for Service Name, User Name, and Password.
1. In the Service Name text box, type the service name used when you installed the Oracle client. In the User Name and Password text boxes, type the user name and password created on the Oracle server for the data store. 2. Click OK. This completes the Oracle data store setup. You are now ready to proceed with MetaFrame Presentation Server Setup. Follow the steps in the procedure To create a server farm with a SQL, Oracle, or DB2 data store on page 126, beginning with Step 6.
Go to Document Center
131
To configure the ODBC driver for IBM DB2 Selecting IBM DB2 ODBC DRIVER from the database list in Setup brings up the Connect To DB2 Database dialog box.
This screen capture shows the Connect To DB2 Database dialog box with a drop-down menu for selecting a Database alias, a button to add a Database alias, fields for entering User ID and Password, Change password features, and Connection mode selection of Share or Exclusive.
1. Set the connection mode to Share. 2. Click Add to launch the IBM DB2 Client Configuration Assistant. This wizard walks you through configuring the ODBC connection to the DB2 database. 3. Follow the instructions in the Client Configuration Assistant. On the Protocol page, be sure you select TCP/IP. Citrix recommends that you use this protocol to connect to the data store. 4. Click Finish when you are done configuring the connection. 5. On a Windows 2003 Server, click Test Connection to make sure that the connection to the database works. 6. Click Close. 7. Ensure that the connection mode is still set to Share. 8. Enter the User ID and Password. 9. Click OK.
132
Go to Document Center
This completes the DB2 data store setup. You are now ready to continue with Setup. Follow the steps in the procedure To create a server farm with a SQL, Oracle, or DB2 data store on page 126, beginning with Step 6.
For more information about delegating administration rights to MetaFrame administrators, see Creating MetaFrame Administrator Accounts on page 159. Note One full authority administrator account must always exist in the server farm. Therefore, MetaFrame Presentation Server prevents you from deleting the last full authority administrator account. However, if the account no longer exists in the network account authority, the console allows a local administrator to log on to the console to set up administrator accounts.
Go to Document Center
133
134
Go to Document Center
Important Shadowing restrictions are permanent. If you disable shadowing or enable shadowing but disable certain shadowing features during Setup, you cannot change the restrictions later. Any user policies you create to enable user-to-user shadowing are subject to the restrictions you place on shadowing during Setup. Do not disable shadowing as a substitute for user- and group-specific connection policies. Prohibit shadowing of user sessions on this server. Select this option to permanently disable shadowing of user sessions on the server. If you disable shadowing during Setup, you cannot enable it using other MetaFrame Presentation Server configuration utilities or by creating connection policies. Allow shadowing of user sessions on this server. Select this option to enable shadowing of user sessions by the server. When you enable shadowing, you can apply the following restrictions: Prohibit remote control. By default, authorized users can view a session they are shadowing, and also use their keyboard and mouse to interact with it. Select this option to allow authorized users to view sessions but not to have keyboard and mouse input. Shadowing without keyboard and mouse input may conceal from the user the fact that a session is being shadowed. Force a shadow acceptance popup. By default, users are notified by an acceptance prompt when other users are attempting to shadow their sessions. Select this option to deny users the ability to shadow sessions without sending this acceptance prompt. Log all shadow connections. You can log events such as shadowing attempts, successes, and failures in the Windows event log and examine them using Event Viewer. Select this option to enable logging.
Go to Document Center
135
If you do not want the Citrix XML Service to share the TCP port with IIS, you can use a separate port for the Citrix XML Service. On the Configure Citrix XML Service Port Setup page, select Use a separate port and enter the new port number. If you plan to change the port used by the Citrix XML Service on MetaFrame Presentation Server, make sure the port you plan to use is not used by any other application. For a list of ports in use, type netstat -a at a command prompt. Make a note of the port number you specify. If you use a port other than the default port 80, you must configure servers running the Web Interface and any clients using TCP/IP + HTTP server location to use the port you choose. See the Web Interface Administrators Guide for instructions about configuring the Web Interface to use a different port. See the Client Administrators Guides for instructions about configuring the clients to use a different port. Important All servers in the farm must use the same TCP port for the Citrix XML Service. If farms are running in interoperability mode, this requirement includes all servers running either MetaFrame 1.8, MetaFrame XP, or MetaFrame Presentation Server. To change the Citrix XML Service port after installation Important Use this procedure only if you do not want to share the port used by IIS. If you entered a port number other than the default Share with IIS during Setup, you can change the port to another port number using the Presentation Server Console. However, if you want to change the setting to share the port with IIS after running Setup, you must follow the instructions for manually setting the Citrix XML Service to share the TCP port with IIS. 1. Use the Services Control Panel to stop the Citrix XML Service. 2. At a command prompt, type ctxxmlss /u to unload the Citrix XML Service from memory. 3. Type ctxxmlss /rnn, where nn is the number of the port you want to use. For example, ctxxmlss /r88 forces the Citrix XML Service to use TCP/IP port 88. 4. Restart the Citrix XML Service in the Control Panel. To manually configure Citrix XML Service to share the TCP port with IIS 1. Use the Services Control Panel to stop the Citrix XML Service. 2. At a command prompt, type ctxxmlss /u to unload the Citrix XML Service.
136
Go to Document Center
3. Copy Wpnbr.dll and Ctxxmlss.txt to the IIS scripts directory on your Web server. These files are installed in \Program Files\Citrix\System32 during MetaFrame Presentation Server installation. The default scripts directory is \Inetpub\Scripts. 4. Use Internet Service Manager to give the files read and write access. 5. Stop and restart the Web server.
Go to Document Center
137
To add or remove extension snap-ins to the console (MMC user mode) 1. Open Add/Remove Programs in Control Panel. 2. Select MetaFrame Presentation Server - Administration Snap-in and click Change. 3. Follow the on-screen instructions to select or clear the desired components.
138
Go to Document Center
Although both methods of application deliverythrough a Web browser or through the Program Neighborhood Agentoffer a different user experience, both methods rely on Java object technology provided by the Web Interface and executed on a Web server. Accessing applications through a Web browser. Users can access published applications through the Web Interface. The Web Interface presents users with custom Web pages with links to the published applications users are authorized to launch. The links are dynamically generated based on users profiles, so different users see different links depending on the applications the users have permissions to use. Accessing applications through the Program Neighborhood Agent. You do not need to publish a Web page if you want users to access published applications through the Program Neighborhood Agent. However, because this client leverages the technology provided by the Web Interface, you must install the Web Interface to use the Program Neighborhood Agent. The Web Interface requires a server running both Microsoft Internet Information Services (IIS) Version 5.0 or later and the Microsoft Java Virtual Machine (JVM). For large-scale deployments, Citrix recommends that you run the Web Interface on dedicated Web servers. For smaller deployments, you can run MetaFrame Presentation Server and the Web Interface on the same server. For more information about configuring the Web Interface, see the Web Interface Administrators Guide.
Go to Document Center
139
You can install a standalone copy of the Document Center on any 32-bit Windows computer without installing MetaFrame Presentation Server. To ensure you have access to all relevant information when you need it, Citrix recommends that you install the Document Center before you install or upgrade to MetaFrame Presentation Server. To view, search, and print the contents of the Document Center, install Adobe Reader 5.0.5 or later with Search on the computer. You can download Adobe Reader for free from Adobe Systems Web site at http://www.adobe.com/. To install the Document Center, select Install Document Center from the initial Autorun screen and then follow the instructions in the Setup wizard.
140
Go to Document Center
Install or upgrade the pass-through client on the server. The pass-through client is an instance of Program Neighborhood or Program Neighborhood Agent that runs as a published application on the server. It gives users of non-Win32 clients, including the Client for DOS, the Client for Java, and RDP clients, access to their application sets from within the feature-rich interface of Program Neighborhood even if Program Neighborhood is not installed on their client devices. Install Program Neighborhood if you plan to deploy clients other than Program Neighborhood to users. The wizard includes typical and custom installation paths. A typical installation does the following: Installs the Client Auto Update Database and copies client software into the database Installs the ICA Client Creator database and copies each client into the database Installs the MetaFrame Presentation Server Clients on the server
When performing a custom installation, a dialog box gives you options for installing clients. If you select Create/Update Citrix ICA Client Images or Create/Update Citrix ICA Client Update Database, dialog boxes let you select clients to install. For example, if you choose to Create/Update Citrix ICA Client Images, a dialog box lets you select clients to add to the ICA Client Creators database. Clear the check boxes for clients you do not want to add to the database.
The following sections describe creating and applying transforms and creating answer files.
Go to Document Center
141
Applying Transforms
You can manipulate the installation process by applying Windows Installer transforms (files with the .mst extension) to the installation database contained in a Windows Installer package. A transform makes changes to elements of the database. A transform file modifies the installation package when it is being installed and dynamically affects the installation behavior. When you create a transform to apply to the MetaFrame Presentation Server Windows Installer package, you set your desired values for properties in the package. When you then apply the transform to the installation package, the questions you are asked during Setup are answered. Creating a transform allows you to roll out MetaFrame Presentation Server in unattended mode. Transforms that you create to customize a Windows Installer setup package remain cached on your system. These files are applied to the base Windows Installer package whenever the Installer needs to modify it. You can apply transforms only when you initially install Windows Installer packages; you cannot apply transforms to software that is already installed. Citrix provides four sample transforms on the MetaFrame Presentation Server CD. You can open these transforms and edit the properties in them using commercially available Windows Installer editing tools. The sample transforms include sample values for select properties, allowing you to determine which properties to edit to achieve a certain configuration. For more information about each sample transform and the properties you can set for each configuration, see Customizing Setup on page 389. To create a customized transform using one of the sample transform files 1. Using your preferred tool for editing Windows Installer packages, open the MetaFrame Presentation Server Setup Windows Installer package, Mps.msi, located on the MetaFrame Presentation Server CD in the \MetaFrame directory. 2. Apply the transform that includes the properties and values you want to modify. 3. Enter new values for the properties you want to change. 4. Generate the transform file. 5. Save the file with a new name.
142
Go to Document Center
Cloning Servers
If your organization uses system imaging utilities to clone standard server configurations, with a few adjustments you can also clone servers running MetaFrame Presentation Server. For detailed information about cloning servers, see Advanced Concepts for MetaFrame Presentation Server, available from the Support area of the Citrix Web site at http://www.citrix.com.
Go to Document Center
143
144
Go to Document Center
Important If you rename a server on your network, the new server name is added to the list of servers in the farm. However, you must remove the old server name because it is still listed as a member of the farm. Before you remove the server name, be sure to update all references to the new server name, including data collector ranking, published application references, and license assignments. If you are planning to uninstall MetaFrame Presentation Server from the Resource Manager metric farm server or database connection server for a summary database, be sure to reassign the server before removing it from the farm. If you are using a summary database, Citrix recommends that you update the database before removing any servers from the farm. Be sure to also create any necessary billing reports from the server before you remove it.
Go to Document Center
CHAPTER 6
This chapter includes basic information about tools that you use to manage servers, server farms, and published applications. More detailed information is available in the online help for the tools. Some tools are installed when you run MetaFrame Presentation Server Setup. For more information, see Deploying MetaFrame Presentation Server on page 107.
146
Go to Document Center
Management Console for the MetaFrame Access Suite. Use the Access Suite Console to manage multiple farms in your deployment. The console snaps into the Microsoft Management Console (MMC) and enables you to manage items administered through the MetaFrame Presentation Server, MetaFrame Secure Access Manager, and MetaFrame Password Manager products. For MetaFrame Presentation Server, you can use the Access Suite Console to administer servers, server farms, published applications, and sessions. You can create a variety of reports, configure application access (both through the Web Interface and Program Neighborhood Agent), and support MetaFrame Conference Manager guest attendee logons. In addition, you can use the console to troubleshoot alerts and diagnose problems in your farms, and view hotfix information for your Citrix products. For more information about using this tool, see Management Console for the MetaFrame Access Suite on page 149. Management Console for MetaFrame Presentation Server. Use the Presentation Server Console to connect to any server farm in your deployment and manage servers in the farm. Use the console to manage your deployment with Resource Manager, Installation Manager, Load Manager, and Network Manager. For more information about using this tool, see Management Console for MetaFrame Presentation Server on page 157. License Management Console. Use this console to manage and track MetaFrame Access Suite software licenses. For more information about licensing, see the online help in the console and the MetaFrame Access Suite Licensing Guide. Citrix Connection Configuration. Use this tool to configure the user connections that link to servers. For information, refer to the online help in Citrix Connection Configuration. Citrix SSL Relay Configuration. Use this tool to secure communication between a server running the Web Interface and your farm. For information, see Setting up Citrix SSL Relay on page 175. ICA Client Creator. Use this utility to create diskettes or disk images for installing client software. Note ICA Client Creator is not supported on servers running Windows Server 2003.
Go to Document Center
147
ICA Client Update Configuration. Use this tool to manage the Client Update Database on a computer running MetaFrame Presentation Server. The database contains current client software for each supported client platform and can be used to install clients when users log on to the server. For more information about deploying client software to users, see Deploying Client Software to Users on page 219. Shadow Taskbar. Shadowing allows users to view and control other users sessions remotely. You can use the Shadow taskbar to shadow sessions and to switch among multiple shadowed sessions. You can also use the Presentation Server Console to shadow ICA sessions. For more information about shadowing, see Shadowing Sessions on page 304. SpeedScreen Latency Reduction Manager. Use this tool to configure local text echo and other features that improve the user experience on slow networks.
Access Suite Console In earlier releases of MetaFrame Presentation Server, application access was configured through the Web Interface and Program Neighborhood Agent Consoles. These tasks are now carried out in the Access Suite Console. Access Suite Console Access Suite Console
Create traces for servers in multiple farms to assist Citrix Technical Support with problem analysis. View hotfix information for your Citrix products.
148
Go to Document Center
To do this: Manage sessions and processes in a specific farm. Create MetaFrame administrators and modify their privileges. Define how users connect to published applications and content. Create and manage published applications and content. Manage printers. Administer servers in a farm. Create environments for isolating published applications in a farm. Manage your server farm using Resource Manager, Installation Manager, Load Manager, and Network Manager.
Use this console: Presentation Server Console Presentation Server Console Presentation Server Console Presentation Server Console Presentation Server Console Presentation Server Console Presentation Server Console Presentation Server Console
Go to Document Center
149
150
Go to Document Center
Note The top-level node of the console tree provided with MetaFrame Presentation Server 4.0 is called MetaFrame Presentation Server Administration. In MetaFrame Presentation Server 3.0, this node is called Access Suite Console.
This screen capture shows the layout of the console before running discovery (see Finding Items in Your Deployment Using Discovery on page 156). The left pane contains the console tree. The task pane is in the middle. The details pane is on the right.
Go to Document Center
151
The following nodes are available under the top-level node in the console tree: Alerts. Lists the alerts created by all the items in your deployment. Doubleclick an alert to drill down to the affected item. Search Results. Displays the results of any search that you perform. Click Search in the task pane to perform a standard or advanced search. My Views. Allows you to customize the information that you display in the details pane. For instructions about creating My Views, see Customizing Your Displays Using My Views on page 152.
In addition, nodes are also created by some Access Suite Console snap-ins when they are installed. Some snap-ins are not visible as nodes in the console tree but they add features, such as extra tasks, to other snap-ins. Depending on your Access Suite Console installation, the following snap-ins are available: Presentation Server. Allows the console to establish contact with your deployment and displays the applications, servers, and zones in your farms. Presentation Server is contained in the Suite Components node. Dashboard. Displays alerts, allows you to monitor server performance data, and helps you to diagnose server problems. This snap-in does not appear as a separate node in the console tree, but adds alerting and monitoring features to the Presentation Server snap-in. For information about displaying performance data, see the Dashboard online help. My Knowledge. Provides context-sensitive troubleshooting information about alerts using knowledge based articles from Citrix and any that your organization creates. This snap-in does not appear as a separate node in the console tree, but adds troubleshooting features and some additional alerts to the Presentation Server snap-in. For information about viewing and providing troubleshooting information, see the My Knowledge online help. Report Center. Allows you to create reports describing various aspects of your deployment. For more information, see the Report Center online help. Licensing. Launches the License Management Console that allows you to manage licenses for your Citrix products. For information about the License Management Console, see the MetaFrame Access Suite Licensing Guide. Diagnostic Facility. Creates trace logs and other system information to assist Citrix Technical Support in diagnosing problems.
152
Go to Document Center
Web Interface. Allows you to manage how users access applications through Web Interface and Program Neighborhood Agent sites, and to administer MetaFrame Conferencing Manager guest attendee logons. In earlier releases of MetaFrame Presentation Server, application access was configured through the Web Interface and Program Neighborhood Agent Consoles. These tasks are now carried out in the Access Suite Console. Web Interface is located in the console tree under Suite Components > Configuration Tools. For more information, see the Web Interface Administrators Guide. Hotfix Management. Manages hotfixes for your Citrix products. Hotfix Management is located in the console tree under Suite Components > Configuration Tools.
Go to Document Center
153
To create a My View 1. In the console tree, select My Views. 2. In the task pane, click Create new My View. 3. Select the new My View in the console tree and click Add items to My View in the task pane. 4. Add the items that you want to manage and click OK. 5. In the task pane, click Edit My View and give the My View a meaningful name and description. To add items to a My View 1. Select the My View in the console tree and click Add items to My View in the task pane. 2. Add or remove items as required and click OK. Tip Create a new My View quickly by basing it on an existing one. Select the existing My View in the console tree and click Duplicate My View in the task pane. Then add or remove items from the duplicate My View as required. To remove items from a My View 1. Select the My View in the console tree. 2. Select the item you want to remove. 3. From the Actions menu, select Delete.
154
Go to Document Center
Troubleshooting Alerts
You can get context-sensitive information about alerts in the Access Suite Console using My Knowledge. Two types of information are available: Articles provided by Citrix Articles provided by your company
The Citrix articles are provided as a standard component. To provide users with local knowledge, you set up a company knowledge database. After you do this, administrators with the necessary permissions can add, edit, and delete articles. When you set up a new company knowledge database, My Knowledge automatically creates the required tables and stored procedures in the database. To create these tables and stored procedures yourself, the necessary SQL files are provided in the My Knowledge folder in the Component CD folder. To see all the alerts that can be generated for a server farm, select the farm, then select the Available Alerts display. For configurable alerts, you can also quickly see the current configuration, which may give you a better understanding of why the alert was raised. If necessary, you can then move directly to reconfigure the alert, disable it, or delete it from your console or all consoles.
Go to Document Center
155
Creating Reports
Administrators often need to create reports that describe how various aspects of the server farms are functioning. For example, quarterly data for server uptime, CPU utilization, or application availability are commonly compared with agreed figures in a service level agreement. Report Center in the Access Suite Console extends the reporting capabilities in Resource Manager for MetaFrame Presentation Server, and allows you to easily generate reports from a variety of real-time and historical data sources. Wizards help you select the type of report, the data to be displayed, and the schedule for running the report. You can view the status of your scheduled reports and adjust the report parameters. Report Center contains several report types that describe: Application usage and availability Server usage and availability, including CPU and memory utilization reports and a server snapshot report (that can also be created from a real-time metric graph) The distribution of client types that connect to your servers Administration policies in place for the farm Session statistics over time, including active and disconnected sessions
For information about creating reports in the Access Suite Console, including assistance with troubleshooting, see the Report Center online help.
156
Go to Document Center
The first time you open the console, the Configure and Run Discovery wizard runs automatically. At any stage afterwards, run the wizard to locate newly installed products or components and to update the console if items were added to or removed from your deployment. When using discovery to connect to your MetaFrame Presentation Server deployment, you must specify the name of at least one server in each farm that you want to manage. When discovery is complete, the console tree is updated with the components and items that you specified.
Go to Document Center
157
To run the discovery process for more than one product or component 1. Select Suite Components in the console tree. 2. If you need to configure discovery for at least one product or component, click Configure and run discovery. To just run discovery for the items used by the components, click Run discovery. For example, if a new server farm is created in your deployment, click Configure and Run discovery to add that farm and its servers to the console tree. If a new server is added to a farm that is already present in the console tree, click Run discovery to add that server to the console tree. To run the discovery process for a single product or component 1. Select the product or component in the console tree. 2. To configure discovery, click Configure and run discovery. To just run discovery for the items used, click Run discovery. You should consider running discovery on a regular basis to ensure that you have the most up-to-date view of your deployment. Run discovery if: You install or remove a MetaFrame product or component. The console does not recognize any recently installed products or components until you run discovery. Items are added to or removed from an existing deployment. The console tree is refreshed only after discovery is completed. Similarly, report contents will not necessarily contain up-to-date information unless discovery is run after any changes to reported items take effect. Your administrative privileges change or you change a custom administrators privileges. Modifications to privileges do not take effect in the console until you rerun discovery.
158
Go to Document Center
Monitor, reset, disconnect, and reconnect sessions Send messages to users and shadow their sessions
For a comparison of the tasks that you can perform with the Presentation Server Console and the Access Suite Console, see Choosing Which Console to Use on page 147. The features and capabilities of the console depend on the MetaFrame Presentation Server edition you are running. The commands, controls, and features that you see in the console can vary from the descriptions and illustrations in this manual, depending on the components you install. Load Manager is an optional component that is installed with MetaFrame Presentation Server for Windows, Advanced Edition. Resource Manager, Installation Manager, and Network Manager are optional components that are installed with MetaFrame Presentation Server for Windows, Enterprise Edition. When these components are installed, additional features and functions are added to the Presentation Server Console. MetaFrame Presentation Server Setup installs the Presentation Server Console on each server in the farm by default. You can also use the MetaFrame Presentation Server CD to install the Presentation Server Console on other workstations you want to use to manage server farms. Important Earlier versions of the Presentation Server Console do not recognize settings you configure using the latest version of the Presentation Server Console. If you run the console from devices that do not have MetaFrame Presentation Server installed, such as workstations or laptops, make sure to upgrade those devices to the latest version of the Presentation Server Console. To use the Presentation Server Console, you must be a MetaFrame administrator. Administrators can have varying levels of access to areas of server farm management. If you try to access an area of the console you are not authorized to use, the right pane of the console may be blank.
Go to Document Center
CHAPTER 7
This chapter describes how to use MetaFrame administrator accounts to secure and delegate administrative tasks and describes ways in which you can secure farm communications.
160
Go to Document Center
Note To create, delete, and configure MetaFrame administrator accounts, you must log on to the Presentation Server Console as a full authority administrator. The authority level you grant an administrator depends on the specific business function of the administrator. For example, your system or network administrators may need complete access to all areas of farm management, while help desk personnel may need view-only access to most areas. Your need to have custom administrator accounts with varying levels of authority is likely to increase along with the size of your organization. For a smaller scale organization whose scope is limited to a single zone and a single geographic area, having a single group of administrators, all of whom share the same, full level of authority, may suffice to manage the entire farm. However, for larger scale organizations that span multiple departments and perhaps multiple administrative, geographic, and time zones, you may want to delegate limited sets of tasks to individuals in particular departments or zones without giving them access to other areas of farm management. For example, if your finance department uses mission-critical applications and routinely deals with sensitive data, you can let a qualified member of that department manage those applications. To do this, you place the applications in a custom Applications folder and then give the individual permissions to manage just those applications. In this scenario, delegating a commensurate amount of authority ensures that: A qualified individual oversees a familiar set of applications The individual does not have access to areas of farm management you do not want to delegate The integrity of confidential data and applications is preserved You can focus on other areas of farm management that require your attention
If you set up multiple zones in a farm, you can delegate tasks based on zones. To do this, create a folder for each zone under the Servers node, place your servers in the appropriate folders, and then assign the tasks of managing the servers to select administrators.
Go to Document Center
161
Important Citrix recommends that you do not mix different release versions of MetaFrame Presentation Server in the same server farm. Upgrade MetaFrame Presentation Server to the current version to ensure that custom administrator settings apply properly. Restricting access to areas of farm management may not prevent administrators from running some command-line utilities available with MetaFrame Presentation Server. When you create a new administrator account, you must associate it with one of three authority levelsfull, view-only, or custom access to farm management. You can modify an administrators authority level at any time. For an overview of authority levels, see Types of MetaFrame Administrator Accounts on page 159. For information about modifying authority levels of existing administrator accounts, see Delegating Tasks to Custom Administrators on page 162. To create administrator accounts with full or view-only authority, you select individual or group accounts and associate them with full or view-only privileges. Both full and view-only privileges apply farm wide. To create administrator accounts with custom authority, you select individual or group accounts, assign them custom privileges, and then permissions to perform select tasks. Note One full authority administrator account must always exist in the server farm. Therefore, MetaFrame Presentation Server prevents you from deleting the last full authority administrator account. Citrix recommends that you add your standard network administrators group to your MetaFrame administrators group so that network administrators have access to manage network resources including print servers. To create, delete, and configure MetaFrame administrator accounts, you must log on to the Presentation Server Console as a full authority administrator. To create MetaFrame administrator accounts 1. In the console, from the Actions menu, select New > MetaFrame Administrator. The first page of the Add MetaFrame Administrator wizard appears. 2. In the Look in list, select the user or user group accounts you want to add to the MetaFrame administrators group and then click Add. Select Show Users to display all user names in the selected domain.
162
Go to Document Center
Tip Instead of selecting names from the list, you can type them in a text box. To do this, click Add List of Names and use semicolons (;) to separate names. 3. Click Next. 4. On the Privileges page, select the authority level you want to grant the selected administrator accounts. Select among the following options: Select View Only to give the selected administrators view-only access to all areas of farm management. Click Finish when you are done and proceed to Step 5. Select Full Administration to give the selected administrators full access to all areas of farm management. Click Finish when you are done and proceed to Step 5. Select Custom to delegate specific, limited tasks to the selected administrators. Click Next when you are done and proceed to Step 5.
5. On the Permissions page, in the Folders pane, select the folder or node for which you want to delegate tasks to the selected administrators. The tasks you can delegate for the selected node or folder appear in the Tasks pane. 6. In the Tasks pane, select the tasks you want to delegate. Click Finish when you are done.
Go to Document Center
163
Description Allows administrators to configure zones, move servers to zones, and set election preferences. Allows view-only access to the farm properties.
APPLICATION-RELATED TASKS If you select a folder of applications, the assigned permissions affect only the applications in the specified folder. Published Applications Toggles on/off all subtasks. Allows full access to view and modify all areas of publishing applications in the specified folder. To publish applications in isolation environments, administrators also must have the View Isolation Environments permission. To disable subtasks, clear the check boxes. Allows administrators to manage applications, including publishing and editing properties. To publish applications in isolation environments, administrators also must have the View Isolation Environments permission. Automatically selects and requires the View permission. Allows view-only access to published applications and content. Toggles on/off all subtasks. Allows full access to view and modify all areas of resource management in the specified folder. To disable subtasks, clear the check boxes. Allows administrators to add, remove, snooze, sleep, awaken, and edit the properties of metrics associated with Resource Manager applications and published applications. When creating or editing Resource Manager applications, the servers to which the administrator can assign the application are controlled by the Assign RM Applications to Servers permission for the server folder. Automatically selects and requires the View permission. If an application metric is configured to send out SMS or email notifications, this permission allows administrators to receive SMS or email notifications related to applications, using the contact information specified in the Alert Contact Details section of their profile. Automatically selects and requires the View permission. Note: Administrators can be given permission to receive other types of SMS and email notifications in the Resource-Related tasks or Server-Based tasks.
164
Go to Document Center
Description Allows administrators to view any Resource Manager applications, as well as any metrics associated with the application. Administrators can also select the metric and generate a real-time graph that displays the current metric count and the metric error and warning thresholds. If administrators also have the View Published Applications and Content or View Session Management permissions for the same folder, they can view metrics associated with published applications in the specified folder and generate real-time graphs for these metrics. The RM watcher is available to display application-related Resource Manager alerts. Note: Administrators can be given permission to view resource-related Resource Manager alerts using View Resource Management Configuration and Alerts and server-related Resource Manager alerts using View RM Information and Alerts. Toggles on/off all subtasks. Allows full access to view and modify all areas of session management for the specified folder. To disable subtasks, clear the check boxes. Allows administrators to connect to a session. Automatically selects and requires the View permission. Allows administrators to disconnect one or more sessions. Automatically selects and requires the View permission. Allows administrators to log off one or more sessions. Automatically selects and requires the View permission. Allows administrators to reset client and disconnected sessions. Automatically selects and requires the View permission. Allows administrators to send desktop messages to one or more sessions. Automatically selects and requires the View permission. Allows view-only access to sessions management.
Sessions
Connect Sessions Disconnect Users Log Off Users Reset Sessions Send Messages View Session Management ADMINISTRATOR-RELATED TASKS MetaFrame Administrators
Toggles on/off all subtasks. Allows administrators to open the MetaFrame Presentation Server Console and Web Interface Console and to view the properties of other administrators. To disable subtasks, clear the check boxes. Allows administrators to open the MetaFrame Presentation Server Console. Allows administrators to open the Web Interface Console. Allows administrators to view the properties of other administrators.
Log on to Presentation Server Console Log on to Web Interface Console View MetaFrame Administrators INSTALLATION-RELATED TASKS
Go to Document Center
165
Description Toggles on/off all subtasks. Allows full access to view and modify all areas of installation management. To disable subtasks, clear the check boxes. Allows administrators to edit and/or install/uninstall packages, package groups, server groups, and Installation Manager properties. Automatically selects and requires the View permission. Allows view-only access to the Installation Manager node in the Presentation Server Console, the Installation Manager properties, all of the available packages and package groups, package and package group properties, and installation information. Administrators can view a server group only if they have the Install and Uninstall Packages server folder permission for at least one server in the group, and they can view only the individual servers in the group for which they have this permission.
ISOLATION ENVIRONMENT TASKS Isolation Environments Manage Isolation Environments Toggles on/off all subtasks. Allows full access to view and modify all areas of isolation environments. To disable subtasks, clear the check boxes. Allows administrators to create and modify isolation environments, as well as publish applications in an isolation environment. To publish applications in an isolation environment, administrators also need the Publish Applications and Edit Properties permission. Automatically selects and requires the View permission. Allows view-only access to isolation environments and the applications published in them.
View Isolation Environments LOAD MANAGER TASKS Load Manager Assign Load Evaluators Edit Load Evaluators View Load Evaluators
Toggles on/off all subtasks. Allows full access to view and modify all areas of load management. To disable subtasks, clear the check boxes. Allows administrators to assign load evaluators to servers and published applications. Allows administrators to edit load evaluation settings. Automatically selects and requires the View permission. Allows view-only access to load evaluator settings.
MONITORING AND ALERTING TASKS The following tasks are related to the My Knowledge extension - Configuration and Alerts. Monitoring and Alerting Toggles on/off all subtasks. Allows full access to view and modify all areas of monitoring and alerting. To disable subtasks, clear the check boxes.
166
Go to Document Center
Description Allows administrators to modify the current configuration of alerts generated by the My Knowledge extension (SMA alerts). This information includes thresholds, polling intervals, and whether the alert is enabled or disabled. Automatically selects and requires the View Alerts Configuration permission. To apply the configuration of all the My Knowledge extension alerts of the currently selected farm (the source farm) to other discovered farms that have SMA enabled (the target farms), administrators must have the View Alerts Configuration permission for the source farm and Edit Alerts Configuration permission for the target farms.
Edit My Knowledge Configuration Allows administrators to create a new configuration and edit or delete the current company knowledge configuration for the farm. Automatically selects and requires the View My Knowledge Configuration permission. To copy the company knowledge database configuration from another discovered farm that has its company knowledge database configured (the source farm) to the currently selected farm, the administrator must also have the View My Knowledge Configuration permission in the source farm. View Alerts Configuration Allows view-only access to the current configuration of the current configuration of alerts generated by the My Knowledge extension. This information includes thresholds, polling intervals, and whether the alert is enabled or disabled. Allows view-only access to the current company knowledge configuration of alerts generated by the My Knowledge extension.
View My Knowledge Configuration POLICY-RELATED TASKS User Policies Edit User Policies View User Policies PRINTER-RELATED TASKS Printers Edit All Other Printer Settings
Toggles on/off all subtasks. Allows full access to view and modify all areas of user policies. To disable subtasks, clear the check boxes. Allows administrators to create and modify policies. Automatically selects and requires the View permission. Allows view-only access to policies.
Toggles on/off all subtasks. Allows full access to view and modify all areas of printer management. To disable subtasks, clear the check boxes. Allows administrators to import network print servers, map drivers, and edit all other printer settings, with the exception of editing printer drivers, editing printers, and replicating printer drivers. Automatically selects and requires the View permission. Allows administrators to edit driver-related features. Automatically selects and requires the View permission. Allows administrators to add, edit, delete, or reset client printers. Automatically selects and requires the View permission.
Go to Document Center
167
Description Allows administrators to replicate printer drivers from one server to another and to manage the auto-replication list. Automatically selects and requires the View permission. Allows view-only access to printers and printer drivers.
Toggles on/off all subtasks. Allows full access to view and modify all areas of managing resources for the farm. To disable subtasks, clear the check boxes.
Configure Resource Management Allows administrators to edit the configuration of all the areas described in the View Resource Management Configuration permission. Automatically selects and requires the View permission. Generate Billing Reports Allows administrators to generate billing reports, manage cost centers, manage fee profiles, and view saved reports. Saved reports can also be viewed using any Web browser. Automatically selects and requires the View permission. Allows administrators to generate current and summary reports and view any saved reports. Saved reports can also be viewed using any Web browser. Automatically selects and requires the View permission. If the Summary Database is configured to send out SMS or email notifications, this permission allows administrators to receive the SMS or email notification related to resource management tasks (those not related to applications or servers), using the contact information specified in the Alert Contact Details section of their profile. Automatically selects and requires the View permission. Note: Administrators can be given permission to receive other types of SMS and email notifications in the Application-Related tasks or Server-Based tasks. Allows administrators to view the Resource Manager node in the MetaFrame Presentation Server Console, including the current configuration of the following areas of Resource Manager: - Summary Database configuration - SMS servers, gateways, and the receivers of SMS alerts - Community string used for sending SNMP alerts - Configuration of the currently selected method for sending email alerts (SMTP or MAPI), and the receivers of email alerts - Primary and backup farm metric servers The RM watcher is available to display any current Resource Manager alerts, other than alerts related to applications or servers. Note: Administrators can be given permission to view application-related Resource Manager alerts using View RM Applications and Content and server-related Resource Manager alerts using View RM Information and Alerts.
Generate Current and Summary Reports Receive SMS and Email Notifications
SERVER-BASED TASKS If you select a folder of servers, the assigned permissions affect only the servers in the specified folder.
168
Go to Document Center
Description Toggles on/off all subtasks. Allows full access to install and uninstall packages on servers in the specified folder. To disable subtasks, clear the check boxes. Allows administrators to install and uninstall packages on all the servers in the specified folder. This permission also controls which servers and server groups administrators can view in the Server Groups section of the Installation Manager node for the farm. Administrators can view a server group only if they have the Install and Uninstall Packages server folder permission for at least one server in the group, and they can view only the individual servers for which they have this permission. Allows full permissions for administering published applications on servers in the specified folder. To disable subtasks, clear the check boxes. Allows administrators to publish applications from servers. To publish applications from a server, administrators must also have the Publish Applications and Edit Properties permission. Toggles on/off all subtasks. Allows full access to Resource Manager for servers in the specified folder. To disable subtasks, clear the check boxes. Allows administrators to assign the servers on which a Resource Manager application can be monitored. Servers for which administrators do not have this permission will not be visible when the administrators assign servers to a Resource Manager application. Note: This permission does not have any effect on the servers that can be assigned to published applications. Allows administrators to add, remove, snooze, sleep, awaken, and edit the properties of metrics associated with servers. Administrators can also modify the configuration of the following sections in the server properties: - Ignored processes - Metric summary schedule - Restart schedule - Resource Manager alert recipients Automatically selects and requires the View permission. If a server metric is configured to send out SMS or email notifications, this permission allows administrators to receive SMS or email notifications related to servers, using the contact information specified in the Alert Contact Details section of their profile. Automatically selects and requires the View permission. Note: Administrators can be given permission to receive other types of SMS and email notifications in the Resource-Related tasks or Application-Related tasks.
Edit RM Information
Go to Document Center
169
Description Allows the administrators to view any metrics that have been added to the servers in the specified folder. Administrators can also select a metric and generate a real-time graph that displays the current metric count and the metric error and warning thresholds. If administrators also have the Generate Current and Summary Reports permission, they can generate reports directly from the graph. Administrators can view the Resource Manager server log and view the current configuration of the following sections in the server properties dialog: - Ignored processes - Metric summary schedule - Restart schedule - Resource Manager alert recipients The RM watcher is available to display server-related Resource Manager alerts. Note: Administrators can be given permission to view application-related Resource Manager alerts using View RM Applications and Content and resource-related Resource Manager alerts using View Resource Management Configuration and Alerts. Toggles on/off all subtasks. Allows full access to view and modify all areas of server administration in the specified folder. To disable subtasks, clear the check boxes. Allows administrators to edit settings for the license server. Allows administrators to edit all server settings, with the exception of SNMP settings, moving and removing servers, terminating processes, and license server settings. Allows administrators to set up notifications of events by the SNMP agent. Allows administrators to move servers between server folders and remove servers from the farm. Allows administrators to terminate processes. Allows view-only access to server information. Toggles on/off all subtasks. Allows full access to view and modify all areas of session administration. To disable subtasks, clear the check boxes. Allows administrators to connect to user sessions. Automatically selects and requires the View permission. Allows administrators to disconnect user sessions. Automatically selects and requires the View permission. Allows administrators to log off users. Automatically selects and requires the View permission.
Servers
Edit SNMP Settings Move and Remove Servers Terminate Processes View Server Information Sessions Connect Sessions Disconnect Users Logoff Users
170
Go to Document Center
Description Allows administrators to reset user sessions. Automatically selects and requires the View permission. Allows administrators to send messages to users, such as broadcasting information about an upgrade or a warning about a system shutdown. Automatically selects and requires the View permission. Allows view-only access to session management.
You cannot grant permissions to applications and servers directly. To grant permissions to applications and servers, you must first place the applications or servers in folders and then grant permissions at the folder level. Therefore, before you delegate tasks for applications and servers, make sure you group the applications and servers in folders that allow you to delegate the tasks in a meaningful way. Note To apply the same permissions to a new folder as to its parent folder, select the Copy permissions from the parent folder option when you create the new folder. To create, delete, and configure MetaFrame administrator accounts, you must log on to the Presentation Server Console as a full authority administrator. To associate an administrator account with select tasks 1. In the left pane of the console, select MetaFrame Administrators. The list of configured MetaFrame administrator accounts appears in the Contents tab. 2. In the Contents tab, select the administrator account to which you want to delegate a task or tasks and choose Properties from the Actions menu. The Properties page for the selected administrator account appears. 3. If the administrator is not a custom administrator, on the Properties page, select Privilege Type, then select the Custom option. 4. On the Properties page, select Permissions. The Permissions page appears, featuring the Folders and Tasks panes. 5. In the Folders pane, select the folder or node for which you want to delegate tasks to the selected administrator. The tasks associated with the selected folder or node appear in the Tasks pane. 6. In the Tasks pane, select the tasks you want to delegate. 7. Click OK when you are done.
Go to Document Center
171
172
Go to Document Center
ICA encryption (SecureICA). Use ICA encryption (Citrix SecureICA) to encrypt the information sent between a server running MetaFrame Presentation Server and a client. ICA encryption makes it virtually impossible for unauthorized users to open an encrypted transmission and, in the unlikely event that such an attack succeeds, ICA encryption ensures that the attacker sees only meaningless screen commands and not sensitive information. ICA encryption provides confidentiality to guard against the threat of eavesdropping. Note ICA encryption is not recommended for use across public networks. In general, you use ICA encryption when: You want to secure internal communication within a LAN or a WAN, or you want to secure internal access to an Intranet You need to secure communications from devices that use Microsoft DOS or run on Win16 systems You have older devices running client software that cannot be upgraded There is little risk of man-in-the-middle attacks
Citrix SSL Relay. Use Citrix SSL Relay to provide end-to-end Secure Sockets Layer/Transport Layer Security (SSL/TLS) encryption between specific servers and clients. In general, you use SSL Relay when: You have a small number of servers to support (five or fewer) You do not need to secure access at a DMZ You do not need to hide server IP addresses or you are using Network Address Translation (NAT) You do need end-to-end encryption of data between clients and servers
The Secure Gateway. Use the Secure Gateway to provide SSL/TLS encryption between a secure Internet gateway server and an SSL-enabled client, combined with encryption of the HTTP communication between the Web browser and the Web server. Using the Secure Gateway makes firewall traversal easier and provides heightened security by providing a single point of entry and secure access to your server farms. In general, you use the Secure Gateway when: You have a large number of servers to support You want to hide internal IP addresses You want to secure access from the DMZ
Go to Document Center
173
You need two-factor authentication (in conjunction with the Web Interface)
A Virtual Private Network Solution. Use a Virtual Private Network (VPN) solution when you need to create secure tunnels between geographic locations. In general, you use a VPN solution when: You need two-factor authentication You need to create a secure pipeline for full (beyond ICA) network access You want to secure the network from within the DMZ Users normally access the network from the same workstations You want to use IP Security (IPSEC)
Both the Secure Gateway and SSL Relay support SSL/TLS encryption. Selection is largely a matter of deciding which deployment best meets the needs of the organizations security policies. Each approach has its own advantages. Overviews of the SSL Relay, the Secure Gateway, and ICA encryption are included in this chapter.
174
Go to Document Center
Use the Secure Gateway to create a gateway that is separate from the computers running MetaFrame Presentation Server. Establishing the gateway simplifies firewall traversal because ICA traffic is routed through a widely accepted port for passage in and out of firewalls. The Secure Gateway provides increased scalability. However, because ICA communication is encrypted only between the client and the gateway, you may want to use ICA encryption to secure the traffic between the gateway and the servers running MetaFrame Presentation Server. For more information about implementing and configuring the Secure Gateway, see the Secure Gateway Administrators Guide available from the Document Center.
Go to Document Center
175
If you are using Microsoft Certificate Authority (CA) to assist in setting up SSL Relay, you can use the SSLAutoConfig tool, which is located in the Support folder on the server installation CD. For more information about how to use SSLAutoConfig, see Advanced Concepts for MetaFrame Presentation Server 4.0.
In the SSL Relay, select the server certificate and allowed ciphersuites, according to your security policy. Change the target address or port, or add additional addresses for redundancy. For instructions, see Step 4 - Configuring SSL Relay on page 180 or the application online Help for the SSL Relay configuration tool.
From your chosen Certificate Authority, you need to obtain a separate server certificate for each server on which you use the Citrix SSL Relay. The server certificate identifies a specific machine, so you need to know the fully qualified domain name (FQDN) of each server. You also need to install a root certificate on each client device. Root certificates are available from the same CAs that issue server certificates. The Web Interface and the MetaFrame Presentation Server Clients include native support for the following certificate authorities: VeriSign, Inc., http://www.verisign.com Baltimore Technologies, http://www.baltimore.com
This means that if you use server certificates from these certificate authorities, you do not need to install a root certificate on your client devices. If you use a different certificate authority, you need to install root certificates and server certificates. See the documentation for the clients you are using for instructions about installing a root certificate.
Requesting a Certificate
After you decide on your Certificate Authority, you generate a request for a certificate using your Web server software. This generates information known as a certificate signing request (CSR) that you send to the Certificate Authority for signing.
Go to Document Center
177
You submit the CSR to the Certificate Authority and receive your signed SSL certificate and password in return. If your organization is a Certificate Authority, you should have your own procedures for supplying signed certificates. Important The common name for the certificate must be the fully qualified domain name of the server. You can use the Microsoft Web Server Certificate wizard in the IIS snap-in to request and import a certificate. You can use the wizard to request a certificate if you are using an external CA, or request and also install the certificate if you are using the wizard and an online CA; for example, you have Microsoft Enterprise Certificate Services set up. To request a certificate using IIS 1. Click Start > Programs > Administrative Tools > Internet Services Manager. 2. In the Internet Information Services Console tree, select Default Web Site and choose Properties from the Action menu. 3. Navigate to the Directory Security tab and select Server Certificate. The IIS Web Server Certificate wizard appears. Click Next. 4. Select Create a New Certificate and then click Next. 5. Select Prepare the request now, but send it later and then click Next. 6. In the Name field, type the name for the server certificate. The Name field does not require that you enter the FQDN of the server; you can enter a server name. 7. In Bit Length, enter the bit length to be used for the certificates encryption strength. The greater the bit length, the higher the security. Citrix recommends that you select 1024 or higher. If you are specifying a bit length higher than 1024, verify that the clients you use can support it. Click Next. 8. Enter details about your organization. Click Next. 9. In Common Name, type the FQDN of the server on which the SSL Relay is running. Click Next. 10. Fill in the relevant geographical information. Click Next. 11. Save the certificate request and click Next. Verify the information in the Request File Summary. 12. Click Next and then click Finish. The information in the request can be sent to any CA for signing.
178
Go to Document Center
3. In the left pane of the console, click the plus sign (+) for Certificates (Local Computer) to expand the folder. 4. Click the plus sign (+) to expand the Personal folder and then click Certificates. 5. In the right pane, select the certificate to import. 6. From the Action menu select All Tasks and then click Import. The Certificate Import wizard appears. 7. Click Next and then click Browse to search for the certificate file to be imported.
Go to Document Center
179
8. Select the certificate file and click Next. 9. Enter the private key password in the Password box and click Next. 10. Click Next to accept the default values in the next window and then click Finish to import the certificate.
180
Go to Document Center
2. On the Connection tab, type the new port number in the Relay Listening Port box. 3. Click OK. See the Web Interface Administrators Guide for the procedure to reconfigure servers running the Web Interface with the new port number. To run SSL Relay on port 443 without using HTTPS 1. Stop the Microsoft Internet Information Service. 2. Configure and start the SSL Relay service. 3. Restart the Microsoft Internet Information Service. SSL Relay will use port 443 before IIS, including when the server is restarted. Note When you install MetaFrame Presentation Server, members of the User group are allowed to edit registry entries in the registry hive HKEY_LOCAL_MACHINE\SOFTWARE\Secure\Citrix\Citrix SSL Relay. You can use the Microsoft Security Configuration and Analysis tool to prevent members of the User group from editing these registry entries.
Important If you change the default Citrix SSL Relay port, you must set SSLProxyHost to the new port number in the MetaFrame Presentation Server Client for Win32 Appsrv.ini file. For more information about client settings, see the Client for 32-bit Windows Administrators Guide.
Go to Document Center
181
Connections you route through Secure Gateway If the server running MetaFrame Presentation Server requires smart card logon If the authenticated user account requires a smart card for interactive logon
SSPI requires XML Service DNS address resolution to be enabled for the server farm, or reverse DNS resolution to be enabled for the Active Directory domain. To enable XML Service DNS address resolution 1. In the Presentation Server Console, select the farm for which you want to enable DNS address resolution. 2. From the Actions menu, select Properties. The farm Properties page appears. 3. Select MetaFrame Settings. 4. Check Enable XML Service DNS address resolution and then click OK.
182
Go to Document Center
To disable Kerberos logon to a particular server CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before you edit it. To disable Kerberos logon to a particular server, set the following registry key on the server: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Logon\DisableSSPI = 1 You can configure the Client for 32-bit Windows to use Kerberos with or without pass-through authentication. For more information about client configuration, see the Client for 32-bit Windows Administrators Guide.
Go to Document Center
183
5. Select the performance counters you want to monitor and click Add. 6. Click Close. 7. Use the Windows Performance Console controls that appear at the top of the right pane to switch views, add counters, and so on.
where yyyy is the year, mm is the month, and dd is the day of the log file creation. The first time the STA is loaded, it creates a log file. To view entries in the STA log, use a plain-text editor to open the log file. If the STA does not create a log file, it may be due to lack of write privileges to the \inetpub\scripts directory. The sections that follow identify error messages you may find in the STA log.
CSG1003 CSG1004
Unable to access XML translation file CtxXmlss.txt. Insufficient memory to initialize system. Missing entry in config file for configuration parameter.
CSG1005
184
Go to Document Center
Warning Messages
These messages are logged as a result of events caused by corrupted data requests or data packets received, ticket time-outs, and so on. In general, these errors are likely to occur when the data request originates from an unknown source:
Error Number CSG1201 CSG1202 Error Message Request Data - Parsing failed, bad XML. Request Data - No ticket or wrong ticket version in XML. Request Data - Ticket not found. Request Ticket - Parsing failed, bad XML. Request Ticket - No data or wrong type in XML. Request Ticket - No memory to save data. Request Ticket - Maximum reached, data NOT saved. Description Data request packet contains corrupt XML data and cannot be parsed. The request is not in the right format for the STA to resolve the ticket to its associated data. The request is rejected. The ticket requested is not found. This can occur if the ticket times out. The ticket request failed because the STA encountered unknown XML data. The ticket cannot be parsed. Data request packet received contains no data or incorrect XML data. Ticketing failed. The system is low on memory and cannot save the ticket request. The maximum active ticket limit is reached. Ticketing failed. Increase the maximum ticket limit or reduce the ticket lifetime.
Go to Document Center
185
CSG1208 CSG1209
Request Ticket - Failed, data NOT saved. Unused tickets still in IMDB at unload.
A system error occurred when trying to save this ticket. The STA terminated abruptly. Unused tickets are still present in the In-Memory Database (IMDB).
Status Messages
These status messages are logged as a result of normal STA operations.
Error Number CSG1301 CSG1302 CSG1303 CSG1304 CSG1305 CSG1306 Error Message CtxSTA.dll Loaded. CtxSTA.dll Unloaded. Ticket Timed Out. Request Data - Successful. Request Ticket - Successful. Log file index reset to 000 (from 999). Description The STA is started. The STA is unloaded (stopped). This ticket reached the maximum ticket lifetime and has now expired. This ticket data request is successful. This ticket request is successful. 1000 log files were generated in a 24-hour period. The STA now reuses the oldest log file, STAyyyymmdd000.log.
186
Go to Document Center
Go to Document Center
CHAPTER 8
MetaFrame Presentation Server lets users run applications published on servers by enabling connections from varied computer platforms through MetaFrame Presentation Server Client software. Managing the connections to your server farm involves management of network access and configuring connections to the farm. You manage user access through standard Windows permissions and account configuration tools. MetaFrame Presentation Server provides the tools you use to configure ICA connections.
188
Go to Document Center
Go to Document Center
189
To start the Citrix Connection Configuration utility Select Citrix Connection Configuration from the Citrix program group in the Start menu. From the Citrix Connection Configuration window, you can view the existing ICA and RDP connections. You can use the Connections menu to add, edit, or delete ICA connections. For more information about procedures for adding and modifying connections, choose Contents from the Help menu in the Citrix Connection Configuration utility.
This screen capture shows the New Connection dialog box with network transport configuration options.
190
Go to Document Center
3. Type a name for the connection in the Name box. You can enter an optional description in the Comment box. 4. From the Type list, select Citrix ICA 3.0. 5. From the Transport list, select the transport protocol. 6. Click OK to add the ICA connection. If a connection with these settings exists, a message tells you that a connection cannot be created with the same settings.
Go to Document Center
191
This screen capture shows the New Connection dialog box with asynchronous transport configuration options.
3. Type a name for the new connection. 4. From the Type list, select Citrix ICA 3.0. 5. From the Transport list, select async. Options for asynchronous connections appear in the dialog box. 6. From the Device list, select the COM port for the connection. Standard COM ports appear in the list. If a TAPI modem is installed on a COM port, the modem type follows the COM port name in the list. If a modem is installed on a particular COM port, you cannot select that COM port for a direct cable (null modem). To install a modem, click Install Modem. Then, follow the instructions in the Install New Modem wizard to install and configure the modem. To configure an existing modem, click Modem Properties.
7. Click OK to add the connection. If a connection with these settings exists, a message tells you that a connection cannot be created with the same settings.
192
Go to Document Center
You can click Advanced, ICA Settings, and Client Settings in the New Connection or Edit Connection dialog box to configure per-connection settings. For example, for a particular ICA connection, you can set a time-out value in the Advanced Connection Settings dialog box. This time-out setting affects the sessions of all users who link to the server through that ICA connection. Procedures for configuring per-connection settings appear later in this chapter. Per-user settings. User and group settings that you configure in Windows apply to any ICA connection. These settings, which are based on individual user accounts, include user names and group memberships, permissions, and dial-in settings. For more information about per-user settings, refer to your Windows documentation. See the Windows online help for Local Users and Groups, or Active Directory Users and Computers. Per-client settings. You can configure a MetaFrame Presentation Server Client to enable additional security and compression. These settings apply to any ICA session established by that client, independent of the person using the client device or the ICA connection used for the session. For information about configuring per-client settings, see the Client Administrators Guide for each client that you deploy.
Precedence of Settings
A setting you specify in the Citrix Connection Configuration utility takes precedence over per-user and per-client settings. However, for some ICA connection settings, you can select an option to apply settings from user accounts or clients to the ICA connection. You can specify that an ICA connection use some settings from user accounts by selecting Inherit User Config. You can specify that an ICA connection use some settings from MetaFrame Presentation Server Clients by selecting Inherit Client Config.
If you select one of these check boxes, the associated ICA connection settings are dimmed and cannot be edited. The setting specified by the Windows user account or client takes precedence over the ICA connection setting. If you clear the check box for these options, the original ICA connection settings take effect.
Go to Document Center
193
Important You can create policies to enable some connection settings for specific users, clients, or servers. Policies override similar connection settings configured in the Citrix Connection Configuration utility. However, if you disable functionality in the Citrix Connection Configuration utility, you cannot enable the functionality by creating policies. For more information about policies, see Creating and Applying Policies on page 289.
194
Go to Document Center
This screen capture shows modem callback options from the Edit Connection dialog box.
Select the Inherit User Config check box to enable modem callback only for users who have modem callback enabled in their Windows user accounts. When this option is selected, the drop-down list is not available. From the drop-down list, choose To a fixed phone number or To a roving phone number to enable modem callback for all users. Choose Disabled from the drop-down list to disable modem callback for all users.
When you enable modem callback, you can specify one callback phone number for all users. You might do this if all users dial in from one phone number at a branch office, or you can use callback numbers from each users Windows account. Another option is to let users enter callback numbers when they make connections.
Go to Document Center
195
This screen capture shows asynchronous transport configuration options from the New Connection and Edit Connection dialog boxes.
With these options you can configure the following device and transmission properties for the ICA connection:
196
Go to Document Center
Device. Specifies the serial port (COM port) to use for the connection. The available COM ports on the server appear in the drop-down list. Device Connect On. Specifies the signal type (CTS, DSR, RI, DCD, or First Character) for the server to use to determine when a connection is established and ready for user logon. You can select Always Connected to bypass connection detection. Baud. Sets the communication rate for the connection. You can select standard baud rates from the drop-down list. Set Defaults. Resets to default values the Device Connect On and Baud settings and the settings in the Advanced Async Configuration dialog box. Advanced. Opens the Advanced Async Configuration dialog box for configuring additional serial port settings. These settings are described in the next section.
Go to Document Center
197
This screen capture shows the Async Test dialog box displaying received data.
The dialog box displays the name of the serial port and baud rate. A row of indicator lights shows the status of the DTR, RTS, CTS, DSR, DCD, and RI signals. You can type text in the scrolling area to send ASCII data to a device that is connected to the specified serial port. The text you type does not appear in the dialog box unless a connected device echoes text that it receives. If you transmit text from a terminal emulation program (such as HyperTerminal in Windows) that is running on a connected client device, the text appears in the Async Test dialog box if the connection is configured correctly.
198
Go to Document Center
From the first drop-down menu, select the hardware signal action that indicates the receive buffer is full. From the second menu, select the hardware signal action that indicates data transmission can proceed. The default settings are Turn off RTS when receive buffer is full and Transmit data when CTS is on.
This screen capture shows the Advanced Async Configuration dialog box with the flow control option Hardware (RTS/CTS) selected. Options available are hardware flow control, DTR state, parity, and stop.
Software Flow Control. If you select Software in the Flow Control area, the options in the Software Flow Control area are available to specify the start and stop characters for data transmission. Select Decimal or Hex to define character values, and then type decimal or hex values in the text boxes to set the Xon and Xoff characters for software flow control.
This screen capture shows the Advanced Async Configuration dialog box with the flow control option Software (Xon/Xoff) selected. Options available are software flow control, DTR state, RTS state, parity, and stop.
Go to Document Center
199
DTR State. The DTR State options are available with any flow control option unless you select Turn Off DTR for Hardware Flow Control. Select On to specify that the Data Terminal Ready (DTR) signal is always on. Select Off to specify that the signal is always off. RTS State. These options are available with any flow control option unless you select Turn Off RTS for Hardware Flow Control. Select On to specify that the Request To Send (RTS) signal is always on. Select Off to specify that the signal is always off. Parity. Click an option to specify the parity type or click None to specify no parity setting. Stop. Select 1 or 2 to specify the number of stop bits per character. Byte. This setting for the configuration of transmitted data cannot be changed because ICA protocol requires 8 bits per byte.
200
Go to Document Center
This screen capture shows the Advanced Connection Settings dialog box with options for logon, time out, security, auto-logon, initialization, user profile overrides, and other connection settings.
Go to Document Center
201
MetaFrame Presentation Server provides additional options for controlling connections from clients, limiting ICA sessions, and restricting application usage. For more information, see Controlling User Logons on page 271 and Controlling User Connections on page 275.
202
Go to Document Center
Notify
Go to Document Center
203
For example, one option in the Shadowing menu states: is enabled, input off, notify on. This setting does the following: allows shadowing, prohibits remote control with the keyboard and mouse during shadowing, and requires the notification (and permission) of client users before anyone can shadow their sessions. Note If you disable input for remote control or user notification when you install MetaFrame Presentation Server, options for these features are not available in the Shadowing menu in the Citrix Connection Configuration utility. However, the options still appear in Microsofts user properties dialog box, but choosing them does not override the settings you select during MetaFrame Presentation Server installation. In general, you can use individual client properties to disable shadowing features on a per-user basis, but not to enable shadowing features that you disable on a server.
Configuring Audio
MetaFrame Presentation Server offers you a variety of tools to manage and control the availability of sound in client sessions, both in terms of quality and cost in resources, including: Audio properties you configure for individual published applications Audio related policies and settings you configure for specific connection types Audio settings the user configures on the client device
For example, you can use audio related connection polices to control bandwidth usage and server CPU utilization. You can configure a policy rule to enable audio for connections where audio is essential, and configure another rule to disable audio for connections where it is not essential. From the Presentation Server Console, you control the availability of speakers and microphones in client sessions with separate policy rules. On the client device, a single setting controls both. To enable audio on the client device, the user selects an audio quality level from the Settings dialog box (for Program Neighborhood) or from the Properties dialog box (for Program Neighborhood Agent). The connection policies you configure on the server determine what audio quality levels are available to the user. Connection policies permitting, enabling audio on the client device turns on speakers, microphones, or both.
204
Go to Document Center
Important This section covers aspects of enabling audio support on servers. To use audio in client sessions, users must also enable audio on the client device. For more information about enabling audio for clients, see the Administrators Guides for the clients you want to configure. You control the availability and quality of audio in client sessions by performing the following two steps:
Go to Document Center
205
Note The availability and quality of audio in client sessions is determined both by Terminal Services Configuration settings and by policies you configure through the Presentation Server Console. By default, Terminal Services settings are configured, whereas Presentation Server policies are not. This means that Terminal Services settings apply by default, making medium quality audio available in client sessions until you configure Presentation Server policies that override the Terminal Services settings. If configured, Presentation Server policies override Terminal Services settings.
206
Go to Document Center
To configure audio compression and output quality 1. In the Presentation Server Console, select the policy for which you want to configure the rule. 2. From the Actions menu, select Properties. 3. Select Client Devices > Resources > Audio > Sound quality and configure the rule. Choose from the following levels of sound quality: Low sound quality; best performance. This setting is recommended for lowbandwidth connections. This setting causes any sounds sent to the client to be compressed to a maximum of 16Kbps. This compression results in a significant decrease in the quality of the sound. The CPU requirements and benefits of this setting are similar to those of the Medium setting; however, the lower data rate allows reasonable performance for a low-bandwidth connection. Medium sound quality; good performance. This setting is recommended for most LAN-based connections. This setting causes any sounds sent to the client to be compressed to a maximum of 64Kbps. This compression results in a moderate decrease in the quality of the sound played on the client device. High sound quality; lowest performance. This setting is recommended for connections only where bandwidth is plentiful and sound quality is important. This setting allows clients to play a sound file at its native data rate. Sounds at the highest quality level require about 1.3Mbps of bandwidth to play clearly. Transmitting this amount of data can result in increased CPU utilization and network congestion. Note High sound quality increases bandwidth requirements by sending more audio data to clients and increases server CPU utilization. By default, when you enable this rule, the medium sound quality level is selected.
Go to Document Center
207
4. Select Enabled and Use client microphones for audio input. 5. Click OK when you are done. Note Microphone input is supported on MetaFrame Presentation Server Clients for Win32, Windows CE, and Linux. The Clients for Linux and Windows CE do not support Philips SpeechMike products. By default, when you configure this rule, audio input is enabled on client devices. Users can override the policy and disable their microphones by selecting No in the Client Audio Security dialog box. Users of Program Neighborhood and Program Neighborhood Agent access this dialog box from the Program Neighborhood Connection Center (for seamless connections), or from either the Program Neighborhood Connection Center or the clients system menu (for non-seamless connections). Users of other MetaFrame Presentation Server Clients are automatically presented with the same dialog box at the beginning of their sessions. To enable audio output for client sessions 1. Select the policy for which you want to enable audio output. 2. From the Actions menu, select Properties. 3. Select Client Devices > Resources > Audio > Turn off speakers. 4. Select Disabled. 5. Click OK when you are done. By default, when you configure this rule, client speakers are disabled.
208
Go to Document Center
Go to Document Center
209
By default, Mouse Click Feedback is enabled and Local Text Echo is not enabled. You can enable and disable Mouse Click Feedback at the server level and Local Text Echo both at the server and application level. You can also configure Local Text Echo settings for individual input fields within an application. See the application help for SpeedScreen Latency Reduction Manager for more information. Note Applications that use non-standard Windows APIs for displaying text may not support Local Text Echo. To launch SpeedScreen Latency Reduction Manager, click its button on the ICA Administrator Toolbar or select SpeedScreen Latency Reduction Manager from the Citrix program group in the Start menu. Important Test all aspects of an application with Local Text Echo in a nonproduction environment before enabling text echo for your users.
210
Go to Document Center
To further accelerate the accessibility of Web pages and email, you can enable JPEG compression with SpeedScreen Browser Acceleration. JPEG compression offers you a trade-off between the quality of JPEG files as they appear on client devices and the amount of bandwidth the files consume on their way from server to client. JPEG compression results in slightly lower image resolution and slightly higher resource consumption on both server and client. It does not affect JPEG files rendered by applications other than those mentioned above. For information about improving the throughput of image files rendered by other applications, see Optimizing Throughput of Image Files on page 212. SpeedScreen Browser Acceleration requires Version 7.0 or later of the MetaFrame Presentation Server Clients for Win32, Internet Explorer 5.5 or later, and High Color (16 bit) or greater connection color depth. By default, SpeedScreen Browser Acceleration is enabled at the server farm level. You can customize the settings for this feature at the farm level and for individual servers. To do this, select the corresponding farm or server Properties page in the Presentation Server Console and modify the SpeedScreen Browser Acceleration settings as appropriate.
Without SpeedScreen Multimedia Acceleration, the cumulative cost of several users playing multimedia content in ICA sessions at the same time is high, both in terms of server CPU utilization and network bandwidth consumption. When you play multimedia content in an ICA session, the server decompresses and renders the multimedia file, which increases the servers CPU utilization. The server sends the file over the network in uncompressed form, which consumes more bandwidth than the same file requires in compressed form. With SpeedScreen Multimedia Acceleration, the server streams multimedia to the client in the original, compressed form. This reduces bandwidth consumption and leaves the media for the client device to decompress and render, thereby reducing server CPU utilization.
Go to Document Center
211
SpeedScreen Multimedia Acceleration optimizes multimedia files that are encoded with codecs (compression algorithms) that adhere to Microsofts DirectShow standards. DirectShow is an application programming interface (API) that allows, among other things, multimedia playback. To play back a given multimedia file, a codec compatible with the encoding format of the multimedia file must be present on the client device. As a rule of thumb, if you can play back a given multimedia file locally on a given client device, you can play back the same file on the same client device within an ICA session. Users can download a wide range of codecs, such as those supported by Windows Media Player or RealOne Player, from vendor Web sites. By default, SpeedScreen Multimedia Acceleration is enabled at the server farm level. You can customize the settings for this feature at the farm level and for individual servers. To do this, select the corresponding farm or server Properties page in the Presentation Server Console and modify the SpeedScreen Multimedia Acceleration settings as appropriate. Note With SpeedScreen Multimedia Acceleration enabled, RealOne Players built-in volume and balance controls do not work within client sessions. Instead, users can adjust volume and balance from the volume controls available from the client notification area.
212
Go to Document Center
Go to Document Center
213
Note There is a slight delay between the time a user logs on to a session and the time policy rules, if configured, take effect. For the time immediately following a users logon and before policy rules take effect, SpeedScreen Image Acceleration defaults to low image compression. This behavior improves session performance by slightly accelerating image throughput while decreasing image quality only marginally. Then, if a policy rule is configured for the users connection type, the policy rule takes effect, overriding the default setting. If no policy rule is configured, SpeedScreen Image Acceleration applies image compression as follows: Medium compression for WAN and lower bandwidth connections, no compression for LAN connections. Medium compression amounts to slightly better session performance due to slightly lower image quality. Use policy rules to override the default behavior as appropriate.
During logon, the client informs the server of the available client drives, COM ports, and LPT ports. By default, client drives are mapped to server drive letters and server print queues are created for client printers so they appear to be directly connected to the server. These mappings are available only for the current user during the current session. They are deleted when the user logs off and recreated the next time the user logs on. MetaFrame Presentation Server lists all client disk and printer devices in the Microsoft window that displays objects in the Client Network. During a client session, users can use ICA Printer Configuration to map client devices not automatically mapped at logon. For more information about using the ICA Printer Configuration utility, see the Administrators Guides for the clients you plan to deploy.
214
Go to Document Center
Go to Document Center
215
However, the same drive letters are often in use by the drives on the server. In this case, client drives are mapped to different drive letters. The server starts at V and searches in ascending order for unassigned drive letters.
216
Go to Document Center
CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before you edit it. You can avoid this problem by adding two registry values in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\InitialNetwareDrive. REG_SZ: InitialClientDrive. Defines the first drive letter to use for client drive mapping. The system searches backward through the alphabet to assign drive letters to client drives that could not be mapped to their native drive letters. REG_SZ: InitialNetWareDrive. Defines the drive letter to use for the NetWare SYS:LOGIN directory that is mapped to the preferred server during the initial NetWare attachment. This setting is the equivalent of the DOS VLM Net.cfg setting First Network Drive. If this value is not set, the first available drive letter starting with C and ending with Z is used for this mapping.
Go to Document Center
217
For more information about client COM port mapping, see the Administrators Guides for the clients you plan to deploy.
218
Go to Document Center
You can turn off client drive mapping through policies you configure in MetaFrame Presentation Server. MetaFrame Presentation Server now fully applies client drive access restrictions that you specify in policy rules that turn off mapping to client drives. Releases earlier than MetaFrame Presentation Server 3.0 allowed applications to access a restricted client drive through a UNC path even when a policy rule turned off mapping to the client drive. Now, applications cannot access client drives restricted through policy rules that turn off mapping to the client drive.
Go to Document Center
CHAPTER 9
This chapter addresses issues to help you plan and implement your deployment of MetaFrame Presentation Server Client software to users.
Tip If you are updating the MetaFrame Presentation Server Clients, use the Client Update Database to deploy the latest versions of the client software. If you are a system administrator for a small company with users in one physical location, installing the client software from floppy disks or from a network file server presents few problems. You can eliminate user involvement in the installation process by installing the client software on each users machine using a set of floppy disks or the MetaFrame Presentation Server Components CD. This method is useful if your users have limited computer experience.
220
Go to Document Center
If your users have a moderate level of computer expertise, you can direct them to a network share point containing the client software. You can send users an email message that contains both a link to the installation files and instructions for installing the software. Installation by users can eliminate the need for you to manually install client software. In a large enterprise or an application service provider (ASP) environment with hundreds or thousands of users in multiple locations, manual installation methods are not efficient. In these situations, Web delivery of client software or deploying with Active Directory or Microsoft Systems Management Server are the best choices. The table below lists common computing environments and the appropriate deployment methods to use in each scenario.
Organization Enterprise, ASP supplying personalized content and published applications Deployment method The Web Interface Requirements Users click links on their desktops or run a supported Web browser (see the Web Interface Administrators Guide for a full list). Users download client software from a centralized location. See your Windows or SMS documentation for more information. Users run a Web browser to access a client download Web site and install software. Users connect to a network share point and install software. Client devices have floppy disk drives.
Web-based installation
Enterprise, small business Small business (single site); organization with remote users who require client installation diskettes
Go to Document Center
221
Providing Application Access with the Web Interface for MetaFrame Presentation Server
If you implemented or plan to implement a corporate Web-based access point, use the Web Interface for MetaFrame Presentation Server to integrate personalized application sets and information into your companys Web site. With the Web Interface, users can access published applications through program icons on their desktops, in their Start menus (with Program Neighborhood Agent), or through Web browsers. A Web-integrated MetaFrame Presentation Server system consists of three components: a server farm, a Web server, and client devices. When a user logs on to the Web Interface, the Web-based client installation feature checks the users computer for the presence of ICA or Remote Desktop Connection software. If the necessary client software is not detected, the client installation feature presents the appropriate client software for download and setup. Important When you choose to install the Web Interface, a Web site is installed in a Citrix folder under the Web document root of the server; for example, c:\Inetpub\wwwroot\Citrix\MetaFrame. This Web site contains logic that at runtime references the servers document root directory for the presence of client software. To use the client installation feature of the Web Interface, copy the Icaweb folder on the MetaFrame Presentation Server Components CD into the Citrix folder in the Web document folder; for example, c:\Inetpub\wwwroot\Citrix\Icaweb. You must copy the entire Icaweb folder to the Citrix folder to enable Web-based Client installation from the Web Interface.
222
Go to Document Center
If you plan to use the Web Interface, see the Web Interface Administrators Guide for more information. If you do not plan to use the Web Interface but want to deploy client software over the Web, see Deploying Client Software over the Web on page 229.
Go to Document Center
223
For detailed instructions about running the ICA Client Distribution wizard, see Installing Client Software on the Server on page 139.
224
Go to Document Center
The infrastructure to support Remote Desktop sessions on MetaFrame Presentation Server, including the Remote Desktop Web Connection ActiveX control, is installed with MetaFrame Presentation Server and the Web Interface. Users connecting to MetaFrame Presentation Server with the Remote Desktop Web Connection ActiveX control draw licenses from your license entitlement the same way users connecting with Client software do. Use the administrative controls of the Web Interface Console to configure the availability of the Remote Desktop Web Connection ActiveX control to users. Use the standard MetaFrame Presentation Server management tools to monitor and manage Remote Desktop sessions. For information about configuring the Web Interface, see the Web Interface Administrators Guide. Client System Requirements. Internet Explorer 5.5 or later. Supported client operating systems: Windows 2000, Windows NT 4.0, Windows Server 2003, Windows XP, Windows XP Media Center Edition, Windows 98, Windows Me. Note You cannot route remote desktop sessions through Secure Gateway. See the following table for an overview of MetaFrame Presentation Server features and their availability through remote desktop sessions.
MetaFrame Presentation Server Feature Availability for Users of the Remote Desktop Connection ActiveX Control:
MetaFrame Presentation Server Feature Supported with Remote Desktop Connection Software Content redirection from client to server Content redirection from server to client Digital Dictation Support Dynamic Session Reconfiguration MetaFrame Presentation Server Client options (audio, encryption, printing settings) ICA Keep-Alive Improved User Logon Printer bandwidth Published application shortcuts on client desktop and Start menu Session Reliability no no no yes no
no partially* no no no
Go to Document Center
225
MetaFrame Presentation Server Feature Supported with Remote Desktop Connection Software SpeedScreen Browser Acceleration SpeedScreen Flash Acceleration SpeedScreen Image Acceleration SpeedScreen Multimedia Acceleration SpeedScreen Latency Reduction Manager Workspace Control Zone Preference and Failover no no no no no no yes
* Improved user logon, a new feature in this release of MetaFrame Presentation Server, allows users to see all connection and logon status information in a sequence of windows, from the time they click a link to a published application on the Web Interface, through the authentication process, to the moment the published application launches in the session. Some of the windows are generated by MetaFrame Presentation Server, others by functionality provided by the client software. The Remote Desktop Web Connection ActiveX control does not provide this functionality. As a result, when you connect to MetaFrame Presentation Server using the Remote Desktop Web Connection ActiveX control, you see only the windows generated by MetaFrame Presentation Server; the client-side portion of the feature is not available.
226
Go to Document Center
Explicit
Smart card Note: Support for smart card in combination with Remote Desktop Connection software is available only on servers running Windows Server 2003.
Go to Document Center
227
Integrate ICA functionality into third-party applications Use the ICA Client Object APIs within custom scripts (Visual Basic and HTML) to programmatically integrate and manipulate the appearance and behavior of the client
For more information about the ICA Client Object, see the Citrix ICA Client Object Programmers Guide, available from the Citrix Knowledge Center at http://support.citrix.com.
Organization Enterprise, ASP supplying personalized content and published applications Enterprise, ASP, small business
Deployment Method Web Interface Active Directory or Systems Management Server; MetaFrame Presentation Server Client download Web site Network share point MetaFrame Presentation Server Components CD; floppy disks
Enterprise, small business Small business (single site); organization with remote users who require MetaFrame Presentation Server Client installation floppy disks
For examples of client deployment practices, see Client Deployment Practices on page 230.
228
Go to Document Center
Copying the client software to a server running MetaFrame Presentation Server and to the Client Update Database allows you to manage and update the client software from a single, central location. To copy the client software to a server and to the Client Update Database, use the ICA Client Distribution wizard. The wizard is available during MetaFrame Presentation Server Setup and thereafter by selecting ICA Client Distribution Wizard from the Citrix program group in the Start menu. For detailed instructions about running the ICA Client Distribution wizard, see Installing Client Software on the Server on page 139.
Go to Document Center
229
Separate, self-extracting executable (.exe) files for each MetaFrame Presentation Server Client for 32-bit Windows are also located in the Icaweb\language\ folder. Note The Windows Installer service is present by default on computers running Windows 2000, Windows XP, Windows Me, or Windows Server 2003. On computers running older operating systems, you must install the Windows Installer service.
230
Go to Document Center
Manufacturing Enterprise
The Best Paper Company employs approximately 30,000 people, located in shopfloor sites and remote offices in several countries. The enterprise has many pockets of MetaFrame Presentation Server installations, each owned and managed by a different team. Published applications include PeopleSoft and Oracle Manufacturing and Financials. The networking environment includes the following: Ethernet LANs Frame Relay WAN Internet connections for remote users TCP/IP network protocol Thousands of 486 PCs running Windows 95 Thousands of Pentium PCs running Windows 2000
The Best Paper Company is using the Web Interface for MetaFrame Presentation Server to give users access to critical applications. The companys existing farms function as an application serving back-end. The server farm supplies application set information and hosts published applications. Application sets are delivered to groups or individual users, based on their role in the company. A user launches a Web browser to connect to the logon page for the Web Interface. When the user is authenticated to the server farm, the application set assigned to the user is displayed within the browser. To start an application, the user clicks a hyperlink on the Web Interface page. The company uses the Web Interfaces built-in Web-based ICA Client Installation feature to deploy the client software. When a user launches an application, the users computer is checked for the presence of the client software. If the client is not detected, the users platform is identified and the appropriate client software is presented for download and setup. The Web browser and the client software work together as viewer and engine. The browser displays the users application sets and the client software launches applications. For more information about the Web Interface, see the Web Interface Administrators Guide.
Go to Document Center
231
LinkToUs customers can choose from a variety of published application set packages that can include applications from Microsoft, Onyx, Sales Logic, and Pivotal. With the implementation of the Web Interface, LinkToUs is now also designing and hosting highly customized corporate entry portals providing application integration, personalized Web content, external Web content integration, and search and categorization features. LinkToUs works closely with its customers to develop user groups that meet their needs, and then builds application sets based on these groups. The ASP can display published applications from several server farms, including servers running MetaFrame Presentation Server for Windows or MetaFrame Presentation Server for UNIX, on a single Web page. The Web developers at LinkToUs created a simple script that allows automatic download and installation of the Web Client. When users access the corporate portal hosted by LinkToUs for the first time, the Web Client is automatically downloaded and installed on the users computer. For more information about the Web Interface, see the Web Interface Administrators Guide. For more information about automatic download and installation of Web Clients, see the Knowledge Center, accessible from the Support area of the Citrix Web site at http://support.citrix.com.
Insurance Company
Protection Insurance is a mid-sized company with 800 employees. Published applications include PeopleSoft and customized applications for the insurance industry from JDE and Prelude. The networking environment includes: Ethernet LAN, Internet, and dial-up connections TCP/IP network protocol
232
Go to Document Center
This diagram shows the following: 1. A user attempts to connect to an application published on a server. 2. The central Client Update Database detects an older version of the client software on the client device and prompts the user to update to the new version. 3. The user accepts the update. The Client Update Database pushes the new client software to the client device.
The purchasing department preconfigures users systems to include the latest version of the MetaFrame Presentation Server Clients for 32-bit Windows. When applications are published, a shortcut to each application is placed on the users Start menu. Users can also launch Program Neighborhood to access other application sets they have permission to use. When Citrix releases a new version of the client software, Protection Insurances IT staff adds the client to the Client Update Database. When users initiate their connections to a server, the new client software is pushed to their client devices. A MetaFrame administrator sets the update options to force users to disconnect from their ICA sessions and accept the updates. This ensures that all staff members are using the most current version of the client software.
Go to Document Center
CHAPTER 10
With MetaFrame Presentation Server, you can expand users access to information. You make information available to users by publishing applications and files on servers. You then decide whether users should open certain file types with these published applications or with applications running locally on client devices. You can publish the following types of resources: Applications installed on servers running MetaFrame Presentation Server. When users access them, the published applications appear to be running locally on client devices. You can publish any application that can run on the Windows console (32-bit Windows applications, 16-bit Windows applications, DOS applications, POSIX applications, and OS/2 applications). The servers desktop, so users can access all of the resources available on the server. Data files such as Web pages, documents, sound files, spreadsheets, and URLs. In MetaFrame Presentation Server, the combined total of data types you can publish is referred to as content.
234
Go to Document Center
You can adjust server load calculations for individual servers with Load Manager. For instructions about configuring load evaluators, see the Load Manager Administrators Guide, available from the Document Center or the Documentation folder on the product CD.
Go to Document Center
235
To use MetaFrame Presentation Server to solve many of these types of problems, review the following questions: Which types of applications should users run on MetaFrame Presentation Servers? For example, if users introduce viruses and other destructive elements into the network, publishing email applications, or perhaps all applications, for users to access on servers can add a layer of protection. If you prefer to have users run applications such as email programs locally, you can use content redirection in conjunction with the Win32 Program Neighborhood Agent to redirect application launching from the client device to the server. When users double-click email attachments encountered in an application running locally, the attachment opens in an application that is published on the server, associated with the corresponding file type, and assigned to the user. Which types of applications should users run locally on client devices? When running published instances of Web browsers, email clients, or office productivity software, users may frequently access files that call on other applications for rendering. For example, a multimedia file embedded in a Web page may be associated with Windows Media Player. Leveraging client-side resources to render multimedia files locally can reduce the toll on server processing power, memory, and network bandwidth. For users of MetaFrame Presentation Server Client software for 32-bit Windows, you can take advantage of SpeedScreen Multimedia Acceleration. SpeedScreen Multimedia Acceleration defrays the memory and processing power requirements that result from rendering multimedia files from servers to clients. It also sends multimedia files over the network in compressed form, thereby reducing bandwidth consumption. For users of older or non-Win32 Client software that does not support SpeedScreen Multimedia Acceleration, you can redirect URLs to multimedia files so that the files are rendered by applications present on client devices. Redirecting files to be rendered by client-side applications alleviates server load and frees server processing power for other users and applications. For information about SpeedScreen Multimedia Acceleration, see Optimizing Audio and Video Playback on page 210.
236
Go to Document Center
Which users should access applications locally and which should access applications published on servers? To provide a smoother user experience, review your user base, client hardware, and client operating systems to determine which users should open which types of applications. For example, you may publish a financial spreadsheet on a server for users in your accounting department to access. For security reasons, you want these users to open the published file with the associated application published on the server. However, you also published an audio file of a keynote speech given by the company president. To prevent the servers from becoming overloaded, you want users to open this file with player applications on their local client devices.
Go to Document Center
237
Use content redirection to redirect application launching from server to client or client to server. If a user receives an email attachment in a locally running email program, you can use content redirection to allow the attachment to be opened in a remote application published on a server. You can also allow users to open any Web and multimedia content they encounter while running a published application with local players, freeing server resources.
You can determine which applicationsremote or localusers launch in which situations. For more information about content redirection, see Configuring Content Redirection on page 260.
Use the Presentation Server Console to publish applications. With the Presentation Server Console, you can publish applications on any server in the farm, including servers that are temporarily out of operation.
238
Go to Document Center
User authentication. Instead of logging on to and logging off from multiple servers to access applications, Program Neighborhood users can be authenticated once to all servers in a server farm and get immediate access to all applications configured for their user group or specific user names. Publishing applications for the special Citrix Anonymous user group lets you completely eliminate the need for user authentication for those applications you want to provide to all users on your network. For more information, see Anonymous Users on page 242. Published applications are presented to users running the Win32 Program Neighborhood Client as application sets. An application set is a users view of the resources that the user is authorized to run. Note Users running the Win32 Program Neighborhood Client open the Program Neighborhood interface to connect to applications and content published in server farms. The Program Neighborhood Client runs on Windows XP, Windows 2000, Windows NT 4.0 Workstation, Windows 95, Windows 98, and Windows Me platforms. Publishing applications in your server farm benefits users of most clients. Although the Clients for UNIX, Macintosh, DOS, and the Web Client do not support the complete (server- and client-side) administrative configuration of the ICA connection provided by Program Neighborhood, these clients do support connections to published applications. With the Clients for UNIX, Macintosh, and DOS, users benefit from application publishings simplified addressing and desktop navigation when they configure connections to published applications using their connection configuration managers. With the clients that work with Web browsers (which are available as an Internet Explorer Active-X control, Netscape plug-in, or Java applet), you can create Web access that lets users click a link in a Web page to start a published application. You can use the Web Interface to achieve this.
Go to Document Center
239
240
Go to Document Center
Web access. Users who have the Win32 Web Client or the Client for Java can access applications using their Web browsers. You can use the Web Interface to present hyperlinks to published applications. When users click these links, the published application or content is launched on the server. The Client for Win32 Program Neighborhood Agent integrates hyperlinks to published applications into the Windows desktop. You must use the Web Interface to allow users to connect using the Program Neighborhood Agent. For more information about using the Program Neighborhood Agent, the Client for Win32 Web Client, or the Program Neighborhood, see the Client for 32-bit Windows Administrators Guide, available from the Document Center or the Documentation folder on the product CD. For information about configuring Web access with the Web Interface, see the Web Interface Administrators Guide.
For more information and instructions about configuring a server so it can provide virtual IP addresses, see Providing Virtual IP Address Ranges to Sessions on page 250.
Go to Document Center
241
An application requires a virtual loopback address if it: Uses the Windows socket loopback (localhost) address 127.0.0.1 Uses a specified TCP port number
For more information and instructions about configuring a server so it can provide a virtual loopback address, see Providing Virtual Loopback Addresses on page 251.
242
Go to Document Center
Publishing applications in server farms lets you set up two types of application access: explicit user account access and anonymous access. Note The total number of users, whether anonymous or explicit, who are logged on to a server farm at the same time cannot exceed the total count of all the connection licenses available from the license server.
Anonymous Users
During MetaFrame Presentation Server installation, Setup creates a special user group named Anonymous. By default, this user group contains 15 user accounts with account names in the form Anonx, where x is a three-digit number from 000 to 014. By default, anonymous users have guest permissions. Note MetaFrame Presentation Server cannot create anonymous user accounts on Windows primary or backup domain controllers. Therefore, you cannot publish applications for anonymous access on a server if it is a domain controller. Citrix does not recommend installing MetaFrame Presentation Server on Windows domain controllers. If an application you publish on a server can be accessed by users with guest permissions, you can configure the application using the Presentation Server Console to allow access by anonymous users. When a user starts an application that is configured for anonymous users, the server does not require an explicit user name and password to log the user on to the server and run the application. Anonymous users are granted minimal ICA session permissions that include the following properties that differ from standard ICA session permissions for the default user: Ten-minute idle (no user activity) time-out Log off from broken or timed out connections No password is required The user cannot change the password
When an anonymous user session ends, no user information is retained. The server does not maintain desktop settings, user-specific files, or other resources created or configured for the client. For more information about configuration of client connections on servers, see Configuring ICA Connections on page 187.
Go to Document Center
243
Explicit Users
An explicit user is any user who is not a member of the Anonymous group. Explicit users have user accounts that you create, configure, and maintain with standard user account management tools. Explicit users who log on to a server farm to run applications have a persistent existence: their desktop settings, security settings, and other information is retained between client sessions in a specific user profile. Important Do not assign any explicit users to the Anonymous group.
244
Go to Document Center
Tip If you want to publish an application on additional servers, you can drag the application in the console tree and drop it on servers to publish the application on the servers. The application must already be installed on the servers, and it inherits its settings from the first server where you published the application. Some published applications may require a unique IP address or a loopback address in sessions. For more information about determining whether a unique IP address or a loopback address is needed for your published applications, see Determining Whether to Provide Virtual IP Addresses or a Virtual Loopback Address on page 240.
Important If you install and then publish applications after installing MetaFrame Presentation Server, you must update the file type associations in the servers Windows registry. For instructions for doing this, see Updating File Type Associations in the Server Farm on page 247.
Go to Document Center
245
When you associate published applications with file types and then assign the applications to users, you automatically implement the following: 1. Users running the Program Neighborhood Agent open all files of the associated type encountered in locally running applications with applications published on the server. For example, when users double-click email attachments encountered in an application running locally, the attachment opens in an application that is published on the server, associated with the corresponding file type, and assigned to the user. This feature is named Content Redirection from client to server. If you do not want this to occur for any Program Neighborhood Agent users, do not associate the published application with any file types. If you do not want this to occur for specific Program Neighborhood Agent users, do not assign those users to the published application associated with the file type. For more information about Content Redirection, see Configuring Content Redirection on page 260. 2. Users connecting through the Web Interface or using the Program Neighborhood Agent open published content of the associated file type with the application published on the server. For example, you publish a document of the Microsoft Word for Windows type. This feature is named content publishing. When you also publish the Microsoft Word application, associate it with a list of file types (files with the .doc extension, for example), and assign it to a group of users, the published content is opened in the Microsoft Word application published on the server. This occurs for users when they connect to the logon page for the Web Interface and click the link to the published content (the document, in this case). If you do not want this to occur for any users, do not associate the published application with any file types. If you do not associate the published application with any file types, users open the published content with local player or viewer applications if they are installed on the client devices. For more information about Content Publishing, see Publishing Content on page 263. You associate published applications with file types on the last page of the Publishing wizard or on a published applications Properties page.
246
Go to Document Center
Depending on how or if you want to redirect application launching, you may need to publish the same application more than once. Follow the procedures below to associate published applications with file types: To associate a published application with file types when running the Publishing wizard 1. Open the Presentation Server Console. 2. If you have not yet published the application, select New > Published Application from the Actions menu. 3. Follow the instructions on the pages of the Publishing wizard. For detailed online help, click Help on each page. 4. On the last page of the wizard, select the file types you want to associate with the published application. Note When you associate a file type with a published application, several file extensions can be affected. For example, when you associate the Word document file type, file extensions in addition to the .doc extension are associated with the published application. 5. Click Finish when you are done. To associate a published application with file types for an application you already published 1. Open the Presentation Server Console. 2. Expand the Applications node in the left pane to display your published applications. 3. Select the application you want to associate with file types. From the Actions menu, select Properties. 4. On the Content Redirection tab, select the file types you want to associate with the published application. Note When you associate a file type with a published application, several file extensions can be affected. For example, when you associate the Word document file type, file extensions in addition to the .doc extension are associated with the published application. 5. Click OK when you are done.
Go to Document Center
247
248
Go to Document Center
To add a parameter placeholder to a published application 1. In the Presentation Server Console, expand the Applications node. Select the application to use and choose Properties. 2. In the Properties dialog box, select the Application Location tab. 3. In the Command Line box, add a space and %* (percent and star symbols enclosed in quotation marks) to the end of the command line. For example, for the following command line: %SystemRoot%\System32\Notepad.exe Add %* to the end, as follows: %SystemRoot%\System32\Notepad.exe %* 4. Choose OK to save the changes.
Go to Document Center
249
250
Go to Document Center
3. Close regedit and restart your server. 4. After making the prescribed registry modifications, in the Presentation Server Console, use the farm properties page, Virtual IP Processes, to add the application process. For instructions, see Enabling Applications for Use with Virtual IP Addresses or Virtual Loopback Address on page 252. Do not configure the use of client IP addresses if: Clients connect using network protocols other than TCP/IP Clients reconnect to disconnected sessions from different client devices Sessions use a pass-through client
Go to Document Center
251
To make virtual IP addresses available to applications running in sessions 1. At the farm level, configure virtual IP address ranges and assign them to servers. 2. Enable applications for use with virtual IP addresses. In addition to configuring virtual IP address ranges and enabling applications for use with virtual IP addresses, you can also control and monitor virtual IP addresses available from each server. The sections that follow describe how to perform each of these tasks. To configure virtual IP address ranges 1. In the left pane of the console, select the farm. 2. On the Actions menu, click Properties. 3. Select Virtual IP Address Configuration. 4. Use the Virtual IP Address Configuration dialog box to configure the virtual IP address ranges and assign them to servers. 5. Click OK and restart all affected servers. After configuring virtual IP address ranges, continue by specifying the application processes that are enabled to use virtual IP addresses. For more information, see Enabling Applications for Use with Virtual IP Addresses or Virtual Loopback Address on page 252.
252
Go to Document Center
3. In the left pane of farm Properties, select Virtual Loopback Configuration. 4. Use the Virtual Loopback Configuration dialog box to select the servers from which you want to make virtual loopback available. This automatically enables virtual loopback on the selected servers. After configuring virtual IP loopback, continue by specifying the application processes on each server for which you want virtual loopback available. The next section describes how to select applications for virtual loopback use.
Enabling Applications for Use with Virtual IP Addresses or Virtual Loopback Address
After you configure virtual IP addresses or configure virtual loopback on the Properties page of a farm, continue by specifying the processes that can use the virtual IP addresses or virtual loopback. To specify the process names 1. In the left pane of the console, select the farm. 2. On the Actions menu, click Properties. 3. In the left pane of the farm Properties page, select Virtual IP Processes. 4. In the Virtual IP Processes dialog box, use the Add Process, Edit Process, and Delete Process buttons to control lists of processes to which the server provides virtual IP addresses and loopback addresses. When adding files to the lists, select the executable files associated with the applications you want to enable to use virtual IP and virtual loopback. Depending on the list to which you add a process, the next time the process starts in a session, it uses a virtual IP address or virtual loopback.
Controlling and Monitoring Virtual IP Addresses and Virtual Loopback on Individual Servers
After you configure virtual IP address ranges or virtual loopback at the farm level, you can use Virtual IP Configuration settings at the server level to: Enable and disable virtual IP address and virtual loopback on a server View the IP address ranges available on a server Control logging of the assignment and release of virtual IP addresses
Go to Document Center
253
To configure virtual IP address and virtual loopback on an individual server 1. In the left pane of the console, expand the Servers node and select a server. 2. From the Actions menu, click Properties. 3. In the left pane of server Properties page, select Virtual IP Configuration. 4. Use the Virtual IP Configuration dialog box to: Disable and enable use of virtual IP address on the server. (Virtual IP addresses are enabled by default when you assign an address range to a server.) Enable and disable virtual loopback availability from the server. (By default, virtual loopback is enabled on each server when you enable virtual loopback for the farm.) Control logging of assignment and release of virtual IP addresses.
254
Go to Document Center
Go to Document Center
255
6. Check Enable application isolation, then click OK. 7. Restart the server. Note You set isolation settings only at the farm level. To change isolation settings when isolation environments are enabled on individual servers, but not for the farm, temporarily enable isolation environments at the farm level.
256
Go to Document Center
Roots. Specifies the virtual directories and registry locations in which files modified by users (user profile root) and applications (installation root) reside. You can set root locations for the following: Farm level. You can configure root locations only at the farm level Server level. Root locations set at the farm level apply only to enabled servers
Rules. Specifies whether or not isolation, redirection, or ignore rules need to be applied to system resources, such as files, registry, and named objects. Security. Specifies the type of security policy, such as enhanced or relaxed, to apply to this isolation environment. Selecting enhanced security prevents execution of files located in the user profile root. To configure the properties of an isolation environment 1. In the left pane of the console, select Isolation Environments. 2. In the Contents tab, select the isolation environment to configure. 3. On the Actions menu, click Properties. 4. Use the Properties page to add applications and configure roots, rules, and security settings for the isolation environment. For specific information about each Properties page, click Help. 5. To save your settings, click OK.
When you delete an isolation environment, applications associated with or installed into that isolation environment are no longer available for use.
Go to Document Center
257
Associate an application with the isolation environment after you publish the application on a server in the farm. To associate a published application with an isolation environment 1. In the left pane of the console, select the Isolation Environments node. 2. In the Contents tab, select the isolation environment with which you want to associate an application. 3. On the Actions menu, click Properties. 4. On the Applications page, click Add. 5. Select a published application to add to the isolation environment, then click OK.
258
Go to Document Center
2. Use the command aiesetup to install the application in an isolation environment of your farm. Install the application only after you determine that it is incompatible with Terminal Services. For more information about how to use the aiesetup command, see AIESETUP on page 339. 3. On the server, follow the normal steps to publish the application on the farm so that users can access the application. On the Specify What to Publish page, complete the following settings: Check the Isolate Application check box (disabled by default), and click Settings. In the Isolation Settings dialog box, from the list of available isolation environments, select the isolation environment into which you installed the application. Click the Application was installed into environment check box (disabled by default). Select the application from the Choose installed application list. If applicable, enter application parameters in the Command line arguments field.
4. Click OK, and continue with the steps in the wizard to publish the application. For more information about how to publish an application, see Procedures for Publishing Applications on page 243.
Go to Document Center
259
Because applications installed into isolation environments may not function correctly after you delete the isolation environment, Citrix recommends that you also uninstall the applications installed into the isolation environment. The next section describes how to unistall applications installed into an isolation environment and delete the contents of the isolation environment folder.
CAUTION Using Registry Editor incorrectly can cause serious problems that can require you to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Make sure you back up the registry before you edit it. 2. Use regedit to delete the registry entries under installation root (typically HKLM\Software\Citrix\AIE\<aiename>). 3. Because the server does not automatically update published application links, after you remove applications from a deleted isolation environment, use the console to delete the published links for the uninstalled applications.
260
Go to Document Center
Because an application file system and registry are isolated, this procedure provides a clean uninstall of the applications from the server.
Go to Document Center
261
If you have users who run applications such as email programs locally, you can use the content redirection capability in conjunction with the Win32 Program Neighborhood Agent to redirect application launching from the client device to the server. When users double-click attachments encountered in an email application running locally, the attachment opens in an application that is published on the server, associated with the corresponding file type, and assigned to the user. Important You must enable client drive mapping to use this feature. You can enable client drive mapping for the entire server farm, for specific servers, or for specific users with user policies. For more information about user policies, see Creating and Applying Policies on page 289. If you do not want this to occur for any Program Neighborhood Agent users, do not associate the published application with any file types. If you do not want this to occur for specific Program Neighborhood Agent users, do not assign those users to the published application associated with the file type. Follow the procedure below to configure Content Redirection from client to server. To configure Content Redirection from client to server 1. Determine which of your users connect to published applications using the Program Neighborhood Agent. Content Redirection from client to server applies only to those users connecting with the Program Neighborhood Agent. 2. Verify that client drive mapping is enabled. You can enable client drive mapping for a specific connection using Citrix Connection Configuration or for specific users by creating user policies. 3. Publish the applications you want Program Neighborhood Agent users to open on the server. 4. When you publish the application, associate it with file types on the last page of the Application Publishing wizard.
262
Go to Document Center
To free servers from processing these types of requests, you can redirect application launching for supported URLs from the server to the local client device. Note If the client device fails to connect to a URL, the URL is redirected back to the server. The following URL types are opened locally on the Clients for Win32 and Linux when this type of content redirection is enabled: HTTP (Hypertext Transfer Protocol) HTTPS (Secure Hypertext Transfer Protocol) RTSP (Real Player and QuickTime) RTSPU (Real Player and QuickTime) PNM (Legacy Real Player) MMS (Microsofts Media Format) Note If Content Redirection from server to client is not working for some of the HTTPS links, verify that the client device has an appropriate certificate installed. If the appropriate certificate is not installed, the HTTP ping from the client device to the URL fails and the URL is redirected back to the server. Content Redirection from server to client requires Internet Explorer Version 5.5 with Service Pack 2 on systems running Windows 98.
Go to Document Center
263
Follow the procedures below to enable Content Redirection from server to client. To enable Content Redirection from server to client Determine if you want Content Redirection from server to client to apply for the entire server farm, for specific servers, or for specific users only. To apply the behavior to the entire server farm, select the farm in the console and choose Properties from the Actions menu. Select MetaFrame Settings in the left pane of the farms Properties page. Select the option Enable Content Redirection from server to client. To apply the behavior to a specific server, select the server and choose Properties from the Actions menu. Select MetaFrame Settings in the left pane of the servers Properties page. Select the option Enable Content Redirection from server to client. To apply the behavior to specific connections, in a policy, enable the rule User Workspace > Content Redirection > Content Redirection from Server to Client. Assign the policy to only those connections for which you want to open supported URL file types on client devices. For more information about policies, see Creating and Applying Policies on page 289.
Publishing Content
You can give users access to information, such as documents, Web sites, and video presentations, by publishing content for users in the same way that you publish applications in a server farm. With content publishing, you can publish and manage various types of content and present it to users with the applications they need. Published content and published applications appear together through the Web Interface, Program Neighborhood, and Program Neighborhood Agent interfaces. You can configure MetaFrame Presentation Server to allow users to open published content in local player or viewer applications running on client devices or in applications published on servers.
264
Go to Document Center
2. Determine which users you want to open the published content with a published application. 3. Publish the application that corresponds to the content file type. For example, if you published a Microsoft Word for Windows document file named Quarterly_Sales.doc, publish Microsoft Word on a server running MetaFrame Presentation Server. For more information about publishing applications, see the online Help for the Application Publishing wizard. 4. When you publish Word, associate the file type Word document with the application. Note When you associate a file type with a published application, several file extensions can be affected. For example, when you associate the Word document file type, file extensions in addition to the .doc extension are associated with the published application. 5. Assign the published Word to the users you want to open the published document with the published application.
Go to Document Center
265
Follow these basic steps for publishing content for users to access with applications running locally on client devices. 1. Publish the data file you want users to access. For more detailed instructions for publishing content, see Publishing Content on Servers on page 265. 2. If you publish the application that corresponds to the content file type, do not associate it with any file types if you want all users to open the published content with locally installed applications. However, if you want some users to open the published content with the published application, you can associate the published application with the content file type, but only assign the application to those users. For more information about publishing applications, see the online Help for the Application Publishing wizard.
266
Go to Document Center
If you want users to open published content with local applications, the applications must be associated with published content through Web browser MIME types or Windows file associations on the client device. No other client-side configuration is necessary after viewer applications are installed and associations are configured. To publish content 1. In the Presentation Server Console, choose Actions > New > Published Application to open the Publishing wizard. 2. Type a name for the content you are publishing in the Display Name box. This text appears as the name of the icon that represents the published content. 3. For Application Type, select Content. 4. In the Content Address box, specify the location of the content by entering a URL or UNC address. See Specifying Locations for Publishing Content. below for more information. 5. After specifying the content address, continue using the wizard to specify other settings and publish the content.
Go to Document Center
267
268
Go to Document Center
Go to Document Center
269
To modify the CPU priority of a published application 1. In the left pane of the Presentation Server Console, expand the Applications node. Select the application you want to modify and choose Properties from the Actions menu. 2. On the Properties page, click Application Limits in the left pane. 3. Select an option from the CPU priority level menu. The default setting is Normal. 4. Click OK to apply the setting and close the dialog box.
270
Go to Document Center
Go to Document Center
CHAPTER 11
This chapter describes how to manage users and their sessions in a server farm. It includes information about using the Presentation Server Console to monitor users connections. This chapter also includes information about creating and applying policies to control select settings for users or user groups. You can use the Presentation Server Console to perform session-management activities, including logging off, shadowing, disconnecting, and sending messages to users. Note You may not see some or all of the data described below if you have not been granted permission to perform these tasks. See your primary MetaFrame administrator for more information.
272
Go to Document Center
Note For servers running MetaFrame Presentation Server 3.0 or later, clearing the Enable logons to this server check box is a persistent setting that remains in effect after restarting the server. In earlier releases, the Enable logons to this server setting defaults to being selected each time the server is started.
However, group policies you configure in Active Directory take precedence over equivalent local group policies you configure for individual servers. Therefore, when you install MetaFrame Presentation Server on servers that belong to an Active Directory domain and configure the group policies above in Active Directory, those policies may prevent MetaFrame Presentation Server from suppressing the status windows generated by the Windows operating systems of the individual servers. In that case, users see the status windows generated by the Windows operating system when connecting to that server. For optimal performance, do not configure the above group policies in Active Directory.
Go to Document Center
273
Workspace Control is enabled in the server farm by default and is available only for users accessing applications through the Web Interface or the Program Neighborhood Agent.
274
Go to Document Center
User policies and client drive mappings change appropriately when a user moves to a new client device. Policies and mappings are applied according to the client device where the user is currently logged on to the session. For example, if a health care worker logs off from a client device in the emergency room of a hospital and then logs on to a workstation in the hospitals X-ray laboratory, the policies, printer mappings, and client drive mappings appropriate for the session in the X-ray laboratory go into effect for the session as soon as the user logs on to the client device in the X-ray laboratory. You can configure Workspace Control behavior in the Web Interface Console or the Program Neighborhood Agent Console. For more information about enabling and configuring Workspace Control for users, see the Web Interface Administrator's Guide.
Go to Document Center
275
Configure IP Security (IPSec), firewalls, or other technology that you use to secure the environment so that they restrict access to the Citrix XML Service to only the Web Interface servers. For example, if the Citrix XML Service is sharing a port with Microsoft Internet Information Services (IIS), you can use the IP address restriction capability in IIS to restrict access to the Citrix XML Service.
Connection control provides two types of limits, as shown in the following table.
Limit type Concurrent connections in the server farm Published application instances Description Restricts the number of concurrent connections (sessions) that each user in the server farm can establish. See Limiting Total Connections in a Server Farm on page 276. Restricts the total number of instances of a published application that can run in the server farm at one time, and prevents users from launching more than one instance of a published application. See Limiting Application Instances on page 276.
276
Go to Document Center
Go to Document Center
277
For example, you can publish Autodesk AutoCAD and set a limit of 30 concurrent instances in the server farm. When 30 users are running AutoCAD at the same time, no more users can launch the application because of the limit of 30 concurrent instances. You can use the concurrent instances limit to enforce an applications licensing requirement. Another connection control option lets you prevent any user from running multiple instances of a particular published application. With some applications, running more than one instance in a single user context can cause errors on the server. You can apply application limits independently to each published application. For example, you can apply the limitations on total concurrent instances and multiple instances by a single user to one published application. You can limit only the total concurrent instances of another application. You can configure a third application to limit launching of multiple instances by individual users.
278
Go to Document Center
To limit concurrent connections in a server farm Use this procedure to set the number of concurrent connections that each user can establish in the server farm. 1. In the Presentation Server Console, select the farm node and choose Properties from the Actions menu. 2. On the Properties page, select Connection Limits. 3. Select Maximum connections per user to limit each users concurrent connections. Enter the number of concurrent connections to allow for each user. 4. If you want the connection limitation to apply to everyone, including local administrators, select Enforce limit on administrators. 5. Click OK to apply the settings and close the page. To publish an application or desktop with application limits 1. In the Presentation Server Console, choose Actions > New > Published Application to run the Application Publishing wizard. 2. Proceed through the wizard pages, entering information and selecting options for the application you are publishing. 3. Under Concurrent Instances, select one or both of the following options: Limit instances allowed to run in server farm. Select this option and enter the maximum number of instances that can run at one time in the server farm (without regard to who launches the application). Allow only one instance of application for each user. Select this option to prevent any user from running more than one instance of this application at the same time.
4. After you enter all required information and select the options to use, click Finish to publish the application. To set application limits on a published application or desktop 1. In the Presentation Server Console, select the published application or desktop and choose Properties from the Actions menu. 2. On the Properties page, select Application Limits.
Go to Document Center
279
3. Configure the following options: Limit instances allowed to run in server farm. Select this option and enter the maximum number of instances of this application that can run in the server farm at one time. Allow only one instance of application for each user. Select this option to prevent each user from running more than one instance of this application at the same time.
280
Go to Document Center
To enable logging of connection control events 1. Select the farm node in the Presentation Server Console and choose Properties from the Actions menu. 2. On the Properties page, select Connection Limits. 3. Select Enable logging of over-the-limit denials. 4. Click OK to apply the setting and close the page.
For example, if you select a published application, the Users tab in the right pane displays the sessions in which the selected application is running. The information appears in columns that display the user name, client device name, session ID number, server name, session, the state of the session, and the date and time the user logged on.
Go to Document Center
281
282
Go to Document Center
In Presentation Server Console, use the Actions menu and the toolbar buttons to choose session management commands. You can right-click a session in the console and choose commands from the menu that appears.
Disconnecting Sessions
To disconnect a session, choose Disconnect. When you disconnect a session, you close the connection between the client and the server. However, this does not log off the user, and programs that were running in the session are still running on the server. If the client user then connects to the server (by selecting a published application or custom connection to the server), the disconnected session is reconnected to the client.
Shadowing Sessions
If you enabled shadowing on the server when you installed MetaFrame Presentation Server, you can shadow a users session. Shadowing allows you to view the users actions and take remote control of the users keyboard and mouse. See Using Shadowing to Monitor ICA Sessions on page 201 for more information about shadowing.
Go to Document Center
283
When you finish typing the message, click OK to send the message to the selected sessions.
Resetting Sessions
Resetting a session with the Reset command terminates all processes that are running in that session. You can use the Reset command to remove remaining processes in the case of a session error. However, resetting a session can cause applications to close without saving data. If you reset a disconnected session, the word Down appears in the State column for the session. When you refresh the console display or when the next automatic refresh occurs, the session no longer appears in the list of sessions.
284
Go to Document Center
Go to Document Center
285
Session Reliability is available with the Enterprise and Advanced Editions of MetaFrame Presentation Server. This feature is supported with Version 8.x or later of the MetaFrame Presentation Server Client for 32-bit Windows. Users of the Program Neighborhood Client can override the Session Reliability setting you configure on the server by selecting or clearing the Enable session reliability option in their application or connection settings. Users of Program Neighborhood Agent and the Web Client cannot override the server setting. By default, Session Reliability is enabled at the server farm level. You can customize the settings for this feature by selecting the server farms Properties page in the Presentation Server Console and modifying the Session Reliability settings as appropriate. You can edit the port on which MetaFrame Presentation Server listens for session reliability traffic and edit the amount of time Session Reliability keeps an interrupted session connected. The Seconds to keep sessions active option has a default of 180 seconds, or three minutes. Though you can extend the amount of time Session Reliability keeps an ICA session open, keep in mind that this feature is designed to be convenient to the user and that it does not, therefore, prompt the user for reauthentication. If you extend the amount of time a session is kept open indiscriminately, chances increase that a user may get distracted and walk away from the client device, potentially leaving the session accessible to unauthorized users. Note You can use Session Reliability in conjunction with SSL, but not in sessions routed through the Secure Gateway. If you do not want users to be able to reconnect to interrupted sessions without having to reauthenticate, use the Auto Client Reconnect feature. You can configure Auto Client Reconnect to prompt users to reauthenticate when reconnecting to interrupted sessions. If you use both Session Reliability and Auto Client Reconnect, the two features work in sequence. Session Reliability closes, or disconnects, the user session after the amount of time you specify in Seconds to keep sessions active. After that, the settings you configure for Auto Client Reconnect take effect, attempting to reconnect the user to the disconnected session.
286
Go to Document Center
Auto Client Reconnect is supported with the Clients for 32-bit Windows, Java, and Windows CE. This feature does not work with sessions embedded in applications using the ICA Client Object. By default, Auto Client Reconnect is enabled at the server farm level, and user reauthentication is not required. You can customize the settings for this feature at the farm level and for individual servers. To do this, select ICA Settings on the corresponding farm or server Properties page in the Presentation Server Console and modify the Auto Client Reconnect settings as appropriate.
The following types of disconnections do not result in automatic reconnection attempts: Users disconnect ICA sessions by exiting applications without logging off. Clients do not make automatic reconnection attempts in this case. Anonymous users sessions are disconnected.
Go to Document Center
287
When cookies expire, users must reauthenticate to reconnect to sessions. Cookies are not used if you select Require user authentication. Selecting this option displays a dialog box to users requesting credentials when the client is attempting to reconnect automatically. Use the Presentation Server Console to enable Require user authentication. Tip For maximum protection of users credentials and ICA sessions, use SSL encryption for all communication between clients and the server farm.
You can use the Presentation Server Console or the Acrcfg command to require user authentication for automatic reconnection and reconnection event logging. Reconnection event logging is disabled by default. For more information about the Acrcfg command, see MetaFrame Presentation Server Commands on page 333. You can disable Auto Client Reconnect on Presentation Server Client for 32-bit Windows by setting TransportReconnectEnabled=Off in the [WFClient] section of the clients Appsrv.ini file. For more information about client configuration using Appsrv.ini, see the Client for 32-bit Windows Administrators Guide. Settings for ICA connections also affect Auto Client Reconnect.
288
Go to Document Center
By default, the ICA TCP connection on a MetaFrame Presentation Server is set to disconnect sessions with broken or timed out connections. Disconnected sessions remain intact in system memory and are available for reconnection by the MetaFrame Presentation Server Client. The ICA connection can be configured to reset, or log off, sessions with broken or timed out connections. When a session is reset, attempting to reconnect initiates a new ICA session; rather than restoring a user to the same place in the application in use, the application is restarted. If MetaFrame Presentation Server is configured to reset sessions, Auto Client Reconnect creates a new ICA session. This process requires users to enter their credentials to log on to the server. To configure the ICA TCP connection for Auto Client Reconnect 1. Run Citrix Connection Configuration by selecting Citrix Connection Configuration in the Citrix program group on the Start menu. 2. In the Citrix Connection Configuration window, select the ica-tcp connection and choose Edit from the Connection menu. 3. In the Edit Connection dialog box, click Advanced. 4. In the Advanced Connection Settings dialog box near the bottom, the first pop-up menu sets the behavior for a broken or timed out connection. If Inherit User Config is selected, you cannot change the setting because the connection inherits the setting from each users profile. When Inherit User Config is not selected, you can select one of the following options to configure the ICA TCP connection: Disconnect. The server places broken connections in the disconnected state. The client can reconnect automatically without any action by users.
Reset. The server resets broken connections. Automatic reconnection creates a new ICA session and requires users to reenter credentials. Be sure to select Disconnect to set up the ICA TCP connection to work with the auto client reconnect feature.
5. Click OK to close the dialog box and the previous dialog box. Choose Connection > Exit to close Citrix Connection Configuration.
Go to Document Center
289
To configure automatic reconnection for individual users In the Advanced Connection Settings dialog box, if Inherit User Config is selected for the setting labeled On a broken or timed-out connection, the connection inherits the setting from each users profile. To view or change the setting for broken or timed out connections, do the following to display the properties for each user. On servers running Windows 2000, use Computer Management to configure user profiles. 1. Select the user and choose Properties from the Action menu to open the users Properties dialog box. 2. On the Sessions tab, under When a session limit is reached or a connection is broken, select Disconnect from session to allow automatic reconnection.
290
Go to Document Center
Policies contain rules that define the policys settings. A single policy can apply multiple rules. You can create policies that: Direct users to connect to servers in a local zone and fail over to a specific remote zone Set a required encryption level for a group of specific clients Control audio sound quality used by client devices Route print jobs from specific workstations directly from the server to the printer rather than through the client device Control bandwidth limits for sessions
Policies are applied when users log on to the server farm and remain in effect for the length of the users session. In general, policies override similar settings configured for the entire server farm, for specific servers, or on the client. However, the highest encryption setting and the most restrictive shadowing setting always override other settings. With policies, you can tailor MetaFrame Presentation Server to meet users needs based on their job functions, geographic locations, or connection types (LAN, WAN, or dial-up). For example, for security reasons you may need to place restrictions on user groups who regularly work with highly sensitive data. You can create a policy that requires a high level of encryption for client sessions and prevents users from saving the sensitive files on their local client drives. However, if some of the people in the user group do need access to their local drives, you can create another policy for only those users. You then rank or prioritize the two policies to control which one should take precedence. Policy rules have three states: enabled, disabled, or not configured. By default, all rules are not configured. All unconfigured rules are ignored when users log on to the server, so the rules come into play only when the state is enabled or disabled.
Creating Policies
The basic steps for effectively creating and using policies are as follows. These steps are explained in more detail below. 1. Decide the criteria on which to base your policies. You may want to create policies based on user job function, connection type, client device, or geographic location, or you may want to use the same criteria that you use for your Windows Active Directory group policies. 2. Create the policy. Creating a policy involves the following steps: Naming the policy Assigning the policy to user accounts, client devices, or servers
Go to Document Center
291
3. Prioritize or rank policies. Ranking policies allows you to set the order in which policies take priority over one another when they contain conflicting rules. Higher ranked policies take precedence over lower ranked policies. When you create policies for groups of users, clients, or servers, you may find that some members of the group require exceptions to some policy rules. To more effectively manage exceptions, you can create new policies for only those group members needing the exceptions, and then rank that policy higher than the policy for the entire group. To create a policy 1. In the Presentation Server Console, select the Policies node in the left pane and choose Actions > New > Policy or click the Create Policy button on the console toolbar. 2. In the New Policy dialog box, enter the name and description of the policy, then click OK. Examples of policy names are Accounting Department or Lender Laptops. The policy name is displayed in the right pane of the console. After creating a policy, you must configure at least one filter that determines sessions to which the policy applies.
292
Go to Document Center
The following tables presents rules you can configure within a policy.
Bandwidth
To limit bandwidth used for the following: Desktop wallpaper Menu and window animations Window contents while a window is dragged Compression level for image acceleration Client audio mapping Devices connected to a local COM port Cut-and-paste using local clipboard Access in a session to local, client drives Printers connected to the client LPT port Custom devices connected to the client through OEM virtual channels Client session Printing TWAIN device (such as a camera or scanner) Use this policy rule: Visual Effects > Turn off desktop wallpaper Visual Effects >Turn off menu animations Visual Effects >Turn off window contents while dragging Speed Screen > Image acceleration using lossy compression Session Limits > Audio Session Limits > COM ports Session Limits > Clipboard Session Limits > Drives Session Limits > LPT Ports Session Limits > OEM Virtual Channels Session Limits > Overall Session Session Limits > Printer Session Limits > TWAIN Redirection
Client Devices
Control whether or not to allow audio input from client microphones Control client audio quality Control audio mapping to client speakers Control whether or not client drives are connected when users log on to the server Control how drives map from the client device Improve the speed of writing and copying files to a client disk over a WAN Prevent client devices attached to local COM ports from being available in a session Resources > Audio > Microphones Resources > Audio > Sound quality Resources > Audio > Turn off speakers Resources > Drives > Connections Resources > Drives > Mappings Resources > Drives > Optimize > Asynchronous writes Resources > Ports > Turn off COM ports
Go to Document Center
293
Prevent client printers attached to local LPT ports from being made available in a session Allow use of USB-tethered, Windows CE-based, PDA devices Configure resources for the use of TWAIN devices, such as scanners and cameras Prevent cut-and-paste data transfer between the server and the local clipboard Prevent use of custom devices, such as an electronic pen (stylus) Disable auto client update for a group of users, clients, or servers
Resources > Ports > Turn off LPT ports Resources > PDA Devices > Turn on automatic virtual COM port mapping Resources > Other > Configure TWAIN redirection Resources > Other > Turn off clipboard mapping Resources > Other > Turn off OEM virtual channels Maintenance > Turn off auto client update
Printing
Control creation of client printers on the client device Allow use of legacy printer names and preserve backwards compatibility with prior versions of the server Control the location where printer properties are stored Control whether print requests are processed by the client or the server Prevent users from using printers connected to their client devices Control installation of native Windows drivers when automatically creating client and network printers Control when to use the universal print driver Choose a printer based on a roaming users session information Client Printers > Auto-creation Client Printers > Legacy client printers
Client Printers > Printer properties retention Client Printers > Print job routing Client Printers > Turn off client printer mapping Drivers > Native printer driver auto-install
294
Go to Document Center
User Workspace
Limit the number of sessions that a user can run at the same time Direct connections to preferred zones and failover to backup zones Control whether or not to use content redirection from the server to the client device Control whether or not shadowing is allowed Allow or deny permission for users to shadow connections Use the servers time zone instead of the clients estimated local time zone Use the servers time zone instead of the clients time zone Identify which credential repository to use when using MetaFrame Password Manager Prevent use of MetaFrame Password Manager Connections > Limit total concurrent sessions Connections > Zone preferences and failover Content Redirection > Server to client Shadowing > Configuration Shadowing > Permissions Time Zones > Do not estimate local time for legacy clients Time Zones > Do not use Clients local time MetaFrame Password Manager > Central Credential Store MetaFrame Password Manager > Do not use MetaFrame Password Manager
Security
Require that connections use a specified encryption level Encryption > SecureICA encryption
Migrating Policies
If you upgrade from a previous release of MetaFrame, your existing policies and their rules are maintained and all new rules are not configured. After migrating, you can open the settings for an existing policy and enable new rules and filters that you want to add to the policy. In a server farm that has servers running a previous release of MetaFrame, new filters and rules are ignored by the servers running earlier releases.
Go to Document Center
295
Overriding Policies
Policies are applied when users log on and remain in effect for the length of the session. In general, connection policies override similar MetaFrame settings configured for the entire server farm, for specific servers, or on the client. However, the highest encryption setting and the most restrictive shadowing setting always override other settings. Important Microsoft Group Policy settings can override MetaFrame Presentation Server policy rules if the Microsoft Group Policy settings are more restrictive. If connection behavior does not match expected results, check your Microsoft Group Policy settings for conflicting configurations.
Prioritizing Policies
You can prioritize policies by ranking the priority number. By default, new policies are given the lowest priority. In cases of conflicting policy settings, a policy with a higher priority will override a policy with a lower priority. A policy with the priority number of 1 has the highest ranking priority. If you have five policies ranked 1 through 5, the policy ranked with priority number 5 has the lowest priority. In the following procedure, the interwoven example assumes that you created a policy for your Accounting user group. One of the rules enabled in this policy prevents the user group from saving data to their local drives. However, two users who are members of the Accounting group travel to remote offices to perform audits and need to save data to their local drives. The steps below describe creating a new policy for Accounting group members Carol and Martin that will allow them access to their local drives while allowing the other policy rules to work the same way for them as for all other members of the Accounting group.
296
Go to Document Center
To create exceptions and prioritize policies 1. Determine which users need additional policies to create exceptions. The policy named Accounting Profile that is assigned to the Accounting group includes a rule that prevents access to local drives. Carol and Martin, members of the Accounting group, need access to their local drives. 2. Determine which rule or rules you do not want to apply to these users. You want most of the rules in this policy to apply at all times to all users, with the exception of the rule that prevents access to local drives. 3. Create a new policy. See To create a policy on page 291 for more information. You may want to name this policy Accounting Profile - local drive access. 4. Edit the description of the policy by selecting the policy and choosing Actions > Policy > Edit Description. You can use policy descriptions to help you keep track of your policies. 5. Open the policys property sheet and locate the rule you do not want to apply to Carol and Martin. Set the rules state to Disabled. 6. To assign users Carol and Martin to the policy, select it and choose Actions > Policy > Apply this policy to. In the Policy Filters dialog box, select Users and make sure the Filter based on users check box is selected. Open domains or user groups in the Look in box until the user accounts for Carol and Martin are displayed and add them to the Configured Accounts box. Select the Show Users option to display individual user accounts. 7. Click OK when you are finished adding users. 8. Rank the Accounting Profile - local drive access policy higher than the Accounting Profile policy. By default, new policies are given the lowest rank (which corresponds to the highest priority number). Right-click the Accounting Profile - local drive access policy and select Priority > Increase Priority until this policys priority number is lower than the Accounting Profile policy. A policy with a priority number of 1 has the highest priority. When a user logs on, all policies that match the filters for the connection are identified. MetaFrame Presentation Server sorts the identified policies into priority order and compares multiple instances of any rule, applying the rule according to the priority ranking. If the rule appears in a policy ranked highest, those rule settings will override the settings for the same rule in a policy ranked lower. Any rule configured as disabled wins over a lower-ranked rule that is enabled. Policy rules that are not configured are ignored and will not override the settings of lower-ranked rules.
Go to Document Center
297
Applying a Policy
By default, newly created policies are not applied to any sessions. Before a policy has an effect, you must create a filter for it so the server can apply it to matching sessions. You can filter sessions and apply a policy to them based on a combination of the following criteria: Access control through which a client is connecting to a session IP address of a client device connecting to a session Name of a client device connecting to a session Users or user groups associated with a session Server hosting a session
By applying both user group and client device filters, you can create one policy for employees of a New York office when they connect from their office workstations, and create another policy for the same New York employees that sets a higher encryption level for sessions connecting from laptops they use in the field. To apply a policy 1. In the left pane of the console, choose the Policies node. 2. In the Contents tab, choose the policy you want to apply. 3. From the Actions menu, choose Policy > Apply this policy to. 4. Use the Policy Filters dialog box to configure filters to apply the policy to a session based on access control, client IP address, client name, server the session connects to, or the user who is making the connection. To apply the policy according to the type of access control through which the user is connecting, click Access Control in the left pane. Using the Access Control filter, you can match any connection a client makes through MetaFrame Secure Access Manager. To apply the policy to client IP addresses, click Client IP Address in the left pane and select Filter based on client IP address. Click Add to configure an individual address or range of addresses and then specify whether to allow or deny the addresses for the policy. To apply the policy to client names, click Client Name in the left pane and select Filter based on client name. Click Add to specify a client name to which the policy applies. To apply the policy to servers, click Servers in the left pane and select Filter based on servers. Select servers or folders of servers in the right pane and choose to apply or not apply the policy to them.
298
Go to Document Center
To apply the policy to users, click Users in the left pane and select Filter based on users. Select the user group and/or users to whom you want to assign the policy and then click Add. By default, the policy is allowed for any users or user groups you add to the configured accounts list. If there are members of the user group you do not want assigned to this policy, you can add the individual members of the group and then select Deny to prevent the policy from being applied to them.
5. If a filter has an Allow/Deny setting, you must select Allow to enforce the policy. 6. Click OK when you are finished applying the policy filters. Note To assign policies to all users accessing applications through the Web Interface, you can use the wildcard expression WI_* when specifying the client name filter. Users accessing applications through the Web Interface receive a random client name of WI_number, where number is random ASCII characters. Because the assigned client name is random, you cannot anticipate the client name to be assigned to individual client users.
Go to Document Center
299
To use search for policies 1. Make sure that Policies is the selected entry in the Search for list. Search finds all policies that apply to the combination of access control, IP address, client name, user, and server criteria you set in the Search dialog box. 2. Use the View Resultant Policy function after a policy search to calculate the results of multiple policies that can affect a connection. MetaFrame Presentation Server merges all policies that can affect a connection when enforcing policies. When there are multiple policies that can apply to a connection, it is the resultant policy that MetaFrame Presentation Server enforces.
300
Go to Document Center
Go to Document Center
301
302
Go to Document Center
In addition to enabling and disabling this feature for a farm, you can enable this feature for individual servers within a farm. Memory utilization management is not enabled by default. You do not want to enable memory utilization management on farms or servers that exclusively host signed or certified applications. MetaFrame Presentation Server can detect only some published applications that are signed or certified. CAUTION If after enabling memory utilization management and running scheduled memory optimization published applications fail, exclude those applications from memory optimization. Before deploying memory utilization management 1. Using a test server hosting your published applications, enable memory utilization management. 2. Schedule memory optimization. 3. After memory optimization completes, run all published applications. 4. Add to the exclusion list those applications that fail.
Go to Document Center
303
To enable memory optimization for an individual server (disabled at the farm level) 1. In the left pane of the console, open the Servers node and choose the server for which you want to enable memory optimization. 2. From the Actions menu, choose Properties. 3. In the left pane of the server Properties dialog box, click Memory/CPU Utilization Management. 4. On the Memory/CPU Utilization Management page, clear the check box Use farm settings for memory optimization. 5. Check Enable memory optimization, then click OK. When you enable virtual memory optimization at the server level, virtual memory optimization occurs at a time set by the farm-wide schedule. For instructions about how to create a farm-wide virtual memory optimization schedule, continue with the next section.
Schedule virtual memory optimization at a time when your servers have their lightest loads. To create a memory optimization schedule 1. In the left pane of the console, select the farm for which you want to create a virtual memory optimization schedule. 2. From the Actions menu, choose Properties. 3. In the left pane of the farm Properties dialog box, choose Memory Optimization. 4. Use the Virtual Memory Optimization Schedule page to set: The optimization interval. The frequency at which the server rebases DLLs. You can set the frequency to be every time you restart your server, every day, once a week, or once a month.
304
Go to Document Center
The optimization time. The time at which the server begins rebasing DLLs. The value of optimization time is based on a twenty-four hour clock.
5. If you store application files on a file server or remote server that requires special access permissions, such as a domain administrator, clear the checkbox Use local system account and provide the account and password that has permissions to access the remotely stored application files.
Shadowing Sessions
You can monitor the actions of users by shadowing their sessions. A shadowed session is displayed in the session of the shadower, the user who establishes shadowing. Shadowing a session provides a powerful tool for you to assist and monitor users. Shadowing is a useful option for your Help desk staff who can use it to aid users who have trouble using an application. Help desk personnel can view a users actions to troubleshoot problems and can demonstrate correct procedures. You can also use shadowing for remote diagnosis and as a teaching tool. You can create a user policy to enable user-to-user shadowing. When you create a policy allowing user-to-user shadowing, users can shadow other users without requiring administrator rights. Multiple users from different locations can view presentations and training sessions, allowing one-to-many, many-to-one, and manyto-many online collaboration. See Configuring User-to-User Shadowing on page 306 for more information about user-to-user shadowing.
Go to Document Center
305
A shadower can remotely control a shadowed session through the shadowers mouse and keyboard, if this action was not prohibited by options selected when MetaFrame Presentation Server was installed on the server. Important If shadowing restrictions are selected during MetaFrame Presentation Server installation, the restrictions cannot be changed later. For more information, see Configuring Session Shadowing on page 133. By default, the user who will be shadowed is asked to accept or deny the request to shadow the session. You can shadow multiple sessions using the Presentation Server Console or the Shadow Taskbar.
306
Go to Document Center
When the Shadow Taskbar is running and no sessions are being shadowed, the Shadow button appears alone on the taskbar. Click the Shadow button and the Shadow Session dialog box appears. Use the Shadow Session dialog box to select the sessions you want to shadow. You can select sessions based on the server, the application, or the users who are associated with the sessions. You can select multiple sessions in the dialog box to begin shadowing several sessions at once. Click OK to begin shadowing the selected sessions. For more information about shadowing with the Shadow Taskbar, press F1 to view online Help when the Shadow Taskbar is running.
Go to Document Center
307
Note Instruct your users to refrain from launching the Shadow Taskbar in seamless mode. The Shadow Taskbar cannot function in seamless mode.
308
Go to Document Center
9. The users and user groups you added to the Configured Accounts list are listed in the right pane of the policys property sheet. By default, the shadowing permission for each user or user group is set to Allow. You can deny shadowing permissions by clicking Deny. 10. Click OK at the bottom of the policys property page when you are done configuring the shadowing rules. After you create the policy and configure the rules, you must assign the policy to the users who you want to be shadowed. To assign the shadowing policy to users 1. Select the Sales Group Shadowing policy and choose Actions > Policy > Apply this policy to. 2. Select Users in the left pane and select Filter based on users. 3. Select the users you want to be shadowed. To allow the Sales Manager, AnthonyR, to be shadowed, select the domain of which he is a member. Click Show Users to display the individual user accounts in the selected domain. 4. Select the user AnthonyR and then click Add. AnthonyRs user account is displayed in the Configured Accounts list. 5. Click OK when you are done adding users. Important The list of users permitted to shadow is exclusive for each user to whom a policy is assigned. For example, if you create a policy that permits user MichelleF to shadow user LorenaB, this policy allows only MichelleF to shadow LorenaB, unless you add more users to the list of users who can shadow in the same policys property sheet. To allow users to shadow other users sessions, you can publish the Shadow Taskbar utility to the users you want to be able to shadow. When users open this published application, the Shadow Taskbar appears at the top of users screens. For more information about using the Shadow Taskbar to shadow sessions, see Using the Shadow Taskbar on page 305 and the Taskbars online Help.
Go to Document Center
309
By using Performance Monitor, you can monitor the following ICA-specific counters: Bandwidth and compression counters for ICA sessions and MetaFrame Presentation Servers Bandwidth counters for individual virtual channels within an ICA session Latency counters for ICA sessions
Note The entire ICA counter list is exposed only on a server running the Enterprise Edition of MetaFrame Presentation Server. On a server running the Advanced or Standard Edition, only latency-related counters are available. For more information about specific counters available with MetaFrame Presentation Server, see Performance Counters on page 413. To access ICA performance counters 1. Select Start > Programs > Administrative Tools > Performance. 2. Select System Monitor in the Tree view.
This screen capture shows the Performance dialog box with System Monitor selected.
3. Click Add. 4. In the Add Counters dialog box, click the Performance object drop-down list and select ICA Session. The ICA performance counters are listed under Select counters from list.
310
Go to Document Center
This screen capture shows the Add Counters dialog box with computer-selection drop-down list, Performance object drop-down list, and counters list.
5. Select All Counters to enable all available ICA counters or select Select counters from list and then highlight the individual counters you need. 6. Select All Instances to enable all instances of the selected ICA counters or select Select instances from list and highlight only the instances you need. In Performance Monitor, the instance list contains all active ICA sessions, which includes any session (shadower) that is shadowing an active ICA session (shadowee). An active session is one that is logged on to successfully and is in use; a shadowing session is one that initiated shadowing of another ICA session. Note In a shadowing session, although you are able to select ICA counters to monitor, you will see no performance data for that session until shadowing is terminated. 7. Click Add and then click Close. You can now use Performance Monitor to view and analyze performance data for the ICA counters you added. For more information about using Performance Monitor, see your Windows documentation.
Go to Document Center
CHAPTER 12
Managing Printers
Users can print documents easily when they run applications on servers running MetaFrame Presentation Server. For most users, printing when they use applications in a client session is no different from printing from applications that run on their own computers. This chapter describes features for making printers available to users and managing printers in server farms. To find step-by-step instructions for using the features that are described in this chapter, use the online Help in the Presentation Server Console. For more information about printing configuration and options for MetaFrame Presentation Server Clients, see the Administrators Guide for the clients you plan to deploy.
Overview of Printing
When users run applications that are published on servers, they can print to the following types of printers: Printers that are connected to ports on users Win16 and Win32 client devices, Windows CE, DOS, and Macintosh OS platforms Virtual printers created for tasks such as printing from a PostScript driver to a file on a Windows client device Shared printers that are connected to print servers on a Windows network Printers that are connected directly to servers running MetaFrame Presentation Server Printers that change according to attributes of a session (session printers)
312
Go to Document Center
The printers that MetaFrame Presentation Server Clients use can be categorized by connection types. You can set up three general types of printer connections in a server farm: client connections, network connections, and local connections. Therefore, this chapter refers to printers in a server farm as client printers, network printers, and local printers, depending on the type of connection they have in the farm. Client printers. The definition of a client printer depends on the client platform. Simple ports: On DOS-based and Windows CE client devices, a client printer is physically connected by a cable to a port on the client device. A PC or PostScript printer connected to a serial port on a Macintosh OS system is also considered a client printer. Print queues that manage printers: On 32-bit Windows platforms (Windows XP, Windows 2000, Windows NT, or Windows 9x), any printer that is set up in Windows (these printers appear in the Printers folder on the client device) is a client printer. Locally connected printers, printers that are connected on a network, and virtual printers are all client printers. Note Some virtual printers, such as a fax/modem device that is set up in the Printers folder, might not be available as a client printer in ICA sessions. When a user shares a client printer through Windows printer sharing, the printer appears as a network printer to other users. Network printers. Printers that are connected to print servers and shared on a Windows network are referred to as network printers. In Windows network environments, users can set up a network printer on their computers if they have permission to connect to the print server. When a network printer is set up for use on an individual Windows computer, the printer is a client printer on the client device. Local printers. Printers that are connected directly to servers are local printers within a particular server farm. This definition includes a printer that is connected to the server that hosts a users session, as well as printers that are connected to other servers running MetaFrame Presentation Server in the same server farm. If a printer is connected to a server outside of a server farm (either the server is not a member of a server farm or is a member of a different server farm), the server farm considers the printer a network printer, not a local printer.
Go to Document Center
313
It is important to note that printer availability can vary with the client device. For specific information about printing capabilities, see the Administrators Guide for each client you plan to deploy.
314
Go to Document Center
In this type of environment, you can set up printers in the server farm by simply installing printer drivers on a server and using the replication feature in the Presentation Server Console to distribute the drivers to all the servers in the farm. The printers that users normally print to are available automatically when they connect to a server, because MetaFrame Presentation Server creates each users client printers for use during ICA sessions. Mapping is necessary when the printer drivers you install for Windows 9x client computers and Windows servers have different names, or when you want to use one driver instead of another. Unless an applied policy enforces the legacy printers rule, when users print from applications running on a server, the installed client printers appear in Windows in the following form: printer_name on server_name (from client_name) in session_ID Here is an example: HP LaserJet 4000 on printsrv03 (from garybW2K) in session 3 If a policy applies the legacy printers rule, the installed client printers appear in Windows in the following form: Client\user_name#name_on_remote where name_on_remote is the actual printer name on the remote device. Here is an example: Client\garyb#HP LaserJet 1012
Go to Document Center
315
When some users have Windows 9x client devices, you map client printer drivers to the drivers you install on servers. This is necessary when driver names for the same printer are different on client devices running Windows 9x than they are on the Windows 2000 or Windows 2003 servers. Driver mapping is not necessary for client devices running Windows 2000 or higher, because they use the same printer drivers as the Windows 2000 or higher servers. You import network print servers into the server farm to make the shared printers available to all users when they connect to servers in the farm. If some client printer drivers are not compatible with the server platforms in the farm, use the Driver Compatibility feature to prevent incompatible printer drivers from causing server errors. Unless an applied policy enforces the legacy printers rule, when users print from applications running on a server, the installed client printers appear in Windows in the following form: printer_name on server_name (from client_name) in session_ID Here is an example: HP LaserJet 4000 on printsrv03 (from garybW2K) in session 3 If a policy applies the legacy printers rule, the installed client printers appear in Windows in the following form: Client\user_name#name_on_remote where name_on_remote is the actual printer name on the remote device. Here is an example: Client\garyb#HP LaserJet 1012 When users print to the network printers in the server farm, they see the original assigned network printer names in Windows dialog boxes.
316
Go to Document Center
After you launch the console and log on to a server in the farm, the left pane in the console displays the tree view of the server farm management nodes. When you select an item in the tree, the right pane displays one or more tabs. Expand the Printer Management node or the Servers node or the objects under these nodes to use the primary printer management features in the console.
This screen capture shows Printer Management and Servers nodes. The expanded Printer Management node makes available Drivers and Printers objects.
Contents Tab
When you select Printer Management, the Contents tab displays objects labeled Drivers and Printers. The same objects appear in the tree under Printer Management when you expand the node. Double-clicking an object on the Contents tab is the same as selecting the object in the tree. Either action changes the right pane to display information about the object you select and puts commands related to the object in the Actions > Printer Management submenu and on the console toolbar.
Go to Document Center
317
Importing print servers. Use the Network Print Servers tab when you want to import a network print server to make its printers available to the users of the server farm. When you select the tab, you can choose Import Network Print Server from the toolbar or the Actions menu. The command and toolbar button are not available when other tabs are selected. Tip Importing a network print server lets users in the server farm use a printer that is not connected to their client device. Client printers are automatically made available to users in their ICA sessions. Updating server information. If you add printers to or remove them from a network print server, update the print server information to be sure that the console displays the available printers on the Printers tab. To do this, select a print server and use the Update Network Print Server command from the toolbar or the Actions menu. You must take this action because updating print server information does not take place automatically. Removing print servers. Removing a print server removes all of its printers from the farm. This is the opposite of importing a network print server. If you remove printers, users cannot print to them. If you want to do this, select the print server to remove and then choose Discard Network Print Server from the console toolbar or the Actions menu. After you confirm the command, the printer server no longer appears on the Network Print Server tab and its printers do not appear on the Printers tab.
Bandwidth Tab
When you select Printer Management in the console tree, the Bandwidth tab displays the print stream bandwidth setting for each server in the farm. Note While you can limit print stream bandwidth through server settings, the best practice is to do so through policies. For more information about configuring a policy to include a print stream bandwidth limit, see Limiting Printing Bandwidth through Policies on page 330. You can use this tab to set or remove print stream bandwidth limits on servers and copy settings from one server to others. Limiting printing bandwidth can improve application performance for clients when printing and application data must compete for limited bandwidth. When you select a server in the list on the Bandwidth tab, you use the Edit command to change its bandwidth setting, or use the Copy command to copy its bandwidth setting to one or more servers in the farm. You can use these commands from the console toolbar or the Actions menu.
318
Go to Document Center
When you select the Servers node in the tree, the Printer Bandwidth tab provides the same display and features as the Bandwidth tab when you select Printer Management. You can use ICA Printer Bandwidth in the left pane of a servers Properties page to edit the servers print stream bandwidth setting. For more information about limiting the bandwidth of print data streams, see Limiting Printing Bandwidth in Client Sessions on page 330.
Drivers Tab
When you select Drivers in the tree, the Drivers tab in the right pane displays information about printer drivers installed on servers running MetaFrame Presentation Server. The driver information includes each drivers name and operating system platform. You select a specific server from the Server drop-down menu to display the drivers installed on one server, or select (Any) to display all drivers on all servers in the farm. If not prevented through the Native printer driver auto-install rule, MetaFrame Presentation Server installs the drivers needed for the autocreation of client or network printers. MetaFrame Presentation Server installs these drivers from the primary set of native printer drivers provided with the Windows operating system. If a driver for a printer used by client users is not in this primary set, that printer can be autocreated only after you obtain and install a driver on the server(s) to which these users connect. After installing the driver on one or more servers, you can use the Drivers tab to replicate the installed driver to other servers in the farm. Use the Drivers tab to copy printer drivers to other servers in a server farm. If printer drivers are not already installed, copy the drivers to each server where users log on and need access to the driver for printing to client printers or network printers. To copy a driver, select the driver and then use the Replicate Drivers command from the console toolbar or the Actions menu. Note Two tabs in Presentation Server Console show printer driver information. To display the drivers installed on a server, you can select the server from the Server menu on the Drivers tab, or select the server in the console tree and look at the Printer Drivers tab. You can use either tab to copy printer drivers to other servers in a farm.
Go to Document Center
319
Printers Tab
When you select Printers in the Presentation Server Console tree, the Printers tab in the right pane lists all printers you can configure in the server farm. The list includes the following printers: Local shared printers that you install and connect directly to servers in the farm Network printers that are installed and connected to network print servers when you import the print servers into the farm Printers discovered and attached through the Session printers policy rule
The printer list shows the printer name, print server name, driver name, and server operating system platform for each local printer. For network printers, the list shows only the printer name and print server name. You can select a local printer on the Printers tab and use the console to copy the drivers to other servers. You cannot copy a driver of a network printer from this tab. (Use the Drivers tab to copy drivers from a server to other servers.) To assign users to a printer, you configure session printer policies. Session printer policies make a printer available to the user of a session to which you applied the policy. Note To connect to a session printer, the end user must have the necessary Windows user or group permissions.
Printers Tab
When you select a server in the console tree under the Servers node or on the Contents tab, the Printers tab displays information about a servers local printers. The tab displays information about the printers that are connected directly to the server if you select the Shared option when you install the printers. Printers that you do not share do not appear on the tab.
320
Go to Document Center
This tab is similar to the Printers tab that appears when you select Printers in the console tree. However, when you select one server, the Printers tab displays only the servers local printer information, not information about network printers in the farm. You can select a local printer on the Printers tab and use the console to replicate the drivers and settings for the printer to other servers. You can also assign users to the printer to make it available as an autocreated printer in the users ICA sessions. If you want to assign the same users to another printer, select the printer and copy its autocreation settings from this tab.
Go to Document Center
321
Importing network print servers into the server farm makes all printers that are connected to the print server available to the users that you specify through printer policy rules. After you install required printer drivers, users can print to these printers in their ICA sessions. To make network printers available to users The following steps outline the procedure for setting up network printers for users. For detailed instructions, use the Help in the Presentation Server Console. 1. Import network printers from a network print server into the farm. Select Printer Management in the Presentation Server Console, select the Network Print Servers tab, and choose Import Network Print Server. Specify the network print server to import. When the operation finishes, the print server appears on the Network Print Servers tab in the console. 2. If the necessary drivers are not included in the Windows native set and native printer driver auto-install is disabled, install the printer drivers for your network printers on a server in the farm. Use the Replicate Drivers command to distribute the drivers to all the servers in the farm. 3. Allocate network printers to users. With this release of MetaFrame Presentation Server, you allocate network printers to users through session printers policies. When a specified user logs on to a server in the farm, session printer policies determine which printers are available to the user. For more information about configuring a policy to use session printers, see Assigning Network Printers to Users through Policies on page 323
322
Go to Document Center
When you use the wizard to install drivers on a server, the actual printer is not attached to the server. Select the Local option and select any local printer port that does not have an actual printing device connected; you can add multiple printers to one port. Tip In server farms where it is practical to do so, install all driver files on one server. After you install drivers, to copy the driver files and registry settings to other servers in the server farm, you can use the driver replication feature in the Presentation Server Console. Use the replication feature to save time when you install printer drivers and to ensure that all drivers are available on all servers where clients need them, so that users can print to the client and network printers in the farm. Important Because printer drivers are platform-specific, do not replicate drivers from a server to other servers on a different platform. When the Drivers tab in the console lists drivers from both platforms and you choose Replicate Drivers, the console warns you about this because you can select drivers on either platform to replicate.
Go to Document Center
323
If driver replication fails because of communication errors, the console displays an error message and records the error in the server System log for each server where the operation failed.
When multiple policies are applied to a user session, printer rules are merged. For information about policies, see Creating and Applying Policies on page 289.
324
Go to Document Center
Note When you designate a printer driver to be incompatible for printers in the farm (see Managing Drivers for Autocreated Printers on page 324), you cannot create a printer driver mapping with the same driver.
Go to Document Center
325
326
Go to Document Center
If the Connect Client Printers at Logon option is selected in the connection properties or user profile, client printers are automatically created when users log on to ICA sessions. MetaFrame Presentation Server deletes the printers when users log off if the printers do not contain unfinished print jobs. Changes made by users to their Windows printer settings are not maintained. If print jobs are present, MetaFrame Presentation Server retains the printer and its associated jobs. You can preserve printers to maintain custom print settings. If you do not want autocreated printers deleted when users log off, configure the client printer using the Properties dialog box in the servers Printers folder within an ICA session. The Properties dialog box displays a Comment field that contains the text Auto Created Client Printer for automatically created client printers. If you modify or delete this description, MetaFrame Presentation Server does not delete the printer when a user logs off from the server. Subsequent logons by the same user employ the printer already defined and do not modify it. If a users connection profiles do not specify Connect Client Printers at Logon, the user can connect to a client printer through Windows printer setup. MetaFrame Presentation Server does not automatically delete printers that are set up this way when users log off.
Go to Document Center
327
Under Client Printers, you can then configure the following rules: Auto-creation. To control automatic creation of client printers, enable this rule. After enabling this rule, choose how you want to create client printers: To create all printers automatically on a client device, choose Auto-create all client printers. To create only printers directly connected to the client device through an LPT, COM, USB, or other local port, choose Auto-create local (non-network) client printers only. To create only the printer defined as the default printer for the device, choose Auto-create the clients default printer only. To turn off creation of client printers, choose Do not auto-create client printers.
Legacy client printers. To choose the style of client printers that should be autocreated, enable this rule. After enabling this rule, choose the style of client printers to create: To create printers that are private to each user session and use standard Windows Terminal Services naming conventions, choose Create dynamic session-private client printers. To create printers that can be shared between sessions and use printer names that are compatible with prior versions of MetaFrame, choose Create old-style client printers.
Printer properties retention. To control where the server stores modified, clientprinter properties, enable this rule. After enabling this rule, choose where you want to store printer properties: To store printer properties on the client or the user profile, choose Held in profile only if not saved on client. If the server cannot store printer properties on the client, it stores them in the user profile. In performing the necessary system checking, there may be delays in logon time and use of additional bandwidth. Choose this option if your server farm requires backward compatibility with prior versions of MetaFrame and its clients and is not constrained by bandwidth or logon performance. If your server uses an unsaved mandatory or roaming profile, choose Saved on client device only. Only choose this option if all the servers in your farm are running this version of MetaFrame Presentation Server and your users are using the most recent clients.
328
Go to Document Center
If your server farm includes servers running prior versions of MetaFrame or is constrained by bandwidth and logon speed, or your users use legacy clients, choose Retain in user profile only.
Print job routing. To allow to connect directly from the server to the print server of a client printer (a shared network printer), enable this rule, then configure according to the following: If the network print server is not across a WAN from the server, choose Connect directly to network print server if possible. If the network print server is across a WAN from both the client device and the server, choose Always connect the printer indirectly as a client printer.
Turn off client printer mapping. To have users employ only network printers or printers connected directly to the server, enable this rule.
Go to Document Center
329
Use universal driver only if requested driver is unavailable. Select this option to use native drivers for client printers, if they are available. If the driver is not available on the server, the client printer is automatically created with the appropriate universal driver. Use only printer model specific drivers. Select this option if you do not want to use the universal print driver. Use universal driver only. Select this option if you do not want to use native drivers.
Go to Document Center
331
5. Use the Printer rule to enable and disable the printing bandwidth session limit. When enabling the printing bandwidth session limit, provide a bandwidth limit in kilobits per second. 6. Click OK. After configuring a printing bandwidth limit in a policy, consequent sessions to which it is applied adhere to the limit. You must apply a policy through a filter for the policy to affect sessions.
332
Go to Document Center
Go to Document Center
APPENDIX A
This appendix describes MetaFrame Presentation Server commands. These commands must be run from a command prompt on a server running MetaFrame Presentation Server. They provide additional methods for maintaining and configuring servers and farms.
Command acrcfg aierun aiesetup altaddr app apputil auditlog change client chfarm cltprint ctxxmlss driveremap dscheck dsmaint icaport imaport Description Configure autoreconnect settings Run isolation environment. Primarily for use in scripting environments. Install or uninstall an application from an isolation environment Specify server alternate IP address Run application execution shell Add servers to Configured Servers list for published applications Generate server logon/logoff reports Change client device mapping Change the server farm membership of the server Set the number of client printer pipes Change the XML Service port number Remap the servers drive letters Validate the integrity of the server farm data store Configure the server farms data store Configure TCP/IP port number used by the ICA protocol on the server Change IMA ports
334
Go to Document Center
Description Migrate the server farms data store from a Microsoft Access database to an MSDE database View information about server farms, processes, servers, ICA sessions, and users Configure ICA display settings
Go to Document Center
335
ACRCFG
Use acrcfg to configure automatic client reconnection settings for a server or a server farm.
Syntax
acrcfg [/server:servername | /farm] [/query | /q] acrcfg [/server:servername | /farm] [/require:on | off] [/logging:on | off] acrcfg [/server:servername] [/inherit:on | off] [/require:on | off] [/logging:on | off] acrcfg [/?]
Parameters
servername The name of a server running MetaFrame Presentation Server.
Options
/query, /q Query current settings. /server The server to be viewed or modified by the other command line options. The server specified by servername must be in the same server farm as the server on which the command is run. This option and the /farm option are mutually exclusive. The local server is the default if neither /server nor /farm is indicated. /farm The options on the command line after /farm are applied to the entire server farm. /inherit:on | off To use the auto client reconnect settings from the server farm set /inherit to on for a server. To disregard the server farm auto client reconnect settings, set /inherit to off. By default, /inherit is set to on for a server.
336
Go to Document Center
/require:on | off If you want users to be prompted for credentials during automatic reconnection, set /require to on. Servers inherit the server farm setting unless /inherit is off. To allow users to automatically reconnect to disconnected sessions without providing credentials, set /require to off. By default, /require is set to off for both a server and a server farm. /logging:on | off You can enable logging of client reconnections in the Application Event Log on a server. Logging can be set only when /required is set to off. Logging is set to off for both servers and server farms by default. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
Enabling automatic client reconnection allows users to resume working where they were interrupted when an ICA connection was broken. Automatic reconnection detects broken connections and then reconnects the users to their sessions. However, automatic reconnection can result in a new ICA session being launched (instead of reconnecting to an existing session) if a clients cookie, containing the key to the session ID and credentials, is not used. The cookie is not used if it has expired, for example, because of a delay in reconnection, or if credentials must be reentered because /require is set to on. Auto client reconnection is not triggered if users intentionally disconnect. The auto client reconnect feature is enabled by default and can be disabled using Appsrv.ini or an ICA file only on the Client for Win32 or with the Web Interface for MetaFrame Presentation Server. The /require and /logging options are valid with either /server or /farm, but /inherit is not used with /farm. If neither /server nor /farm is selected and the /inherit, /require, or /logging options are used, they are applied to the local server. You can set /require only when /inherit is set to off. You can set logging only when /require and /inherit are set to off. When logging is not valid, it disappears from later queries. A query shows the required setting whether or not it is on. Settings and values are not case sensitive.
Go to Document Center
337
Examples
The following four commands result in the following configurations: Require users to enter credentials when they automatically reconnect to servers configured to inherit farm-wide settings Show the results Allow users to be reauthenticated automatically to the local server and set the server to log client reconnections Show the results
C:\>acrcfg /farm /require:on Update successful C:\>acrcfg /farm /q Auto Client Reconnect Info for: Farm-wide Settings REQUIRE: on C:\>acrcfg /inherit:off /require:off /logging:on Update successful C:\>acrcfg /q Auto Client Reconnect Info for: Local Server INHERIT: off REQUIRE: off LOGGING: on
Security Restrictions
You must be a MetaFrame administrator to make changes.
338
Go to Document Center
AIERUN
Use aierun to launch an application into an isolation environment.
Syntax
aierun [/w] AIE_Name Application [application parameters] aierun [/?]
Parameters
AIE_Name The name of an isolation environment. Application The name of the application to launch in the named isolation environment. You can also append application parameters, if any.
Options
/w Waits for the application launched by aierun to exit before continuing. This option is useful when aierun is used in a script or batch file. /? Displays the syntax for the command and information about the command options.
Remarks
aierun is an internal launcher used by MetaFrame Presentation Server during application launching. Use of aierun from a desktop session is not supported.
Security Restrictions
None.
Go to Document Center
339
AIESETUP
Use aiesetup to install an application into an isolation environment.
Syntax
aiesetup [/d] [/n] [/q] [/w] AIE_Name Setup_application [application parameters] aiesetup [/?]
Parameters
AIE_Name The name of an isolation environment. Setup_application The name of an application installer, such as an .msi or .exe, to run. You can also append any parameters that the installer is required to process at runtime. When using aiesetup with an .msi file, use msiexec.exe with the /i option.
Options
/d Disables the automatic application discovery process for the isolation environment. /n Disables automatically setting the Windows server to install mode (through the change user install command). /q Installs the application in quiet mode and does not require user intervention, such as pressing Enter to begin discovery prompt. This is useful in automated application deployments, such as when using Installation Manager. /w Waits for the application launched by aiesetup to exit before continuing. This option is useful when aiesetup is used in a script or batch file. /? Displays the syntax for the command and information about the command options.
340
Go to Document Center
Usage
aiesetup launches the specified application installer and forces the application to install within the specified isolation environment. At runtime, if you did not use the /d option, aiesetup displays the following message at a command prompt:
Press <Enter> to start the application discovery process when application installation completes.
When installation is complete, the silent application discovery process is invoked. The application discovery process locates application shortcuts added by the installer and adds the information to the data store. Data collected by the application discovery process facilitates publishing of applications installed in an isolation environment. Press Q to omit the application discovery process if it is not already running and return to a command prompt. Alternatively, you can use the /d option with aiesetup to omit the application discovery process.
Remarks
Application isolation functionality includes the ability to install applications into an isolation environment as well as uninstall applications installed into an isolation environment. This is useful in cases when different versions of an application cannot be installed on a single server. To install an application into an isolation environment, follow the procedure outlined below. 1. Create an isolation environment with isolation rules as appropriate. For information about creating isolation environments, see Creating an Isolation Environment on page 255. For information about configuring isolation environment rules, see online help for the Presentation Server Console. 2. Ready a copy of the MSI or EXE file for the application to be installed into the isolation environment.
Go to Document Center
341
Security Restrictions
To execute aiesetup, you must be a MetaFrame administrator with the permissions to perform all of the following tasks: Manage isolation environments for the farm Publish applications and edit properties for the farm
Run the aiesetup command on the server where you are installing the application. Citrix does not support installing an application into an isolation environment through a connection made with Remote Desktop Connection.
342
Go to Document Center
ALTADDR
Use altaddr to query and set the alternate (external) IP address for a server running MetaFrame Presentation Server. The alternate address is returned to clients that request it and is used to access a server that is behind a firewall.
Syntax
altaddr [/server:servername] [/set alternateaddress ] [/v] altaddr [/server:servername] [/set adapteraddress alternateaddress] [/v] altaddr [/server:servername] [/delete] [/v] altaddr [/server:servername] [/delete adapteraddress] [/v] altaddr [/?]
Parameters
servername The name of a server. alternateaddress The alternate IP address for a server. adapteraddress The local IP address to which an alternate address is assigned.
Options
/server:servername Specifies the server on which to set an alternate address. Defaults to the current server. /set Sets alternate TCP/IP addresses. If an adapteraddress is specified, alternateaddress is assigned only to the network adapter with that IP address. /delete Deletes the default alternate address on the specified server. If an adapter address is specified, the alternate address for that adapter is deleted. /v (verbose) Displays information about the actions being performed.
Go to Document Center
343
/? Displays the syntax for the utility and information about the utilitys options.
Remarks
The server subsystem reads the altaddr settings for server external IP addresses at startup only. If you use altaddr to change the IP address setting, you must restart the IMA Service for the new setting to take effect. If altaddr is run without any parameters, it displays the information for alternate addresses configured on the current server.
Examples
Set the servers alternate address to 1.1.1.1:
altaddr /set 1.1.1.1
Set the servers alternate address to 2.2.2.2 on the network interface card whose adapter address is 1.1.1.1:
altaddr /set 2.2.2.2 1.1.1.1
Security Restrictions
None.
344
Go to Document Center
APP
App is a script interpreter for secure application execution. Use App to read execution scripts that copy standardized .ini type files to user directories before starting an application, or to perform application-related cleanup after an application terminates. The script commands are described below.
Syntax
app scriptfilename
Parameter
scriptfilename The name of a script file containing app commands (see script commands below).
Remarks
If no scriptfilename is specified, app displays an error message. The Application Execution Shell reads commands from the script file and processes them in sequential order. The script file must reside in the %SystemRoot%\Scripts directory.
Script Commands
The script commands are: copy sourcedirectory\filespec targetdirectory Copies files from sourcedirectory to targetdirectory. Filespec specifies the files to copy and can include wild cards (*,?). delete directory\filespec Deletes files owned by a user in the directory specified. Filespec specifies the files to delete and can include wild cards (*,?). See the Examples section for more information. deleteall directory\filespec Deletes all files in the directory specified. execute Executes the program specified by the path command using the working directory specified by the workdir command.
Go to Document Center
345
path executablepath Executablepath is the full path of the executable to be run. workdir directory Sets the default working directory to the path specified by directory.
Script Parameters
directory A directory or directory path. executablepath The full path of the executable to be run. filespec Specifies the files to copy and can include wildcards (*,?). sourcedirectory The directory and path from which files are to be copied. targetdirectory The directory and path to which files are to be copied.
Examples
The following script file runs the program Sol.exe:
PATH C:\Wtsrv\System32\Sol.exe WORKDIR C:\Temp EXECUTE
The following script file runs the program Notepad.exe. When the program terminates, the script deletes files in the Myapps\Data directory created for the user who launched the application:
PATH C:\Myapps\notepad.exe WORKDIR C:\Myapps\Data EXECUTE DELETE C:\Myapps\Data\*.*
The following script file copies all the .wri files from the directory C:\Write\Files, executes Write.exe in directory C:\Temp.wri, and then removes all files from that directory when the program terminates:
PATH C:\Wtsrv\System32\Write.exe WORKDIR C:\Temp.wri COPY C:\Write\Files\*.wri C:\Temp.wri EXECUTE
346
Go to Document Center
The following example demonstrates using the script file to implement a front-end registration utility before executing the application Coolapp.exe. You can use this method to run several applications in succession:
PATH C:\Regutil\Reg.exe WORKDIR C:\Regutil EXECUTE PATH C:\Coolstuff\Coolapp.exe WORKDIR C:\Temp EXECUTE DELETEALL C:\Temp
Security Restrictions
None.
Go to Document Center
347
APPUTIL
Use apputil to add servers to the Configured Servers list for a published application, and to install or uninstall Installation Manager packages or package groups on specified servers.
Syntax
apputil [ /? ] apputil [ /q ] apputil [ /i applicationID servername ] apputil [ /u applicationID servername ] apputil [ /qj jobID] apputil [ /qp ] apputil [ /ip packageID servername [reboot] ] apputil [ /up packageID servername [reboot] ]
Parameters
applicationID The ID of a published application, as displayed by the /q option. servername For the /i and /u options, this is the name of the server to add to the Configured Servers list for the published application. For the /ip and /up options, this is the name of the server that the Installation Manager package or package group will be installed on or uninstalled from. jobID The ID of job that installs or uninstalls an Installation Manager package or package group. packageID The ID of an Installation Manager package or package group, as displayed by the /qp option.
Options
/? Display the syntax for the utility and information about the utilitys options.
348
Go to Document Center
/q Queries a list of all available published applications, published desktops, and published applications bundled into Installation Manager packages. /i Add a server to the Configured Servers list for a specified published application. You can use the /i option with the following types of published resources: Standard published applications. Note that any server-specific overrides you configure when you publish the application (such as overrides to the command line and working directory entries) are not applied to the specified server when it is added to the Configured Servers list. To use the /i option with the published application, be sure that the target application is located in the default location you specify when you published the application. Published server desktops. Installation Manager packages. When you run apputil for published applications associated with Installation Manager packages, the packaged application is scheduled for immediate installation on the target host, and the server is added to the Configured Servers list for the published application.
/u Remove a server from the Configured Servers list for a specified Published Application. Note that if the application published an Installation Manager package, that package is not uninstalled from the target host. /qj Query the status of a specified job. Typically, a jobs status progresses from Pending to Started to Success. /qp Query a list of all available Installation Manager packages and package groups. /ip Schedule the installation of an Installation Manager package or package group on a specified server. Use reboot to force the server to restart after the job completes. /up Schedule the uninstall of an Installation Manager package or package group on a specified server. Use reboot to force the server to restart after the job completes.
Go to Document Center
349
Remarks
You must run this utility from a server running MetaFrame Presentation Server Enterprise Edition and Installation Manager. When you use the /i option with an Installation Manager package, an unnamed Installation Manager job is created. When the job completes successfully, connections to the published application are enabled on the server. When you use the Presentation Server Console to manually add servers to the Configured Servers list for Installation Manager packages, or install and uninstall packages or package groups, you can schedule when this should occur. However, when you use the apputil utility, these tasks are scheduled immediately. If an error occurs during execution of the utility, the process exit code 1 is returned. Apputil returns 0 on success.
Examples
The following examples display the correct syntax and usage for the apputil utility.
C:\>apputil /q Available published Application ID 2e0e-0009-000010a9 2e0e-0009-000010ac 2e0e-0009-000010af applications: 3. Type Description Application Word Desktop Desktop Package Acrobat Reader
C:\>apputil /i 2e0e-0009-000010a9 SERVERA Success. The published application is now configured for the specified server. C:\>apputil /i 2e0e-0009-000010ac SERVERA Success. The published desktop is now configured for the specified server. C:\>apputil /i 2e0e-0009-000010af SERVERA Success. The packaged application has been scheduled for immediate installation. C:\>apputil /qp There are 2 packages and package groups available. Package ID Type Description 05d1-007a-00000301 Package Group Accounts Package Group 05d1-0037-00000300 Package Acrobat Reader C:\>apputil /ip 05d1-007a-00000301 SERVERA
350
Go to Document Center
Successfully scheduled install job. Job ID: 05d1-0038-000003b8 C:\>apputil /qj 05d1-0038-000003b8 Job status: SUCCESS
Running the following script adds a server (specified as a command line parameter), to the Configured Servers list for a published application. Script name: Rollout.cmd
AppUtil.exe /i 397e-0009-00000430 @IF ERRORLEVEL 1 goto Error AppUtil.exe /i 397e-0009-00000491 @IF ERRORLEVEL 1 goto Error AppUtil.exe /i 397e-0009-00000494 @IF ERRORLEVEL 1 goto Error AppUtil.exe /i 397e-0009-0000049a @IF ERRORLEVEL 1 goto Error @ECHO Success! @GOTO End :Error @ECHO Failure! :End Usage: Rollout.cmd <server> %1 %1 %1 %1
Security Restrictions
To run this utility, you must be a MetaFrame administrator with the permissions to perform the following tasks: To use the /q option, you must at least have permission to view published applications and content. To use the /i or /u options for published applications and published desktops, you must have permission to view published applications, to publish applications, and to edit a published applications properties. To use the /i option for Installation Manager packaged applications, you must have permission to edit Installation Manager, in addition to the permissions described above. To use the /qp and /qj options, you must have View Installation Manager permission.
To use the /ip and /up options for Installation Manager packages or package groups, you must have Install and Uninstall Packages permission.
Go to Document Center
351
AUDITLOG
Auditlog generates reports of logon/logoff activity for a server based on the Windows NT Server security event log. To use auditlog, you must first enable logon/logoff accounting. You can direct the auditlog output to a file.
Syntax
auditlog [username | session] [/eventlog:filename] [/before:mm/dd/yy] [/after:mm/dd/yy] [[/write:filename] | [/detail | /time] [/all]] auditlog [username | session] [/eventlog:filename] [/before:mm/dd/yy] [/after:mm/dd/yy] [[/write:filename] | [/detail] | [/fail ] | [ /all]] auditlog [/clear:filename] auditlog [/?]
Parameters
filename The name of the eventlog output file. session Specifies the session ID for which to produce a logon/logoff report. Use this parameter to examine the logon/logoff record for a particular session. mm/dd/yy The month, day, and year (in two-digit format) to limit logging. username Specifies a user name for which to produce a logon/logoff report. Use this parameter to examine the logon/logoff record for a particular user.
Options
/eventlog:filename Specifies the name of a backup event log to use as input to auditlog. You can back up the current log from the Event Log Viewer by using auditlog /clear:filename. /before:mm/dd/yy Reports on logon/logoff activity only before mm/dd/yy. /after:mm/dd/yy Reports on logon/logoff activity only after mm/dd/yy.
352
Go to Document Center
/write:filename Specifies the name of an output file. Creates a comma-delimited file that can be imported into an application, such as a spreadsheet, to produce custom reports or statistics. It generates a report of logon/logoff activity for each user, displaying logon/logoff times and total time logged on. If filename exists, the data is appended to the file. /time Generates a report of logon/logoff activity for each user, displaying logon/logoff times and total time logged on. Useful for gathering usage statistics by user. /fail Generates a report of all failed logon attempts. /all Generates a report of all logon/logoff activity. /detail Generates a detailed report of logon/logoff activity. /clear:filename Saves the current event log in filename and clears the event log. This command does not work if filename already exists. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
Auditlog provides logs you can use to verify system security and correct usage. The information can be extracted as reports or as comma-delimited files that can be used as input to other programs. You must enable logon/logoff accounting on the local server to collect the information used by auditlog. To enable logon/logoff accounting, log on as a local administrator and enable logon/logoff accounting with the Audit Policy in Microsoft Windows.
Security Restrictions
None.
Go to Document Center
353
CHANGE CLIENT
Change client changes the current disk drive, COM port and LPT port mapping settings for a client device.
Syntax
change client [/view | /flush | /current] change client [{/default | [/default_drives] | [/default_printers]} [/ascending]] [/noremap] [/persistent] [/force_prt_todef] change client [/delete host_device] [host_device client_device] [/?]
Parameters
host_device The name of a device on the host server to be mapped to a client device. client_device The name of a device on the client to be mapped to host_device.
Options
/view Displays a list of all available client devices. /flush Flushes the client drive mapping cache. This action forces the server and the client to resynchronize all disk data. See Remarks for more information. /current Displays the current client device mappings. /default Resets host drive and printer mappings to defaults. /default_drives Resets host drive mappings to defaults. /default_printers Resets host printer mappings to defaults.
354
Go to Document Center
/ascending Uses ascending, instead of descending, search order for available drives and printers to map. This option can be used only with /default, /default_drives, or /default_printer. /noremap If /noremap is specified, client drives that conflict with server drives are not mapped. /persistent Saves the current client drive mappings in the client device users profile. /force_prt_todef Sets the default printer for the client session to the default printer on the clients Windows desktop. /delete host_device Deletes the client device mapping to host_device. /? (help) Displays the syntax for the utility and information about the utilitys options.
Remarks
Typing change client with no parameters displays the current client device mappings; it is equivalent to typing change client /current. Use change client host_device client_device to create a client drive mapping. This maps the client_device drive letter to the letter specified by host_device; for example, change client v: c: maps client drive C to drive V on the server. The /view option displays the share name, the share type, and a comment describing the mapped device. Sample output for change client /view follows:
C:>change client /view Available Shares on client connection ICA-tcp#7 Sharename \\Client\A$ \\Client\C$ \\Client\D$ \\Client\LPT1: \\Client\COM1: Type Disk Disk Disk Printer Printer Comment Floppy FixedDrive CdRom Parallel Printer Serial Printer
Go to Document Center
355
The /flush option flushes the client drive cache. This cache is used to speed access to client disk drives by retaining a local copy of the data on the server running MetaFrame Presentation Server. The time-out for hard drive cache entries is ten minutes and the time-out for diskette data is five seconds. If the client device is using a multitasking operating system and files are created or modified, the server does not know about the changes. Flushing the cache forces the data on the server to be synchronized with the client data. The cache time-out for diskettes is set to five seconds because diskette data is usually more volatile; that is, the diskette can be removed and another diskette inserted. The /default option maps the drives and printers on the client device to mapped drives and printers on the server running MetaFrame Presentation Server. Drives A and B are always mapped to drives A and B on the server. Hard drives are mapped to their corresponding drive letters if those drive letters are available on the server. If the corresponding drive letter is in use on the server, the default action is to map the drive to the highest unused drive letter. For example, if both machines have drives C and D, the client drives C and D are mapped to V and U respectively. These default mappings can be modified by the /ascending and /noremap options. The /default_printers option resets printer mappings to defaults. /default_printers attempts a one-to-one mapping of all client printers; for example, the clients LPT1 and LPT2 ports are mapped to the servers LPT1 and LPT2 ports. If the /ascending option is specified, the mapping is done in ascending order. The /default_drives option resets host drive mappings to defaults. /default_drives attempts a one-to-one mapping of all client drives; for example, client drives A and B are mapped to server drives A and B. Hard drives are mapped to their corresponding drive letters if those drive letters are available on the server. If the corresponding drive letter is in use on the server, the default action is to map the drive to the highest unused drive letter. For example, if both machines have drives C and D, the client drives C and D are mapped to V and U respectively. If the /ascending option is specified, the mapping is done in ascending order. The /ascending option causes the mapping to occur in ascending drive letter order. For example, if the first two available drive letters on the server are I and J, drives C and D in the preceding example are mapped to I and J respectively. The /noremap option causes the mapping to skip drive letters occupied on the server. For example, if the server has a drive C but no drive D , the clients drive C is mapped to D on the server, but the clients drive D is not mapped.
356
Go to Document Center
The /persistent option causes the current device mappings to be saved in the users profile. Drive conflicts can occur if the /persistent option is in use and the user logs on from a client device that has a different disk drive configuration, or logs on to a server that has a different disk drive configuration. The /force_prt_todef option sets the default printer for the ICA session to the default printer on the clients Windows desktop.
Security Restrictions
None.
Go to Document Center
357
CHFARM
Change farm is used to change the farm membership of a server.
Syntax
chfarm
Remarks
You can use chfarm when you want to move a server from its current server farm. You can move the server to an existing IMA-based server farm or create a new server farm at the same time that you move the server. Citrix recommends that you back up your data store before running chfarm. Important If the server you want to move provides information for a Resource Manager summary database, update the summary database before using chfarm. If you do not update the summary database, you will lose approximately 24 hours worth of summary data stored on the server. To update the summary database, click the Resource Manager node in the Presentation Server Console, select the Summary Database tab, and click Update Now. The chfarm utility is installed in %ProgramFiles%\citrix\system32\citrix\IMA. To run this utility, choose Run from the Start menu. Enter chfarm. CAUTION Be sure that the Presentation Server Console is closed before you run the chfarm command. Running chfarm while the console is open can result in loss of data and functionality. Chfarm stops the IMA service on the server. The data store configuration part of the MetaFrame Presentation Server Setup wizard appears. On the first page, you can select to join an existing server farm or create a new server farm. The wizard continues and you specify an existing data store (to join an existing server farm) or set up a new data store (if you create a new server farm). While running chfarm, you are prompted for the user name and password of the user you want to designate as the initial MetaFrame administrator for the farm. For information about data store setup and server farm configuration, see The Farm Data Store on page 39. If chfarm reports any error, continuing the process can corrupt the data store. If you cancel the data store configuration part of the MetaFrame Presentation Server Setup wizard, the server you are switching rejoins the original farm. After the farm membership is changed or a new farm is created, restart the server.
358
Go to Document Center
Do not remove a server that hosts a server farms data store from the server farm, unless all other servers are removed first. Doing so renders the farm unstable.
Go to Document Center
359
Note If you name an instance of MSDE CITRIX_METAFRAME, you do not need to use the /instancename option.
360
Go to Document Center
CLTPRINT
Use cltprint to set the number of printer pipes for the client print spooler.
Syntax
cltprint [/q] [/pipes:nn] [/?]
Options
/q Displays the current number of printer pipes. /pipes:nn Sets the specified number of printer pipes. This number represented by nn must be from 10 to 63. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
Printer pipes are used to send data from applications to client print spoolers. The number of pipes specifies the number of print jobs that can be sent to the spooler simultaneously. The default number of printer pipes is ten. The Spooler service must be stopped and restarted after changing the number of pipes. Print jobs already spooled continue printing. Print jobs sent to the spooler trigger an error message while the service is stopped. Make sure no users start printing during the time the Spooler service is stopped.
Security Restrictions
None.
Go to Document Center
361
CTXXMLSS
Use ctxxmlss to change the Citrix XML Service port number.
Syntax
ctxxmlss [/rnnn] [/u] [/knnn] [/?]
Options
/rnnn Changes the port number for the Citrix XML Service to nnn. /u Unloads Citrix XML Service from memory. /knnn Keeps the connection alive for nnn seconds. The default is nine seconds. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
For more information, see Configuring the Citrix XML Service Port on page 134.
Security Restrictions
None.
362
Go to Document Center
DRIVEREMAP
Use the driveremap utility to change the servers drive letters. MetaFrame Presentation Server Setup installs the driveremap utility in C:\Program Files\Citrix\System32. Note In previous releases of MetaFrame Presentation Server, the utility to change the servers drive letters was named Drvremap.exe.
Important If you are installing MetaFrame Presentation Server on a server that is not running a previous version of MetaFrame, run the driveremap utility before you install MetaFrame Presentation Server. Citrix recommends that you do not change server drive letters after you install MetaFrame Presentation Server or applications you want to publish for users to access.
Syntax
driveremap /? driveremap /dbscript:filename driveremap /drive:M driveremap /u driveremap /noreboot driveremap /IME
Options
The following parameters can be used with driveremap at a command line. /? Displays the syntax for the utility and information about the utilitys options.
Go to Document Center
363
/dbscript:filename Sets the path to Fixsecuritydatabase.cmd to filename. For Windows Server 2003, the Fixsecuritydatabase utility is run to update drive information in the Windows security database after you remap the system drive. Fixsecuritydatabase in not needed for Windows 2000 Server. If you run driveremap from a location other than the MetaFrame Presentation Server CD, use the /dbscript switch to specify the path to Fixsecuritydatabase.cmd. If you copy Fixsecuritydatabase.cmd to a folder with the same relative location to Driveremap.exe as on the MetaFrame Presentation Server CD (\Support\Install\Fixsecuritydatabase.cmd), you do not need to specify a new path with the \dbscript switch. After remapping drives on Windows Server 2003, ensure that you restart the server and log on with an administrator account that has read access to the Fixsecuritydatabase.cmd file specified by /dbscript. /drive:M Specifies the drive letter to use for the first remapped drive. /u Permits unattended or silent installation where no dialog boxes are displayed and no user input is required. You must use this option in conjunction with the /drive: option. /noreboot Surpresses the Restart Computer message and does not restart the system. Citrix strongly recommends that you restart the system after running this utility. /ime[filename] Changes the drive letter specified in Software\Microsoft\Windows\CurrentVersion\Ime\Japan\IMEJP\Dictionaries for all of the loaded hives under HKEY_USERS.
Remarks
The Drive Remapping utility allows you to select the drive letters you want to map. Before installation, you can run the Drive Remapping utility from the Autorun screens of the MetaFrame Presentation Server CD. After installing MetaFrame Presentation Server, you can open the utility by running Driveremap.exe with no parameters.
364
Go to Document Center
CAUTION Do not run Driveremap within an ICA session or RDP session, for example from a command prompt of a server desktop published as an application. Running Driveremap in an ICA session or RDP session can cause the server to become unstable.
Examples
The following command remaps the servers drive letters. The first available drive is changed to M. The command uses the noreboot option, which suppresses the appearance of any dialog boxes. driveremap /u /drive:M /noreboot The following command returns the servers drive letters to the drive letters that start at C and then prompts you to restart the server. driveremap /u /drive:M /drive:C
Known Issues
The following items are known issues you may encounter when running the driveremap utility. When running driveremap with no parameters, the drive letter choices in the drop-down list may be greyed out. This can occur if the server has noncontiguous drive letters, for example, C, D, X. The mapped drive letters are spread over the interval [a..z] and no reasonable interval shifting can be performed. Network drives are also taken into account. To work around this issue, change the drive letters to C, D, and E and then run the driveremap utility. At a command prompt, if you remap to a letter that is in use, nothing happens and you are returned to the prompt. Locate the servers drive letters in Windows Explorer to verify that the drive letters are changed. MetaFrame Presentation Server drive remapping is not supported on Windows 2000 Dynamic Disks. Installation of the Web Interface on a server running MetaFrame Presentation Server may fail if you are upgrading a server with remapped drives. See article CTX240747 in the online Citrix Knowledge Base at http://support.citrix.com for more information. If you upgrade from MetaFrame 1.8 to MetaFrame Presentation Server on a server with changed server drive letters, the Win32 Pass-Through Client is not updated. To avoid this issue, be sure the server is operating in install mode before running Setup.
Go to Document Center
365
Security Restrictions
Only MetaFrame administrators can execute this command.
366
Go to Document Center
DSCHECK
Use dscheck to validate the consistency of the database used to host the server farms data store. You can then repair any inconsistencies found.
Syntax
dscheck [/clean] [/?]
Options
/clean Attempts to fix any consistency error that is found. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
Dscheck performs a variety of tests to validate the integrity of a server farms data store. When run without parameters, only these tests are run. Run dscheck on a server in the farm that has a direct connection to the data store. When you run dscheck with the /clean option, the utility runs tests and removes inconsistent data (typically servers and applications) from the data store. Because removing this data can affect the farms operation, be sure to back up the data store before using the /clean option. Contact Citrix Technical Support for assistance in restoring a backed up data store. When you run the utility with the /clean option, you may need to run the dsmaint command with the recreatelhc parameter on each server in the farm to update the local host caches. Running this command sets the PSRequired registry value to 1 in HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\Runtime. Dscheck reports the results of the tests in several ways. First, dscheck sends any errors found as well as a summary to the event log and to the command window. You can also write the output produced by dscheck to a file. Second, several performance monitor values are updated under the performance object for Citrix MetaFrame Presentation Server. These values include a count of server errors, a count of application errors, a count of group errors, and an overall flag indicating that errors were detected. The performance monitor values can be used with Resource Manager to detect when problems are present. Third, dscheck returns an error code of 0 for a successful scan (no errors are found) and an error code of 1 if any problems are encountered.
Go to Document Center
367
Dscheck looks primarily at three data store objects: servers, applications, and groups. For each of these object types, dscheck performs a series of tests on each object instance. For example, for each server object in the data store, dscheck verifies that there is a corresponding common server object and then further verifies that both objects have matching host IDs and host names.
Examples
To run consistency checks only: dscheck To check consistency and fix errors: dscheck /clean
Security Restrictions
To run this utility, you must have direct access to the data store.
368
Go to Document Center
DSMAINT
Use dsmaint to configure the IMA data store for a server farm. When using this command, user names and passwords may be case-sensitive, depending on the database product you are using and the operating system on which it runs.
Syntax
dsmaint config [/user:username] [/pwd:password] [/dsn:filename] dsmaint backup destination_path dsmaint failover direct_server dsmaint compactdb [/ds] [/lhc] dsmaint migrate [{ /srcdsn:dsn1 /srcuser:user1 /srcpwd:pwd1}] [{/dstdsn:dsn2 /dstuser:user2 /dstpwd:pwd2}] dsmaint publishsqlds {/user:username /pwd:password} dsmaint recover dsmaint recreatelhc dsmaint verifylhc [/autorepair] dsmaint [/?]
Parameters
destination_path Path to the backup data store. dsn1 The name of the source data store. dsn2 The name of the destination data store filename The name of the data store. direct_server The name of the new direct server for IMA data store operations. password The password to connect to the data store.
Go to Document Center
369
pwd1 The source data store password. pwd2 The destination data store password. user1 The source data store user logon. user2 The destination data store user logon. username The name of the user to use when connecting to the data store.
Options
config Changes configuration parameters used by IMA to connect to the data store. /user:username The username to connect to a data store. /pwd:password The password to connect to a data store. /dsn:filename The filename of an IMA data store. backup Creates a backup copy of the Access database that is the farms data store. Run this command on the server that hosts the data store. Requires a path or share point to which the database file will be copied. The backup command cannot be used to create backups for Oracle or SQL data stores. failover Switches the server to use a new direct server for IMA data store operations. compactdb Compacts the Access database file. /ds Specifies the database is to be compacted immediately. If the IMA service is running, this can be executed from the direct server or an indirect server. If the IMA service is not running, this can be executed only on the direct server.
370
Go to Document Center
/lhc Specifies the local host cache is to be compacted immediately. migrate Migrates data from one data store database to another. Use this command to move a data store to another server, rename a data store in the event of a server name change, or migrate the data store to an Oracle, SQL Server, or DB2 database. /srcdsn:dsn1 The name of the data store from which to migrate data. /srcuser:user1 The user name to use to connect to the data store from which the data is migrating. /srcpwd:pwd1 The password to use to connect to the date store from which the data is migrating. /dstdsn:dsn2 The name of the data store to which to migrate the data. /dstuser:user2 The user name that allows you to connect to the data store to which you are migrating the source data store. /dstpwd:pwd2 The password that allows you to connect to the data store to which you are migrating the source data store. publishsqlds Publishes a data store to allow replication. recover Restores an Access data store to its last known good state. This must be executed on the direct server while the IMA service is not running. recreatelhc Recreates the local host cache database. verifylhc Verifies the integrity of a Microsoft Access local host cache. If the local host cache is corrupt, you are prompted with the option to recreate it. With the verifylhc /autorepair option, the local host cache is automatically recreated if it is found to be corrupted. /? Displays the syntax for the utility and information about the utilitys options.
Go to Document Center
371
Remarks
compactdb During database compaction, the database is temporarily unavailable for both reading and writing. The compaction time can vary from a few seconds to a few minutes, depending on the size of the database and the usage. config For Access databases, this command resets the password used to protect the database, setting the matched security context to allow IMA access to this database. You must stop the IMA service before using config with the /pwd option. CAUTION You must specify a /dsn for dsmaint config or you will change the security context for access to the SQL or Oracle database. migrate Existing data store databases can be migrated to a different database software. For example, you can create a farm with an Access database and later migrate the farm data store to a SQL Server database. For more information about migrating the data store to a different database software and which migrations are supported, see The Farm Data Store on page 39. Important By default, the Access database does not have a user name or password. When migrating a database from Access, leave the /srcuser: and /srcpwd: parameters blank. The connection to a local Access database is based on the host servers name. If the name of the server changes, use migrate to change the name of the database. publishsqlds Execute publishsqlds only from the server that created the farm. The publication will be named MFXPDS.
Security Restrictions
The dsmaint config and dsmaint migrate commands can be executed only by a user with the correct user name and password for the database.
372
Go to Document Center
ICAPORT
Use icaport to query or change the TCP/IP port number used by the ICA protocol on the server.
Syntax
icaport {/query | /port:nnn | /reset} [/?]
Options
/query Queries the current setting. /port:nnn Changes the TCP/IP port number to nnn. /reset Resets the TCP/IP port number to 1494, which is the default. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
The default port number is 1494. The port number must be in the range of 065535 and must not conflict with other well-known port numbers. If you change the port number, restart the server for the new value to take effect. If you change the port number on the server, you must also change it on every client that will connect to that server. For instructions for changing the port number on clients, see the Administrators Guide for the clients that you plan to deploy.
Examples
To set the TCP/IP port number to 5000: icaport /port:5000 To reset the port number to 1494: icaport /reset
Security Restrictions
Only MetaFrame administrators can run icaport.
Go to Document Center
373
IMAPORT
Use imaport to query or change the IMA port. Important When you run MetaFrame Presentation Server Setup, Setup references port 2513 for communication with the Presentation Server Console. If you change this port number on the first server in the farm on which you install MetaFrame Presentation Server, you cannot join additional servers to the server farm.
Syntax
imaport {/query | /set {IMA:nnn | ds:nnn | cmc:nnn}* | /reset {IMA | DS | CMC | ALL} } [/?]
Options
/query Queries the current setting. /set Sets the designated TCP/IP port(s) to a specified port number. ima:nnn Sets the IMA communication port to a specified port number. cmc:nnn Sets the Presentation Server Console connection port to a specified port number. ds:nnn Sets the data store server port to a specified port number (indirect servers only). /reset Resets the specified TCP/IP port to the default. ima Resets the IMA communication port to 2512. cmc Resets the Presentation Server Console connection port to 2513. ds Resets the data store server port to 2512 (indirect servers only). all Resets all of the applicable ports to the defaults.
374
Go to Document Center
/? Displays the syntax for the utility and information about the utilitys options.
Go to Document Center
375
MIGRATETOMSDE
Use migratetomsde to migrate a server farms data store from Microsoft Access to Microsoft SQL Server 2000 Database Engine (MSDE). Migratetomsde offers fail-safe operation and automatically rolls back any changes that it makes to the system in the event of any failures. The utility is located on the MetaFrame Presentation Server CD in the Support\MSDE directory.
Syntax
migratetomsde [/instancename:instancename | /dbname:dbname | /accessuser:user | /accesspwd:pwd | /revert | [/?]
Options
/instancename:instancename Specify a named instance of MSDE other than the default value of CITRIX_METAFRAME. /dbname:dbname Specify a database other than the default value of MF20. /accessuser:user /accesspwd:pwd Specify the user and pwd values for your Access database if you changed them using the Dsmaint Config utility. /revert Reverts to the Access database originally used as the server farms data store. Running this command restores backups that were made when the migration was initially done. Any changes made to the farm since the migration from Access to MSDE are lost. /? Displays the syntax for the utility and information about the utilitys options.
376
Go to Document Center
QUERY
Use query to display information about server farms, processes, servers, sessions, terminal servers, and users within the network.
Query Farm
Syntax
query farm query farm query farm query farm query farm query farm query farm [server [/addr | /app | /app appname | /load]] [/tcp ] [ /ipx ] [ /netbios ] [ /continue ] [ /app | /app appname | /disc | /load | /process] [/online | /online zonename] [/offline | /offline zonename] [/zone | /zone zonename] [/?]
Parameters
appname The name of a published application. server The name of a server within the farm. zonename The name of a zone within the farm.
Options
farm Displays information about servers within an IMA-based server farm.You can use qfarm as a shortened form of query farm. server /addr Displays address data for the specified server. /app Displays application names and server load information for all servers within the farm or for a specific server.
Go to Document Center
377
/app appname Displays information for the specified application and server load information for all servers within the farm or for a specific server. /continue Do not pause after each page of output. /disc Displays disconnected session data for the farm. /ipx Displays IPX data for the farm. /load Displays server load information for all servers within the farm or for a specific server. /netbios Displays NetBIOS data for the farm. /process Displays active processes for the farm. /tcp Displays TCP/IP data for the farm. /online Displays servers online within the farm and all zones. The data collectors are represented by the notation D. /online zonename Displays servers online within a specified zone. The data collectors are represented by the notation D. /offline Displays servers offline within the farm and all zones. The data collectors are represented by the notation D. /offline zonename Displays servers offline within a specified zone. The data collectors are represented by the notation D. /zone Displays all data collectors in all zones. /zone zonename Displays the data collector within a specified zone.
378
Go to Document Center
/? Displays the syntax for the utility and information about the utilitys options.
Remarks
Query farm returns information for IMA-based servers within a server farm.
Security Restrictions
Only MetaFrame administrators can run query farm.
Query Process
Syntax
query process [ * | processid | username | sessionname | /id:nn | programname ] [ /server:servername ] [ /system ] query process [/?]
Parameters
* Displays all visible processes. processid The three- or four-digit ID number of a process running within the farm. programname The name of a program within a farm. servername The name of a server within the farm. sessionname The name of a session, such as ica-tcp#7. username The name of a user connected to the farm.
Options
process Displays information about processes running on the current server.
Go to Document Center
379
process * Displays all visible processes on the current server. process processid Displays processes for the specified processid. process username Displays processes belonging to the specified user. process sessionname Displays processes running under the specified session name. process /id:nn Displays information about processes running on the current server by the specified ID number. process programname Displays process information associated with the specified program name. process /server:servername Displays information about processes running on the specified server. If no server is specified, the information returned is for the current server. process /system Displays information about system processes running on the current server. /? Displays the syntax for the utility and information about the utilitys options.
Security Restrictions
None.
Query Server
Syntax
query server [ server [/ping [/count:n] [/size:n] | /stats | /reset | /load | /addr]] query server [/tcp] [/ipx] [/netbios] [/tcpserver:x] [/ipxserver:x] query server [/netbiosserver:x] query server [/license | /app | /gateway | /serial | /disc | /serverfarm | /video] query server [/continue] [/ignore] [/?]
380
Go to Document Center
Parameters
n The number of times to ping a server (the default is five times) or the size of ping buffers (the default is 256 bytes). server The name of a server within the farm. x The default TCP, IPX, or NetBIOS server address.
Options
server server Displays transport information for the specified server. /addr Displays address information for the specified server. /app Displays application names and server load for the specified server. /continue Do not pause after each page of output. /count:n Number of times to ping the specified server. /disc Displays disconnected session data on the current server. /gateway Displays configured gateway addresses for the current server. /ignore Ignore warning message about interoperability mode. /ipx Displays IPX data for the current server. /ipxserver:x Defines the IPX default server address. /license Displays user licenses for the current server. /load Displays local data on the specified server. /netbios Displays NetBIOS data for the current server.
Go to Document Center
381
/netbiosserver:x Defines the NetBIOS default server address. /ping Pings selected server. The default is five times. /reset Resets the browser statistics on the specified server. /serial Displays license serial numbers for the current server. /serverfarm Displays server farm names and server load. /size:n Size of ping buffers. The default is 256 bytes. /stats Displays the browser statistics on the specified server. /tcp Displays the TCP/IP data for the current server. /tcpserver:x Defines the TCP/IP default server address. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
Query server displays data about only the servers present on a network within a server farm running in interoperability mode. It shows every server within the farm, even if the server is not currently connected to the farm. Query farm is the recommended command for displaying this information in a farm that is not running in interoperability mode.
Security Restrictions
None.
382
Go to Document Center
Query Session
Syntax
query session [sessionname | username | sessionid] query session [/server:servername] [/mode] [/flow] [/connect] [/counter] query session [/?]
Parameters
servername The name of a server within the farm. sessionname The name of a session, such as ica-tcp#7. sessionid The two-digit ID number of a session. username The name of a user connected to the farm.
Options
session sessionname Identifies the specified session. session username Identifies the session associated with the user name. session sessionid Identifies the session associated with the session ID number. session /server:servername Identifies the sessions on the specified server. session /mode Displays the current line settings. session /flow Displays the current flow control settings. session /connect Displays the current connection settings. session /counter Displays the current Terminal Services counter information.
Go to Document Center
383
/? Displays the syntax for the utility and information about the utilitys options.
Security Restrictions
None.
Query Termserver
Syntax
query termserver [servername] [/domain:domain] [/address] [/continue] query termserver [/?]
Parameters
servername The name of a server within the farm. domain The name of a domain to query.
Options
termserver servername Identifies a Terminal Server. /address Displays network and node addresses. /continue Do not pause after each page of output. /domain:domain Displays information for the specified domain. Defaults to the current domain if no domain is specified. /? Displays the syntax for the utility and information about the utilitys options.
Remarks
If no parameters are specified, query termserver lists all Terminal Servers within the current domain.
384
Go to Document Center
Security Restrictions
None.
Query User
Syntax
query user [ username | sessionname | sessionid ] [ /server:servername ] query user [/?]
Parameters
servername The name of a server within the farm. sessionname The name of a session, such as ica-tcp#7. sessionid The ID number of a session. username The name of a user connected to the farm.
Options
user username Displays connection information for the specified user name. user sessionname Displays connection information for the specified session name. user sessionid Displays connection information for the specified session ID. user /server:servername Defines the server to be queried. The current server is queried by default. /? Displays the syntax for the utility and information about the utilitys options.
Go to Document Center
385
Remarks
If no parameters are specified, query user displays all user sessions on the current server. You can use quser as a shortened form of the query user command.
Security Restrictions
None.
386
Go to Document Center
TWCONFIG
Use twconfig to configure ICA display settings that affect graphics performance for clients.
Syntax
twconfig [/query | /q] twconfig [/inherit:on | off] twconfig [discard:on | off] twconfig [/supercache:on | off] twconfig [/maxmem:nnn] twconfig [/degrade:res | color] twconfig [/notify:on | off] twconfig [/?]
Options
/query, /q Query current settings. /inherit:on | off Set to on to use the ICA display properties defined for the farm. Set to off to use the settings specified for this server. By default, this is set to on. /discard:on | off Discard redundant graphics operations. /supercache:on | off Use alternate bitmap caching method. /maxmem:nnn Maximum memory (in kilobytes) to use for each sessions graphics (150KB minimum, 8192KB maximum). /degrade:res | color When the maxmem limit is reached, degrade resolution first or degrade color depth first. /notify:on | off If on, users are alerted when maxmem limit is reached.
Go to Document Center
387
/? Displays the syntax for the utility and information about the utilitys options.
Remarks
A server can be set to inherit its ICA display settings from the server farm ICA display settings. Use /query to display the current inherit settings. If /inherit is on, the settings displayed with /query are the server farm settings. When /inherit is off, the settings shown are for the current server only. Twconfig can be used only to change the settings on this server, for this server. To change the settings for another server or for the server farm, use the Presentation Server Console. Within the maxmem limit, various combinations of session size and color depth are available. The session size and color depth values are determined using the following formula: height x width x depth maxmem, where the height and width are measured in pixels and depth is the color depth in bytes according to the following table:
Color depth True Color (24-bit) High Color (16-bit) 256 Colors (8-bit) 16 Colors (4-bit) Bytes 3 2 1 .5
The following is a list of the maximum session sizes with a 4:3 aspect ratio for each color depth at the default maxmem value (height by width by color depth): 1600 by 1200 by 24-bit color 1920 by 1440 by 16-bit color 2752 by 2064 by 256 colors 3904 by 2928 by 16 colors
Security Restrictions
None.
388
Go to Document Center
Go to Document Center
APPENDIX B
Customizing Setup
This chapter includes information about customizing MetaFrame Presentation Server Setup. Use the information in this chapter to accomplish the following: Configure the properties in the MetaFrame Presentation Server Windows Installer installation package with the information needed to create your server farm Work with the four sample Windows Installer transform files included on the MetaFrame Presentation Server CD Create administrative installation packages on network share points so you can install MetaFrame Presentation Server from any location in your network
This chapter describes how to create an administrative installation on a network share point. In the examples in this chapter, the installation package is customized with transforms and placed on a network share point. Important Be sure to read the chapters in this book Planning for Deployment on page 69 and Deploying MetaFrame Presentation Server on page 107 before you attempt the procedures in this chapter. The basic procedure for effectively customizing the Windows Installer package is outlined below. Each of these steps is explained in more detail in this chapter. For more information about Windows Installer, including more details about the commands briefly described in this chapter, see the Windows online Help or the Microsoft Web site at http://www.microsoft.com.
390
Go to Document Center
To create customized administrative installation packages 1. Review the sample transform files included on the MetaFrame Presentation Server CD and gather the information you must enter to transform the installation package. Note If you are creating a MetaFrame Presentation Server farm with multiple servers, you must modify two transforms: one transform to run on the first server in the farm, and a second transform to run on the servers joining the newly created server farm. 2. Open the installation package in your preferred Windows Installer editing tool and apply a transform. Save the transform with a new name. Repeat this step for each of the transforms you need to modify. If you are modifying the installation package for two scenarioscreating a farm and joining a farmyou will have two modified transform packages when you are done. 3. Create the network share points for the installation packages. Create two shares: one for the package transformed to run on the server on which you are creating the server farm, and one for the package transformed to run on the servers joining the server farm. 4. Create the administrative installation packages on the network shares you created in Step 3.
Creating Transforms
You can manipulate the installation process by applying Windows Installer transforms (files with the .mst extension) to the installation database contained in a Windows Installer package. A transform makes changes to elements of the database. A transform file modifies the installation package when it is being installed and dynamically affects the installation behavior. Transforms that you create to customize a Windows Installer setup package remain cached on your system. These files are applied to the base Windows Installer package whenever the Installer needs to modify it. You can apply transforms only when you initially install Windows Installer packages; you cannot apply transforms to software that is already installed. When you create a transform to apply to the MetaFrame Presentation Server Windows Installer package, you set your desired values for properties in the package. When you then apply the transform to the installation package, the questions you would be asked during Setup are answered. Creating a transform allows you to install MetaFrame Presentation Server in unattended mode.
Go to Document Center
391
There are several commercially available tools you can use to create or edit transforms. Citrix provides four sample transforms on the MetaFrame Presentation Server CD, located in the Support\Install directory. The transforms include sample values for select properties, allowing you to determine which properties you can edit to achieve a certain configuration. For definitions and possible values of the properties in the sample transforms, see Setup Property Names and Values on page 397. The transforms in the following examples are used to create a server farm using Microsoft Access for the farms data store and a server farm using Microsoft SQL Server as the farms data store. Important Do not apply the sample transforms to MetaFrame Presentation Server Setup without editing them to include your required values. Some of the commercially available Windows Installer packaging tools allow you to edit existing transforms. Use the sample transforms as a guideline to achieve the desired configuration. To create a customized transform using one of the sample transform files 1. Using your preferred tool for editing Windows Installer packages, open the MetaFrame Presentation Server Setup Windows Installer installation package, MPS.msi, located on the MetaFrame Presentation Server CD in the \MetaFrame Presentation Server directory. 2. Apply the transform that includes the properties and values you want to modify. 3. Enter new values for the properties you want to change. 4. Generate the transform file and save it with a new name. To apply a transform Type the following at a command prompt, where package is the name of the Windows Installer installation package and TransformList is the list of the transforms that you want to apply: msiexec /i package TRANSFORMS=TransformList If you are applying multiple transforms, separate each transform with a semicolon. For further information about the parameters and switches you can use with these options, go to the Microsoft Web site at http://www.microsoft.com and search on msiexec. The properties to set to achieve the results of each sample transform are listed in the following sections.
392
Go to Document Center
Create a New Server Farm Using a Locally Hosted Data Store (Microsoft Access or MSDE)
This sample transform shows possible values for creating a server farm that uses an MSDE database for the farm data store. The database is stored locally on the first server in the farm on which you installed MetaFrame Presentation Server. The name of the sample transform file on the MetaFrame Presentation Server CD is Localdb_access_create.mst.
Go to Document Center
393
Join an Existing Server Farm that Uses a Locally Hosted Data Store (Microsoft Access or MSDE)
In this sample transform, the existing server farm uses an MSDE database stored on one of the MetaFrame Presentation Servers. The name of the sample transform file on the MetaFrame Presentation Server CD is Join_Indirect.mst.
394
Go to Document Center
Create a New Server Farm Using a Data Store on a Separate Database Server (Microsoft SQL, Oracle, or IBM DB2)
This sample transform creates a farm that uses a Microsoft SQL Server, Oracle, or IBM DB2 database for the farm data store. The database is stored on a dedicated database server and is configured for direct access by the servers in the farm. The name of the sample transform file on the MetaFrame Presentation Server CD is thirdpartydb_create_direct.mst.
Go to Document Center
395
Join an Existing Server Farm that Uses a Data Store on a Separate Database Server (Microsoft SQL, Oracle, or IBM DB2)
In this sample transform, the existing server farm uses a SQL, Oracle, or IBM DB2 database stored on a dedicated database server. The new server joining the farm accesses the data store directly. The name of the sample transform file on the MetaFrame Presentation Server CD is thirdpartydb_join_direct.mst.
396
Go to Document Center
Follow the steps below to create an administrative installation on a network share point. To create an administrative installation 1. Copy the MetaFrame Presentation Server CD image to a network location so that you can refer to it if necessary. 2. Create the appropriate transform files to create a new server farm and to join a server farm. 3. Run the msiexec /a command to create two network images from which MetaFrame Presentation Server can be installed: The image to use when creating a server farm The image to use when joining a server farm The following is an example of the command line to use to accomplish this: msiexec /a <full path the base mps.msi package> /L*v <full path to a log file> /qb TARGETDIR=<full path to the network location> TRANSFORMS=<semi-colon delimited list of the appropriate transform file(s) created from Step 2 (example: sql_join.mst)>
Go to Document Center
397
4. Run MetaFrame Presentation Server Setup from the network share points you created. Start with the share point that contains the image used to create the first server in the farm. The following is an example of a command line to accomplish this: msiexec /i <full path to my new share point mps.msi> /L <full path to a log file location> /qb-
398
Go to Document Center
CTX_MF_USER_NAME Definition: User name for the initial MetaFrame administrator credentials; applies only when creating a farm. Possible values: User defined Default value: UserName CTX_MF_DOMAIN_NAME Definition: Domain name for the farm administrator credentials; applies only when creating a farm. Possible values: User defined Default value: DomainName CTX_MF_CREATE_FARM_DB_CHOICE Definition: When creating a new server farm, specify whether the database is a local database (Access or MSDE) stored on the first server in the new farm, or a third-party database stored on a separate database server (SQL, Oracle, or IBM DB2). Possible values: ThirdParty or Local Default value: Local CTX_MF_LOCAL_DATABASE Definition: Type of locally stored database that stores the farm data store. Possible values: Access or SQL (SQL for MSDE) Default value: Access CTX_MF_MSDE_INSTANCE_NAME Definition: If you are using MSDE for a local database, you can specify an installed instance of MSDE instead of using the default. If you specify an instance of MSDE other than the default for example, if you install MSDE using a command prompt and specify custom options you must enter the name of the custom instance you install. Possible values: User defined. Default value: CITRIX_METAFRAME CTX_MF_ODBC_PASSWORD Definition: Password for a third-party database that stores the farm data store. Possible values: User defined Default value: Password
Go to Document Center
399
CTX_MF_ODBC_USER_NAME Definition: User name for a third-party database that stores the farm data store. Possible values: User defined. Default value: UserName CTX_MF_SILENT_DSNFILE Definition: Path to the DSN file to be used for the data store - use for silent installation. Possible values: Complete path to the DSN file Default value: (null) CTX_MF_JOIN_FARM_DB_CHOICE Definition: Use when joining this server to an existing server farm. Possible values: Direct, Indirect Set this propertys value to indirect if you are using a Microsoft Access or MSDE database, stored locally on the first server in the farm on which you installed MetaFrame Presentation Server, for the data store. Set this propertys value to direct if you are using a Microsoft SQL, Oracle, or IBM DB2 database, stored on a separate dedicated database server, for the data store. Default value: Direct CTX_MF_INDIRECT_JOIN_DOMAIN_NAME Definition: Domain name of a user account that has full administrative rights in MetaFrame Presentation Server. Define if you are joining a farm that uses a Microsoft Access or MSDE database, stored locally on the first server in the farm, for the data store (indirect access). Possible values: Can be any users domain (the user account must have full administrative rights in MetaFrame Presentation Server). Default value: DomainName CTX_MF_INDIRECT_JOIN_USER_NAME Definition: User name of a user account that has full administrative rights in MetaFrame Presentation Server. Define if you are joining a farm that uses a Microsoft Access or MSDE database, stored locally on the first server in the farm, for the data store (indirect access). Possible values: Can be any user who has full administrative privileges in MetaFrame Presentation Server. Default value: Administrator
400
Go to Document Center
CTX_MF_INDIRECT_JOIN_PASSWORD Definition: The password for a user account that has full administrative rights in MetaFrame Presentation Server. Define if you are joining a farm that uses a Microsoft Access or MSDE database, stored locally on the first server in the farm, for the data store (indirect access). Possible values: The password for the user name entered in CTX_MF_INDIRECT_JOIN_USER_NAME. Default value: (null) CTX_MF_JOIN_FARM_SERVER_NAME Definition: Name of a server in the server farm you want to join. Possible values: Name of a server hosting the Access or MSDE data store. Default value: ServerName CTX_MF_JOIN_FARM_SERVER_PORT Definition: Port number for the IMA communication port used to communicate with the locally stored server farm data store (for example, if you are using a Microsoft Access or MSDE database, stored locally on the first server in the farm on which you installed MetaFrame Presentation Server, for the data store). Possible values: User defined Default value: 2512 CTX_MF_ZONE_NAME Definition: Name of the zone to which the server belongs. Possible values: Not applicable Default value: None. The default value for the zone name is generated programatically, based on the subnet address of the server.
Go to Document Center
401
CTX_MF_ADD_ANON_USERS Definition: Determines whether anonymous users added to the Users group are included in the Remote Desktop Users group on Windows Server 2003. This property is ignored during upgrades. If set to Yes and if CTX_MF_CREATE_REMOTE_DESKTOP_USERS is set to CopyUsers or DoNothing during a clean install, the anonymous users are added to the Remote Desktop Users group. If CTX_MF_CREATE_REMOTE_DESKTOP_USERS is set to AddEveryone, this property is ignored because the Remote Desktop Users group is configured so that every user in the Users group is also a Remote Desktop user. Set this property to No during a clean install to prohibit anonymous connections to MetaFrame Presentation Server running on Windows Server 2003. Possible values: Yes, No Default value: Yes Note CTX_MF_CREATE_REMOTE_DESKTOP_USERS takes precedence over CTX_MF_ADD_ANON_USERS. If CTX_MF_CREATE_REMOTE_DESKTOP_USERS is set to AddEveryone and CTX_MF_ADD_ANON_USERS is set to No, anonymous connections to MetaFrame Presentation Server are enabled on this server.
402
Go to Document Center
CTX_MF_CREATE_REMOTE_DESKTOP_USERS Definition: Determines whether or not to add users to the Remote Desktop Users group on a Windows Server 2003 system. Users must be members of the Remote Desktop Users group to log on remotely to a Windows Server 2003 system. Setting this property has no effect if the server is running Windows 2000 or if the Remote Desktop Users group already has members. Possible values: AddEveryone Adds the Authenticated Users group to the Remote Desktop Users group. This option allows all current and future authenticated users to log on remotely to the server. CopyUsers Copies all current users from the Users group to the Remote Desktop Users group. Any user accounts you add must be added to the Remote Desktop Users group manually. DoNothing Does not add any users to the Remote Desktop Users group. Choosing this option means that no users will be allowed to log on remotely to the server until you add users to the Remote Desktop Users group in Windows Server 2003. Default value: CopyUsers CTX_MF_SHADOWING_CHOICE Definition: Turns ICA session shadowing on or off. Important If you turn session shadowing off when you install MetaFrame Presentation Server, you cannot enable shadowing at a later time through user policies or connection configuration. Possible values: Yes - turn it on or No - turn it off Default value: Yes CTX_MF_SHADOW_PROHIBIT_REMOTE_ICA Definition: Prohibits or allows remote control of mouse and keyboard in ICA sessions. Possible values: Yes - Prohibit or No - Allow Default value: No
Go to Document Center
403
CTX_MF_SHADOW_PROHIBIT_NO_NOTIFICATION Definition: Prohibits or allows shadowing connections without user notification. Possible values: Yes - Prohibit or No - Allow Default value: No CTX_MF_SHADOW_PROHIBIT_NO_LOGGING Definition: Prohibits or allows shadow connections without logging. Possible values: Yes - Prohibit or No - Allow Default value: No CTX_MF_XML_CHOICE Definition: Determines whether Microsoft Internet Information Services (IIS) and the Citrix XML Service share the same port on this server or use separate ports. If you do not want IIS and the XML Service to share the same port, you must set the XML Service port number in CTX_MF_XML_PORT_NUMBER. Possible values: Share - share with IIS or Separate - use separate port, set in CTX_MF_XML_PORT_NUMBER. Default value: Share CTX_MF_XML_PORT_NUMBER Definition: Port number you want the Citrix XML Service to use when you do not want the XML Service and IIS to share ports. Possible values: User defined Default value: 80 CTX_MF_LAUNCH_CLIENT_CD_WIZARD Definition: Specifies whether or not to launch the ICA Client Distribution wizard (to update the clients images on the server). Possible values: Yes- Launch wizard or No - Do not launch wizard; that is, do not update client images. Default value: No CTX_MF_CLIENT_CD_PATH Definition: Path to the MetaFrame Presentation Server Components CD; to be passed to the ICA Client Distribution wizard. Possible values: Complete path to the Components CD. Default value: (null)
404
Go to Document Center
CTX_MF_SERVER_TYPE Definition: The edition of MetaFrame Presentation Server to be installed. If you are performing a silent installation and using a command line, the command line arguments for this property must be set to the correct value. Possible values: E for Enterprise Edition, A for Advanced Edition, or S for Standard Edition. Default value: E CTX_MF_ENABLE_VIRTUAL_SCRIPTS Definition: Directs MetaFrame Presentation Server Setup to create the virtual scripts directory. If the value is set to Yes or 1, Setup does not display the dialog box asking for permission to create the virtual scripts directory, even if you are running Setup in full UI mode. If you are running a silent installation where this property is not set to Yes or 1 and the XML port on the server is shared with IIS (if you are installing the Web Interface, for example), Setup aborts and the following error message is added to the installation log file: ERROR: SetIISScriptsDir - Could not get the scripts path because the Virtual Scripts directory in not enabled in IIS or the property CTX_MF_ENABLE_VIRTUAL_SCRIPTS is not set to Yes. If the property is defined, the silent installation continues with no error. Possible Values: Yes or 1 - Create the virtual scripts directory if it does not already exist. Not defined, 0 or No - Do not create the virtual scripts directory if it does not already exist. You are prompted during Setup to create the virtual scripts directory. Default Value: Not defined CTX_MF_ADD_LOCAL_ADMIN Definition: If enabled, creates MetaFrame administrator accounts for all user accounts in the local Administrators group. Possible values: Yes, No Default value: No
Go to Document Center
405
CTX_ADDLOCAL Definition: This property is similar to the Windows Installer ADDLOCAL property. Possible values: Blank (default), All, CTX_MF_MetaFrame_Core, CTX_MF_IM, CTX_MF_IM_Packager, CTX_MF_IM_Service, CTX_MF_LM, CTX_MF_NM, CTX_MF_RM, PN_ENGINE, PN, PN_AGENT, WMI, MetaFrame_XP, CTX_MF_CMC, CTX_MF_ICA_Shell_Editor, CTX_MF_IMA_Core, CTX_MF_IM_Plugin, CTX_MF_RM_Plugin, CTX_SMA, CTX_MF_CTXCPU, CTX_MF_CTXSFO, CTX_MF_ASCII. Separate entries by commas. Valid configurations are: All Install every feature (XPE configuration). MetaFrame_XP,CTX_MF_MetaFrame_Core,CTX_MF_IMA_Core,CTX_MF _ICA_Shell_Editor,CTX_SMA,CTX_MF_CTXCPU,CTX_MF_CTXSFO Core MetaFrame, required for any configuration (referred to below as @Core). PN, PN_ENGINE Install the full Program Neighborhood client as the PassThrough Client (referred to below as @PN). PN_AGENT, PN_ENGINE Install the Program Neighborhood Agent as the Pass-Through Client. CTX_MF_CMC,CTX_MF_IM_Plugin,CTX_MF_RM_Plugin Install the Presentation Server Console (referred to below as @CMC). CTX_MF_IM_Service Install the Installation Manager installer service. CTX_MF_IM_Packager Install the Installation Manager Packager. CTX_MF_IM,CTX_MF_IM_Service,CTX_MF_IM_Packager Install all Installation Manager components (referred to below as @IM). CTX_MF_RM Install Resource Manager. @Core,CTX_MF_LM,WMI,@CMC,PN,@IM,CTX_MF_RM,CTX_MF_AS CII Install all default MetaFrame Presentation Server Enterprise Edition components. @Core,CTX_MF_LM,@CMC,PN Install all default MetaFrame Presentation Server Advanced Edition components. @Core,@CMC,PN Install all default MetaFrame Presentation Server Standard Edition components. Default value: Blank
406
Go to Document Center
CTX_RDP_DISABLE_PROMPT_FOR_PASSWORD Definition: Setting this property to Yes changes the security setting on the server so that passwords from users of Microsoft Remote Desktop Web Connection software are not required. Users must still enter credentials when logging on to the Web Interface, but can launch applications without further prompts for credentials by the server. Possible values: Yes, No Default value: No CTX_MF_LIC_CHOICE_FOR_CREATE Definition: Configures the server to point to an existing license server. If set to Point, ensure that CTX_MF_LICENSE_SERVER_NAME points to a valid license server. If you install the license server after installing MetaFrame Presentation Server, set CTX_MF_LIC_CHOICE_FOR_CREATE to DontKnow. Possible values: Point, DontKnow Default value: Point Note You can also use the Presentation Server Console to configure the server to point to the license server. CTX_MF_LICENSE_SERVER_NAME Definition: Defines the license server to which the server points. Only applies: When performing a new installation while joining an existing server farm or peforming an upgrade and CTX_MF_LIC_CHOICE_FOR_JOIN_OR_UPGRADE is set to Point When performing a new installation while creating a new server farm and CTX_MF_LIC_CHOICE_FOR_CREATE is set to Point
Possible values: User defined Default value: localhost CTX_MF_LIC_CHOICE_FOR_JOIN_OR_UPGRADE Definition: Configures the server to point to an existing license server. If set to Point, ensure that CTX_MF_LICENSE_SERVER_NAME points to a valid license server. If set to UseFarmSettings, ensure that the existing server farm is configured to use a license server. If you install the license server after installing MetaFrame Presentation Server, set CTX_MF_LIC_CHOICE_FOR_JOIN_OR_UPGRADE to DontKnow.
Go to Document Center
407
Note You can also use the Presentation Server Console to configure the server to point to the license server. Possible values: Point, UseFarmSettings, DontKnow Default value: UseFarmSettings CTX_MF_LICENSE_SERVER_PORT Definition: If the value of CTX_MF_LICENSE_SEVER_PORT_DEFAULT is set to (null), CTX_MF_LICENSE_SERVER_PORT specifies the number of the port to use when communicating with the license server. Possible values: an integer representing the number of the port through which the license server has been configured to listen for requests Default value: 27000 CTX_MF_LICENSE_SERVER_PORT_DEFAULT Definition: When set to (null), specifies to use the value of CTX_MF_LICENSE_SERVER_PORT as the number of the port to use when communicating with the license server. Possible value: (null) Default value: 1 CTX_IGNORE_MCM Definition: MetaFrame Presentation Server is not compatible with MetaFrame Conferencing Manager 2.0. If you upgrade to MetaFrame Presentation Server before upgrading to MetaFrame Conferencing Manager 3.0 or 4.0, MetaFrame Conferencing Manager fails on this server. Therefore, Citrix recommends that you upgrade to MetaFrame Conferencing Manager 4.0 before upgrading to MetaFrame Presentation Server. MetaFrame Conferencing Manager 4.0 is available from the MetaFrame Presentation Server components installation CD. If the installer detects MetaFrame Conferencing Manager 2.0 on the server, an error message appears. For the installer to ignore the error message and continue the installation, set this property to Yes. Possible values: Yes, No Default value: No
408
Go to Document Center
CTX_REMOVE_WI_TURNKEY Definition: When upgrading from earlier versions of MetaFrame that include the Web Interface, you must upgrade the Web Interface before upgrading to MetaFrame Presentation Server. Otherwise, the Web Interface may be removed from the server as a result of the upgrade. Set this property to Yes if you do not object to the removal of the Web Interface from the server. Possible values: Yes, No Default value: No CTX_MF_ONLY_LAUNCH_PUBLISHED_APPS Definition: MetaFrame Presentation Server features a security enhancement that prohibits non-administrative users from launching desktop sessions (but not published applications). If set to Yes, the security enhancement is enabled. Possible values: Null, Yes, No Default value: Null Note If set to a value other than Yes or No, the security enhancement is enabled when performing a clean install but disabled when performing an upgrade. INSTALLDIR Definition: The target location for the installation. Possible values: User defined. Default value: %Program Files%\Citrix REBOOT Definition: Standard Windows Installer property that controls whether you restart a server or prompt for the server to be restarted. Possible values: Force - Forces restart to occur; no further prompts are displayed. Suppress - Forces restart to not occur by default; a prompt occurs if action is necessary. ReallySuppress - Force restart to not occur; no prompts appear. Default value: Force
Go to Document Center
409
REINSTALLMODE Definition: Specifies the type of reinstall to perform. Options are caseinsensitive and order-independent. Possible values: p - install missing files o - replace older versioned or missing files c - replace corrupt files (checksum validation) e - replace same versioned or missing files d - replace files of differing versions a - replace all files regardless of version u - replace user registry settings m - replace machine registry settings s - replace shortcuts v - replace the cached .msi package with the package being installed from Default value: oums Important Citrix recommends that you do not modify this property.
410
Go to Document Center
CLIENT_INSTALLDIR Definition: The target location for the Pass-Through Client installation. Possible values: User defined Default value: %Program Files%\Citrix\ICA Client ENABLE_DYNAMIC_CLIENT_NAME Definition: When using the Pass-Through Client, turn on or off the capability to use the computer name as the client device name and recognize changes to the client name. Possible values: Yes, No Default value: Yes PROGRAM_FOLDER_NAME Definition: Start Menu Program Folder Name, where Start Menu Program Folder Name is the name of the Programs folder on the Start menu containing the shortcut to the Program Neighborhood or Program Neighborhood Agent software. Possible values: User defined Default value: Citrix\MetaFrame Access Clients SERVER_LOCATION Definition: The URL of the server running the Web Interface. This server hosts the configuration file for the Program Neighborhood Agent. You must enter the server address if you want to use the Program Neighborhood Agent as the PassThrough Client. The server address can use HTTP or HTTPS. Possible values: User defined Default value: localhost DEFAULT_NDSCONTEXT Definition: Include this parameter if you want to set a default context for NDS. If you are including more than one context, place the entire value in quotation marks, and separate the contexts by a comma. Examples of correct parameters:
DEFAULT_NDSCONTEXT=Context1 DEFAULT_NDSCONTEXT=Context1,Context2
Go to Document Center
411
ENABLE_SSON Definition: Set to Yes to enable Single Sign-On (Pass-Through Authentication) for the Pass-Through Client. Set to No to disable Single Sign-On for the PassThrough Client. Possible values: Yes, No Default value: Yes
412
Go to Document Center
Go to Document Center
APPENDIX C
Performance Counters
Performance monitoring counters that are directly related to the performance of ICA sessions and networking and security are installed with MetaFrame Presentation Server. You can access these counters from the Performance Monitor, which ships with the Windows operating system. Citrix recommends that you use performance monitoring to get accurate accounts of system performance and the effects of configuration changes on system throughput. You can add and then view the following three categories of MetaFrame Presentation Server counters, called performance objects in Performance Monitor: Citrix IMA Networking Citrix MetaFrame Presentation Server ICA Session
You must choose one of the above performance objects in the Add Counters dialog box of Performance Monitor to select individual counters for monitoring. For more information about adding counters to Performance Monitor, see Monitoring Performance of Sessions and Servers on page 308.
414
Go to Document Center
Go to Document Center
415
Counter DynamicStore Gateway Update Count DynamicStore Gateway Update, Bytes Sent DynamicStore Query Count DynamicStore Query Request, Bytes Received DynamicStore Query Response, Bytes Sent DynamicStore reads/sec DynamicStore Update Bytes Received DynamicStore Update Packets Received DynamicStore Update Response Bytes Sent DynamicStore Writes/sec Filtered Application Enumerations/sec Last Recorded License CheckIn Response Time (ms) Last Recorded License CheckOut Response Time (ms) License Server Connection Failure LocalHostCache bytes read/sec LocalHostCache bytes written/sec LocalHostCache reads/sec LocalHostCache writes/sec Maximum License Check-In Response Time (ms)
Description The number of dynamic store update packets sent to remote data collectors. The number of bytes of data sent across gateways to remote data collectors. The number of dynamic store queries that were performed. The number of bytes of data received in dynamic store query request packets. The number of bytes of data sent in response to dynamic store queries. The number of times data was read from the dynamic store per second. The number of bytes of data received in dynamic store update packets. The number of update packets received by the dynamic store. The number of bytes of data sent in response to dynamic store update packets. The number of times data was written to the dynamic store per second. The number of filtered application enumerations per second. The last recorded license check-in response time in milliseconds. The last recorded license check-out response time in milliseconds. The number of minutes that the server has been disconnected from the license server. The number of bytes of IMA local host cache data read per second. The number of bytes of IMA local host cache data written per second. The number of times data was read from the IMA local host cache per second. The number of times data was written to the IMA local host cache per second. The maximum license check-in response time in milliseconds.
416
Go to Document Center
Counter Maximum License Check-Out Response Time (ms) WorkItem Queue Executing Count WorkItem Queue Pending Count WorkItem Queue Ready Count Zone Elections
Description The maximum license check-out response time in milliseconds. The number of work items that are currently being executed. The number of work items that are not yet ready to be executed. The number of work items that are ready to be executed. The number of zone elections that occurred. This value starts at zero each time the IMA service starts and is incremented each time a zone election takes place. The number of times the server won a zone election.
Go to Document Center
417
Input COM Bandwidth Input Control Channel Bandwidth Input Drive Bandwidth
418
Go to Document Center
Description The bandwidth, measured in bps, used when updating clients through the auto client update feature. The bandwidth, measured in bps, used by Program Neighborhood to obtain application set details. The bandwidth, measured in bps, used when printing to a client printer through a client that has print spooler support enabled. The bandwidth, measured in bps, used for published applications that are not embedded in a session window. The bandwidth, measured in bps, used from client to server for a session. The compression ratio used from client to server for a session. The line speed, measured in bps, used from client to server for a session. The bandwidth, measured in bps, used from client to server for data channel traffic. The bandwidth, measured in bps, used for text echoing. The bandwidth, measured in bps, used from client to server for ThinWire traffic. The last recorded latency measurement for the session. The average client latency over the lifetime of a session. The difference between the minimum and maximum measured latency values for a session. The bandwidth, measured in bps, used for playing sound in an ICA session. The bandwidth, measured in bps, used for clipboard operations such as cut-and-paste between the ICA session and the local window. The bandwidth, measured in bps, used when routing a print job through an ICA session that does not support a spooler to a client printer attached to the client COM 1 port. The bandwidth, measured in bps, used when routing a print job through an ICA session that does not support a spooler to a client printer attached to the client COM 2 port. The bandwidth, measured in bps, used when receiving data from the client COM port.
Input Seamless Bandwidth Input Session Bandwidth Input Session Compression Input Session Line Speed Input SpeedScreen Data Channel Bandwidth Input Text Echo Bandwidth Input ThinWire Bandwidth Latency - Last Recorded* Latency - Session Average* Latency - Session Deviation* Output Audio Bandwidth Output Clipboard Bandwidth
Go to Document Center
419
Description The bandwidth, measured in bps, used when executing LongCommandLine parameters of a published application. The bandwidth, measured in bps, used when performing file operations between the client and server drives during an ICA session. The bandwidth, measured in bps, used when initiating font changes within a SpeedScreen-enabled ICA session. The bandwidth, measured in bps, used to negotiate licensing during the session establishment phase. There is normally no data for this counter because this negotiation takes place before logon. The bandwidth, measured in bps, used when routing a print job through an ICA session that does not support a spooler to a client printer attached to the client LPT 1 port. The bandwidth, measured in bps, used when routing a print job through an ICA session that does not support a spooler to a client printer attached to the client LPT 2 port. The bandwidth, measured in bps, used when updating clients through the auto client update feature. The bandwidth, measured in bps, used by Program Neighborhood to obtain application set details. The bandwidth, measured in bps, used when printing to a client printer through a client that has print spooler support enabled. The bandwidth, measured in bps, used for published applications that are not embedded in a session window. The bandwidth, measured in bps, used from server to client for a session. The compression ratio used from server to client for a session. The line speed, measured in bps, used from server to client for a session. The bandwidth, measured in bps, used from server to client for data channel traffic. The bandwidth, measured in bps, used for text echoing. The bandwidth, measured in bps, used from server to client for ThinWire traffic.
Output Seamless Bandwidth Output Session Bandwidth Output Session Compression Output Session Line Speed Output SpeedScreen Data Channel Bandwidth Output Text Echo Bandwidth Output ThinWire Bandwidth
Go to Document Center
APPENDIX D
Glossary
account authority The platform-specific source of information about user accounts used by a server running MetaFrame Presentation Server; for example, a Windows NT domain, Active Directory domain, or Novell Directory Services (NDS). anonymous application An application published exclusively for the use of anonymous users. anonymous session A client session started by an anonymous user. anonymous user An unidentified user granted minimal access to a server or farm and its published applications. anonymous user account A user account defined on a server running MetaFrame Presentation Server for access by anonymous users. application name A text string used to uniquely identify a published application within a farm. The application name is used by the farm and clients to recognize individual applications that may have the same display name. The text string is automatically generated based on the display name entered when the application is published. application set A users view of the applications published on a server farm that the user is authorized to access. automatic client reconnect The feature that prompts supported MetaFrame Presentation Server Clients to automatically reconnect to a session when dropped connections are detected (when network issues outside of MetaFrame Presentation Server occur). automatic client update The server feature that enables you to install the latest versions of MetaFrame Presentation Server Clients on your servers and then schedule the download and installation of that software to your users client devices. certificate store The location on the server running the Citrix SSL Relay that contains the server certificate. The certificate for the SSL Relay should be in Local computer/Personal so that you can manage it with the Certificate snap-in for Microsoft Management Console.
422
Go to Document Center
ciphersuite An encryption/decryption algorithm. When establishing an SSL connection, the client and server determine a common set of supported ciphersuites and then use the most secure one to encrypt the communications. Ciphersuites have different advantages in terms of speed, encryption strength, exportability, and so on. Citrix SSL Relay A Windows service that runs on a server to support an SSL-secured connection between a server running the Web Interface for MetaFrame Presentation Server and a server running MetaFrame Presentation Server. See also Secure Sockets Layer (SSL)/Transport Layer Security (TLS) on page 427 and ICA Encryption on page 424. Citrix XML Service A Windows service that provides an HTTP interface to the ICA browser. It uses TCP packets instead of UDP, which allows connections to work across most firewalls. The default port for the Citrix XML Service is 80. client COM port mapping The feature that enables applications running on a server to access peripherals attached to COM ports on the client device. client device Any hardware device capable of running the MetaFrame Presentation Server Client software. client device mapping The feature that enables published applications running on the server to access storage and peripherals attached to the local client device. Client device mapping consists of several distinct features: client drive mapping, client printer mapping, and client COM port mapping. client drive mapping The feature that enables applications running on the server to access physical and logical drives configured on the client device. client printer mapping The feature that enables applications running on the server to send output to printers configured on the client device. client update database The database that servers use to automatically update MetaFrame Presentation Server Clients. It contains copies of the client software and configuration information about how to perform the updates. connection control The feature that allows you to set a limit on the number of connections that each user can have simultaneously in the farm. You can also limit the number of concurrent connections to specified published applications, and you can prevent users from launching more than one instance of the same published application. content publishing This feature allows you to publish document files, media files, Web URLs, and any other type of file from any network location. Icons for published content appear in Program Neighborhood, on the desktop, and on the users logon page for the Web Interface. Users can double-click published content icons to access content in the same way they access published applications. content redirection This feature allows you to specify whether clients open published content, applications, browsers, and media players locally or remotely. There are two types of content redirection: from server to client and from client to server.
Go to Document Center
Appendix D Glossary
423
CPU prioritization The feature that allows you to assign each published application in the server farm a priority level for CPU access. This feature can be used to ensure that CPU-intensive applications in the server farm do not degrade the performance of other applications. custom ICA connection A user-created shortcut to a published application or computer running MetaFrame Presentation Server. data store An ODBC-compliant database that stores persistent data for a farm. Examples of persistent data include configuration information about published applications, users, printers, and servers. Each server farm has a single data store. See also local host cache, zone data collector. delegated administration The feature that allows you to delegate areas of MetaFrame Presentation Server administration and farm management. Administrators can assign certain staff members to perform specific tasks such as managing printers, published applications, or user policies. Specialized staff members can carry out their assigned tasks without being granted full access to all areas of server farm management. disconnected session A client session in which the client is no longer connected to the server but the users applications are still running. A user can reconnect to a disconnected session. If the user does not do so within a specified time-out period, the server automatically terminates the session. display name A name you specify when you publish an application. The display name appears in the newer Program Neighborhood Client and in Application folders in the Presentation Server Console. You can also choose to use the display name in the Web Interface. dynamic store A data store that contains frequently updated configuration data such as application load information. A server farm replicates dynamic store information across multiple servers. file type association You configure content redirection from client to server by associating published applications with file types and then assigning them to the users you want to be affected. full duplex audio The ability of sound to travel in both directions at the same time. A telephone, for example, works in full duplex mode, allowing both parties to speak and be heard at the same time, whereas a walkie-talkie works in half duplex mode, allowing only one party to speak and be heard at a time. ICA Independent Computing Architecture. The architecture that MetaFrame Presentation Server uses to separate an applications logic from its user interface. With ICA, only the keystrokes, mouse clicks, and screen updates pass between the client and server on the network, while 100% of the applications logic executes on the server. ICA asynchronous connections Asynchronous connection types allow direct dial-in to a computer running MetaFrame Presentation Server without the overhead of RAS and TCP/IP. ICA browser See master ICA browser or master browser.
424
Go to Document Center
ICA Client Creator The server utility you use to create disks from which you can install MetaFrame Presentation Server Clients and the ICA File Editor on a wide range of client devices. ICA Client Printer Configuration The utility you use to create and connect to client printers for the Clients for DOS and Windows CE. You must run this utility in an ICA session from the client whose printer you want to configure. ICA Client Update Configuration The utility you use to configure the client update database. ICA connection The logical port used by a client to connect to, and start a session on, a computer running MetaFrame Presentation Server. 1. An ICA connection is associated with a network connection (such as TCP/IP, IPX, SPX, or NetBIOS) or a serial connection (modems or direct cables). 2. The active link established between a client and a computer running MetaFrame Presentation Server. ICA Encryption This feature enables use of the SSL (Secure Sockets Layer) or TLS (Transport Layer Security) protocols to secure communication between the clients that support SSL and computers running MetaFrame Presentation Server. SSL provides server authentication, encryption of the data stream, and message integrity checks. After configuring the Citrix SSL Relay, you can specify the use of SSL when you publish applications. See also Citrix SSL Relay. ICA file A text file (with the extension ica) containing information about a published application. ICA files are written in Windows ini file format and organize published application information in a standard way that MetaFrame Presentation Server Clients can interpret. When a client receives an ICA file, it initializes a session running the application on the server specified in the file. ICA protocol The protocol that MetaFrame Presentation Server Clients use to format user input (keystrokes, mouse clicks, and so forth) and address it to servers for processing. Servers use the ICA protocol to format application output (display, audio, and so forth) and return it to the client device. ICA session A lasting connection between a client and a computer running MetaFrame Presentation Server, identified by a specific user ID and ICA connection. It consists of the status of the connection, the server resources allocated to the user for the duration of the session, and any applications executing during the session. An ICA session normally terminates when the user logs off from the server. Independent Management Architecture (IMA) Citrixs server-to-server infrastructure that provides robust, secure, and scalable tools for managing any size server farm. Among other features, IMA enables centralized platform-independent management, an ODBC-compliant data store, and a suite of management products that plug in to Presentation Server Console. interoperability The ability of MetaFrame Presentation Server to work with servers running MetaFrame 1.8 in the same server farm. Not all MetaFrame Presentation Server features are available in such a farm.
Go to Document Center
Appendix D Glossary
425
isolation environment A feature of MetaFrame Presentation Server to isolate a published application on a server farm. The isolation environment protects the operating system from conflicts and other compatibility issues that frequently occur between incompatible or legacy applications. key store The directory on the server running the SSL Relay containing the server certificate. The default directory is %SystemRoot%\SSLRelay\keystore\certs. load management A feature of the Advanced and Enterprise Editions of MetaFrame Presentation Server that enables management of application loads. When a user launches a published application that is configured for load management, that users session is established on the most lightly loaded server in the server farm, based on criteria you can configure. local application An application installed on a local client device. local host cache A local subset of the server farm data store information. This file is present on all computers running MetaFrame Presentation Server. See also data store. local text echo A feature that accelerates the display of text input on a client device to effectively shield users from experiencing latency on the network. Management Console for MetaFrame Presentation Server The extensible, platformindependent tool for administering computers running MetaFrame Presentation Server and management products. This console is also referred to as the Presentation Server Console. master ICA browser or master browser The ICA browser on one server in a network that gathers information about licenses, published applications, performance, and server load from the other member browsers within the network and maintains that information. member ICA browser or member browser The ICA browsers on the servers in a network that forward information about licenses, published applications, performance, and server load to the master browser. MetaFrame administrators System administrators responsible for installing, configuring, and maintaining computers running MetaFrame Presentation Server. In a UNIX environment, it is the user group assigned to these administrators, which has the default name ctxadm. MetaFrame Presentation Server Client Citrix software that enables users to connect to computers running MetaFrame Presentation Server from a variety of client devices. mouse-click feedback A feature that enables visual feedback for mouse clicks. When a user clicks the mouse, the client software immediately changes the mouse pointer to an hourglass to show that the users input is being processed. NDS support Support for Novell Directory Services (NDS) allows users in Novell network environments to log on using their NDS credentials to access applications and content published on computers running MetaFrame Presentation Server.
426
Go to Document Center
neighborhood folder A group of logically related applications within a users application set. You can assign an application to a specific neighborhood folder when you publish it. network printer A printer that is connected to a network print server. panning and scaling Features of MetaFrame Presentation Server Clients that allow users to view a remote session that is larger than the client desktop. For example, if the client desktop is 1024 x 768 and the session is 1600 x 1200 pixels, the session image does not fit in the session view window. Panning provides scroll bars. Scaling provides controls in the System menu to shrink the session window. pass-through authentication When you enable pass-through authentication for the Presentation Server Console, the console uses your local user credentials from the server on which the console is running. You can log on without reentering credentials. Users can also enable pass-through authentication in clients that support this feature. pass-through client A client installed on a server so that users of every MetaFrame Presentation Server Client platform can access published applications by connecting to them through Program Neighborhood as a published application. policies Policies are used to apply MetaFrame Presentation Server settings for client device mapping, for example, to specific users, clients, and servers. Policies override similar settings configured farm-wide at the server level or on the client. Program Neighborhood The user interface for the Program Neighborhood Client that lets users view the published applications they are authorized to use in the server farm. Program Neighborhood allows access to application sets and custom ICA connections. Program Neighborhood Agent The Program Neighborhood Agent allows you to deliver published applications directly to users desktops so users can access links to published applications with or without a Web browser. With the Program Neighborhood Agent, links to published applications appear in the Start menu, on the Windows desktop, or in the Windows notification area. Remote applications are integrated into the desktop and appear to the user as local applications. You must use the Web Interface for MetaFrame Presentation Server to use the Program Neighborhood Agent. published application An application installed on a server or server farm that is configured for multiuser access from MetaFrame Presentation Server Clients. With Load Manager, you can manage the load for published applications among servers in the farm. With Program Neighborhood and the Web Interface, you can push a published application to your users client desktops. published content A document, media clip, graphic, or other type of file or URL that you publish for access by users. Published content is executed by local applications on client devices.
Go to Document Center
Appendix D Glossary
427
relay listening port The TCP port on a computer running MetaFrame Presentation Server that the Citrix SSL Relay monitors for data from a Web server. seamless window One of the settings you can specify for the window size property of a published application. If a published application runs in a seamless window, the user can take advantage of all the client platforms window management features, such as resizing, minimizing, and so forth. Secure Sockets Layer (SSL)/Transport Layer Security (TLS) A standards-based architecture for encryption, authentication, and message integrity. It is used to secure the communications between two computers across a public network, authenticate the two computers to each other based on a separate trusted authority, and ensure that the communications are not tampered with. SSL/ TLS supports a wide range of ciphersuites. server A server on which MetaFrame Presentation Server software is running. You can publish applications, content, and desktops for remote access by clients on these servers.
server farm A group of computers running MetaFrame Presentation Server and managed as a single entity, with some form of physical connection between servers and a database used for the farms data store. session ID A unique identifier for a specific client session on a specific computer running MetaFrame Presentation Server. Shadow Taskbar The taskbar on a server desktop that you can use to shadow multiple users and to quickly switch between shadowed sessions. shadowing A feature that enables an authorized user to remotely join or take control of another users client session for diagnosis, training, or technical support. See also user-to-user shadowing. SpeedScreen Browser Acceleration The feature that provides substantial performance enhancements for users running HTML-capable applications, such as Internet Explorer, published on computers running MetaFrame Presentation Server. SpeedScreen Browser Acceleration requires less bandwidth and allows users running ported applications to interact with the browser while graphically-rich pages or large images are being downloaded. SpeedScreen Latency Reduction A combination of technologies implemented in ICA that decreases bandwidth consumption and total packets transmitted, resulting in reduced latency and consistent performance regardless of network connection. universal printing When you use universal printing you do not need to install and duplicate a potentially large set of native printer drivers in your server farm. The universal printer drivers can replace multiple native printer drivers that would otherwise be needed in diverse printing environments. MetaFrame Presentation Server Clients can work with universal drivers depending on the client devices version and platform.
428
Go to Document Center
user-to-user shadowing The feature that allows users to shadow other users without requiring administrator rights. Multiple users from different locations can view presentations and training sessions, allowing one-to-many, many-to-one, and many-to-many online collaboration. See also shadowing. Web-based client installation A Web-based method for deploying client software to users. You construct a download Web site that users access to download the MetaFrame Presentation Server Client for their client devices. Windows-Based Terminal (WBT) A fixed-function thin-client device that can run applications only by connecting to a server. WBTs cannot run applications locally. zone A logical grouping of computers running MetaFrame Presentation Server, typically related to the underlying network subnets. All servers in a zone communicate with the server designated as the data collector for the zone. zone data collector A computer that stores dynamic data for one zone in a farm. Examples of dynamic data include current server load, the number of current user sessions, and the applications currently running in user sessions on a specified server.
Go to Document Center
429
Index
A
Access Suite Console 146, 149, 152 choosing when to use 147 installing 136 snap-ins 151 starting 156 user interface 150 users and accounts 149 Acrcfg command 335 Acrobat Reader requirements 14 Active Directory Services 75, 119, 219, 228 Address List for client browsing 93 administration tools see management tools administrator accounts see MetaFrame administrators alerts troubleshooting 154 Altaddr command 342 anonymous applications and users 242 App command 344 applications configuring access to 155 installing into an isolation environment 257 isolating through association 256 see publishing applications and content uninstalling from isolation environment 259 viewing in multiple farms 152 Apputil command 347 Async Test dialog box 196 asynchronous connection options 195197 asynchronous ICA connections 72, 190 audio mapping 217 Auditlog command 351 authentication, user 77, 7980, 85, 87, 110, 127, 226, 230, 238, 286, 289 Citrix SSL Relay 172, 175, 179 changing the port 179 Citrix SSL Relay Configuration 146 Citrix XML Service 93, 134, 361 client device mapping 214 client IP address 249 client printers 312 client software utility for installing 146 Client Update Database 232 managing 147 cloning servers 142 Cltprint command 360 COM port mapping 216 commands 333387 company knowledge database 154 Components CD 223, 227 configuring anonymous user accounts 243 Citrix SSL Relay 175 client device mapping 213 client reconnection settings 287 Connection Control settings 277 direct cable connections 195 distributed databases 57 ICA audio settings 203 ICA browsing 90 ICA Client connections 187 ICA encryption 201 ICA network connections 136 MetaFrame administrators 86, 159 network firewalls 96 ODBC drivers 127 Oracle servers 62 ports 100 printer autocreation in NDS 84 servers and server farms ??208 shadowing 133 user access to applications 241 Connection Control feature 275 connections controlling 275 logging control events 279 tool for configuring 146
C
Change Client command 353 Chfarm command 357 Citrix Connection Configuration 146, 188, 190193, 195 197
430
Index
Go to Document Center
deployment scenarios large farm, central location 31 large farm, multiple data centers 35 large farm, regional sites 36 small farm, central location 30 small farm, distributed sites 33 small farm, remote sites 34 Diagnostic Faciilty snap-in 151 direct cable connections 195 discovery running and configuring 156 distributed databases using with IBM DB2 65 using with Oracle 62 using with SQL Server 57 DLL optimization 301 DNS address resolution 95 DNS and server names 71 documents and files, publishing 263 DOS-based printers 312 drive mapping 101, 214 Driveremap command 362 Drivers tab 318 Dscheck command 366 Dsmaint command 368
content publishing 236237, 263 publishing to be opened on client 264 publishing to be opened on server 263 see also publishing applications and content content redirection 236237, 245 configuring 260 from client to server 245, 260 from server to client 261 counters ICA session 417 MetaFrame Presentation Server 414 STA 420 counters, performance 413 CPU 300 CPU priority for applications 267 Ctxxmlss command 361 customizing displays 152 customizing displays in Access Suite Console 152
D
Dashboard snap-in 151 data source connection, creating for SQL Server 56 data store choosing a database 40 configuring during Setup 125 configuring ODBC drivers 127 connecting to 44 creating 110 database requirements 47 Dsmaint command 368 local host cache 67 migrating to IBM DB2 66 migrating to MSDE 52 migrating to Oracle 61 overview 39 suggested hardware configurations 42 system sizing 42 using a RAID environment 45 using IBM DB2 64 using Microsoft Access 49 using Microsoft MSDE 50 using Oracle 58 using SQL Server 53
E
Edit Connection dialog box 193, 195 email, optimizing performance 209 encryption, configuring 201 error message, STA 183 explicit users 243 extended characters in server names 71 external IP addresses 342
F
failover on Oracle 62 on SQL Server 56 farm data store see data store file type association 244 firewalls see network firewalls Flash animations, optimizing performance 208
G
global groups 78
Go to Document Center
graphics requirements 72
Index
431
H
hardware requirements 71 hotfix information managing 156 Hotfix Management snap-in 152, 156 HTML files 249
I
IBM DB2 migrating to 66 requirements 64 using DB2 for the data store 126 with distributed databases 65 ICA browsing 88, 9091, 93, 9599 ICA Client Creator 146 ICA Client Distribution wizard 139, 223, 228 ICA Client Object 226 ICA Client Update Configuration 147 ICA Clients client printers 312 Components CD 223, 227 deploying 219 deploying with the Web Interface 231 deployment methods 219220, 227 deployment scope 222 logging activity 351 logons to servers, controlling 271, 275 NDS logons 80 printer mapping 216 Program Neighborhood Agent 221 server location methods 91 shadowing 147 updating 232 ICA connections 187188 adding 189 asynchronous 72, 190, 195 audio mapping 217 client device mapping 214 COM port mapping 216 drive mapping 214 Edit Connection dialog box 193 encryption 201 modem callback options 193 network connections 136 null modem cables 193 printer mapping 216 restricting connections 200
ICA encryption 172 ICA files 248 ICA sessions 89, 187, 233, 280 browsing configuration 90 controlling logons 271 disconnecting sessions 282 encrypting 201 monitoring 280, 308 performance monitoring 308 published application data 280 resetting 283 sending messages to users 282 Session ID 281 session reliability 284 shadowing 147, 201, 304 states of 281 terminating processes 284 Icaport command 372 IMA 100, 357 changing the IMA port 373 IMA service 85, 343 IMA data store see data store image download, optimizing performance 208 imaging servers 142 Imaport command 373 Independent Management Architecture (IMA) see IMA installation Autorun 117 common Windows Installer commands 120 configuring ODBC drivers 127 configuring the data store 125 creating a log file 117 creating administrative installations 396 creating an answer file for unattended installation 141 creating Windows Installer transforms 141 imaging servers 142 sample setup transforms 390 setup properties explained 389 shadowing restrictions 133 unattended installation 140 uninstalling MetaFrame Presentation Server 143 using Microsoft Access for the data store 125 using MSDE for the data store 125 using SQL, Oracle, or IBM DB2 for the data store 126 Web Interface 138 installing MetaFrame Presentation Server 107 interoperability mode 115
432
Index
Go to Document Center
146, 149 choosing when to use 147 customizing displays 152 snap-ins 151 starting 156 user interface 150 users and accounts 149 management consoles choosing which one to use 147 management tools 145 memory allocation 70 messages, sending to users 282 MetaFrame administrators 86 creating customized administrators 160 delegating tasks to 159, 162 MetaFrame Conferencing Manager 115 MetaFrame Conferencing Manager compatibility 106 MetaFrame Presentation Server Administration 150 MetaFrame XP 112 MetaFrame 1.8 112 Microsoft Access 49 Microsoft Management Console 146 Microsoft SQL Server 53 MigratetoMSDE command 375 migrating a server farm 112 migrating to MetaFrame Presentation Server 142 see also upgrading to MetaFrame Presentation Server MMC 146 modems 72 callback options 193 ICA connections with 193 monitoring ICA sessions 280, 308 mouse and keyboard, optimizing performance 208 moving a server to a different farm 357 Msiexec command 120 multimedia, optimizing performance 208 My Knowledge snap-in 151, 154 My Views 152
IP addresses of client made available to sessions 249 ranges for server sessions 250 IP addresses and loopback monitoring at server level 252 IP addressing 95, 99, 342 IP connectivity 9192, 96 IP ports 94, 100 isolation environments associating with applications 256 configuring 255 creating 255 deleting 258 enabling and disabling 254 installing applications into 257 uninstalling applications installed into 259
J
Jet database see Microsoft Access
K
Kerberos logon 181 kernel memory space 70 keyboard and mouse, optimizing performance 208
L
latency tool for reducing 147 License Management Console 146 Licensing snap-in 151 Load Manager 233 local host cache 67 local printers 312 logons controlling 271 controlling look and feel 272 reporting 351 log, STA 183 loopback addresses 251
N
naming servers and server farms 71 NDS see Novell Directory Service NetWare drive mapping assignments 215 network firewalls 44, 8889, 92, 9698, 100 latency reduction 208 printers 312, 321 protocols 9192, 96
M
Management Console for MetaFrame Presentation Server 146, 157 choosing when to use 147 Management Console for the MetaFrame Access Suite
Go to Document Center
New Connection dialog box 193 NFuse Classic see Web Interface Novell Directory Service BUILTIN group 85 printer autocreation 84 supporting 80 ZENworks Dynamic Local Users 85 null modem cables, ICA connections with 193
Index
433
O
ODBC drivers, configuring 127 Oracle authentication and security 62 client configuration 62 distributed databases 62 failover 62 migrating to 61 requirements 58 server configuration 62 using Oracle for the data store 126 Oracle Parallel Server 63
P
pass-through client 238 installing 123 PDA synchronization 299 performance counters 309, 413 performance monitoring 308, 413 permissions Access Suite Console 149 policies configuring user-to-user shadowing with 306 creating 291 prioritizing 295 searching for 298 ports used by MetaFrame Presentation Server 100 Presentation Server Console 146, 157 choosing when to use 147 controlling access to 160
printing bandwidth consumption 317 client 312313 client printer mapping 216 Drivers tab 318 importing print servers 317 installed printers 319 local 312 managing printers 311 network printers 312, 314 printer autocreation in NDS 84 printer drivers 318, 321 Printers tab 319 replicating printer drivers 322 setting up network printers 321 shared printers 311 user permissions 78 processes virtual IP and virtual loopback availability lists 252 processes, terminating 284 Program Neighborhood Agent 221 protocols, networking 9192, 96 proxy servers 89 publishing applications and content 237260 associating with file types 244 CPU prioritization 267 data on running applications 280 limiting application instances 276 passing parameters to published applications 247 pass-through client 238 procedures 243 publishing content 245, 263 redirecting launching 260 standard applications 233 user authentication 238 user permissions 78 Win16 applications 73
Q
Query command 376
R
remote control see shadowing ICA sessions Remote Desktop Connection software 223 client system requirements 224 supported features 224 user authentication 226 Remote Desktop Users group 71
434
Index
Go to Document Center
servers viewing in multiple farms 152 Session ID 281 sessions 187 managing in multiple farms 153 see ICA sessions setup see installation Shadow Taskbar 147, 305 shadowing 133, 147, 201, 304 user-to-user shadowing 306 shared printers 311 sizing systems 72 smart cards software requirements 104 using SSCONFIG 104 using with MetaFrame 103 SpeedScreen Browser Acceleration 208 Flash Acceleration 208 Image Acceleration 208 Latency Reduction Manager 208 Multimedia Acceleration 208 SpeedScreen Latency Reduction Manager 147 SQL Server creating data source connection during setup 56 distributed databases 57 failover 56 requirements 53 server configuration 55 using SQL for the data store 126 SSCONFIG 104 SSL see Citrix SSL Relay SSL Relay tool for configuring 146 system requirements see requirements
removing servers from server farms 143 Report Center snap-in 151, 155 reports creating 155 requirements data store database 47 hardware 71 IBM DB2 64 Microsoft Access 49 Oracle 58 SQL Server 53 system sizing 72 system software 69 Reset command 283 resetting ICA sessions 283
S
scalability 70 Secure Gateway for MetaFrame 172 Secure Ticket Authority fatal error messages 183 warning messages 184 Secure Ticket Authority (STA) 182 Secure Ticket Authority:informational messages 185 securing deployments with Citrix SSL Relay 172 with ICA Encryption 172 with the Secure Gateway 172 with Virtual Private Networks 173 security ICA encryption 172 Kerberos logon 181 Secure Sockets Layer (SSL) 175 Transport Layer Security (TLS) 175 sending messages to users 282 serial port mapping 216 server farms creating 108, 124 deployment scenarios 30 designing 18 joining 124 monitoring performance 154 naming 71 overview 16 single or multiple 16 upgrading 108 server location 9099 server names, extended characters in 71
T
TCP ports 100 Citrix XML Service (80) 134 SSL Relay (443) 175 TCP/IP network protocol 92 TCP/IP+HTTP Network Protocol 91 terminating processes 284 TLS 175 tools and utilities 145 transforms 390
Go to Document Center
Transport Layer Security (TLS) 175 TWAIN redirection 300 Twconfig command 386
Index
435
Z
zones configuring failover 26 data collectors 16 preferred 26 sizing 23 viewing in multiple farms 152 Specifying Locations for Publishing Content 266
U
UDP broadcasts 92 unattended installation 140 creating an answer file 141 creating Windows Installer transforms 141 uninstalling MetaFrame Presentation Server 143 universal groups 78 updating ICA Clients 232 upgrading a server farm 112 user authentication 7677, 7980, 85, 87, 110, 127, 133, 230, 238, 286, 289 user permissions 78 user policies creating 291 prioritizing 295 user-to-user shadowing 306 utilities 333387
V
virtual IP addresses 250 virtual loopback 251 virtual memory 301 virtual printers 311 Virtual Private Networks 173
W
Web browsers, optimizing performance 208 Web Interface 87, 9395, 98, 138, 221, 230231 Citrix XML Service 134 Web Interface snap-in 152, 155 WinCE 312 Windows Installer common commands 120 creating a log file 117 creating transforms 141, 389 Msiexec command 120, 142 Windows Installer transforms 389 sample setup transforms 390 Win16 applications 73
X
XML Service see Citrix XML Service
436
Index
Go to Document Center