Improve company productivity with a Business Account.Sign Up


1.XD 5.6 - How does the XenDesktop Controller Create Machines in vCenter

Posted on 2013-06-13
Medium Priority
Last Modified: 2013-11-11
I just deployed XenDesktop 5.6 FP1 on VSphere 5 and Vcenter .

I created my first catalog to have 2 machines (Pooled Random) ..While was was watching Vcenter doing the stuff, i though of posting a question on how it does the stuff in simple terms:

Using MCS

My golden Image computer Win 7 x64 Enterprise was On and it started to snapshot and then delete somethings and then 2 mahines were created.

Can some one explain me simply what happens : Steps XD controller takes , vCenter takes

Do i have to keep the gold Image On.

Why do the newly created machines stay in off state after being created.

When will they be turned on.

I know i may find all info online , but while i search that i though of asking the experts as you people always give precise advice that helps me get upto the speed.
Question by:MOQINFRA

Expert Comment

ID: 39245288
Let me try and advise you as much as possible, though it would be good for you to do the XenDesktop Overview (SPO) free course offered by Citrix, since your obviously diving in without any experience.

Firstly for XenDesktop to communicate with vShpere SSL certificates must be in place.

The template with which you deploy your MCS machines is consumed and no longer visible as a VM or template on the hypervisor, though you will still see the alloted storage space for the virtual disk, which is now being used by XenDesktop.

After adding computers to a catalog (the amount is specified by yourself at the time of catalog creation) you must the create a Desktop Group, here you assign users and configure the power options for the quantity of machines to be started, what times of the day, and any necessary peak power options you may want to set.

Author Comment

ID: 39249861
Hi TurnerML

I have created the Catalog and all is fine. What i am not understanding how the stuff is done in the background.

I need to understand How the image is used , Is it cloned /Snapshot for catalog creation etc

When i started to created my another Catalog , i still see the Golden image

But now i see an entry under it while creating the catalog

I havent templated the golden image , it is just a machine which i left powered on and can still see in vCenter and during catalog creation.
LVL 14

Assisted Solution

amichaell earned 1000 total points
ID: 39262261
The golden image VM hangs around.  You'll use it to update the VMs created from it.  You don't have to keep this VM on except when you perform an update to the base image.

When you configured XD you specified a host (vSphere) along with a service account that the XD Controller(s) use to communicate with vSphere.  XD uses the service account to log on to vCenter and then leverages the hypervisor APIs to create, start up, shutdown, and reboot VMs.

Power state is controlled by the properties of the desktop group (assignment).  Have you created one of these yet?  When you create a desktop group XD will assign a default power state setting, which *should* power on some of the VMs.  You can and should change the power state settings to ensure you have enough idle VMs on for your users.
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

LVL 11

Accepted Solution

AdamBNYC earned 1000 total points
ID: 39262336
FYI, this is NOT my work but easier than me writing this all out myself.

1 . Manual Step: First, have your master virtual machine created. This means you need to define the VM (vCPU, RAM, Disk space), install the OS, install the apps and make any configurations you want to be part of your user’s desktops. If you are thin provisioning the disk, you only use the amount needed up to your maximum amount define.
2. Manual Step: Within Desktop Studio, you create a catalog for a pooled desktop and you have to select the master virtual machine you want to base other VMs on. This is the one you installed and configured with the OS and applications.
3. Automatic Step: MCS creates a snapshot (thin) of the master VM unless you selected a snapshot, which will not create another snapshot. This uses minimal space
4. Automatic Step: MCS creates a full copy of the point in time snapshot and places this on each storage repository defined in the host connection. This will utilize the amount of space used for your complete image.
5. Automatic Step: MCS adds these desktops into Active Directory. This step creates the unique AD identities to be used later in the process
6. Automatic Step: MCS creates the number of VMs specified in the create catalog wizard with two disks defined for each VM. However, in addition to the 2 disks for each VM, a master will also be be stored in the same storage repository. If you have multiple storage repositories defined, then each one will get the following types of disks
      1.The full snapshot, which is read-only and shared across the VMs just created. Each storage repository will get one. This is the same disk identified in step 4.
      2. A unique identity disk (16MB) used to provide each VM with a unique identity. Functionality within the XenDesktop Controllers creates the identity disks. Each VM gets an identity disk.
      3. A unique difference disk used to store any writes made to the VM. The disk is thin provisioned (if supported by the storage) and will increase to the maximum size of the base VM if required. Each VM gets a difference disk.
LVL 11

Expert Comment

ID: 39262347
I would also add that if you considering a few hundred or more virtual desktops, I would advise using provisioning services over MCS.

Author Comment

ID: 39262426
Thank you ,

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question