citrix xenapp essentials xenapp essentials · the xenapp® essentials service on azure and...

16
24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 1/16 XenApp Essentials Jump to bottom Thomas Krampe edited this page on 1 Feb 2018 · 2 revisions Citrix XenApp Essentials Product introduction Microsoft Azure is a reliable and flexible cloud platform that allows quick deployment of applications in Microsoft-managed data centers. This paper provides guidelines for deploying the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines the power of the Citrix Cloud with Microsoft Azure to deliver Windows applications. XenApp Essentials Service replaces Microsoft RemoteApp and provides the same application access experience for users. It provides performance and flexibility by moving application delivery to the cloud, without sacrificing management or user experience. Microsoft Azure Infrastructure as a Service makes it possible to create new virtual machines in minutes and adjust usage quickly when infrastructure requirements change. By provisioning XenApp Essentials workloads on Azure, businesses can avoid the acquisition and maintenance costs associated with expanding on-premises infrastructure. Instead, they can use Azure to supply the compute, storage, and networking resources to provision application sessions to meet demand. Document your code Every project on GitHub comes with a version-controlled wiki to give your documentation the high level of care it deserves. It’s easy to create well-maintained, Markdown or rich text documentation alongside your code. See pricing for teams and enterprises Dismiss Sign up for free

Upload: others

Post on 10-Feb-2020

44 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 1/16

XenApp EssentialsJump to bottom

Thomas Krampe edited this page on 1 Feb 2018 · 2 revisions

Citrix XenApp Essentials

Product introduction

Microsoft Azure is a reliable and flexible cloud platform that allows quick deployment ofapplications in Microsoft-managed data centers. This paper provides guidelines for deployingthe XenApp® Essentials Service on Azure and discusses decisions that impact deploymentscenarios.

XenApp Essentials Service combines the power of the Citrix Cloud with Microsoft Azure to deliverWindows applications. XenApp Essentials Service replaces Microsoft RemoteApp and providesthe same application access experience for users. It provides performance and flexibility bymoving application delivery to the cloud, without sacrificing management or user experience.

Microsoft Azure Infrastructure as a Service makes it possible to create new virtual machines inminutes and adjust usage quickly when infrastructure requirements change. By provisioningXenApp Essentials workloads on Azure, businesses can avoid the acquisition and maintenancecosts associated with expanding on-premises infrastructure. Instead, they can use Azure tosupply the compute, storage, and networking resources to provision application sessions to meetdemand.

Document your codeEvery project on GitHub comes with a version-controlled wiki to give your documentation the highlevel of care it deserves. It’s easy to create well-maintained, Markdown or rich text documentationalongside your code.

See pricing for teams and enterprises

Dismiss

Sign up for free

Page 2: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 2/16

This article describes Azure concepts and components, and basic Azure implementation usingAzure Resource Manager. Azure Resource Manager deployment differs from the "classic" ServiceManagement (ASM) model available previously about how Azure components are managed andmonitored. Azure Resource Manager also provides security, auditing, and tagging features toallocate and control Azure resources. All new Azure deployments use the Azure ResourceManager model.

Deployment and Considerations

To deliver a successful XenApp Essentials proof of concept deployment, there are four key stepswe must address:

1. Preparing and linking your Azure subscription.2. Creating and uploading a master image.3. Creating catalogs and assigning applications to users.4. Accessing applications.

This document provides you with detailed information, example configurations of an Azureenvironment, and integration with XenApp Essentials. Keep in mind that there is currently no trialaccount for XenApp Essentials available. Citrix offer trial accounts for former ARA (Azure RemoteApps) customer only. All other customers have to buy XenApp Essentials at the AzureMarketplace. A detailed guide on how to buy XenApp Essentials via the Azure Marketplace isincluded in the Appendix of this document. Depending on the customer, Citrix Sales can providehelp by setting up an “unofficial” trial account.

XenApp Essentials Basic Design Overview

Page 3: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 3/16

Tasks & Prerequisites

The focus for the remainder of this document is on the detailed process of setting up anddeploying the system. There are five major steps in the overall process:

1. Set up an Azure account and configure the Azure Infrastructure as a Service topology (virtualnetworks, storage accounts, Resource Groups, Availability Sets, and infrastructure virtualmachines).

2. Prepare and deploy the XenApp Essentials workload master image. (Citrix-prepared imagesare available for use. Citrix recommends that you deploy a prepared image in a test or PoCenvironment only).

3. Create a XenApp Essentials catalog.4. Publish applications to users.5. Access applications.

1. Preparing your Azure Subscription

In this step, we create the Azure topology, which includes virtual networks, storage accounts,resource groups, availability sets, load balancer and virtual machines. It’s assumed that theadministrator created a Microsoft Azure account with Owner permissions for the subscription,and has some general experience with creating virtual machines in Azure. To configure thetopology in Azure for a XenApp Essentials deployment, you must first establish these fourprerequisites:

1. Create an Azure resource group2. Create an Azure virtual network3. Create Azure storage accounts4. Create virtual machines for infrastructure servers including NIC's, Public IP-Address etc.

All the steps above are done by the provided ARM template. So you don't have to worry aboutcreating all that stuff manually.

Active Directory Consideration

Integration of Active Directory is a major part in a successful PoC. We need AD for creating themachine accounts, not only for the infrastructure components. During the Cloud deployment,Citrix create two Cloud Connector VM's and of course an amount of worker or session hostmachines. All these VM's need an AD machine account. And don't forget your user accounts.

f f

Page 4: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 4/16

There are four valid option for Active Directory integration.

Extending existing AD

Just create a new domain controller (or two within an availability set) and add them to yourexisting AD. This requires VPN or Express Route configuration because these domain controllersare 100% part of your on-premise domain. If we take a look at security and replication this mightnot be the best solution. Because we can't use read-only domain controller this means awriteable domain controller infrastructure is in the cloud, keep that in mind when choosing thisoption.

New AD forest with one-way trust

A complete new and independent active directory forest in Azure (like I do it with the providedARM template). This allows us full control without any security or replication issues. XenApp orXenDesktop Essentials can create machine accounts without permissions to our on-premise AD.For our user login’s we create a simple one-way trust to our on-premise AD. For this an ExpressRoute or Site-2-Site VPN configuration is required as well. In a PoC use case we are able to createsome test user in this "Cloud" Active Directory, so we don't need a trust yet. In my opinion, thebest solution for the most use cases and included in this ARM template.

New AD forest with AD FS

f

Page 5: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 5/16

This is very similar to the solution before but without a trust. This requires no Express Route orVPN but needs a lot of configurations regarding the Active Directory Federation Service. If thecustomer already use AD FS it might be a valid consideration but if not, use the one-way trust fora PoC instead.

Azure Active Directory Domain Services

First of all, this is not Azure AD. It’s more or less a Domain infrastructure as a service provided byMicrosoft. That’s the best decision if the customer will run his entirely AD in Azure. In most casesthis is good for a “Cloud-only” deployment without any on premise data center. Just for XenAppor XenDesktop Essentials it’s not the perfect solution.

Prepare the Master Image

This step isn't included in the ARM template (I just create the VM which acts as Master Image).I'm currently working on the VDA installation via DSC but LOB apps are a different story. Followthe steps to prepare the master image:

1. Connect via RDP to the public IP address or DNS name of the Master Image VM2. Install necessary Line of Business (LOB) applications you want to test3. Install the Citrix XenApp server VDA (min. 7.13)

Select Create a Master ImageWhen prompted, How do you want to enter the locations of your Delivery Controllers?Select: Let Machine Creation Services do it automatically.Configure the default VDA features. For this deployment example, no options otherthan Optimize Performance are selectedFor this deployment example, Call Home is not required

4. Don’t forget to stop the virtual machine in the Azure Portal (not only Windows shutdown)otherwise you can’t use the image later.

5. [Optional] Connect to the domain controller again and create necessary GPO’s if you needthem to configure the installed applications

Prepare the Citrix Cloud subscription

Before we can start make sure that you have a valid Citrix Cloud account with an activatedXenApp Essentials trail. If not the customer must buy XenApp Essentials from the AzureMarketplace. These steps are currently not automated, but it's on my task list (one hint: CitrixCloud API's).

Page 6: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 6/16

At this point you need an Account and a valid XenApp Essentials subscription. If not you have tobuy it. Follow the Instruction on How to buy XenApp Essentials. Assuming you have asubscription we have the following tasks:

Create a Catalog

Log on to Citrix Cloud at https://citrix.cloud.com/Navigate to the XenApp and XenDesktop Service and click Manage.After that click on Add Catalog

Page 7: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 7/16

Catalog creation starts with a catalog name and a deployment type.Choose a good name for your catalog (1).The only available deployment type is Domain joined.Click Save (2)

If you click on Link your Azure Subscription, you have to authenticate first. The Azure Login pageappears and you have to enter the account credentials that have owner permissions for theAzure subscription.

Accept the required permissions.

Page 8: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 8/16

After successful authentication, you are able to select the subscription (1), the resource group (2),the virtual network (3) and the subnet (4). All of them we created earlier. Click Save.

Enter the information of your Domain created before.The organization unit field should point to your XAE-Computers OU.Click Save.

Page 9: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 9/16

Choose your master image.For a simple PoC we use the Citrix prepared image.For an extended PoC choose Link an existing Image and point to your master image createdbefore.You can upload a new image, which should be a pepared VHD file as well.Click Save

In the capacity and manage costs section choose if you prefer standard HDD or SSD disks. Forthe XenApp session host, I prefer SSD’s. Then choose how many sessions you will run on a singlehost. Task worker is the best choice for a PoC.

f

Page 10: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 10/16

Example configuration:

Pick Compute:Task worker:Up to 16 users per D2v2 instance.

Select scale settings:Maximum number of instances: 2Minimum number of runningInstances: 1Set a schedule for peak time:Optional check box:

Select days of the weekSelect Mon-FriStart Time: 8:00 AM

End Time: 5:00 PMTime zone "as appropriate"Minimum instances Running at Peak

time: 2Set idle or disconnected time-out

1 hour Example configuration summary:Deploy two D2v2 instances that support a maximum of 16 users per instance for a total of32 concurrent users.One instance is always running.At peak times, two instances run to support user demand.If the session is idle or the user disconnects, XenApp Essentials logs users off after one hour.Unused instances shut down during non-peak times and support management of capacityand costs.

After finishing that, click Start Deployment to deploy the catalog and configuration.

Page 11: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 11/16

It can take 1–2 hours to deploy the catalog. The length of time depends on the number of virtualmachines you selected for workloads. If anything goes wrong here please take a look at theTroubleshooting chapter.

Note: It’s absolute necessary that you have direct Internet access (no Proxy), otherwisedeployment will fail.

What's happen during this catalog deployment?

First of all Citrix deploys all the infrastructure components like Delivery Controller, Storefront andso on. This is more or less not visible for us. But in our Azure Resource Group we can see twonew VM's with "Edge" in the VM name. These two machines are the Cloud Connector machines.

In addition we have a new Resource Group in our subscription which contains our XenAppSession Hosts.

Page 12: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 12/16

Publish Applications to Users

When catalog creation is complete, you then publish apps and assign users.

You can add apps to the catalog manually on the Catalogs tab. Click the ellipsis in the catalogthat you want to update. In the context menu, click Manage Apps. Select Apps and then click +Publish Apps. When prompted, how would you like to publish apps select an option:

Publish from Start menuPublish using path

In Select App, choose the apps that you want to publish. When you select the application, itpublishes automatically.

Page 13: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 13/16

On the catalog tab, click Users and then click + Add Users.

A dialog box appears asking for you to add either a user or group details.

Choose the domain (1) and mark user you want to add.

Remember: These user accounts are from your previously created AD or from your local AD, ifyou have configured the trust and a Site2Site VPN (or Express Route Configuration).

Configure Profile Management

Profile Management ensures that personal settings apply to user’s virtual applications, regardlessof the location of the user device.

You can enable Profile Management by using the profile optimization service. This serviceprovides a reliable way for managing these settings in Windows. Managing the profiles ensures aconsistent experience by maintaining a single profile that follows the user. It consolidatesautomatically and optimizes user profiles to minimize management and storage requirements.The profile optimization service requires minimal administration, support, and infrastructure.Also, profile optimization provides users with an improved log on and log off experience.

f f

Page 14: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 14/16

The profile optimization service requires a file share where all the personal settings persist. Youmust specify the share as a UNC path. The path can contain system environment variables, ActiveDirectory user attributes, or Profile Management variables.

Click on the More Settings tab on the Catalog tab.Type the path to the profile share: \fileserver\share#sAMAccountName#Click Save.

You have to create the share on the File server created by the ARM template manually (this pointis on my tasklist as well).

Note: When enabling Profile Management, consider further optimization of the user’s profile byconfiguring folder redirection to minimize the effects of the user profile size. Applying folderredirection complements the Profile Management Solution. For more information, see MicrosoftFolder Redirection.

Accessing Applications

You can use Citrix Receiver to test application access by using the virtual infrastructure andworkloads created. Validate the deployment internally and externally. To validate internally,connect to the Azure virtual machine by using an RDP session. To validate externally, connectwith a public URL to the XenApp Essentials StoreFront site.

In the final step (3)

Page 15: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 15/16

A prompt appears to share the StoreFront link with your users:The shared link is unique to the organization.

Troubleshooting

There are several things which can go wrong during the catalog provisioning. Citrix put them alltogether in a single whitepaper. If you have any problems make sure you read CTX224151.

Read more

Citrix XenAppMicrosoft AzureVirtual Network PricingAzure Compute InfoReplica Active Directory Domain Controller InstallationAzure Subscription and Service Limits, Quotas, and ConstraintsVirtual Machine Sizes for AzureAzure Virtual Networking Documentation

Copyright 2017 by Thomas Krampe

Pages 2

Find a Page

Page 16: Citrix XenApp Essentials XenApp Essentials · the XenApp® Essentials Service on Azure and discusses decisions that impact deployment scenarios. XenApp Essentials Service combines

24/06/2019 XenApp Essentials · thomaskrampe/CitrixCloud Wiki · GitHub

https://github.com/thomaskrampe/CitrixCloud/wiki/XenApp-Essentials 16/16

Citrix Cloud Wiki

XenApp Essentials

Clone this wiki locally

Find a Page…

https://github.com/thomaskrampe/CitrixCloud.wiki.git