Purpose:
A collection of articles focusing on virtualization, application delivery, and the digital workspace.
October 12, 2020
How to Replace the Self-signed Certificate for Nutanix Prism Element and Prism Central
July 22, 2020
Don't Use Your Physical Image in Your Virtual Environment
Are you using SCCM, WDS or other deployment tools or have been asked to when deploying your virtual desktops or virtual application servers? If so, there can be some serious issues with this. I am often asked about by folks wanting to deploy Citrix or VMware Horizon images using the same image that is used for physical endpoints. Not only is this a bad idea, it can present performance ramifications and also make it so that best practices are not followed.
- First was in the medical field and the customer wanted to move from persistent Windows 10 desktops to pooled non-persistent virtual desktops as the administrative overhead of having a persistent desktop and having to administer the desktops with deployment tools was not feasible. Also, when presented with justifying the need of having a persistent desktop pool and having the response be “that is how we have deployed it before” there really was no reason to have it. When it came time to build the Windows 10 non-persistent image, the customer completely disregarded my suggestion on building the Windows 10 base image by hand and used WDS to deploy the “standard” image that is deployed on physical endpoints. The end result was that a known bug in the image in which the start menu stopped responding to left clicks. This bug also existed on physical endpoints but was hacked around by copying profiles over the default profile but when this was done on the non-persistent desktop image, it caused Citrix Profile Management to create temp profiles on each login. After countless days of the customer trying to remediate this, the only successful way to do so was to break out the iso and install the operating system by hand and manually installing the applications and everything is functioning correctly.
- A second example of this was a large law firm migrating from an on-prem Citrix environment to VMware Workspace ONE. When it came time to build their images for the RDS Linked Clone pool they stressed a need to use an existing task sequence that was built for Windows 10 and force it to target a Window Server 2016 operating system. The issue here is that applications were installed before the RDS Session Host role was installed afterwards. It has commonly been a known and best practice for RDS Session Hosts servers that the RDS Session Host role to be installed prior to installing applications due to the need to potentially capture applications settings into the RDS shadow key. In this environment, there are small abnormalities in application behavior even today due to the incorrect installation sequence.
Johnny @mrjohnnyma
July 6, 2020
Citrix License Usage Insights
Purpose
This article describes a new Citrix Cloud service, License Server Usage Insights, that is available to all Citrix Virtual Apps and Desktop customers. Read on to find out why I think this is a big deal especially for customers that that have not transitioned to Citrix Cloud subscription licensing (aka own perpetual licenses).
Trend View: day view but month and year available |
Symptom
If you have a single on-prem Virtual Apps and Desktops license server OR have completely transitioned to the Virtual Apps and Desktops service then this new on-prem License Usage Insights may not be for you because Studio gives you a good view of license consumption.
This new service may be beneficial if you have a larger environment that has gotten complicated over the years and there is not a simple answer to, "how are we doing on Citrix licenses?".
Beneficial Scenarios
- You are a Citrix architect or admin and use Excel to calculate Virtual Apps and Desktops license usage across your enterprise
- Or you have more than one license server (for whatever reason)
- Or you have license servers in completely separated Active Directory forests
- Or you have more than one license type and this includes both Virtual Apps vs Virtual Apps and Desktops OR you own both concurrent and user/device licensing
- Or your management likes to see pretty graphs of Citrix consumption from time to time
- Or you would like to give someone in your organization access to consumption but do not want to give them RDP access to the actual Citrix license servers
- Or you spend time logged into citrix.cloud.com and it would be more convenient to view license consumption there
Resolution
If one or more the scenarios above apply to you then read on. License Server Usage Insights connects your on-prem license server(s) to Citrix Cloud. It can then aggregate usage from across many license servers and present them in a pretty dashboard.
Setup
- Upgrade your license server. You will need to be running version 11.15.0.0 or newer. Download the license server here https://www.citrix.com/downloads/licensing/. Upgrade instructions https://docs.citrix.com/en-us/licensing/current-release/upgrade.html
- Enable Call Home on the license server. If you do not have this enabled you will not get the blue "Register" button shown in the screenshot below. See the link in the next step for the details.
- Register the license server with Citrix Cloud https://docs.citrix.com/en-us/citrix-cloud/citrix-cloud-management/citrix-cloud-on-premises-registration.html
- Wait 24 hours for it to report in the first time. This is a very important step.
- Login to citrix.cloud.com and check. As mentioned above, no matter how many times I refreshed the page, it did take 24 hours to populate. Click on the menu on the left and choose Licensing.
You didn't think I would show a real code? |
Click Register |
FWIW, Citrix license server upgrades were a standard practice back when I was consulting anytime I was upgrading anything in the environment. Not only would you typically get security improvements and bug fixes but it would ensure that a component upgrade would not get halted due to newer license server requirements.
That is all there is to it. I hope this gives you better visibility into your environment.
SageLike Post ID: SL0025
Applies to:
- Citrix Virtual Apps
- Citrix Virtual Apps and Desktops
References:
- Citrix Blogs "New On-Prem License Server Usage" https://www.citrix.com/blogs/2019/08/29/new-on-prem-license-server-usage-insights-powered-by-citrix-cloud/
- Citrix Docs https://docs.citrix.com/en-us/citrix-cloud/citrix-cloud-management/citrix-cloud-on-premises-license-usage.html
- Citrix Docs https://docs.citrix.com/en-us/licensing/current-release/citrix-licensing-manager/settings.html#register-and-remove-registration-with-citrix-cloud
- More familar with the names XenApp and XenDesktop? Check out our cheat sheet on the 2018 Citrix product renaming SageLike.com "Citrix Product Editions 2019" http://www.sagelike.com/2019/05/citrix-product-editions-2019.html
Brian @sagelikebrian
June 15, 2020
Virtual Apps and Desktops in 2020
Microsoft Teams Optimization
- Starts here https://youtu.be/UcEmqQjdQUY?t=2196
- Optimizing Teams requirements
- Delivery controller 1906.2 and newer
- VDA 1906.2 and newer
- Windows 10 x64 1906 - 1909
- Windows 2012 R2 and newer
- BCR_x64.msi
- More info in Citrix Docs
- High-Level Architecture https://youtu.be/UcEmqQjdQUY?t=2380
- Demo of a video call between the Netherlands and India both unoptimized and optimized https://youtu.be/UcEmqQjdQUY?t=2537
- Citrix TechZone article to learn about optimizing a variety of other Unified Communication solutions
- Browser Content Redirection renders whitelisted webpages on the endpoint and seamlessly feeds it back into the session. Offloading video rendering to endpoints provides both a great user experience as well as reduces backend VDA resources.
- Supported VDA browsers: Internet Explorer, Chrome, and Edge (new Chromium). Edge is in Tech Preview.
- Overview and configuration starts here https://youtu.be/UcEmqQjdQUY?t=2925
- Configuration and demo video of watching YouTube without and with BCR https://youtu.be/UcEmqQjdQUY?t=3250
- Learn more in Citrix Docs
- FSLogix will only save data for a single session. It does not support accessing multiple sessions and consolidating to its profile container. Use Citrix User Profile Manager to write back profile data to FSLogix when accessing more than one session at a time https://youtu.be/UcEmqQjdQUY?t=1985
Machine Creation Services (MCS)
- What is it and how does it work? https://youtu.be/UcEmqQjdQUY?t=656
- Machine Creation Services Input-Output (MCSIO). Deeper dive into MCS workings. It was revamped in version 1903 for on-prem hypervisors and Azure. Allows for placement of the master and caching disk on different storage. This allows you to use HDD (vs SSD) which scales higher (more users per machine) and provides better response time for users https://youtu.be/UcEmqQjdQUY?t=1239
- Publishing an app or desktop using Citrix Managed Desktop (Citrix TechZone) and MCS. Keep in mind Managed Desktops has a simplified web wizard vs Studio https://youtu.be/UcEmqQjdQUY?t=754
- Azure on-demand provisioning using MCS. It creates machines on power-on which means you only pay for what you use. Overview and demo using Apps and Desktop Service https://youtu.be/UcEmqQjdQUY?t=1073
- Background on image management and how it was historically done vs the app layering way https://youtu.be/UcEmqQjdQUY?t=1565
- Elastic layers https://youtu.be/UcEmqQjdQUY?t=1777
- User layers https://youtu.be/UcEmqQjdQUY?t=1820
- There are several types:
- Full
- Office 365
- Session Office 365
- Learn more in Citrix Tech Zone and check out this User Layer video (8 minutes).
- Use Azure Files to store layers https://youtu.be/UcEmqQjdQUY?t=1882 and see Citrix TechZone for more
Business Continuity
- Using Remote PC (access to the physical computer at your office). A look at the conceptual architectures available https://youtu.be/UcEmqQjdQUY?t=254
March 8, 2020
Citrix Storefront + Netscaler GW Optimal Gateway Routing. 1 Farm - Multiple Zones
Citrix Storefront + Netscaler GW Optimal Gateway Routing. 1 Farm/Site - Multiple Zones
Purpose:
This post is to share how I setup Optimal Gateway Routing (HDX Routing) using zones. I found a lot of documentation on how to set this up for multiple farms (Noted below). However I wasn't able to really find detailed information on how to set this up for just zones.
A quick run down of the environment I'm working on here.
1 Citrix Virtual Apps & Desktops Farm/Site
Delivery Controllers in 2 geographically separated datacenters
Pairs of Netscalers also in the 2 datacenters noted above
9 zones within the farm. 2 within the above mentioned datacenters and 7 in offices across the nation.
VDI's published out of the datacenters and testing publishing out from the offices
Apps published out of all locations (Initially for local access for each office) I'm sure there may be questions about how/why we are publishing apps and desktops but I don't want to get too in the weeds about that.
Anyway so you probably came here because you ran through the other articles you google'd and didn't get what you were looking for when you were getting ready to configure the zone portion within the Storefront HDX routing settings. If you haven't read those articles yet please go run through them. See below. They have all the prerequisites you'll need to start this process. Once you have your certificates with SAN's for each of your netscaler gateways, have applied them then this is where we will pick up.
Directions
In your storefront config highlight your store and manage your delivery controllers for the site. Here I've created 2 different groups of controllers -- one for each datacenter.
Once you have those separated highlight the first set and click Edit
In the Edit Delivery Controller windows choose the Advanced Settings -- Settings button
In the Configure Advanced Settings click on the area next to the Zones field
In the Delivery Controller Zone Names window click on the Add button and fill in the zone names per appropriate site.
Once you fill in each of the zones it should look like below. Click OK. Follow this same procedure for your other zone(s).
Oh and one more thing. Make sure to turn on user mapping and aggregation on Storefront to prevent users from having multiple icons of the same published app/desktop.
https://docs.citrix.com/en-us/storefront/current-release/set-up-highly-available-multi-site-stores.html
References:
https://support.citrix.com/article/CTX215663
https://www.carlstalhood.com/storefront-cr-configuration-for-citrix-gateway/#optimal
https://www.jgspiers.com/storefront-high-availability-optimal-routing/
SageLike Post ID: SL0025