Date post: | 08-Apr-2016 |
Category: |
Documents |
Upload: | ramesh2440 |
View: | 72 times |
Download: | 7 times |
AMR Asia Co., Ltd.
Citrix XenApp 6.5 for Windows Server 2008 R2
Training Document
AMR Asia Co., Ltd.
Content Design and Plan……...………………………………………………………………………… .1
- Virtualization infrastructure………………………………………………………..1
Determining the number of XenApp Servers to Deploy……………..……………………… 4
Installing and Configuring Citrix XenApp 6.5…………………………………………………...5
- Part1 Installing Windows Component...…………………………….……………5
- Part2 Installing Microsoft .Net Framework 3.5 SP1…….……………………...18
- Part3 Installing Data Store………………………………………………………..21
- Part4 Installing and configuring Citrix XenApp and License Server……… 38
- Part5 Configuring Web Interface………………………………………………...61
- Part6 Configuring Remote Desktop Service…………………………………..,,97
- Part7 Configuring Citrix Policy……………………………………………………99
1
AMR Asia Co., Ltd.
Design and Plan XenApp is the central software component of the Citrix Windows Application
Delivery Infrastructure. The goals of XenApp and the Citrix Windows Application Delivery Infrastructure are to deliver on-demand applications to both physical and virtual desktops,and to determine and provide the best method of delivery. XenApp offers three methods for delivering applications to user devices, servers, and virtual desktops.
Virtualizat ion Infrast ructure
The virtualization infrastructure, which is the center of a XenApp deployment, concerns the following concepts:
Applicat ion enumerat ion Application enumeration is when Citrix client software lists virtualized
applications available on the XenApp servers. The client software transmits data to locate servers on the network and retrieves information about the published applications. For example, during enumeration, Citrix Receiver communicates through the Citrix XML Service with the XenApp server to determine applications available for that user.
Applicat ion publishing To deliver an application to your users, whether virtualized on the desktop or
the server, use the AppCenter to publish the application. Cit rix Licensing A Citrix License Server is required for all XenApp deployments. Install the license
server on either a shared or stand-alone server, depending on your farm’s size. After you install the license server, download the appropriate license files and add these to the license server.
2
AMR Asia Co., Ltd.
Data Store The data store is the database where servers store farm static information, such
as configuration information about published applications, users, printers, and servers. Each server farm has a single data store.
Data Collector A data collector is a server that hosts an in-memory database that maintains
dynamic information about the servers in the zone, such as server loads, session status, published applications, users connected, and license usage. Data collectors receive incremental data updates and queries from servers within the zone. Data collectors relay information to all other data collectors in the farm.
By default, the data collector is configured on the first server when you create the farm, and all other servers configured with the controller server mode have equal rights to become the data collector if the data collector fails. When the zone’s data collector fails, a data collector election occurs and another server takes over the data collector functionality. Farms determine the data collector based on the election preferences set for a server.
Applications are typically not published on the data collector.
Zones A zone is a grouping of XenApp servers that communicate with a common data
collector. In large farms with multiple zones, each zone has a server designated as its data collector. Data collectors in farms with more than one zone function as communication Gateways with the other zone data collectors. The data collector maintains all load and session information for the servers in its zone. All farms have at least one zone, even small ones. The fewest number of zones should be implemented, with one being optimal. Multiple zones are necessary only in large farms that span WANs.
Streaming Prof iles You can deliver applications to users by either virtualizing them on the desktop
(streaming) or by virtualizing them on the server (hosting). If you are virtualizing applications on the desktop, either streaming to the client or server, create a streaming profile server in your environment. To virtualize applications on the desktop, you create profiles of the application and then store the profile on a file or Web server. The profile consists of the manifest file (.profile), which is an XML file that defines the profile, as well as the target files, a hash key file, the icons repository (Icondata.bin), and a scripts folder for pre-launch and post-exit scripts.
Web Interface The Web Interface is a required component in any environment where users
access their applications using either Receiver or a Web browser. Install the Web Interface on a stand-alone computer; however, where resources are limited, the Web Interface is sometimes collocated with other functions.
3
AMR Asia Co., Ltd.
XenApp Web and XenApp Services Sites XenApp Web and XenApp Services sites (formerly known as Access Platform and
Program Neighborhood Agent Services sites, respectively) provide an interface to the server farm from the client device. When a user authenticates to a XenApp Web or XenApp Services site, either directly or through Receiver or the Access Gateway, the site:
• Forwards the user’s credentials to the Citrix XML Service • Receives the set of applications available to that user by means of the XML
Service • Displays the available applications to the user either through a Web page
or by placing shortcuts directly on the user’s computer
Cit rix XML Service and the Cit rix XML Broker The Citrix XML Broker functions as an intermediary between the other servers in
the farm and the Web Interface. When a user authenticates to the Web Interface, the XML Broker:
• Receives the user’s credentials from the Web Interface and queries the server farm for a list of published applications that the user has permission to access. The XML Broker retrieves this application set from the Independent Management Architecture (IMA) system and returns it to the Web Interface.
• Upon receiving the user’s request to launch an application, the broker locates the servers in the farm that host this application and identifies which of these is the optimal server to service this connection based on several factors. The XML Broker returns the address of this server to the Web Interface.
The XML Broker is a function of the Citrix XML Service. By default, the XML Service is installed on every server during XenApp installation. However, only the XML Service on the server specified in the Web Interface functions as the broker. (The XML Service on other farm servers is still running but is not used for servicing end-user connections.) In a small farm, the XML Broker is typically designated on a server dedicated to several infrastructure functions. In a large farm, the XML Broker might be configured on one or more dedicated servers.
The XML Broker is sometimes referred to as a Citrix XML Server or the Citrix XML Service. For clarity, the term XML Broker is used to refer to when the XML Service functions as the intermediary between the Web Interface and the IMA service, regardless of whether it is hosted on a dedicated server or collocated with other functions.
4
AMR Asia Co., Ltd.
Determining the Number of XenApp Servers to Deploy
After you identify the applications you are delivering to your users and their methods of delivery, you can estimate the number of XenApp servers required for your deployment. For applications virtualized on the server, the number of servers required depends on the following factors:
• The processing requirements of the applications and the processing capacity and available RAM of your servers. To determine the processing requirements for an application, see its product documentation.
• The native operating system of the applications. Running 32-bit applications on 64-bit operating systems requires more RAM than running a 32-bit application on a 32-bit operating system.
• Whether you are streaming applications to the server or installing the applications on the server. Depending on the network topography and the application being delivered, a deployment where applications are installed on the servers can service more users than a deployment with an equal number of servers where the applications are streamed to the servers.
• The size of the files with which your users work and how they use them. Using this data you can roughly estimate the number of servers to deploy in your test farm. After setting up your test farm, use Load Testing Services on the XenApp servers to simulate how your users run applications on your servers. With Load Testing Services, you can track a variety of Perfmon counters, such as Total Processor Time, Thread Queue Length, Memory Consumption, and Pages Per Second, to determine the resource limits of the servers in your environment. This will help you determine the number of servers to deploy in your production environment.
5
AMR Asia Co., Ltd.
Installing and Configuring Citrix XenApp 6.5
1. Installing Windows Component 1.1 คลกท Server Role Manager
1.2 จากนนคลกขวาท Role แลวเลอก Add Roles
6
AMR Asia Co., Ltd.
1.3 คลก Next
1.4 Component แรกทตองทาการตดตงคอ Application Server ใหคลกในชอง check box
7
AMR Asia Co., Ltd.
1.5 จากนนจะมหนาตางดงรปปรากฏขนมา ใหคลกท Add Required Features
1.6 หลงจากขอ 1.5 ใหสงเกตดวาจะมเครองหมายเชคถกทหวขอ Application Server จากนนใหคลกท Remote Desktop Services กบ Web Server (IIS) แลวคลก Next
8
AMR Asia Co., Ltd.
1.7 คลก Next
1.8 ตอไปในหนาตาง Select Role Services ใหเลอก check box หวขอ Remote Desktop Session Host กบ Remote Desktop License (สาหรบ Remote Desktop License ใหเลอกในกรณทตองการตดตง Terminal License ทเครองนดวย) จากนนคลก Next
9
AMR Asia Co., Ltd.
1.9 คลก Next
1.10 ในหนาตางนใหเลอกหวขอ Do not require Network Level Authentication จากนนคลก Next
10
AMR Asia Co., Ltd.
1.11 หนาตางนใหเลอก Type ของ Terminal Licensing เปน Per User จากนนคลก Next
1.12 คลก Next โดยไมตองปรบคาใดๆ
11
AMR Asia Co., Ltd.
1.13 คลก Next โดยไมตองปรบคาใดๆ
1.14 คลก Next โดยไมตองปรบคาใดๆ
12
AMR Asia Co., Ltd.
1.15 คลก Next
1.16 ในหนาตาง Select Role Services ใหเลอกหวขอ Web Server (IIS) Support
13
AMR Asia Co., Ltd.
1.17 จากนนจะมหนาตางดงรปปรากฏขนมา ใหคลกท Add Required Features
1.18 จากนนทหวขอ Web Server(IIS) Support และ HTTP Activation จะมเครองหมายเชคถกไว ใหคลก Next
14
AMR Asia Co., Ltd.
1.19 คลก Next
1.20 ในหนาตาง Select Role Services ใหเลอกหวขอ IIS6 Management Compatibility จากนนทกหวขอภายใตหวขอดงกลาวจะถกเลอกอตโนมต ใหคลก Next
15
AMR Asia Co., Ltd.
1.21 หลงจากเลอก Component เสรจสน ใหคลก Install
16
AMR Asia Co., Ltd.
1.22 จากนน Windows จะทาการตดตง และปรบคาทกๆ Component ทเราเลอกไวกอนหนา
1.23 เมอตดตง Windows Component ทจาเปนเสรจสน Windows จะแจงใหทราบวาอยระหวางรอการ Restart ดงรป ใหคลก Close
17
AMR Asia Co., Ltd.
1.24 จากนน Windows จะถามให Restart Windows อกครง ใหคลก Yes เพอทาการ Restart และกลบเขาสการตดตงสวนตอไป
18
AMR Asia Co., Ltd.
2. Installing Microsoft .Net Framwork 3.5 SP1 โดยปกต หลงจากการตดตง Windows Component เสรจสน Microsoft .Net Framwork 3.5 SP1 จะถกตดตงไปดวยโดยอตโนมต ใหตรวจสอบโดยขนตอนดงน
2.1 ไปท Server Role Manager เหมอนการตดตง Windows Component จากนนใหคลกขวาท Features แลวคลก Add Features
2.2 จากนนใหสงเกตในหนาตาง Select Features ทหวขอ .Net Framwork 3.5.1 Fatures จะตองตามหลงตามดวยคาวา (Installed) หากไมได install ใหเลอก check box แลวคลก Next
19
AMR Asia Co., Ltd.
2.3 จากนนคลก Install
2.4 จากนน Windows จะทาการตดตง Microsoft .Net Framwork 3.5 SP1 ให
20
AMR Asia Co., Ltd.
2.5 คลก Close เพอจบการตดตง
21
AMR Asia Co., Ltd.
3. Installing Data Store
Citrix XenApp ทกเวอรชน จาเปนตองม Data Store เพอใชในการเกบขอมลดงน
Farm configuration information Published application configuration Server Configuration Citrix admin account Printer configuration
เมอใดกตามท Data Store สญหาย หรอ Citrix XenApp Server ไมสามารถตดตอ Data Store ได admin จะไมสามารถเปด console เพอเขามา manage Farm ได ดงนน ถอเปน
เรองสาคญท admin จะตองทาการ backup Data Store อยางสมาเสมอ เนองจากเราไมสามารถ manual สราง Data Store ขนมาใหม จาก Farm ทมอยได
สาหรบเอกสารฉบบนเราจะใช SQL Express 2008 ทถกบรรจมากบแผนตดตง Citrix XenApp 6.5 เปน Data Store ซง SQL Express จะเหมาะกบการใชงานในระบบทไมใหญมาก เนองจากไมสามารถทาการ Replicate Database ได
สาหรบขนตอนการตดตงมดงน (ใหตดตงโดยใช local Admin หรอ Domain Admin)
3.1 ทาการใสแผนตดตง Citrix XenApp 6.5 ไปท Server จากนนคลกขวาCD Drive แลวเลอก Open
22
AMR Asia Co., Ltd.
3.2 จากนนใหเขาไปทโฟลเดอร Support\SqlExpress_2008 แลวดบเบลคลกทไฟล setup
3.3 ใหคลกท Tab Installation จากนนคลกท New SQL Server stand-alone installation or add features to an existing installation
23
AMR Asia Co., Ltd.
3.4 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab ดานบน (หมายเลข 1) จะตองปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก OK
3.5 คลก Next
24
AMR Asia Co., Ltd.
3.6 เลอก check box ในหวขอ I accept the license terms. จากนนคลก Next
3.7 คลก Install
25
AMR Asia Co., Ltd.
3.8 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab กลาง (หมายเลข 1) ควรจะปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก Next
3.9 ในหนาตางนใหคลก Next โดยไมตองปรบคาใดๆ
26
AMR Asia Co., Ltd.
3.10 ในหนาตางนใหคลก Next โดยไมตองปรบคาใดๆ
3.11 คลก Next
27
AMR Asia Co., Ltd.
3.12 ขนตอนน ในหวขอ Account Name ของ SQL Server Database Engine ใหเลอกเมน drop down แลวคลก <<Brows…>>
3.13 จากนนจะมหนาตางดงรปขนมา ใหเลอก Location ไปท XenApp Server (Local)
28
AMR Asia Co., Ltd.
3.14 จากนนใหพมพคาวา LOCAL SERVICE ทชอง Enter the object name to select จากนนคลก OK แลวคลก Next จากหนาตางในขอ 3.12
3.15 หนาตางนใหเลอกหวขอ Mixed Mode จากนนตง Password สาหรบ SA account แลวคลก Add Current User จากนนคลก Next
29
AMR Asia Co., Ltd.
3.16 คลก Next โดยไมตองปรบคาใดๆ
3.17 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab ดานบน (หมายเลข 1) จะตองปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก Next
30
AMR Asia Co., Ltd.
3.18 คลก Install เพอทาการตดตง SQL Express 2008
3.19 คลก Next
31
AMR Asia Co., Ltd.
3.20 หลงการตดตงเสรจสน ท Tab Information จะตองแสดงขอความ Your SQL Server 2008 installation completed successfully จากนนคลก Close
3.21 จากนนให configure เพมเตม โดยไปท Start> All Programs> Microsoft SQL Server 2008> SQL Server Configuration Manager
32
AMR Asia Co., Ltd.
3.22 จากนนใหไปท Tab Protocols for SQLEXPRESS แลว Enable ทง 3 Protocol Name ไดแก Shared Memory, Named Pipes, TCP/IP
3.23 ทกครงหลงการตดตง SQL Express 2008 ใหตดตง SQL Management Studio ดวย เพอเขาไป Manage Database, User account, etc
33
AMR Asia Co., Ltd.
3.24 หลงจากดบเบลคลก File ตดตง SQL Management Studio จะมหนาตางปรากฏดงรป ใหคลก Installation จากนนคลก New Installation or add features to an existing installation
3.25 เลอก check box ในหวขอ I accept the license terms. จากนนคลก Next
34
AMR Asia Co., Ltd.
3.26 คลก Next โดยไมตองปรบคาใดๆ
3.27 Asdf
35
AMR Asia Co., Ltd.
3.28 เมอตดตงเสรจระบบจะเตอนให Restart Server ใหคลก OK เพอทาการ Restart Server
3.29 หลงการ Restart ใหไปท Start> All Programs> Microsoft SQL Server 2008 R2> SQL Server Management Studio
36
AMR Asia Co., Ltd.
3.30 จากนนจะมหนาตางปรากฏดงรป ใหเลอกหวขอ Authentication: เปน SQL Server Authentication, หวขอ Login: ใหปอนคา sa สวนหวขอ Password: ใหปอนคา password ทากาหนดไปจากขนตอนขอ 3.15 จากนนคลก Connect
3.31 สามารถทาการ manual สราง Database ได โดยการคลกขวาท Tab Database แลวคลก New Database ( ใน XenApp 6.5 สามารถสงให SQL สราง Database ในระหวางการตดตงได ไมจาเปนตอง manual สราง แตสาหรบเวอรชนกอนหนา ไมสามารถทาได)
37
AMR Asia Co., Ltd.
3.32 ตงชอ Database ทตองการในหวขอ Database name: (ตวอยาง = XenAppDB) จากนนคลก OK
3.33 จากนนจะได Database ดงรป
38
AMR Asia Co., Ltd.
4. Installing and configuring Citrix XenApp and License Server
4.1 ทาการใสแผนตดตง Citrix XenApp 6.5 ไปท Server จากนนดบเบลคลกท CD Drive
4.2 จะมหนาตางดงรปปรากฏขนมา ใหเลอก Install XenApp Server
39
AMR Asia Co., Ltd.
4.3 คลกท Add Server roles
4.4 จากนนใหเลอก Edition type ของ XenApp ตามทเราสงซอ
40
AMR Asia Co., Ltd.
4.5 จากนนใหเลอก check box หวขอ I accept the terms of this license agreement จากนนคลก Next
4.6 หนาตางถดมาใหเลอก Roles ของ XenApp Server ดงรป (สาหรบ License Server และ Web Interface หากมอยแลวใหเลอกเฉพาะหวขอ XenApp) แลวคลก Next
41
AMR Asia Co., Ltd.
4.7 คลก Next โดยไมตองปรบคาใดๆ
4.8 คลก Next
42
AMR Asia Co., Ltd.
4.9 คลก Install
4.10 หลงจากตดตงและตรวจสอบ Prerequisite ระบบจะเตอนให restart ใหคลก Finish
43
AMR Asia Co., Ltd.
4.11 จากนนจะปรากฏหนาตาง Citrix XenApp Server Role Manager อกครง ใหคลก Reboot
4.12 หลงการ reboot จะปรากฏหนาตาง Citrix XenApp Server Role Manager ขนมาอกครงโดยอตโนมต ใหคลก Resume Install
44
AMR Asia Co., Ltd.
4.13 คลก Install
4.14 หลงตดตง XenApp server roles เสรจ ระบบจะแสดงรายละเอยดการตดตง ใหคลก Finish
45
AMR Asia Co., Ltd.
4.15 หนาตางถดมา ใหคลก Specify Licensing เพอเขาไป configure License Server ทเราตดตงไป
4.16 จากนนจะปรากฏหนาตางดงรปขนมา ใหปอนคา Password ทตองการ (password นจะตองใชในการเขามา manage License Server) จากนนคลก OK
46
AMR Asia Co., Ltd.
4.17 จากนนใหไปท Start> All Programs> Citrix> Management Consoles> License Administration Console เพอเขาไป import license
4.18 จะมหนาตางดงรปปรากฏขนมา ใหคลกท Administrator
47
AMR Asia Co., Ltd.
4.19 จากนนใหปอนคา Password ทเราตงไวขณะตดตงจากขอ 4.16 แลวคลก Submit
4.20 จากนนคลกท Vendor Deamon Configuration(1) แลวคลก Import License(2)
48
AMR Asia Co., Ltd.
4.21 คลก Browse
4.22 จากนน browse หาไฟล license ท download มาจาก www.citrix.com ดวยaccount ทไดรบจาก mail ทใชในการสงซอ license
49
AMR Asia Co., Ltd.
4.23 คลก Import License
4.24 หลงการ Import เสรจสนจะมขอความดงรป ใหคลก OK
50
AMR Asia Co., Ltd.
4.25 จากนนคลกท Tab ตรงกลางดงรป (Name=Citrix)
4.26 คลก Reread License Files เพอให License Server อานคาไฟล license ท Import เขาไปลาสด
51
AMR Asia Co., Ltd.
4.27 เมอ License Server ทาการ Reread license ถกตอง จะมขอความปรากฏดงรป The license file was successfully reread
4.28 จากนนใหไปตรวจสอบอกครงท Tab Dashboard จะตองปรากฏรายการของ License ทสงซอ
52
AMR Asia Co., Ltd.
4.29 หลงการ Import ไฟล license ไปท License Server เสรจสน ใหไปท Citrix XenApp Server Role Manager อกครง จากนนคลก Specify Licensing
4.30 จากนนทหวขอ License server name:(1) ใหปอนคา Computer name ทเราตดตง License Server ไป จากนนใหคลก Test Connection(2) เพอตรวจสอบ เมอผานใหคลก Next
53
AMR Asia Co., Ltd.
4.31 จากขอ 4.30 หากการ Test Connection ถกตองจะตองปรากฏหนาตางดงรป
4.32 ทาการเลอก Model ของ License(1) หากยงไมทราบใหเลอก Select the model at a later time(2) จากนนคลก Apply(3)
54
AMR Asia Co., Ltd.
4.33 หลงการระบ license ใหกบ XenApp แลว ทหนาตาง Citrix XenApp
Server Role Manager จะมเครองหมาย หนาหวขอ Licensing specified(1) จากนนใหคลก Configure(2) เพอทาการ Create Farm ใหกบ XenApp
4.34 คลก Create a new server farm เพอสราง XenApp Farm ขนมาใหม (หากตองการนา XenApp ตวใหมมา join Farm ทมอยแลวใหเลอก Add this server to an existing server farm)
55
AMR Asia Co., Ltd.
4.35 ทหวขอ New XenApp Server farm name: (1)ใหตงชอ Farm ทตองการ (ตวอยางเปน XenAppFarm) จากนนทหวขอ First Citrix administrator account: (2)จะเปน account ทเรา logon อยปจจบน (สามารถเพมไดในหลงจากน) จากนนใหคลก Next (3)
4.36 ในกรณทยงไมไดทาการสราง Database ไวกอนหนา ใหเลอก New database จากนนคลก Next (หากม database สรางเตรยมไวแลว หรอในกรณททาการ join existing farm ใหเลอก Existing Microsoft SQL Server database)
56
AMR Asia Co., Ltd.
4.37 ทหวขอ Database server name: (1) ให drop down ไปท Server Name\SQLEXPRESS (ตวอยาง Server Name=CTXXA) จากนนหวขอ Database name: (2) ใหตงชอกอน database = XenAppDB (default) จากนนคลก Next
4.38 จากนนปอนคา user name สาหรบ ตดตอ data base เปน sa สวน password ใหใสตามทเราตงไวในหวขอ 3.15 แลวคลก OK
57
AMR Asia Co., Ltd.
4.39 คลก Test Connection หากการ Test ผาน ใหคลก Next
4.40 จากขอ 40.39 หากการ Test Connection ผาน จะตองปรากฎหนาตางดงรป
58
AMR Asia Co., Ltd.
4.41 คลก Next โดยไมตองปรบคาใดๆ
4.42 คลก Next
59
AMR Asia Co., Ltd.
4.43 คลก Apply
4.44 หลงการ configure เสรจสน จะปรากฏหนาตางดงรป ใหคลก Finish
60
AMR Asia Co., Ltd.
4.45 จากนนใหไปท Start> Run แลวพมพ cmd จากนนใหใชคาสง ctxxmlss /r88 เพอเปลยน port xml จาก 8088 เปน 88 (recommend)
4.46 จากนนคลก Reboot ทหนาตาง Citrix XenApp Server Role Manager
61
AMR Asia Co., Ltd.
5. Configuring Web Interface การเขาใชงาน Citrix XenApp นน User สามารถเขามาใชงานได 2 ชองทาง คอ 1. ผาน Web Browser 2. ผาน Citrix Online Plug-in Agent หรอ Citrix Receiver
ซงทง 2 ชองทาง เราจาเปนทจะตองม Web Interface Component ตดตงอยท Server ใด Server หนง (ขนอยกบการ Design ขอมลเพมเตมทhttp://support.citrix.com/proddocs/topic/technologies/wi-library-wrapper-all-versions.html)
โดยวธการเขาใชงาน Citrix XenApp ผาน Web interface คอ
1. กรณใชงานผาน Web Browser ให user เปด Web browser แลวปอนคา URL เปน ip หรอ computer name ของ Web Interface Server
2. กรณใชงานผาน Citrix Receiver ใหทาการ set คา server ทตองการตดตอเปน ip หรอ computer name ของ Web Interface Server
Note: ตามเอกสารน เราจะทาการตดตง Web Interface ไวทเดยวกบ XenApp Server
5.1 หลงการ Reboot Server เสรจสน ใหกลบมาทหนาตาง Citrix XenApp Server Role Manager จากนนคลกท Configure ในหวขอ Web Interface
62
AMR Asia Co., Ltd.
5.2 หวขอนเปนวธการสราง site ให user เขาใชงานผาน Web browser โดยใหคลกขวาท XenApp Web Sites จากนนใหคลก Create Site
5.3 เลอกหวขอ Set as the default page for the IIS site ( เพอให site ทกาลงสรางทางานเปน site หลก จะทาให user สามารถปอน url เฉพาะ IP ของ Web Interface Server ได) จากนนคลก Next
63
AMR Asia Co., Ltd.
5.4 คลก Next
5.5 คลก Next
64
AMR Asia Co., Ltd.
5.6 คลก Next
5.7 คลก Add เพอทาการ Add Server Farm ของ XenApp
65
AMR Asia Co., Ltd.
5.8 ปอนคา localhost เพอ Add XenApp Server เขาไปท Web Interface ( กรณนคอเราตดตง Web Interface และ XenApp ไวท Server เดยวกน แตถาหาก Web Interface กบ XenApp อยคนละ Server กน ใหปอนคาเปน FQDN ของ XenApp Server และใหใสคา host file บน Web Interface Server ไปหา XenApp Server ใหถกตอง)
5.9 ทหวขอ Server (in failover order): (1) จะม list ของ XenApp Server ทเราปอนคาไปดงรป จากนนใหแกไขหวขอ XML Service port: (2) จากเดม 80 ใหเปลยนเปน 88 จากนนคลก Next(3)
66
AMR Asia Co., Ltd.
5.10 คลก Next โดยไมตองปรบคาใดๆ
5.11 คลก Next โดยไมตองปรบคาใดๆ
67
AMR Asia Co., Ltd.
5.12 คลก Next โดยไมตองปรบคาใดๆ
5.13 คลก Next โดยไมตองปรบคาใดๆ
68
AMR Asia Co., Ltd.
5.14 คลก Finish เพอสนสดการสราง site สาหรบ Web browser
5.15 หากการสราง site ถกตอง เมอเราคลกท XenApp Web Sites จะตองม site ถกสรางมาดงรป
69
AMR Asia Co., Ltd.
5.16 ใหคลกขวาท Site จากนนเลอก Authentication Methods
5.17 คลก Properties
70
AMR Asia Co., Ltd.
5.18 เลอกหวขอ Authentication Type(1) จากนนคลก Settings(2)
5.19 เลอกหวขอ Domain list: เปน Pre-populated
71
AMR Asia Co., Ltd.
5.20 ปอนคา Net Bios ทจะเขาใชงานผาน domain (ตวอยาง Net Bios = CTXTRAINING, domain = CTXTRAINING.com) จากนนกด OK
5.21 ทหวขอ Domain list: (1) จะปรากฏ Net Bios name ทเราปอนคาไป จากนนคลก OK
72
AMR Asia Co., Ltd.
5.22 คลก OK
5.23 คลกขวาท Site แลวเลอก Client Deployment
73
AMR Asia Co., Ltd.
5.24 คลก Properties
5.25 ใหยกเลกหวขอ Perform client detection at logon(1) และเลอกหวขอ Never (2) (เพอไมได Web browser ทาการ detect หา Citrix Receiver ทกครงท logon) จากนนคลก OK
74
AMR Asia Co., Ltd.
5.26 หวขอนเปนวธการสราง site ให user เขาใชงานผาน Citrix Receiver โดยใหคลกขวาท XenApp Service Sites จากนนใหคลก Create Site
5.27 คลก Next
75
AMR Asia Co., Ltd.
5.28 คลก Next
5.29 คลก Next
76
AMR Asia Co., Ltd.
5.30 ปอนคา localhost เพอ Add XenApp Server เขาไปท Web Interface ( กรณนคอเราตดตง Web Interface และ XenApp ไวท Server เดยวกน แตถาหาก Web Interface กบ XenApp อยคนละ Server กน ใหปอนคาเปน FQDN ของ XenApp Server และใหใสคา host file บน Web Interface Server ไปหา XenApp Server ใหถกตอง)
5.31 ทหวขอ Server (in failover order): (1) จะม list ของ XenApp Server ทเราปอนคาไปดงรป จากนนใหแกไขหวขอ XML Service port: (2) จากเดม 80 ใหเปลยนเปน 88 จากนนคลก Next(3)
77
AMR Asia Co., Ltd.
5.32 คลก Next โดยไมตองปรบคาใดๆ
5.33 คลก Finish
78
AMR Asia Co., Ltd.
5.34 หากการสราง site ถกตอง เมอเราคลกท XenApp Services Sites จะตองม site ถกสรางมาดงรป
5.35 สดทายทหนาตาง Citrix XenApp Server Role Manager จะตองมเครองหมาย หวขอ Configured ของ Web Interface
79
AMR Asia Co., Ltd.
5.36 ตอไปเปนการ configure คาตางๆ ใน Farm ของ XenApp ใหไปท Start> Administrative Tools> Citrix> Management Consoles> Citrix AppCenter
5.37 คลก Disable Authenticode signature checking
80
AMR Asia Co., Ltd.
5.38 คลก Next
5.39 หวขอนใหยกเลกหวขออนๆออก เหลอแต XenApp จากนนคลก Next
81
AMR Asia Co., Ltd.
5.40 คลก Add Local Computer จากนนคลก Next
5.41 คลก Next
82
AMR Asia Co., Ltd.
5.42 เลอกหวขอ Close this wizard when discovery is successful จากนนคลก Finish
5.43 อนดบแรกให expand Farm(ตวอยางเปน XenAppFarm) ออกมา จะม list ตามรปปรากฏขนมา จากนนใหคลกขวาท Tab Administrators แลวเลอก Add administrator (เพอทาการ Add Local Admin หรอ User อนๆ ใหมสทธเปน Farm Admin ดวย)
83
AMR Asia Co., Ltd.
5.44 เลอกหวขอ Add local administrator(1) (recommend ในกรณท Server ไมสามารถตดตอกบ domain เรายงสามารถใช local admin เปด Farm ได ) จากนนคลก Next
Note: หากตองการ Add user อนๆ ใหคลก Add ดานบนหวขอ Add local administrator
5.45 เลอกหวขอ Full Administration จากนนคลก Finish
84
AMR Asia Co., Ltd.
5.46 หลงการ Add user เสรจสน ท Tab administrator จะปรากฏรายการ User และสทธของ User ดงรป
5.47 หวขอตอมาเปนการ Publish Application ให User ใชงาน โดยใหคลกขวาท Tab Applications แลวเลอก Publish application (ตวอยางจะเปนการ publish Notepad ให User ใชงาน)
85
AMR Asia Co., Ltd.
5.48 คลก Next
5.49 ทหวขอ Display name: ใหใสชอของ Application ทตองการแสดงให User เหน จากนนคลก Next
86
AMR Asia Co., Ltd.
5.50 คลก Next
5.51 คลก Browse
87
AMR Asia Co., Ltd.
5.52 จากนน browse ไปหาไฟล .exe ของ Application (ตวอยางเปน C:\Windows\System32\notpad.exe)
5.53 จากนนทหวขอ Command line: (1) และ Working directory: (1)จะปรากฏ directory ดงรป ใหคลก Next(2)
88
AMR Asia Co., Ltd.
5.54 คลก Add เพอระบ Server ทจะให User เขาใชงาน Application
5.55 ดบเบลคลกท Servers
89
AMR Asia Co., Ltd.
5.56 ดบเบลคลก Server ทตองการ(1) (ตวอยางเปน CTXXA) จากนน server ทเลอกจะปรากฏอยในหวขอ Selected items: (2) ตรวจสอบความถกตองแลวคลก OK
5.57 จากนน Server ทเลอกจะปรากฏดงรป(1) ใหคลก Next(2)
90
AMR Asia Co., Ltd.
5.58 คลก Add เพอระบ User หรอ Group ของ User ทจะใหมสทธใชงาน Application ดงกลาว
5.59 คลก Add List of Names
91
AMR Asia Co., Ltd.
5.60 จากนนปอนคา User หรอ Group ของ User (1)(ตวอยางเปน Domain user บน domain = ctxtraining.com) จากนนคลก OK(2)
5.61 จากนนจะมรายการของ User ทเราเลอกไวดงรป (1) ตรวจสอบความถกตองแลวคลก OK(2)
\
92
AMR Asia Co., Ltd.
5.62 จากนนจะมรายการ User ทเราเลอกไวอกครง (1) ตรวจสอบความถกตองแลวคลก Next(2)
5.63 คลก Next โดยไมตองปรบคาใดๆ
93
AMR Asia Co., Ltd.
5.64 เลอกหวขอ Configure advanced application settings now(1) จากนนคลก Next(2)
5.65 คลก Next โดยไมตองปรบคาใดๆ
94
AMR Asia Co., Ltd.
5.66 คลก Next โดยไมตองปรบคาใดๆ
5.67 คลก Next โดยไมตองปรบคาใดๆ
95
AMR Asia Co., Ltd.
5.68 ยกเลกหวขอ Enable legacy audio(1) เพอปดเสยง application จากนนคลก Next(2)
5.69 เลอกหวขอ Minimum color quality: (1) เปน Better Speed (16-bit) จากนนคลก Finish
96
AMR Asia Co., Ltd.
5.70 จากนนท Tab Applications จะปรากฏ application ทเราทาการ publish ไปดงรป
97
AMR Asia Co., Ltd.
6. Configuring Remote Desktop Services (Recommend) 6.1 ไปท Server Manager จากนนไปท Tab Roles> Remote Desktop
Services> RD Session Host Configurations(1) จากนนดบเบลคลกท ICA-TCP(2)
6.2 ไปท Tab Client Settings(1) จากนนใหเลอก disable Com Port, Audio and video playback และ Audio recording (2)
98
AMR Asia Co., Ltd.
6.3 จากนนใหไปท Tab Sessions(1) ใหเลอก Overide user settings(2) แลวทหวขอ End a disconnected session เลอกเปน 30 นาท (หมายความวาหาก status ของ user เปน disconnected หลงจากนน 30 นาท ระบบจะทาการ end session นน) สวนทหวขอ When session limit is reached or connection is broken: (3) ใหเลอกเปน Disconnect from session (หมายความวาเมอไหรกตามท session เตม หรอ connection เสยหาย status ของ session นนจะกลายเปน disconnect กอน) จากนนคลก OK
6.4 ทหวขอ Restrict each user to a single session ใหเลอกเปน No กรณ มหลายๆ user ใชงานUser account รวมกน ไมเชนนนจะแยง session กนเอง หากเลอกเปน Yes เมอใดกตามท User active อย แลวมอกคนเอา user account เดยวกนไปใชงาน, session ท active อย จะถกดงมาใชงาน โดยไมมการสราง session ใหม
99
AMR Asia Co., Ltd.
7. Configuring Citrix Policy 7.1 ใหไปท Policies> User> Edit
7.2 ไปทหวขอ Client Printers แลว Add ท Tab Auto-create client printers
100
AMR Asia Co., Ltd.
7.3 เลอก Value: เปน Auto-create the client’s default printer only จากนนคลก OK (Policy นจะทาให client ทเขามาใชงาน XenApp ทาการ Map เฉพาะ default printer ของ client มาท XenApp Server)
7.4 จากนนคลก Add ท Tab Client printer names
101
AMR Asia Co., Ltd.
7.5 ใหเลอก Value: เปน Legacy printer names แลวคลก OK (Policy นจะทาให printer ของ client ท map มา ม format เปน “Client/clientname#/Printer name)
7.6 คลก Add ทหวขอ Direct connections to print servers
102
AMR Asia Co., Ltd.
7.7 ใหเลอก Disabled จากนนคลก OK (Policy นจะทาใหการ print เกดขนระหวาง client ตรงไปท printer server โดยตรง ซงจะทาใหเกดความรวดเรวมากขนในการ print โดยเฉพาะการ print ขาม WAN)
7.8 ไปท Tab Drivers แลวคลก Add ทหวขอ Universal print driver usage
103
AMR Asia Co., Ltd.
7.9 ทหวขอ Value: ใหเลอกเปน Use universal printing only if requested driver is unavailable จากนนคลก OK (Policy นจะมผลทาใหการใช driver สาหรบ printer ทกครง ระบบจะทาการตรวจหา native drivers กอน หากไมเจอจะมาใช universal driver ของ citrix เอง)
7.10 คลก OK เพอสนสดการสราง Policy