Citrix Validated Solution for Nutanix on Hyper-V

Hot off the Citrix presses is a very thorough solution design document, called Citrix XenDesktop 7.1 on Microsoft Hyper-V Server 2012 R2 on Nutanix Virtual Computing Platform. Whew, that’s a quite a mouthful. What is it? It’s a document, nearly 100 pages long, detailing how to deploy both Citrix VDI (XenDesktop) and RDS (XenApp) for 1,000 users on the Nutanix platform.

It provides prescriptive guidance for these components including the design, configuration and deployment settings that customers can mirror and quickly adopt for their environment. This reduces risk, decreases deployment time, and increases confidence in the solution as a whole.

Components of the solution included Windows Server 2008 R2 for hosted shared desktops, Windows 7 x64 for hosted virtual desktops, all running on the Nutanix NX-3060 platform. Login VDI was used to simulate the 1,000 user workload for both scenarios. What I really like about the document is how thorough Citrix was in documenting every aspect of the test environment. And by every aspect, I really do mean every aspect.

For example, they list the complete list of required hardware, VM HW specs, load balancing details, user profile types, software versions down to all Windows baseline applications, licensing details, GPOs, NIC teaming setup, Hyper-V storage configuration, VMM configuration, shared folder paths, and a lot more. Everything you need to exactly replicate the configuration is in the document, and that’s no small feat.

I’m not easily impressed, and this document blew me away. The figure below is an example of 1,000 hosted shared desktops, and how they are distributed across several Nutanix nodes. 2014-07-09_13-37-11

And here’s another  diagram from the document showing the various Citrix components and how they relate to each other. 2014-07-09_13-36-40A

If this interests you at all, then I would highly suggest the you checkout all the available resources. This includes a webinar with Nutanix’s Lukas Lundell, a two-page solution brief here, and the complete 90+ page CVS document here. Happy reading!

XenDesktop 7 Pt 10: Application Delivery Group

And here we are….the last step to publish “XenApp” applications to the Citrix receiver and ultimately your users. This installment creates and application delivery group for the XenDesktop 7 applications that we’ve installed on our Windows Server 2012 server. Once you create and customize this group, users can refresh their Receiver window and instantly see the new apps.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Create Application Delivery Group

1. Now that we have a machine catalog ready, we start the Delivery Group wizard in Citrix Studio. I only have one free machine catalog, so that one is already selected for me.

7-27-2013 1-05-47 PM

2. When using server based operating systems you can deliver a full blow desktop complete with the menu bar (sans the Start Button on WS2012), just applications, or a combination of both. I selected just Applications, since I have some dedicated XenDesktop VMs already running.

7-27-2013 1-05-59 PM3. Here we can specify the users or groups that need these applications. You could easily create many groups, say “Engineering”, “HR”, for different applications.

7-27-2013 1-06-11 PM4. Next up we can start adding the applications that are installed on our server. I’m not sure what criteria the wizard uses to find installed applications, but it didn’t find Adobe Acrobat on my server. So I manually browsed to it (the file picker opens up a session to the server, so you can navigate the filesystem remotely). I also added Internet Explorer as well.

7-27-2013 2-11-56 PM

7-27-2013 1-15-11 PM

5. Next up we create a delivery group name.

7-27-2013 1-41-22 PM

6. Back in the Citrix receiver I refresh my app list, and viola! I see my two new published applications.

7-27-2013 1-43-09 PM

You can now launch your apps and they will appear in their own window on your local computer. Note that if your XenApp server has a legal disclaimer banner, I would suggest you disable it. It can interfere with application launching.

7. If you want to further customize individual applications (say limit an app to a sub-group of users or change file type associations), then you can open the properties of the application in Citrix Studio.

7-27-2013 2-23-32 PM

If you check the Start Menu or Start screen on your local computer, you will now see icons for the published applications. This lets you seamlessly launch them just as if they were a native application. Launching will probably be a bit slower since behind the scenes it logs you into the XenApp server, launches the process, then remotes the window back do your client.

XenDesktop 7 Pt 9: Server Machine Catalog

Creating a XenDesktop Machine Catalog for server-class operating systems in XenDesktop 7 is virtually the same process as creating one for a dedicated desktop OS. A machine catalog is a grouping of similar “XenApp” servers, and if you were using MCS or PVS, you’d provision several at once and group them. This is the first step in taking a server OS (WS2008R2 or WS2012) with the VDA on it and assigning applications to users.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Create XenDesktop Machine Catalog

1. In Desktop Studio we launch the Machine Catalog wizard and are presented with what kind of catalog we want to create. In this case we are using a server OS, so clearly that’s the option we will choose.

7-27-2013 12-54-00 PM2. This is a VM which I manually created, so I’ll choose the appropriate options. Again, you can easily create “XenApp” machines with MCS or PVS, for large scale production.

7-27-2013 12-54-19 PM

3. Since I told XenDesktop it’s a VM, it connects to vCenter and I find my XenApp VM.

7-27-2013 12-54-55 PM

4. It needs the associated AD computer account, which in general will be the hostname with a $ after it.

7-27-2013 12-55-28 PM

5. There’s not much to the wizard, so the summary screen is pretty short.

7-27-2013 12-55-47 PM

6. After the catalog is created you can click on the Server OS Machines tab and find your new XenApp server.

7-27-2013 12-57-02 PM

Now you may ask, where do we tell XenDesktop what applications we want to publish? Well that’s in the next step, creating a delivery group. That is also wizard driven, and very simple to use. That will be in Part 10.

XenDesktop 7 Pt 8: Install Server VDA

Citrix radically changed the “XenApp” 7 architecture in XenDesktop 7. Gone is the massive complexity, many consoles, and lengthy configuration times. I don’t have much XenApp experience, but the consoles I’ve seen of prior versions seemed mind bogglingly complex. Two major themes of XenDesktop 7 is simplification and unification. The “Application” portion of XenDesktop is a perfect example of this. By simply installing the XenDesktop VDA you instantly have an application server.

In this post we will turn a generic Windows Server 2012 VM, with no added roles or features, into an application server with the simple installation of the VDA. While the VDA installer looks nearly identical to the dedicated desktop installer, under the covers it is a bit different. The whole process takes less than 10 minutes, and is literally a “click next” install as they say.

Just like desktops, application servers need not be VMs. It’s fully supported to install the VDA on physical computers. This is probably more common with XenApp, as one could argue a bit more scalability with using physical servers vice a VM. But every environment is different and using VMs does has some advantages.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

XenDesktop VDA Install

1. I’ve provisioned a Windows Server 2012 VM which will be my “XenApp” server. You could easily use a bare metal server, if you wish. Mount the XenDesktop 7 ISO and launch the installer. This time we want to select Prepare Machines and Images. It should automatically detect that you are using a Server OS.

XenDesktop 7

2. At this point we need to decide if this VM will be a master image used to provision more “XenApp” servers with MCS, or enable connections directly to this server. Since I’m in a small PoC, I just want connections to go directly to this VM. Being able to provision “XenApp” servers with MCS is a brand new feature in XenDesktop 7. You can of course use PVS as well, but MCS is a bit easier.

7-27-2013 8-34-04 AM

3. I really don’t need the Citrix Receiver installed on the application server, so I unchecked that box.

7-27-2013 8-34-49 AM

4. If I were using MCS I could select the option that allows MCS to automatically set the Delivery Controller hostname(s). Since I’m not using MCS, I’m manually adding the FQDN.

7-27-2013 8-35-31 AM

5. I want a full featured application server so I left all the options checked.

7-27-2013 8-36-45 AM

6. Just like the client VDA install, this shows what firewall ports need to be opened. Citrix really did a good job here.

7-27-2013 8-37-35 AM

7. Since we are installing the VDA on a server OS, you will see that it automatically enabled two server-specific Windows features.

7-27-2013 8-38-28 AM

After a couple of reboots the VDA installs and you are now ready to install a few test applications that you want to publish to users. You can of course publish some built-in apps like IE and NotePad, if you are in a hurry and don’t want to install third-party software. In Part 9 we will create a machine catalog for server applications.

XenDesktop 7 Pt 7: Citrix Receiver Config

Now that we’ve completed the first six parts of this series to configure the XenDesktop 7 back-end services, it’s now time to use Citrix Receiver v14 and connect to our new VDI infrastructure. This is super easy, and the most fun part! Unlike previous versions of the Citrix Receiver, there is no longer an “Enterprise” client and a regular client. I think having two separate versions confused people (I know I was), so moving forward with a single version is another good simplification.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Installing Citrix Receiver

1. The XenDesktop 7 ISO comes with the Linux, Mac and Windows receivers. Navigate to Citrix Receiver and Plug-ins\Windows\Receiver and install Citrix Receiver.exe. This file is 52MB, and is version 14.0.0.91. The CitrixReceiverEnterprise.exe is the legacy “Enterprise” version and hasn’t been updated.

2. After the installation has completed you have two methods to connect to your new desktop. The first is using the Receiver client, and second is accessing the StoreFront web site. We’ll start off using the Receiver thick client. Launch the Receiver and enter https:// followed by the FQDN of your StoreFront server or load balanced VIP.

If we had configured email discovery, you could also enter your email address and it would find the StoreFront server as well.

Citrix Receiver

3. If all goes well you will be presented with an authentication dialog box to enter your domain credentials into.

Citrix Authentication

4. After successful authentication you can have Receiver optimize your client configuration, then you should get a successful message.

7-27-2013 7-33-58 AM

7-27-2013 7-34-26 AM

5. Citrix Receiver should now open up and you will see a blank slate.

Citrix Receiver

6. By clicking on the Plus sign you will see the list of desktops and any applications that have been published. I didn’t disable the built-in Citrix apps, so you will see GoToMeeting, GoToTraining and GoToWebinar. By clicking on an application it will get added to the Receiver landing page and a green checkbox will appear.

7-27-2013 7-39-59 AM

7. Accessing your desktop is easy. Just click on the associated icon and your session will launch. If everything goes well then you will be automatically logged into your desktop without any additional authentication prompts. You will see the Desktop Viewer toolbar at the top of the window.

7-27-2013 7-42-19 AM

XenDesktop

8. If you want to use USB devices, then you will probably want to tweak the preferences. I appreciate Citrix trying to simplify my life, but in this case their “simplify device connections” causes more confusion than simplicity, IMHO. From the toolbar menu select Preferences then open the Devices tab. Some USB devices like memory sticks won’t be displayed if the “simplify device connection” box is checked.

7-27-2013 7-46-34 AM

Congratulations! You’ve now configured a simple VDI environment and connected to your virtual desktop. You can now try out Flash video, USB devices, dynamically resizing the window. In Part 8 we install a server VDA, so we can deploy published applications (aka XenApp 7).

XenDesktop 7 Pt 6: Create a Delivery Group

In the first five parts of this series on XenDesktop 7 we’ve done everything needed to complete the last step, which is creating a XenDesktop 7 Delivery Group. This enables users, or groups of users, to access their desktop or applications. Delivery groups are where you can target various user segments that may need different images or VM hardware specs, like developers, finance, HR, IT, execs, etc.

A delivery group is not a 1-to-1 relationship to a machine catalog. If you built up a machine catalog of 500 VMs, a delivery group could just use 100 of those. As you will see when we run through the wizard, you can customize desktop and application delivery options, which you can use to offer differentiated VMs to your user community.

Users could also be given access to more than one delivery group. So an IT person, for example, could have access to a standard user desktop for testing purposes, and a customized IT desktop. Or a developer could be given a locked down ‘corporate’ desktop and also provided access to a beefy development desktop that they had full control over.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Creating a XenDesktop 7 Delivery Group

1. When a new Delivery Group is created it will list all of your machine catalogs. In my case I only have one. It lists the number of computers in that catalog and I can choose how many to assign to my delivery group. I’ll select both of my VMs. You need not put all of the computers into a single delivery group.

7-3-2013 5-23-00 PM

2. Next up I choose what combination of desktops and applications I want to deliver. I’m not doing XenApp at the moment, so I’ll stick with desktops. But here you could assign the same desktop VM to everyone, but have different delivery groups that customize the mix of XenApp applications they get delivered.

7-3-2013 5-23-10 PM

3. Now I have to define what users or groups are part of the delivery group. Here is where you could tailor the group, to say Engineering, HR, Finance, IT, etc. For this PoC I’ll just do Domain Users, so anyone can access the desktop.

7-3-2013 5-23-22 PM

4. An optional step at this point is to define the StoreFront server(s) which the Receiver inside of the desktop will be configured to use. A great feature if you are using XenApp, or perhaps have another XenDesktop farm for R&D that some users should have access to.

7-3-2013 5-23-51 PM

7-4-2013 7-58-09 AM

5. The final step is configuring a Delivery Group name, and a display name. The display name is something users will see, so keep it simple.

7-4-2013 8-01-35 AM

6. And that’s it! A few seconds later you will have a nice delivery group in your console. In the right hand column make sure your VMs show a Registered state. If not, then you may have some networking (DHCP, DNS) or other issues preventing the VDA from properly communicating with the desktop controller.

XenDesktop 7 Delivery Group

7. Once the delivery group is created, you can Edit it and find more options that weren’t presented during the simplified wizard. For example, you can allow a user to access more than one desktop from the pool, change the color depth, time zone, and secure the ICA protocol with some lightweight encryption.

7-4-2013 8-14-26 AM

There are also some nice power management features that you can configure.

7-4-2013 8-16-05 AM

The console also gives some good usage stats as well, which can be quite helpful. Desktop Director has a lot more stats, but this is a good quick overview.

7-4-2013 8-20-09 AM

In Part 7 we get to the fun part, which is connecting to our desktop using the Citrix Receiver and seeing how well it performs.

XenDesktop 7 Pt 5: Configuring Citrix StoreFront

One of the last steps to configure XenDesktop is to setup Citrix StoreFront. What is StoreFront? StoreFront is basically the web tier in a three tiered architecture (StoreFront, Desktop Controller, SQL database). It’s more than just a pretty face. Citrix Receiver directly talks to StoreFront, even if you never use your browser.

StoreFront 2.0, included in XenDesktop 7, no longer requires a separate database. There is a built-in replication engine that syncs the config between multiple StoreFront servers. That’s great for a DMZ configuration, and just one less database to worry about.

StoreFront is also now a complete replacement for the legacy Web Interface (WI), which is no longer installed and is deprecated in XD7. StoreFront is the only way to interface to your XenDesktop farm. There are various optional StoreFront settings you can tweak, but I’ll skip those here since the goal is just a quick PoC.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Citrix StoreFront Configuration

1. First we need to configure IIS to use an SSL certificate. StoreFront is built on IIS, and pre-configuring the SSL certificate saves a step when we create the StoreFront. No special certificate properties are required for StoreFront. You can use any valid server authentication SSL certificate, be it from a Microsoft CA or trusted CA. Add a HTTPS binding to the IIS Default Web Site.

If you are using a load balancer then you should use a certificate with the StoreFront VIP FQDN (e.g. StoreFront.contoso.com).  I suggest rebooting the server after the certificate is assigned so that all of the Citrix services recognize and bind to the certificate (or should).

7-1-2013 8-08-21 PM

2. Now that IIS is secure, go back into Desktop Studio and open the Citrix StoreFront node. For me a store got automatically created, so I deleted it and will show you the manual steps. Click on the Stores node and in the right pane click on Create Store.

7-1-2013 8-14-45 PM

3. When the wizard starts enter a store name. I’m not feeling creative tonight, so I called mine Store.

7-1-2013 8-29-46 PM

4.  Now we need to add the delivery controllers that StoreFront will interface with. Here you can add multiple farms, and a mixture of XenDesktop, XenApp, and other Citrix products. I’ve successful used StoreFront with both XenDesktop 5.6 and 7.0 farms at the same time. If you are load balancing your desktop controllers you can enter the VIP FQDN here. It would be nice if Citrix added a “Test” button here to validate the controllers were valid. That could help with troubleshooting if the store was empty when you tested it.

7-1-2013 8-17-14 PM

5. StoreFront also interfaces very nicely with the NetScaler AccessGateway. So here you can configure how users will be accessing the XenDesktop infrastructure. AccessGateway is out of scope for this series, so I’ll skip that step and finish the wizard.

7-1-2013 8-20-56 PM

6. Once the store is created it will give you the web browser URL that you can use to access it. Now during my PoC install StoreFront didn’t recognize my SSL certificate, even though IIS was using it. Plus, you may need to customize the URL for a loadbalanced FQDN. This is easily accomplished via a powershell command. Citrix: Please put this in the GUI, and warn about SSL issues during the StoreFront creation.

Also take note that to access StoreFront from a web browser you must append “Web” to the store URL, as the URL shows below. Don’t try going to /Citrix/Store as that won’t work.

7-1-2013 8-22-11 PM

7. To change the StoreFront base URL you can go to the Server Group node and in the right pane select Change Base URL. Here I changed the URL to use HTTPS. If you are using a load balancer for StoreFront you could change the FQDN to the VIP.

7-2-2013 6-17-30 AM

8. Back in the StoreFront console, after refreshing, you can see that the service is using HTTPS.

7-1-2013 8-46-17 PM

9. One quick tweak to make authentication easier is to set a default domain. This way the user doesn’t have to enter a domain when authenticating to the StoreFront web site. Locate the Authentication node, then in the right pane click on Configure Trusted Domains.

7-1-2013 9-24-12 PM

And that’s pretty much it to get an operational StoreFront. If you open your browser and go to the full web store URL you should get a green bubbly Citrix receiver page.

7-1-2013 9-26-56 PM

In Part 6 we configure a delivery group, which defines what users can access our VDI resources.

XenDesktop 7 Pt 4: Create Machine Catalog

This is the fourth installment of the XenDesktop PoC guide, where we create a XenDesktop 7 machine catalog. As we near the point where we can dole out VDI VMs to users, one of the last steps is to create a catalog of VMs. These could be Windows 8, Windows 7, different configs (memory, vCPUs, etc.). Basically you build up all the differentiated VMs into a service catalog.

For this example I’ll only build one XenDesktop 7 machine catalog, but adding more is the exact same process. Standardizing on a naming convention here is key, as the catalog will likely grow over time.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

 

XenDesktop 7 Machine Catalog

1. In Desktop Studio we want to create a VM catalog, so we choose option behind door number 2.

7-1-2013 5-53-30 PM

2. With the merging of XenApp and XenDesktop we can now choose the OS type, or even provide remote access to a physical PC.

7-1-2013 6-02-47 PM

3. We will be using VMs and Citrix Machine Creation Services, so the defaults are fine. You can also use PVS, which basically streams the OS to a VM or physical PC. This is a good option too, but requires more configuration so I’ll skip that for now.

7-1-2013 6-03-58 PM

4. I want to try my VMs with CloudVolumes, so I will make them randomly assigned and non-persistent.

7-1-2013 6-05-30 PM

5. Here I choose the VM which I installed the VDA on. The VDA handles all the name changes, SID, etc. You don’t have to do any fancy sysprep here.

7-1-2013 6-07-55 PM

6. A great feature of XenDesktop is the ability to customize the catalog hardware at provisioning time, so you can offer different tiers of VMs from the exact same master image. No need to build up templates with the same OS and software stack, just to customize the vCPUs and memory specs.

7-1-2013 6-09-35 PM

7. Of course the VMs will need AD accounts, so you can easily do there here. A nice little touch is showing you the ‘resultant’ hostname when a machine gets provisioned.

7-1-2013 6-11-08 PM

8. On the summary screen you need to give the catalog a name and a description. This does NOT assign VMs to groups of users. This is just an inventory of VMs which will get assigned to different user groups in the near future. So I would stick with names that describe the OS and VMs specs. Target audience groups, like Engineering, will come later.

7-1-2013 6-13-00 PM

9. After you kick off the provisioning process you get a nice status. MCS first makes a copy of your master VM, then does its magic to create copies. VAAI enabled storage arrays can really help here to speed up the process. My QNAP won’t win any IOPS races, so I heated up my dinner. 7-1-2013 6-18-18 PM

10. When the provisioning is completed you now have one machine catalog entry. None of the machines are allocated, since that is the next and final step to being able to enable users to access the VDI pool. Yes, we are almost there! If you click on the catalog it will bring up all kinds of geeky details.

7-1-2013 7-41-30 PM

11. If you double click on the machine catalog it will bring up a search window with the individual VMs listed. You can now power them on and wait for them to show a “registered” status. If you click on an individual VM it will pull up even more details. If a user had an active session to the VM then you get a plethora more data.

7-1-2013 7-43-33 PM

As you can see, creating a machine catalog from a master template is quick and easy. No fancy sysprep is needed, and you can build up many different catalogs for various operating systems or virtual hardware specs. If you are doing XenApp then you will also see those catalogs here as well. Within Desktop Studio you can view a tremendous amount of detail about the catalog and individual VMs.

One troubleshooting tip: If you power on your VMs and they never register, then open your Local Security Policy on the client VM. Navigate to Local Policies\User Rights Assignments and look at the Access this computer from the network. If only ‘Administrators’ is listed, you have a problem. Try adding either “authenticated users” or “everyone”, and that should clear up the problem. Unfortunately the VDA installer doesn’t check that permission.

Next up is configuring the Citrix StoreFront. Check out Part 5 here.

XenDesktop 7 Pt 3: Install VDA

This installment of the XenDesktop installation series will show you how easy it is to install the XenDesktop 7 VDA (Virtual Delivery Agent). The VDA can be installed on client VMs, servers (for XenApp), or physical PCs if you want to remote high-powered 3D graphics. It contains the ‘secret HDX sauce’ that is used to deliver the HDX experience to the Citrix Receiver.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

XenDesktop 7 VDA Installation

1. I logged into my Windows 7 master VM, mounted the XenDesktop ISO, and started the installer. This time we want to install the Desktop Delivery Agent. The installer also clearly shows you the OS I’m running the installer on is incompatible with the server roles, such as Citrix Director. Very nice to quickly see what I can and can’t install on a particular OS without having to refer to documentation. Very nice touch!

6-30-2013 8-26-52 PM

2. Now I have to decide if I want this VM to be a master image, or just provide remote access. Since we are doing VDI, I left the default option.

6-30-2013 8-28-50 PM

3. If I were installing the VDA on a high powered physical workstation and needed to remote 3D professional graphics, such as AutoCAD, then I would install HDX 3D Pro. Since this is a VM, I’ll choose the standard VDA.

6-30-2013 8-31-32 PM

4. I’ll let the installer install the Citrix Receiver into the image as well. That way I can access XenApp apps down the road, if I want.

6-30-2013 8-32-50 PM

5. Here we have to enter the desktop delivery controller name(s). If you are using a NetScaler to load balance your controllers you could enter that FQDN here. In my case I’ll just enter the controller’s FQDN. A nice touch here is a Test button, to validate the server name is correct. Yet another way Citrix is help ensuring a successful deployment.

6-30-2013 8-36-51 PM

6. The VDA has a few features you can select from. I want the whole nine yards, so I chose all of them.

6-30-2013 8-39-25 PM7. Just like in the server role installation, Citrix provides you a full list of firewall ports that are needed.

6-30-2013 8-40-59 PM

8. A summary screen is then displayed, and the VDA starts installing. At the end you should have a successful message.

6-30-2013 9-25-41 PM

Now that the VDA is installed, we can proceed to making a machine catalog and provision some VDI VMs. Stay tuned for Part 4!

XenDesktop 7 Pt 2: Configure Citrix Studio Site

In Part one of my Citrix XenDesktop 7 installation guide we installed all of the XenDesktop 7 components on a single Windows Server 2012 VM. In this second edition we will setup the Citrix Studio site, which connects the XenDesktop 7 Studio to a database, vCenter, storage, and virtual networks.

XenDesktop 7 Series

Part 1: Role Installation
Part 2: Configure Desktop Studio Site
Part 3: Install VDA
Part 4: Create Machine Catalog
Part 5: Configure StoreFront
Part 6: Create Delivery Group
Part 7: Receiver Configuration
Part 8: Install Server VDA
Part 9: Create Server Machine Catalog
Part 10: Create Application Delivery Group

Configure Citrix Studio Site

1. Launch Desktop Studio and you will see this nice welcome screen. Click on Get Started.

XenDesktop 7 Studio

2. We want to configure a full site, so I enter a site name. Queenstown is one of my favorite cities in New Zealand, so let’s use that.

6-30-2013 5-45-50 PM

3. Next up is configuring a database. The information for SQL express was pre-populated, so I didn’t have to type in anything. You can also test the database connection, which is a great feature. If you don’t have SQL permissions, then it can generate a script to give to your DBA to run.

6-30-2013 5-48-40 PM

4. Licensing is always fun, NOT! Citrix has included a 30-day trial, so you don’t have to futz with the Citrix licensing portal. It also verifies a licensing server connection, and verified a trusted SSL connection. What’s new in XD7 is the ability to allocate licenses from this wizard instead of navigating through the Citrix licensing portal maze. Great time saving feature and extremely welcomed.

6-30-2013 5-52-44 PM

5. Next up is configuring the connection to vCenter. Desktop Studio is picky, as it should be, about the SSL certificate used on the vCenter server. If Desktop Studio has problems contacting the hypervisor, unlike previous versions that were quite unhelpful, you now get this godsend of an error message which takes you directly to the relevant CTX article. You can also view the exact error, which is also entirely understandable:

Exception:
Citrix.Console.Models.Exceptions.ScriptException Cannot connect to the VCenter server due to a certificate error. Make sure that the appropriate certificates are installed on the VCenter server, and install the appropriate certificates on the same machine that contains all instances of the Host service.

6-30-2013 6-01-30 PM

Since I just built up my vCenter server yesterday, I haven’t gone through the process of configuring it for trusted certs. It’s a bit complicated and I still have to follow my own blog to do it properly. So there’s a nice Citrix CTX article on how to trust the self-signed vCenter certificate. Certainly should never do this for production but in my PoC I want to take the easy route. The solution in the article is to download the vCenter self-signed cert and place it in the computer’s Trusted People certificate store. Quick and easy!

5. Next up you need to set a resource name, choose a cluster, and pick the portgroups that the VDI VMs will use.

6-30-2013 6-07-29 PM

6. Configuring storage is easy. Pick the datastores where the provisioned VMs should go. Desktop Studio does NOT support vSphere datastore clusters, which is a huge bummer.

6-30-2013 6-09-03 PM

7. I’m not doing App-V, so I skipped that configuration screen. A nice summary is shown at the end of the wizard.

6-30-2013 6-09-52 PM

8. A few minutes later I get this nice site configuration screen. New to XD7 is the Test Site feature, which runs through 177 tests to ensure everything is properly setup. Very nice touch.

6-30-2013 6-16-28 PM

6-30-2013 6-19-29 PM

At this point my Desktop site is up and it’s in a healthy state, just by clicking next through the entire install (minus trusting the vCenter certificate). Next up is installing the VDA on a Windows 7 x64 client, in preparation for creating a machine catalog. You can check out Part 3 here.