Skip to content

alibabacloud-howto/setup-citrix-virtual-desktop-and-virtual-app-on-alibaba-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Setup Citrix Virtual Desktop and Virtual App on Alibaba Cloud

Summary

  1. Introduction
  2. Prerequisite
  3. System Architecture
  4. Cloud Resources
  5. Step by Step Approach
  6. Conclusion
  7. Support

Introduction

Citrix Virtual Apps and Desktops are virtualization solutions which deliver virtual apps and virtual Windows or Linux desktops. This document is a step-by-step guide for deploying a demo environment of Citrix Virtual Desktop and Virtual App on Alibaba Cloud.

Prerequisite

  • Citrix Account You need an Citrix account. If you don't have any account, please follow this page to create one.
  • Alibaba Cloud Account You need an Alibaba Cloud account. If you don't have any account, please follow this document to create one.

System Architecture

The following figure depicts the architecture we will set up in this tutorial. It provides a conceptual view of architecture of Citrix Virtual Apps and Desktops Service components, including Delivery Controller, StoreFront Server, SQL Server DB, VDA and Citrix Gateway.

Cloud Resources

The following table lists Alibaba Cloud ECS servers which are used in this tutorial for setting up Citrix components.

Server Instance Type Private IP Subnet IP VIP Public IP
ADDC ecs.sn2ne.xlarge (4 vCPU 16 GiB) 172.21.16.22
Citrix StoreFront ecs.sn2ne.xlarge (4 vCPU 16 GiB) 172.21.16.23
VPA ecs.sn2ne.xlarge (4 vCPU 16 GiB) 172.21.16.25
Citrix Desktop DC ecs.sn2ne.xlarge (4 vCPU 16 GiB) 172.21.16.24
NetScaler ecs.sn2ne.xlarge (4 vCPU 16 GiB) 172.21.16.26 172.21.16.27 172.21.16.28 161.117.11.147

The NetScaler IP (NSIP) address is the IP address at which you access the NetScaler appliance for management purposes, here the NSIP is 161.117.11.147.

A subnet IP address (SNIP) is a NetScaler owned IP address that is used by the NetScaler appliance to communicate with the servers, here the SNPI is 172.21.16.27.

A VIP address is usually associated with a virtual server, here the VIP is 172.21.16.28.

Step by Step Approach

Download Citrix Installation Media

The demo environment in this document is created using the trial version.

Download Citrix Virtual Apps and Desktops

You can download Citrix Virtual Apps and Desktops from this page.

Download Citrix ADC (NetScaler ADC)

You can download Citrix ADC from this page and put the file in Alibaba Cloud OSS bucket.

Setup Active Directory in Windows Server 2016

Open the server manager,click on “Add roles and features”.

Click on “Next”.

After installation completed the system will restart automatically.

Open windows powershell, use below commands to confirm domain and forest functional levels.

Get-ADDomain | fl Name,DomainMode
Get-ADForest | fl Name,ForestMode

Create new AD user “citrixadmin” and add to the Domain Admin group.

Join the DDC, StoreFront and VDA servers to AD Domain

Change Windows SID

As the ECS instances are created with the same Windows image they will have the same windows SID. Before joining to AD domain, needs to manually change their windows SIDs. (Refer to Alibaba Cloud Document)

Open windows PowerShell and run below command:

wget http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/40846/cn_zh/1542198598487/AutoSysprep.ps1 -outfile AutoSysprep.ps1 .\AutoSysprep.ps1 -SkipRearm -Password “password” -PostAction "reboot"

Join Server to Windows Domain

Go to Control Panel -> Network and Internet -> Network and Sharing Center.

Open Internet Protocol Version 4 (TCP/IPv4) Properties of Ethernet Connection.

Update the DNS server address to the Windows AD server IP address.

Open Server Manager -> Local Server, click Computer Name.

In the opened System Properties window, click “Change” button.

Enter the new computer name and domain name, click “OK”.

Restart the server. Follow the same steps for StoreFront and VDA servers to join domain.

Install Virtual App and Desktop Controller

Click “Delivery Controller”.

Accept the license agreement and click “Next”.

Select all the components except “StoreFront” and click “Next”.

Configure Virtual App and Desktop Controller

Login to DDC server using citrixdemo.com\citrixadmin, launch Citrix Studio.

Setup Site

Setup Machine Catalog

Setup Delivery Group

Add StoreFront Server

Install StoreFront

Click “Delivery Controller”.

Accept the license agreement and click “Next”

Select “StoreFront” and click “Next”.

Install VDA

Configure StoreFront

Install Windows CS

Connection to StoreFront

Now you can connect to StoreFront from this URL: https://citrixdemosf.citrixdemo.com/Citrix/citrixdemoWeb

(Please note that this address is only available from servers which joined citrixdemo.com.)

Click “Download” to download Citrix Receiver.

Install and Configure NetScaler ADC VPX 12

Import Image

Create ECS Instance using VPX Custom Image

Configure VPX Server

Create 2 ENIs and bind to the VPX Server.

Login to VPX Server run below commands:

set ns config -IPAddress 172.21.16.26 -netmask 255.255.240.0
add route 0 0 172.21.16.22
save ns config

After reboot, login using the public address http://161.117.11.147 .

Configuration -> System -> System Information -> Hardware Information

Create SSL key and CSR files:

Configure StoreFront for NetScaler Gateway

Login to StoreFront server, launch StoreFront and click on "Manage NetScaler Gateways".

Click on "Add".

After completing the configuration of NetScaler, we can now access to the Citrix Virtual Desktop and Virtual App from https://nsdemo.alibabacloudanz.com .

Conclusion

Now, we have finished the deployment for Citrix Virtual Desktop and Virtual App on Alibaba Cloud.

Support

Don't hesitate to contact us if you have questions or remarks.

About

This is a step-by-step guide on Citrix Virtual Apps and Desktops setup on Alibaba Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published