Welcome to the third and final part of my Linux VDA on CentOS 6.6 Blog series… (Nearly there!!!)ย If you have just stumbled across this post and would like to go back and review what has come before just click on these links:ย Part 1 –ย Installing and preparing the Linux OS andย Part 2 –ย Installing and configuring the Linux VDA.ย Once again, I hope you enjoy the final part in the series and, as always, please sound off in the comments if you have any questions or feedback.
Pt.3 Delivering Linux Shared Hosted Desktops
1. Updating Site Controllers
Copy theย Update-BrokerServiceConfig.ps1 scriptย file to the root of the first Controller –ย C:\
Note:ย The above ps1 script file is located inside theย citrix-linuxvda-scripts-1.0.0.zipย file available under the Linux Virtual Desktop 1.0 download page on citrix.com/downloads:ย Linux Virtual Desktop 1.0 (scripts)
Launch a local instance of PoSH on first Site Controller
Manually load the FMA (XA/XD) service snapin’s (SDK)
– Typeย asnp citrix*ย and hit return
Note:ย To create a customized PoSH profile and save yourself from having to consistently & manually load the FMA snapin’s, modules etc. then take a quick look at one of my earlier blogs in the generalย @XDtipsterย series:
@XDtipster โ Creating A Customized XenDesktop PoSH $Profileย
– Runย Update-BrokerServiceConfig.ps1
Note:ย Per the above output: the script file updates theย BrokerService.exe.Config fileย located underย C:\Program Files\Citrix\Broker\Serviceย with the required WCF (Windows Communication Foundation) endpoints and bindings required by the Linux VDA, with a copy (with .prelinux appended to the file name) of the original config file being taken and placed alongside the updated version.
IMPORTANT:ย Repeat the above actions on all remaining Site Controllers
2. Create a Machine Catalogย
– Launch Citrix Studio
– Right click on the Machine Catalogs node > Select Create Machine Catalog
– Clickย Nextย on the initial welcome screen
– Select Windows Server OS
Note:ย At this time,ย Citrix Studio does not yet support the concept of a “Linux OS”; however, selecting Windows Server OS here implies an equivalent shared desktops delivery model. The Windows Desktop OS option implies a single user per machine delivery model, which is not applicable to Linux VDAs therefore even when using “Desktop” Linux distributions, the Windows Server OS option must be selected.
Above note taken from theย Red Hat Installation Guide
As PVS, MCS and Power management are not supported for Linux VDAs (v1.0 as per XA/XD 7.6 FP2) at this time, select the following Machine Management options:
– Machines that are not power managed
– Another service or technology
– Clickย Next
– Add the CentOS VM & AD computer account and ensure that 7.6 is selected as the VDA version
– Clickย Next
– Name the Machine Catalog appropriately and clickย Finish
3. Create a Delivery Group
–ย Right click on the Delivery Groups node > Select Create Delivery Group
– Clickย Nextย on the initial welcome screen
– Add the available CentOS 6.6 machine and clickย Next
– Select Desktops as the Delivery Type and clickย Next
Note:ย At this current time,ย Linux VDA machines do not support application delivery and therefore the Delivery Type must be set to Desktops
Above note taken from theย Red Hat Installation Guide
– Add the Users you wish to give access to the CentOS Shared Hosted Desktop and leave the option to give access to unauthenticated (anonymous) users unticked; clickย Next
– Clickย Nextย to configure StoreFront/Receiver integration manually at a later time
– Name the Delivery Group appropriately and clickย Finish
- Confirm Registrationย
Once the CentOS 6.6 Machine has been added to the Delivery Group, you may need to wait a maximum of 2 minutes for the VDA to successfully register with the defined site Controller as defined by the VDA configuration script (ctxsetup.sh)ย inย part 2ย of this blog series. The reason for this being, at the time of VDA configuration, the defined site Controller i.e.ย dc76.glover.com,ย was not configured correctly with the new endpoints and bindings required to support Linux VDA registration and therefore previous registration attempts would have been rejected out of hand by the site Controller.
Note:ย Once an initial registration attempt (7-10 seconds post Citrix Desktop Service start-up) is initially rejected, further attempts would continue until the internal doubling wait-time algorithm reaches the maximum ceiling of 2 minutes, culminating in consistent and on-going registration attempts every 2 minutes indefinitely.
Refreshย Citrix Studioย occasionallyย until registration is confirmed as per the screenshot below:
Note:ย If registration takes longer then expected. Review the VDA configuration step inย part 2ย of this blog series and/or restart the VDA services to re-initiate communication with the updated Site Controllers:
service ctxvda restart
or
sudo /sbin/service ctxvda restart
4. Confirm successful launch and connection to the CentOS Shared Hosted Desktop over ICA/HDXย
Once StoreFront is configured appropriately, login and launch your CentOS 6.6 Shared Hosted Desktop:
Well there you have it… My three part Blog series on theย Linux VDA setup on CentOS 6.6. I hope you enjoyed reading and following along.
Finally, I would just like to re-iterate once again that this blog series focuses on a currently unsupported Linux Distro and is not intended to replace the current Linux VDA installation guides found onย docs.citrix.com
Installation guide for Red Hat
Installation guide for SUSE
Note:ย You need to review these btw as they contain loads of extra info including troubleshooting tips, VDA un-installation instructions etc…
Instead, this is my attempt to help supplement the official documentation and keep thingsย STREETย for all theย RTFMย generation out there, of which I proudly consider myself to be a member of.
Until next time… Keep it FMA!!!
Best Regards,
Mick Glover (aka XD Tipster “Rocking XenDesktop since 2008”)
Senior Readiness Specialist,
Worldwide Support Readiness [EMEA]
Citrix Systems, Inc
Follow @xdtipster