105
AMR Asia Co., Ltd. Citrix XenApp 6.5 for Windows Server 2008 R2 Training Document

141785267 Citrix XenApp 6 5 Training

Embed Size (px)

DESCRIPTION

sddsds

Citation preview

Page 1: 141785267 Citrix XenApp 6 5 Training

AMR Asia Co., Ltd.

Citrix XenApp 6.5 for Windows Server 2008 R2

Training Document

Page 2: 141785267 Citrix XenApp 6 5 Training

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

Page 3: 141785267 Citrix XenApp 6 5 Training

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.

Page 4: 141785267 Citrix XenApp 6 5 Training

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.

Page 5: 141785267 Citrix XenApp 6 5 Training

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.

Page 6: 141785267 Citrix XenApp 6 5 Training

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.

Page 7: 141785267 Citrix XenApp 6 5 Training

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

Page 8: 141785267 Citrix XenApp 6 5 Training

6

AMR Asia Co., Ltd.

1.3 คลก Next

1.4 Component แรกทตองทาการตดตงคอ Application Server ใหคลกในชอง check box

Page 9: 141785267 Citrix XenApp 6 5 Training

7

AMR Asia Co., Ltd.

1.5 จากนนจะมหนาตางดงรปปรากฏขนมา ใหคลกท Add Required Features

1.6 หลงจากขอ 1.5 ใหสงเกตดวาจะมเครองหมายเชคถกทหวขอ Application Server จากนนใหคลกท Remote Desktop Services กบ Web Server (IIS) แลวคลก Next

Page 10: 141785267 Citrix XenApp 6 5 Training

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

Page 11: 141785267 Citrix XenApp 6 5 Training

9

AMR Asia Co., Ltd.

1.9 คลก Next

1.10 ในหนาตางนใหเลอกหวขอ Do not require Network Level Authentication จากนนคลก Next

Page 12: 141785267 Citrix XenApp 6 5 Training

10

AMR Asia Co., Ltd.

1.11 หนาตางนใหเลอก Type ของ Terminal Licensing เปน Per User จากนนคลก Next

1.12 คลก Next โดยไมตองปรบคาใดๆ

Page 13: 141785267 Citrix XenApp 6 5 Training

11

AMR Asia Co., Ltd.

1.13 คลก Next โดยไมตองปรบคาใดๆ

1.14 คลก Next โดยไมตองปรบคาใดๆ

Page 14: 141785267 Citrix XenApp 6 5 Training

12

AMR Asia Co., Ltd.

1.15 คลก Next

1.16 ในหนาตาง Select Role Services ใหเลอกหวขอ Web Server (IIS) Support

Page 15: 141785267 Citrix XenApp 6 5 Training

13

AMR Asia Co., Ltd.

1.17 จากนนจะมหนาตางดงรปปรากฏขนมา ใหคลกท Add Required Features

1.18 จากนนทหวขอ Web Server(IIS) Support และ HTTP Activation จะมเครองหมายเชคถกไว ใหคลก Next

Page 16: 141785267 Citrix XenApp 6 5 Training

14

AMR Asia Co., Ltd.

1.19 คลก Next

1.20 ในหนาตาง Select Role Services ใหเลอกหวขอ IIS6 Management Compatibility จากนนทกหวขอภายใตหวขอดงกลาวจะถกเลอกอตโนมต ใหคลก Next

Page 17: 141785267 Citrix XenApp 6 5 Training

15

AMR Asia Co., Ltd.

1.21 หลงจากเลอก Component เสรจสน ใหคลก Install

Page 18: 141785267 Citrix XenApp 6 5 Training

16

AMR Asia Co., Ltd.

1.22 จากนน Windows จะทาการตดตง และปรบคาทกๆ Component ทเราเลอกไวกอนหนา

1.23 เมอตดตง Windows Component ทจาเปนเสรจสน Windows จะแจงใหทราบวาอยระหวางรอการ Restart ดงรป ใหคลก Close

Page 19: 141785267 Citrix XenApp 6 5 Training

17

AMR Asia Co., Ltd.

1.24 จากนน Windows จะถามให Restart Windows อกครง ใหคลก Yes เพอทาการ Restart และกลบเขาสการตดตงสวนตอไป

Page 20: 141785267 Citrix XenApp 6 5 Training

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

Page 21: 141785267 Citrix XenApp 6 5 Training

19

AMR Asia Co., Ltd.

2.3 จากนนคลก Install

2.4 จากนน Windows จะทาการตดตง Microsoft .Net Framwork 3.5 SP1 ให

Page 22: 141785267 Citrix XenApp 6 5 Training

20

AMR Asia Co., Ltd.

2.5 คลก Close เพอจบการตดตง

Page 23: 141785267 Citrix XenApp 6 5 Training

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

Page 24: 141785267 Citrix XenApp 6 5 Training

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

Page 25: 141785267 Citrix XenApp 6 5 Training

23

AMR Asia Co., Ltd.

3.4 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab ดานบน (หมายเลข 1) จะตองปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก OK

3.5 คลก Next

Page 26: 141785267 Citrix XenApp 6 5 Training

24

AMR Asia Co., Ltd.

3.6 เลอก check box ในหวขอ I accept the license terms. จากนนคลก Next

3.7 คลก Install

Page 27: 141785267 Citrix XenApp 6 5 Training

25

AMR Asia Co., Ltd.

3.8 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab กลาง (หมายเลข 1) ควรจะปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก Next

3.9 ในหนาตางนใหคลก Next โดยไมตองปรบคาใดๆ

Page 28: 141785267 Citrix XenApp 6 5 Training

26

AMR Asia Co., Ltd.

3.10 ในหนาตางนใหคลก Next โดยไมตองปรบคาใดๆ

3.11 คลก Next

Page 29: 141785267 Citrix XenApp 6 5 Training

27

AMR Asia Co., Ltd.

3.12 ขนตอนน ในหวขอ Account Name ของ SQL Server Database Engine ใหเลอกเมน drop down แลวคลก <<Brows…>>

3.13 จากนนจะมหนาตางดงรปขนมา ใหเลอก Location ไปท XenApp Server (Local)

Page 30: 141785267 Citrix XenApp 6 5 Training

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

Page 31: 141785267 Citrix XenApp 6 5 Training

29

AMR Asia Co., Ltd.

3.16 คลก Next โดยไมตองปรบคาใดๆ

3.17 ระบบจะทาการตรวจสอบปญหาทอาจเกดขน แสดงโชวท Tab ดานบน (หมายเลข 1) จะตองปรากฏขอมลการตรวจสอบ Passed ทงหมด จากนนคลก Next

Page 32: 141785267 Citrix XenApp 6 5 Training

30

AMR Asia Co., Ltd.

3.18 คลก Install เพอทาการตดตง SQL Express 2008

3.19 คลก Next

Page 33: 141785267 Citrix XenApp 6 5 Training

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

Page 34: 141785267 Citrix XenApp 6 5 Training

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

Page 35: 141785267 Citrix XenApp 6 5 Training

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

Page 36: 141785267 Citrix XenApp 6 5 Training

34

AMR Asia Co., Ltd.

3.26 คลก Next โดยไมตองปรบคาใดๆ

3.27 Asdf

Page 37: 141785267 Citrix XenApp 6 5 Training

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

Page 38: 141785267 Citrix XenApp 6 5 Training

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 สราง แตสาหรบเวอรชนกอนหนา ไมสามารถทาได)

Page 39: 141785267 Citrix XenApp 6 5 Training

37

AMR Asia Co., Ltd.

3.32 ตงชอ Database ทตองการในหวขอ Database name: (ตวอยาง = XenAppDB) จากนนคลก OK

3.33 จากนนจะได Database ดงรป

Page 40: 141785267 Citrix XenApp 6 5 Training

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

Page 41: 141785267 Citrix XenApp 6 5 Training

39

AMR Asia Co., Ltd.

4.3 คลกท Add Server roles

4.4 จากนนใหเลอก Edition type ของ XenApp ตามทเราสงซอ

Page 42: 141785267 Citrix XenApp 6 5 Training

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

Page 43: 141785267 Citrix XenApp 6 5 Training

41

AMR Asia Co., Ltd.

4.7 คลก Next โดยไมตองปรบคาใดๆ

4.8 คลก Next

Page 44: 141785267 Citrix XenApp 6 5 Training

42

AMR Asia Co., Ltd.

4.9 คลก Install

4.10 หลงจากตดตงและตรวจสอบ Prerequisite ระบบจะเตอนให restart ใหคลก Finish

Page 45: 141785267 Citrix XenApp 6 5 Training

43

AMR Asia Co., Ltd.

4.11 จากนนจะปรากฏหนาตาง Citrix XenApp Server Role Manager อกครง ใหคลก Reboot

4.12 หลงการ reboot จะปรากฏหนาตาง Citrix XenApp Server Role Manager ขนมาอกครงโดยอตโนมต ใหคลก Resume Install

Page 46: 141785267 Citrix XenApp 6 5 Training

44

AMR Asia Co., Ltd.

4.13 คลก Install

4.14 หลงตดตง XenApp server roles เสรจ ระบบจะแสดงรายละเอยดการตดตง ใหคลก Finish

Page 47: 141785267 Citrix XenApp 6 5 Training

45

AMR Asia Co., Ltd.

4.15 หนาตางถดมา ใหคลก Specify Licensing เพอเขาไป configure License Server ทเราตดตงไป

4.16 จากนนจะปรากฏหนาตางดงรปขนมา ใหปอนคา Password ทตองการ (password นจะตองใชในการเขามา manage License Server) จากนนคลก OK

Page 48: 141785267 Citrix XenApp 6 5 Training

46

AMR Asia Co., Ltd.

4.17 จากนนใหไปท Start> All Programs> Citrix> Management Consoles> License Administration Console เพอเขาไป import license

4.18 จะมหนาตางดงรปปรากฏขนมา ใหคลกท Administrator

Page 49: 141785267 Citrix XenApp 6 5 Training

47

AMR Asia Co., Ltd.

4.19 จากนนใหปอนคา Password ทเราตงไวขณะตดตงจากขอ 4.16 แลวคลก Submit

4.20 จากนนคลกท Vendor Deamon Configuration(1) แลวคลก Import License(2)

Page 50: 141785267 Citrix XenApp 6 5 Training

48

AMR Asia Co., Ltd.

4.21 คลก Browse

4.22 จากนน browse หาไฟล license ท download มาจาก www.citrix.com ดวยaccount ทไดรบจาก mail ทใชในการสงซอ license

Page 51: 141785267 Citrix XenApp 6 5 Training

49

AMR Asia Co., Ltd.

4.23 คลก Import License

4.24 หลงการ Import เสรจสนจะมขอความดงรป ใหคลก OK

Page 52: 141785267 Citrix XenApp 6 5 Training

50

AMR Asia Co., Ltd.

4.25 จากนนคลกท Tab ตรงกลางดงรป (Name=Citrix)

4.26 คลก Reread License Files เพอให License Server อานคาไฟล license ท Import เขาไปลาสด

Page 53: 141785267 Citrix XenApp 6 5 Training

51

AMR Asia Co., Ltd.

4.27 เมอ License Server ทาการ Reread license ถกตอง จะมขอความปรากฏดงรป The license file was successfully reread

4.28 จากนนใหไปตรวจสอบอกครงท Tab Dashboard จะตองปรากฏรายการของ License ทสงซอ

Page 54: 141785267 Citrix XenApp 6 5 Training

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

Page 55: 141785267 Citrix XenApp 6 5 Training

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)

Page 56: 141785267 Citrix XenApp 6 5 Training

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)

Page 57: 141785267 Citrix XenApp 6 5 Training

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)

Page 58: 141785267 Citrix XenApp 6 5 Training

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

Page 59: 141785267 Citrix XenApp 6 5 Training

57

AMR Asia Co., Ltd.

4.39 คลก Test Connection หากการ Test ผาน ใหคลก Next

4.40 จากขอ 40.39 หากการ Test Connection ผาน จะตองปรากฎหนาตางดงรป

Page 60: 141785267 Citrix XenApp 6 5 Training

58

AMR Asia Co., Ltd.

4.41 คลก Next โดยไมตองปรบคาใดๆ

4.42 คลก Next

Page 61: 141785267 Citrix XenApp 6 5 Training

59

AMR Asia Co., Ltd.

4.43 คลก Apply

4.44 หลงการ configure เสรจสน จะปรากฏหนาตางดงรป ใหคลก Finish

Page 62: 141785267 Citrix XenApp 6 5 Training

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

Page 63: 141785267 Citrix XenApp 6 5 Training

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

Page 64: 141785267 Citrix XenApp 6 5 Training

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

Page 65: 141785267 Citrix XenApp 6 5 Training

63

AMR Asia Co., Ltd.

5.4 คลก Next

5.5 คลก Next

Page 66: 141785267 Citrix XenApp 6 5 Training

64

AMR Asia Co., Ltd.

5.6 คลก Next

5.7 คลก Add เพอทาการ Add Server Farm ของ XenApp

Page 67: 141785267 Citrix XenApp 6 5 Training

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)

Page 68: 141785267 Citrix XenApp 6 5 Training

66

AMR Asia Co., Ltd.

5.10 คลก Next โดยไมตองปรบคาใดๆ

5.11 คลก Next โดยไมตองปรบคาใดๆ

Page 69: 141785267 Citrix XenApp 6 5 Training

67

AMR Asia Co., Ltd.

5.12 คลก Next โดยไมตองปรบคาใดๆ

5.13 คลก Next โดยไมตองปรบคาใดๆ

Page 70: 141785267 Citrix XenApp 6 5 Training

68

AMR Asia Co., Ltd.

5.14 คลก Finish เพอสนสดการสราง site สาหรบ Web browser

5.15 หากการสราง site ถกตอง เมอเราคลกท XenApp Web Sites จะตองม site ถกสรางมาดงรป

Page 71: 141785267 Citrix XenApp 6 5 Training

69

AMR Asia Co., Ltd.

5.16 ใหคลกขวาท Site จากนนเลอก Authentication Methods

5.17 คลก Properties

Page 72: 141785267 Citrix XenApp 6 5 Training

70

AMR Asia Co., Ltd.

5.18 เลอกหวขอ Authentication Type(1) จากนนคลก Settings(2)

5.19 เลอกหวขอ Domain list: เปน Pre-populated

Page 73: 141785267 Citrix XenApp 6 5 Training

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

Page 74: 141785267 Citrix XenApp 6 5 Training

72

AMR Asia Co., Ltd.

5.22 คลก OK

5.23 คลกขวาท Site แลวเลอก Client Deployment

Page 75: 141785267 Citrix XenApp 6 5 Training

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

Page 76: 141785267 Citrix XenApp 6 5 Training

74

AMR Asia Co., Ltd.

5.26 หวขอนเปนวธการสราง site ให user เขาใชงานผาน Citrix Receiver โดยใหคลกขวาท XenApp Service Sites จากนนใหคลก Create Site

5.27 คลก Next

Page 77: 141785267 Citrix XenApp 6 5 Training

75

AMR Asia Co., Ltd.

5.28 คลก Next

5.29 คลก Next

Page 78: 141785267 Citrix XenApp 6 5 Training

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)

Page 79: 141785267 Citrix XenApp 6 5 Training

77

AMR Asia Co., Ltd.

5.32 คลก Next โดยไมตองปรบคาใดๆ

5.33 คลก Finish

Page 80: 141785267 Citrix XenApp 6 5 Training

78

AMR Asia Co., Ltd.

5.34 หากการสราง site ถกตอง เมอเราคลกท XenApp Services Sites จะตองม site ถกสรางมาดงรป

5.35 สดทายทหนาตาง Citrix XenApp Server Role Manager จะตองมเครองหมาย หวขอ Configured ของ Web Interface

Page 81: 141785267 Citrix XenApp 6 5 Training

79

AMR Asia Co., Ltd.

5.36 ตอไปเปนการ configure คาตางๆ ใน Farm ของ XenApp ใหไปท Start> Administrative Tools> Citrix> Management Consoles> Citrix AppCenter

5.37 คลก Disable Authenticode signature checking

Page 82: 141785267 Citrix XenApp 6 5 Training

80

AMR Asia Co., Ltd.

5.38 คลก Next

5.39 หวขอนใหยกเลกหวขออนๆออก เหลอแต XenApp จากนนคลก Next

Page 83: 141785267 Citrix XenApp 6 5 Training

81

AMR Asia Co., Ltd.

5.40 คลก Add Local Computer จากนนคลก Next

5.41 คลก Next

Page 84: 141785267 Citrix XenApp 6 5 Training

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 ดวย)

Page 85: 141785267 Citrix XenApp 6 5 Training

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

Page 86: 141785267 Citrix XenApp 6 5 Training

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 ใชงาน)

Page 87: 141785267 Citrix XenApp 6 5 Training

85

AMR Asia Co., Ltd.

5.48 คลก Next

5.49 ทหวขอ Display name: ใหใสชอของ Application ทตองการแสดงให User เหน จากนนคลก Next

Page 88: 141785267 Citrix XenApp 6 5 Training

86

AMR Asia Co., Ltd.

5.50 คลก Next

5.51 คลก Browse

Page 89: 141785267 Citrix XenApp 6 5 Training

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)

Page 90: 141785267 Citrix XenApp 6 5 Training

88

AMR Asia Co., Ltd.

5.54 คลก Add เพอระบ Server ทจะให User เขาใชงาน Application

5.55 ดบเบลคลกท Servers

Page 91: 141785267 Citrix XenApp 6 5 Training

89

AMR Asia Co., Ltd.

5.56 ดบเบลคลก Server ทตองการ(1) (ตวอยางเปน CTXXA) จากนน server ทเลอกจะปรากฏอยในหวขอ Selected items: (2) ตรวจสอบความถกตองแลวคลก OK

5.57 จากนน Server ทเลอกจะปรากฏดงรป(1) ใหคลก Next(2)

Page 92: 141785267 Citrix XenApp 6 5 Training

90

AMR Asia Co., Ltd.

5.58 คลก Add เพอระบ User หรอ Group ของ User ทจะใหมสทธใชงาน Application ดงกลาว

5.59 คลก Add List of Names

Page 93: 141785267 Citrix XenApp 6 5 Training

91

AMR Asia Co., Ltd.

5.60 จากนนปอนคา User หรอ Group ของ User (1)(ตวอยางเปน Domain user บน domain = ctxtraining.com) จากนนคลก OK(2)

5.61 จากนนจะมรายการของ User ทเราเลอกไวดงรป (1) ตรวจสอบความถกตองแลวคลก OK(2)

\

Page 94: 141785267 Citrix XenApp 6 5 Training

92

AMR Asia Co., Ltd.

5.62 จากนนจะมรายการ User ทเราเลอกไวอกครง (1) ตรวจสอบความถกตองแลวคลก Next(2)

5.63 คลก Next โดยไมตองปรบคาใดๆ

Page 95: 141785267 Citrix XenApp 6 5 Training

93

AMR Asia Co., Ltd.

5.64 เลอกหวขอ Configure advanced application settings now(1) จากนนคลก Next(2)

5.65 คลก Next โดยไมตองปรบคาใดๆ

Page 96: 141785267 Citrix XenApp 6 5 Training

94

AMR Asia Co., Ltd.

5.66 คลก Next โดยไมตองปรบคาใดๆ

5.67 คลก Next โดยไมตองปรบคาใดๆ

Page 97: 141785267 Citrix XenApp 6 5 Training

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

Page 98: 141785267 Citrix XenApp 6 5 Training

96

AMR Asia Co., Ltd.

5.70 จากนนท Tab Applications จะปรากฏ application ทเราทาการ publish ไปดงรป

Page 99: 141785267 Citrix XenApp 6 5 Training

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)

Page 100: 141785267 Citrix XenApp 6 5 Training

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 ใหม

Page 101: 141785267 Citrix XenApp 6 5 Training

99

AMR Asia Co., Ltd.

7. Configuring Citrix Policy 7.1 ใหไปท Policies> User> Edit

7.2 ไปทหวขอ Client Printers แลว Add ท Tab Auto-create client printers

Page 102: 141785267 Citrix XenApp 6 5 Training

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

Page 103: 141785267 Citrix XenApp 6 5 Training

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

Page 104: 141785267 Citrix XenApp 6 5 Training

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

Page 105: 141785267 Citrix XenApp 6 5 Training

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