Average time to read: 6 minutes

Just a quick note Iโ€™d like to share with you all. During the setup of my XenDesktop 7 lab environment not to long ago I ran into an error (because I wasn’t paying attention) when configuring my Host Infrastructure, which, in my case is Microsoftโ€™s Hyper-V. While were on the subject Iโ€™ll fisrt start by explaining and showing you the concept behind the Host Infrastructure which is often used in combination with either Machine Creation Services and or Citrix Provisioning Services. Of course, โ€˜normalโ€™ provisioned virtual machines can be hosted on there as well.

Site creation

When you install XenDesktop and start Studio, youโ€™ll first need to create a new Site or join an existing one, no other options here. If you donโ€™t join an existing Site but create a new one, and we’ll call this step one, then step two and three will walk you through the Catalog and Delivery Group creation process, which is out of scope for now, at least for the most part anyway. I already discussed, screenshots included, Catalogs and Delivery Groups in more detail during one of my previous articles, have a look here, it will tell, and show you all you need to know. Back to step one, during the Site creation process, assuming this will be a fresh new Site, you can also configure your underlying Host Infrastructure. Note that I say โ€˜canโ€™ because itโ€™s not a necessity.

Welcome to Citrix XenDesktop

Your Host Infrastructure is basically nothing more than a bridge to your underlying Hypervisor where your VMโ€™s (will) run, which can either be; Microsoftโ€™s Hyper-V, VMwareโ€™s vSphere or Citrixโ€™s XenServer. Since youโ€™ll need to able to start, stop, create, delete and monitor your VMโ€™s from Studio, some sort of management software will be needed, meaning, SCVMM in the case of Hyper-V, Virtual Center if you go with VMware or XenCenter if XenServer is used. At least one of these needs to be in place for this to work, Studio will then use the Hypervisors APIs to communicate and manage the virtual machines.

MCS & PVS

I already mentioned that you donโ€™t need to configure a Host Infrastructure, itโ€™s optional. Although this is very true, it will also limit your options when it comes to VM provisioning. If you decide not include an Host Infrastructure then you wonโ€™t be able to leverage XenDesktopโ€™s MCS or Citrix’s PVS (separate product) to automatically create tens, hundreds or thousands of VMโ€™s at once, all based on the same master / golden base image (single image management). So no MCS or PVS based pooled and or dedicated desktop Catalogs. Remember that with XenDesktop 7 it is now also possible to provision (using both MCS and PVS) server OS based VMโ€™s for Hosted Shared Desktop and published application solutions.

When thereโ€™s no Host Infrastructure configured, some options will be missing from the Machine Catalog creation wizard as well, see screenshot below. For example, on the Machine Management page, only physical hardware will be enabled by default and virtual hardware will be unavailable since thereโ€™s no underlying hypervisor configured. Also, on the same page, youโ€™ll see some options with regards to image management where MCS will be completely greyed out while PVS and โ€˜Another service or technologyโ€™ are selectable. So single image management is still possible through PVS, but only using physical machines. A use case not uncommon in larger enterprises, in fact, PVS was originally designed to stream physical work loads only. Of course itโ€™s also possible to import and manage other physical and virtual machines using Catalogs, without enabling and using PVS or MCS.

Machine Management

Note that even if MCS is available, it canโ€™t be used with physical machines, only virtual. You also canโ€™t use of the โ€˜XenDesktop setup wizardโ€™ from Provisioning Services, youโ€™ll need an Host Infrastructure for that as well. If we do have one set up then this wizard would be available. We then could also choose โ€˜virtual hardwareโ€™ in combination with PVS image management and import one or more device collections from PVS into our Catalogs with just a few clicks. The type of vDisk used (on a device collection) is managed from the PVS management console, just as pooled and dedicated desktops are managed from the XenDesktop (MCS) Studio console.

Configuring your Host Infrastructure

Back to the Host Infrastructure configuration part. As mentioned, during the site configuration wizard you also have the option to configure your underlying hypervisor a.k.a. Host Infrastructure, see the screenshot below. Youโ€™ll first need to select the Host Type which is basically SCVMM, XenCenter of Virtual Center for VMware. In the case of SCVMM (thatโ€™s what Iโ€™m using) you need to fill in the, or a, server address ย where the SCVMM management console is installed (it wonโ€™t work without) followed by a username, password and a name for the connection itself, see below.

Host Infrastructure setup error 1

After filling in all the fields and hitting next I ended up with this:

Host Infrastructure setup error 2

What could be wrong? It took me a few minutes to figure outย but itโ€™s actually quite simple. In fact, it tells you what to do when the field is still empty, but if you’re not paying attention, like I was, I guess it’s easy to miss. I can’t remember this ‘hint’ being there in the XD7 beta release as well. Have a look at the screenshot below, do you see what Iโ€™ve changed?

Host Infrastructure setup error 3

Correct, you need to add the domain suffix in front of the user name, like this: bossusername. And that’s it, after clicking next again I got this, ready to continue.

Host Infrastructure setup error 4

Unfortunately this is where it ends for me as well, to be able to continue you need to have a SCVMM cluster up and running, which I donโ€™t have. However, this should give you a good idea on how to configure your Host Infrastructure and its use in general. If you do have a cluster configured, the next step would to simple select one of the networks available with the cluster, if there are multiple of course, including the storage to go with it, and youโ€™re good to go.

A step back

Remember that this all takes place during the Site creation phase, basically the first thing you do after XenDesktop installation and starting Studio. So if you are able to configure your Host Infrastructure as described above (and in most cases you probably will be) this would also mean that the โ€˜Machine Managementโ€™ part, or page, during the โ€˜Create Machine Catalogโ€™ section discussed earlier, will have some more options available, like; Virtual machines and Machine Creation Services (MCS).

Conclusion

No rocket science, but worth a mention none the less, especially when error messages like these pop up. Although the solution is simple, it could have you wondering for a while. Also, the term Host Infrastructure isnโ€™t that know by most, especially among the die hard XenApp admins, they already have a ton of new terms and concepts to deal with when it comes to XenDesktop 7. I hope this helped.

Bas van Kaam on FacebookBas van Kaam on LinkedinBas van Kaam on Twitter
Bas van Kaam
Bas van Kaam
Field CTO EMEA by day, author by night @ Nerdio
Father of three, EMEA Field CTO @ Nerdio, Author of the book Van de Basis tot aan Meester in de Cloud, Co-author of the book Project Byte-Sized and Yuthor of the book: Inside Citrix โ€“ The FlexCast Management Architecture, over 500 blog posts and multiple (ultimate) cheat sheets/e-books. Public speaker, sport enthusiastยญยญยญยญยญยญยญยญ: above-average runner, 3 x burpee-mile finisher and a former semiprofessional snooker player. IT community participant and initiator of the AVD User group Community world wide.
, , ,


5 responses to “How to… Install and configure your Host Infrastructure”

  1. As usual well written article .. thanks again

  2. Thanks Suresh!

  3. Ho to delete the scvmm from xendesktop studio, i tried to delete it’s not allowing me to delete overall ideleted all the catalogs and delivery groups too still the same issue

    1. Bas van Kaam Avatar

      Hi Anil,

      Has this issue been resolved already? Any error messages, events, a permission issues perhaps etc..?

  4. Ramesh Avatar

    Hi
    i have two Vcenter setups in my environment, the Citrix environment is configured with vcentre 1 hosting infrastructure, now i want to change the citrix environment to vcenter 2 Setup
    how it will function after changing it to the another vcenter host infrastructure

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

About

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book.

Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown prmontserrat took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Categories

Gallery

Verified by MonsterInsights