- Introduction
- Prerequisite
- System Architecture
- Cloud Resources
- Step by Step Approach
- Conclusion
- Support
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.
- 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.
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.
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.
The demo environment in this document is created using the trial version.
You can download Citrix Virtual Apps and Desktops from this page.
You can download Citrix ADC from this page and put the file in Alibaba Cloud OSS bucket.
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.
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"
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.
Click “Delivery Controller”.
Accept the license agreement and click “Next”.
Select all the components except “StoreFront” and click “Next”.
Login to DDC server using citrixdemo.com\citrixadmin, launch Citrix Studio.
Click “Delivery Controller”.
Accept the license agreement and click “Next”
Select “StoreFront” and click “Next”.
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.
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:
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 .
Now, we have finished the deployment for Citrix Virtual Desktop and Virtual App on Alibaba Cloud.
Don't hesitate to contact us if you have questions or remarks.