<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jarian Gibson &#187; VMware</title>
	<atom:link href="http://jariangibson.com/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://jariangibson.com</link>
	<description>Application, Desktop, and Server Virtualization</description>
	<lastBuildDate>Sat, 19 May 2012 17:20:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jariangibson.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jarian Gibson &#187; VMware</title>
		<link>http://jariangibson.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jariangibson.com/osd.xml" title="Jarian Gibson" />
	<atom:link rel='hub' href='http://jariangibson.com/?pushpress=hub'/>
		<item>
		<title>Using XenDesktop 5 with VMware</title>
		<link>http://jariangibson.com/2010/12/21/using-xendesktop-5-with-vmware/</link>
		<comments>http://jariangibson.com/2010/12/21/using-xendesktop-5-with-vmware/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 06:00:31 +0000</pubDate>
		<dc:creator>Jarian Gibson</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[XenDesktop 5]]></category>

		<guid isPermaLink="false">http://jariangibson.com/?p=990</guid>
		<description><![CDATA[Last year I blogged about using VMware with XenDesktop.  That article was focused on XenDesktop 4 and VMware integration.  With the recent release of XenDesktop 5, it&#8217;s time for an updated article.  In this blog post I am going to go over using XenDesktop 5 with VMware. vCenter HTTPS Access 1. If it doesn&#8217;t already &#8230; <span class="more-link"><a href="http://jariangibson.com/2010/12/21/using-xendesktop-5-with-vmware/">Continue reading &#187;</a></span><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=990&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last year I blogged about using <a href="http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/">VMware with XenDesktop</a>.  That article was focused on XenDesktop 4 and VMware integration.  With the recent release of XenDesktop 5, it&#8217;s time for an updated article.  In this blog post I am going to go over using XenDesktop 5 with VMware.</p>
<p><span id="more-990"></span><strong>vCenter HTTPS Access</strong></p>
<p>1. If it doesn&#8217;t already exist, create a DNS entry for your vCenter server.  Another option would be to create a host file entry on your XenDesktop Delivery Controllers and Provisioning Servers for your Virtual Center/vCenter server.</p>
<p>2. Using your browser connect to the FQDN of the vCenter server.  You should get a warning about the website&#8217;s security certificate.  Click continue to this website (not recommended).</p>
<p>3. Click the Certificate Error in the Security Status bar and select View certificates.  Once you can see the vCenter certificate, Click Install Certificate.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/cert-installcert.jpg"><img class="alignnone size-medium wp-image-1059" title="cert-installcert" src="http://jariangibson.files.wordpress.com/2010/12/cert-installcert.jpg?w=244&h=300" alt="" width="244" height="300" /></a></p>
<p>4. When the Certificate Import Wizard comes up, select Place all certificates in the following store and click Browse.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/cert-browse.jpg"><img class="alignnone size-medium wp-image-1057" title="cert-browse" src="http://jariangibson.files.wordpress.com/2010/12/cert-browse.jpg?w=300&h=266" alt="" width="300" height="266" /></a></p>
<p>5.  When Select Certificate Store comes up, select Show physical stores then expand Trusted People and then select Local Computer and click Ok.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/cert-certstore.jpg"><img class="alignnone size-full wp-image-1060" title="cert-certstore" src="http://jariangibson.files.wordpress.com/2010/12/cert-certstore.jpg?w=600" alt=""   /></a></p>
<p>6. When the Certificate Import Wizard completion screen comes up, click Finish.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/cert-finish.jpg"><img class="alignnone size-medium wp-image-1061" title="cert-finish" src="http://jariangibson.files.wordpress.com/2010/12/cert-finish.jpg?w=300&h=267" alt="" width="300" height="267" /></a></p>
<p>7. You will get prompted when the import is successful, click Ok.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/cert-success.jpg"><img class="alignnone size-full wp-image-1062" title="cert-success" src="http://jariangibson.files.wordpress.com/2010/12/cert-success.jpg?w=600" alt=""   /></a></p>
<p>8. Close the browser and reopen it.  You should be able to browse to your vCenter server without getting any certificate errors.</p>
<p><strong>vCenter role for XenDesktop</strong></p>
<p>When setting up the XenDesktop role in vCenter, the permissions listed in the <a href="http://support.citrix.com/proddocs/index.jsp?topic=/xendesktop-rho/cds-vmware-rho.html">Citrix eDocs</a> are from the SDK programming guide and some permissions are not what is actually shown in the add a new role dialog box.  Differences in permissions are noted below in <strong>bold</strong>.</p>
<p>Create a role in vCenter with the following permissions:</p>
<ul>
<li>Datastore Permissions
<ul>
<li>Allocate space</li>
<li>Browse datastore</li>
<li>File management is listed in Citrix eDocs but it is <strong>Low level file operations </strong>in vCenter</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-add-datastore.jpg"><img class="alignnone size-medium wp-image-1064" title="roles-add-datastore" src="http://jariangibson.files.wordpress.com/2010/12/roles-add-datastore.jpg?w=213&h=300" alt="" width="213" height="300" /></a></p>
<ul>
<li>Network Permissions
<ul>
<li>Assign network</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/role-add-network.jpg"><img class="alignnone size-medium wp-image-1067" title="role-add-network" src="http://jariangibson.files.wordpress.com/2010/12/role-add-network.jpg?w=212&h=300" alt="" width="212" height="300" /></a></p>
<ul>
<li>Resource Permissions
<ul>
<li>Assign virtual machine to resource pool</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-resource.jpg"><img class="alignnone size-medium wp-image-1068" title="roles-resource" src="http://jariangibson.files.wordpress.com/2010/12/roles-resource.jpg?w=225&h=300" alt="" width="225" height="300" /></a></p>
<ul>
<li>System Permissions &#8211; These permissions are automatically added when you create a role in vCenter.
<ul>
<li>Anonymous</li>
<li>Read</li>
<li>View</li>
</ul>
</li>
<li>Task Permissions
<ul>
<li>Create Task</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/role-add-task.jpg"><img class="alignnone size-medium wp-image-1069" title="role-add-task" src="http://jariangibson.files.wordpress.com/2010/12/role-add-task.jpg?w=210&h=300" alt="" width="210" height="300" /></a></p>
<ul>
<li>Virtual Machine/Configuration Permissions
<ul>
<li style="text-align:left;">Add existing disk</li>
<li style="text-align:left;">Add new disk</li>
<li style="text-align:left;">Change CPU count</li>
<li style="text-align:left;">Configure Resource is listed in the Citrix eDocs but it is <strong>Change resource</strong> in vCenter</li>
<li style="text-align:left;">Memory</li>
<li style="text-align:left;">Remove disk</li>
</ul>
</li>
</ul>
<p style="text-align:left;"> <img class="alignnone size-medium wp-image-1245" style="border-color:initial;border-style:initial;" title="add-new-roll-vm-config" src="http://jariangibson.files.wordpress.com/2010/12/screen-shot-2011-09-07-at-9-59-06-pm.png?w=214&h=300" alt="" width="214" height="300" /></p>
<ul>
<li>
<div style="text-align:left;">Virtual Machine/Interaction</div>
<ul>
<li>
<div style="text-align:left;">Power Off</div>
</li>
<li>
<div style="text-align:left;">Power On</div>
</li>
<li>
<div style="text-align:left;">Reset</div>
</li>
<li>
<div style="text-align:left;">Suspend</div>
</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-add-interact.jpg"><img class="alignnone size-medium wp-image-1071" title="roles-add-interact" src="http://jariangibson.files.wordpress.com/2010/12/roles-add-interact.jpg?w=211&h=300" alt="" width="211" height="300" /></a></p>
<ul>
<li>Virtual Machine/Inventory
<ul>
<li>Create is listed in the Citrix eDocs but it is <strong>Create New</strong> in vCenter</li>
<li>Create from existing</li>
<li>Delete is listed the Citrix eDocs but is <strong>Remove </strong>in vCenter</li>
<li>Register</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-add-inventory.jpg"><img class="alignnone size-medium wp-image-1072" title="roles-add-inventory" src="http://jariangibson.files.wordpress.com/2010/12/roles-add-inventory.jpg?w=213&h=300" alt="" width="213" height="300" /></a></p>
<ul>
<li>Virtual Machine/Provisioning
<ul>
<li>Clone is listed in the Citrix eDocs but it is <strong>Clone virtual machine </strong>in vCenter</li>
<li>Disk Random Access is listed in the Citrix eDocs but it is <strong>Allow disk access</strong> in vCenter</li>
<li>Get VM Files is listed in the Citrix eDocs but it is <strong>Allow virtual machine download</strong> in vCenter</li>
<li>Put VM Files is listed in the Citrix eDocs but it is <strong>Allow virtual machine files upload</strong> in vCenter</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-add-provisioning.jpg"><img class="alignnone size-medium wp-image-1074" title="roles-add-provisioning" src="http://jariangibson.files.wordpress.com/2010/12/roles-add-provisioning.jpg?w=222&h=300" alt="" width="222" height="300" /></a></p>
<ul>
<li>Virtual Machine/State
<ul>
<li>Create snapshot</li>
<li>Revert to snapshot</li>
</ul>
</li>
</ul>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-add-state.jpg"><img class="alignnone size-medium wp-image-1075" title="roles-add-state" src="http://jariangibson.files.wordpress.com/2010/12/roles-add-state.jpg?w=213&h=300" alt="" width="213" height="300" /></a></p>
<p>If you want XenDesktop to tag the virtual machines, you must also add the following permissions:</p>
<ul>
<li>Global
<ul>
<li>Manage Custom Fields is in the Citrix eDocs but it is <strong>Manager custom attributes</strong> in vCenter</li>
<li>Set Custom Field is in the Citrix eDocs but it is <strong>Set custom attribute</strong> in vCenter</li>
</ul>
</li>
</ul>
<p>To use XenDesktop Setup Tool with Provisioning Services, you will have to add the following permissions in addition to what is listed above:</p>
<ul>
<li>Virtual Machine/Provisioning
<ul>
<li>Clone Template</li>
<li>Deploy Template</li>
</ul>
</li>
</ul>
<p>Now that we have the XenDesktop role created, assign a domain account to the role.  For this article the example domain account is Citirx_services.</p>
<p>One question I am always asked when using XenDesktop with VMware by customers is how to limit virtual machine creation to a certain cluster or servers within vCenter.  Follow the steps below to control where virtual machines are deployed within your VMware infrastructure.</p>
<ol>
<li>Assign the XenDesktop role at the Datacenter level but do not propagate by unselecting Propagate when adding the role.</li>
<li>Assign the XenDesktop role at the Cluster level but do not propagate by unselecting Propagate when adding the role.  If you want to control virtual machine creation at the Cluster level then leave Propagate selected.  Assign the XenDesktop role to Servers within a Cluster if you want to limit virtual machine creation to certain Servers within a Cluster.</li>
<li>Assign the XenDesktop role to the Networks you want the virtual machines to have access to.</li>
<li>Assign the XenDesktop role the to Datastores you want virtual machines to be created in.</li>
<li>If you are also using folders within vCenter  in the VMs and Templates view make sure to also assign the XenDesktop role to the folders you want virtual machines created in.</li>
</ol>
<p>You should now be able to control where the virtual machines are placed when they are created.  See the screenshot below for an example of controlling where virtual machines get created.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/roles-usage-final1.jpg"><img class="alignnone size-full wp-image-1080" title="roles-usage-final" src="http://jariangibson.files.wordpress.com/2010/12/roles-usage-final1.jpg?w=600" alt=""   /></a></p>
<p>In the example above, virtual machines will only be created within the Citrix\Desktops folder on a single server within the VDILab cluster in a single Datacenter in vCenter.  The virtual machines will only use the VDI Network and will only be created on the LeftHand_Lab Datastore.</p>
<p>When you create virtual machines using Machine Creation Services or XenDesktop Setup Tool with Provisioning Services, configure the following on the Host screen:</p>
<ul>
<li>Host type: VMware virtualization</li>
<li>Address: <a href="https://vCenter.domain.com/sdk">https://vCenter.domain.com/sdk</a> &#8211; example vCenter name</li>
<li>Username: domain\citrix_services &#8211; example service account for XenDesktop role created in vCenter</li>
<li>Password: password for citrix_services account &#8211; example service account password for XenDesktop role created in vCenter</li>
</ul>
<p>This article was created using vCenter/ESX 4.1, XenDesktop 5 with Machine Creation Services, and Internet Explorer 8.</p>
<p>This blog post was a collaboration with Shane Kleinert (<a href="http://twitter.com/shanekleinert">@shanekleinert</a>, <a href="http://join.citrixirc.com/">CitrixIRC</a>, <a href="http://twitter.com/citrixirc">@CitrixIRC</a>).  I would like to give a big thanks to Shane for the team work on this article.</p>
<div>If you have found this article interesting or if you have any other insights, please feel free to leave comments on this article.</div>
<br />Filed under: <a href='http://jariangibson.com/category/vmware/'>VMware</a>, <a href='http://jariangibson.com/category/citrix/xendesktop/'>XenDesktop</a> Tagged: <a href='http://jariangibson.com/tag/vmware/'>VMware</a>, <a href='http://jariangibson.com/tag/vsphere/'>vSphere</a>, <a href='http://jariangibson.com/tag/xendesktop/'>XenDesktop</a>, <a href='http://jariangibson.com/tag/xendesktop-5/'>XenDesktop 5</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jariangibson.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jariangibson.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jariangibson.wordpress.com/990/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=990&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jariangibson.com/2010/12/21/using-xendesktop-5-with-vmware/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1271a4fe440ce7926a792b3fb3ba4bfe?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">JarianGibson</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/cert-installcert.jpg?w=244" medium="image">
			<media:title type="html">cert-installcert</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/cert-browse.jpg?w=300" medium="image">
			<media:title type="html">cert-browse</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/cert-certstore.jpg" medium="image">
			<media:title type="html">cert-certstore</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/cert-finish.jpg?w=300" medium="image">
			<media:title type="html">cert-finish</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/cert-success.jpg" medium="image">
			<media:title type="html">cert-success</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-add-datastore.jpg?w=213" medium="image">
			<media:title type="html">roles-add-datastore</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/role-add-network.jpg?w=212" medium="image">
			<media:title type="html">role-add-network</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-resource.jpg?w=225" medium="image">
			<media:title type="html">roles-resource</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/role-add-task.jpg?w=210" medium="image">
			<media:title type="html">role-add-task</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/screen-shot-2011-09-07-at-9-59-06-pm.png?w=214" medium="image">
			<media:title type="html">add-new-roll-vm-config</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-add-interact.jpg?w=211" medium="image">
			<media:title type="html">roles-add-interact</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-add-inventory.jpg?w=213" medium="image">
			<media:title type="html">roles-add-inventory</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-add-provisioning.jpg?w=222" medium="image">
			<media:title type="html">roles-add-provisioning</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-add-state.jpg?w=213" medium="image">
			<media:title type="html">roles-add-state</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/roles-usage-final1.jpg" medium="image">
			<media:title type="html">roles-usage-final</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting VMDK to VHD for use with XenClient</title>
		<link>http://jariangibson.com/2010/12/20/converting-vmdk-to-vhd-for-use-with-xenclient/</link>
		<comments>http://jariangibson.com/2010/12/20/converting-vmdk-to-vhd-for-use-with-xenclient/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 03:19:27 +0000</pubDate>
		<dc:creator>Jarian Gibson</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenClient]]></category>
		<category><![CDATA[VHD]]></category>
		<category><![CDATA[VMDK]]></category>

		<guid isPermaLink="false">http://jariangibson.com/?p=1000</guid>
		<description><![CDATA[I was recently working with Doug Brown (@douglasabrown, DABCC) and Shane Kleinert (@shanekleinert, CitrixIRC) on converting a VMware VMDK to VHD for use with XenClient.  Using XenConvert to convert the VMDK to VHD completed without errors but when following Citrix Knowledgebase Article CTX127075 &#8211; Attempting to use a Virtual Hard Disk on XenClient 1.0 Created Using &#8230; <span class="more-link"><a href="http://jariangibson.com/2010/12/20/converting-vmdk-to-vhd-for-use-with-xenclient/">Continue reading &#187;</a></span><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=1000&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was recently working with Doug Brown (<a href="http://twitter.com/douglasabrown/">@douglasabrown</a>, <a href="http://www.dabcc.com/">DABCC</a>) and Shane Kleinert (<a href="http://twitter.com/shanekleinert/">@shanekleinert</a>, <a href="http://join.citrixirc.com/">CitrixIRC</a>) on converting a VMware VMDK to VHD for use with XenClient.  Using XenConvert to convert the VMDK to VHD completed without errors but when following <a href="http://support.citrix.com/article/CTX127075">Citrix Knowledgebase Article CTX127075 &#8211; Attempting to use a Virtual Hard Disk on XenClient 1.0 Created Using XenConvert or From a Pre-Release XenClient System Fails with Error Code 199</a> and using the vhd-copy script, the size of VHD file didn&#8217;t look right.  In this blog post I am going to go over the process of converting a VMDK to VHD for use with XenClient.</p>
<p><span id="more-1000"></span>Previous versions of XenClient allowed you to use an existing VHD file with a virtual machine on XenClient.  With the release of XenClient 1.0 a disk encryption facility with some additional virtual hard disk headers and hard disk checking was added.  When a virtual machine is started in XenClient 1.0, XenClient checks for the additional hard disk options.  If the additional hard disk options are present, then the virtual machine fails to start with Error Code 1099.</p>
<p>I have used XenConvert to convert physical machines and have also used VHD files from XenServer successfully with XenClient.  Until recently I have not tried converting a VMware VMDK to VHD format using XenConvert for use with XenClient.  I thought the process would be pretty straight forward and it was until running the vhd-copy script from <a href="http://support.citrix.com/article/CTX127075">Citrix Knowledgebase Article CTX127075 &#8211; Attempting to use a Virtual Hard Disk on XenClient 1.0 Created Using XenConvert or From a Pre-Release XenClient System Fails with Error Code 199</a>.  The size of the target VHD file from the vhd-copy script was a fraction of the size compared to the source VHD file.</p>
<p>Using XenConvert to convert from VMDK to VHD format was a successful conversion without errors.</p>
<p> <a href="http://jariangibson.files.wordpress.com/2010/12/01-xenconvert.png"><img class="alignnone size-medium wp-image-1010" title="01-XenConvert" src="http://jariangibson.files.wordpress.com/2010/12/01-xenconvert.png?w=300&h=206" alt="" width="300" height="206" /></a></p>
<p>The converted VHD file was then copied over to the XenClient machine using WinSCP.  After the VHD file and vhd-copy script were copied over to the /storage/disks directory on the XenClient machine, the vhd-copy script was executed by making an SSH connection to the XenClient machine.  You can also do it from the XenClient machine shell terminal by pressing CTRL+SHIFT+T keys.  The vhd-copy command used was ./vhd-copy &#8211;src WinXP.vhd &#8211;dest WinXPFixed.vhd.  Notice successful completion of the vhd-copy script and the size difference in the screenshot below for the WinXP.vhd and WinXPFixed.vhd files.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/02-vhd-copy.png"><img class="alignnone size-medium wp-image-1013" title="02-vhd-copy" src="http://jariangibson.files.wordpress.com/2010/12/02-vhd-copy.png?w=300&h=162" alt="" width="300" height="162" /></a><a href="http://jariangibson.files.wordpress.com/2010/12/02-vhd-copy.png"></a></p>
<p>After running XenConvert again to convert from VMDK to VHD format and running the vhd-copy script again, we got the same results.  <a href="http://www.winimage.com/">WinImage</a> was also used to convert the VMDK to VHD but errors were received when running the vhd-copy script.  In the end <a href="http://vmtoolkit.com/files/folders/converters/entry8.aspx">VMDK to VHD Converter</a> was used to convert from VMDK to VHD format.  The converted VHD file was then copied to the XenClient machine using WinSCP.  After the VHD file and vhd-copy script were copied over to the /storage/disks directory on the XenClient machine, the vhd-copy script was executed by making an SSH connection to the XenClient machine.  You can also do it from the XenClient machine shell terminal by pressing CTRL+SHIFT+t keys.  The vhd-copy command used was ./vhd-copy &#8211;src WinXPPro.vhd &#8211;dest WinXPProFixed.vhd.  Notice successful completion of the vhd-copy script and now the size of VHD files are almost the same size in the screenshot below for the WinXPPro.vhd and WinXPProFixed.vhd files.</p>
<p><a href="http://jariangibson.files.wordpress.com/2010/12/03-vhd-copy.png"><img class="alignnone size-medium wp-image-1015" title="03-vhd-copy" src="http://jariangibson.files.wordpress.com/2010/12/03-vhd-copy.png?w=300&h=161" alt="" width="300" height="161" /></a></p>
<p>Now that the VHD file is properly encrypted for use with XenClient 1.0 it can be used with a virtual machine on XenClient.  To use  the VHD file with a XenClient virtual machine do the following:</p>
<ol>
<li>Create a virtual machine but do not start it.</li>
<li>Connect to the XenClient machine by using Putty or open a shell terminal on XenClient by pressing CTRL+SHIFT+t keys.</li>
<li>Change directory to /storage/disks.</li>
<li>Find the VHD file created by the virtual machine created in step 1 and change the name from guidofvm.vhd to guidofvhd.orig.</li>
<li>Change the name of the converted virtual machine VHD file from convertedvm.vhd (Example from above WinXPProFixed.vhd) to guidofvm.vhd.</li>
<li>Start the virtual machine.</li>
</ol>
<p>You should now have a virtual machine running on XenClient that was converted from a VMDK to VHD.  Big thanks to Doug Brown and Shane Kleinert for the team effort on this one.</p>
<div>If you have found this article interesting or if you have any other insights, please feel free to leave comments on this article.</div>
<br />Filed under: <a href='http://jariangibson.com/category/vmware/'>VMware</a>, <a href='http://jariangibson.com/category/citrix/xenclient/'>XenClient</a> Tagged: <a href='http://jariangibson.com/tag/vhd/'>VHD</a>, <a href='http://jariangibson.com/tag/vmdk/'>VMDK</a>, <a href='http://jariangibson.com/tag/vmware/'>VMware</a>, <a href='http://jariangibson.com/tag/xenclient/'>XenClient</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jariangibson.wordpress.com/1000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jariangibson.wordpress.com/1000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jariangibson.wordpress.com/1000/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=1000&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jariangibson.com/2010/12/20/converting-vmdk-to-vhd-for-use-with-xenclient/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1271a4fe440ce7926a792b3fb3ba4bfe?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">JarianGibson</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/01-xenconvert.png?w=300" medium="image">
			<media:title type="html">01-XenConvert</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/02-vhd-copy.png?w=300" medium="image">
			<media:title type="html">02-vhd-copy</media:title>
		</media:content>

		<media:content url="http://jariangibson.files.wordpress.com/2010/12/03-vhd-copy.png?w=300" medium="image">
			<media:title type="html">03-vhd-copy</media:title>
		</media:content>
	</item>
		<item>
		<title>XenDesktop Deployments&#8230;Single or Multiple Hypervisor Infrastructure?</title>
		<link>http://jariangibson.com/2010/06/28/xendesktop-deployments-single-or-multiple-hypervisor-infrastructure/</link>
		<comments>http://jariangibson.com/2010/06/28/xendesktop-deployments-single-or-multiple-hypervisor-infrastructure/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:39:16 +0000</pubDate>
		<dc:creator>Jarian Gibson</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[XenServer]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://jariangibson.com/?p=689</guid>
		<description><![CDATA[While working on a XenDesktop project in a huge VMware shop, I started thinking if a single hypervisor should be used or if multiple hypervisors should be used in XenDesktop deployments. Then I was on a conference call with Scott Lane, Senior Systems Engineer for Citrix in the Great Plains Area and also a co-author &#8230; <span class="more-link"><a href="http://jariangibson.com/2010/06/28/xendesktop-deployments-single-or-multiple-hypervisor-infrastructure/">Continue reading &#187;</a></span><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=689&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While working on a XenDesktop project in a huge VMware shop, I started thinking if a single hypervisor should be used or if multiple hypervisors should be used in XenDesktop deployments. Then I was on a conference call with Scott Lane, Senior Systems Engineer for Citrix in the Great Plains Area and also a co-author on this post, about the same XenDesktop project and we started discussing thoughts on this. A number of factors came to mind like cost of the hypervisor (VMware licenses for the XenDesktop project are adding a nice chunk of change to the cost of the deployment), hypervisor features, etc. In this blog post I am going to talk about things to consider about different hypervisors for XenDesktop deployments.<br />
<span id="more-689"></span><br />
I often go into shops that already have large VMware infrastructures deployed and talk about XenDesktop. When I&#8217;m talking to the customer or potential customer about XenDesktop I always mention that with XenDesktop VDI, Enterprise, or Platinum Editions they will also get XenServer Enterprise Edition. This always gets mixed results. Most think I&#8217;m trying to push VMware out the door when I talk about XenServer. This is not the case at all. When I talk about XenServer I am focused on the XenDesktop environment and nothing else in their environment. I tell the customer that you may want to look at XenServer for the provisioned XenDesktop virtual Windows desktops and XenApp servers and then use their existing VMware infrastructure for the XenDesktop infrastructure components. Use XenServer that is included with XenDesktop for your XenDesktop Windows desktop and XenApp server infrastructure and continue to use your VMware infrastructure for everything else.</p>
<p>I also talk about the open architecture of XenDesktop and that they can choose between Citrix XenServer, Microsoft Hyper-V, and VMware vSphere hypervisors for the XenDesktop virtual desktops.  I talk about Hyper-V as another option and the benefits of using Hyper-V for the hypervisor in XenDesktop deployments especially when the customer is talking about deploying Windows 7 and Windows 2008 virtual machines in their XenDesktop infrastructure.   Some think that having multiple hypervisors is too much to manage or there is a big learning curve.  Most customers I have worked with that are strong in virtualization find XenServer pretty easy to learn.  With tools like System Center Virtual Machine Manager that can manage ESX/vSphere and Hyper-V from a single console make management of multiple hypervisors easy for multiple hypervisor deployments. When System Center Virtual Machine Manager supports management of XenServer, all three hypervisors will be managed from a single console. </p>
<p><strong>XenDesktop deployments on Citrix XenServer considerations:</strong></p>
<ul>
<li>Included with XenDesktop, no extra cost for the hypervisor</li>
<li>XenServer redundancy built-in (no management server to deploy)
<ul>
<li><a href="http://support.citrix.com/article/CTX122458">CTX122458 &#8211; How to Integrate XenServer Redundantly into a XenDesktop Infrastructure</a></li>
<li><a href="http://www.thegenerationv.com/2009/12/how-xendesktop-recovers-from-xenserver_07.html">The Generation V &#8211; How XenDesktop recovers from a XenServer failed pool master</a></li>
</ul>
</li>
<li>XenCenter is easy to use for both server virtualization and desktop administrators</li>
<li>Single vendor to call for technical support</li>
<li>XenServer 5.6 features has made XenServer a more complete product
<ul>
<li>Dynamic Memory Control</li>
<li>Enhanced CPU compatibility for XenMotion</li>
<li>Enhanced snapshots, including full system state and one-click revert</li>
<li>Automation for Workload Balancing</li>
<li>Administrative Delegation, Logging and Audit Reports</li>
</ul>
</li>
<li>XenServer virtual machine tools have to be installed and maintained</li>
<li>XenServer can direct boot VHD files to update XenServer tools and Provisioning Services tools
<ul>
<li><a href="http://support.citrix.com/article/CTX123395">Citrix Knowledge Center Article CTX123395 – How to Update Provisioning Server Target Device Software using a Network File Share with XenServer</a></li>
<li><a href="http://community.citrix.com/display/ocb/2009/08/15/PVS+5.1+Direct+VHD+Boot+using+XenServer">The Citrix Blogs &#8211; PVS 5.1 Direct VHD Boot using XenServer</a></li>
</ul>
</li>
<li>New option in XenServer 5.6 to select network boot when building virtual machine template</li>
<li>XenServer has built-in optimizations for XenApp</li>
<li>Citrix Virtual Appliances are released on XenServer first</li>
<li>Having XenServer already in place makes you already prepared for Multi-GPU Passthrough for HDX 3D Pro Graphics and Distributed Virtual Switching (DVS) that are coming in tech preview/private beta soon.
<ul>
<li><a href="http://support.citrix.com/article/CTX125574">Citrix Knowledge Center Article CTX125574 - XenServer 5.6 Multi-GPU Passthrough for HDX 3D Pro Graphics</a></li>
<li><a href="http://community.citrix.com/display/ocb/2010/06/28/Private+beta+release+of+XenServer+distributed+virtual+switching+%28DVS%29+coming+soon%21">The Citrix Blogs &#8211; Private beta release of XenServer distributed virtual switching (DVS) coming soon!</a></li>
</ul>
</li>
</ul>
<p><strong>XenDesktop deployments on Microsoft Hyper-V R2 considerations:</strong></p>
<ul>
<li>System Center Virtual Machine Manager is needed to manage hosted virtual desktops</li>
<li>Server and Desktop administrators who already use System Center products will already be familiar with the look and feel of System Center Virtual Machine Manager console</li>
<li>System Center Essentials 2010 could be used for smaller XenDesktop deployments (for XenDesktop deployments under 500 seats when supported)</li>
<li>Management server (System Center Virtual Machine Manager or Essentials 2010) can be single point of failure for management of hosted virtual desktops</li>
<li>Microsoft Hyper-V Server 2008 R2 Edition is free with features like Live Migration, Host Clustering, etc but needs System Center Virtual Machine Manager or Essentials 2010 to manage hosted virtual desktops</li>
<li>System Center Virtual Machine Manager or Essentials 2010 console needs to be installed on XenDesktop Delivery Controllers and Provisioning Servers for management and for use with XenDesktop Setup Wizard</li>
<li>Windows 7 virtual desktops and XenApp servers running on Windows 2008 have integration components built-in to the operating system. No need for 3rd party virtual machine tools to install and maintain.</li>
<li>Hyper-V can direct boot VHD files to update Provisioning Services tools
<ul>
<li><a href="http://community.citrix.com/display/ocb/2009/07/28/New+Way+to+Upgrade+with+PVS+5.1+and+HyperV">The Citrix Blogs &#8211; New Way to Upgrade with PVS 5.1 and Hyper-V</a></li>
</ul>
</li>
<li>Legacy NIC needed for network boot/Provisioning Services and Synthetic NIC for all other traffic</li>
<li>Network boot enabled in virtual machine settings</li>
<li>Windows 7 and Windows 2008 on Hyper-V are better together</li>
<li>Citrix and Microsoft relationship
<ul>
<li><a href="http://support.citrix.com/article/CTX124687">Citrix Knowledge Center Article CTX124687 &#8211; XenDesktop with Microsoft Hyper-V Design Guide</a></li>
<li><a href="http://community.citrix.com/display/ocb/2010/03/01/Seven+Things+I+Learned+Testing+XenDesktop+with+Hyper-V">The Citrix Blogs &#8211; Seven Things I Learned Testing XenDesktop with Hyper-V</a></li>
<li>Citrix Essentials for Hyper-V for site recovery/disaster recovery</li>
</ul>
</li>
<li>System Center Virtual Machine Manager for mixed vSphere and Hyper-V deployments with XenServer support coming in the future for a possibly mixed environment of all 3 hypervisors</li>
<li>Having Hyper-V already in place makes you already prepared for RemoteFX and Dynamic Memory that are coming in service pack 1</li>
</ul>
<p><strong>XenDesktop deployments on VMware vSphere considerations:</strong></p>
<ul>
<li>Added cost of VMware infrastructure</li>
<li>Has per processor/core licensing (systems that have processors with over 6 cores need Advanced or Enterprise Plus licenses)
<ul>
<li><a href="http://www.vmware.com/download/eula/multicore.html">VMware Multi-Core Pricing &amp; Licensing Policy</a></li>
<li><a href="http://www.vmware.com/files/pdf/vsphere_pricing.pdf">VMware vSphere 4 Pricing, Packaging, and Licensing Overview</a></li>
</ul>
</li>
<li>vSphere/vCenter server is needed to manage virtual desktops</li>
<li>Management server (vSphere/vCenter) can be single point of failure for management of hosted virtual desktops</li>
<li>VMware ESXi is free but needs vSphere/vCenter server/agents to manage hosted virtual desktops
<ul>
<li><a href="http://support.citrix.com/article/CTX124952">Citrix Knowledge Center Article CTX124952 &#8211; Citrix Statement of Support for VMware ESXi and Citrix XenDesktop</a></li>
</ul>
</li>
<li>vSphere/vCenter has to be setup to allow HTTP access, default SSL certificate imported (VI 3.5), or SSL certificate needed (vSphere 4) for XenDesktop Delivery Controller access/management and for use with the XenDesktop Setup Wizard
<ul>
<li><a href="http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/">Jarian Gibson &#8211; Using XenDesktop with VMware</a></li>
<li><a href="http://community.citrix.com/display/ocb/2010/08/09/Secret+to+getting+VirtualCenter+to+use+an+Enterprise+CA+SSL+certificate">The Citrix Blogs &#8211; Secret to getting Virtual Center to use an Enterprise CA SSL certificate</a></li>
</ul>
</li>
<li>VMware integration issues with Provisioning Services Target Devices &#8211; VMXNet3 driver issues with Windows Vista, 7, and 2008
<ul>
<li><a href="http://support.citrix.com/article/CTX125361">Citrix Knowledge Center Article CTX125361 &#8211; ESX Target Device Fails to Boot</a></li>
</ul>
</li>
<li>VMware integration issues with XenDesktop Virtual Desktop Agent &#8211; Video driver issues with Windows Vista and Windows 7
<ul>
<li><a href="http://support.citrix.com/article/CTX124877">Citrix Knowledge Center Article CTX124877 &#8211; Unable to Connect to XenDesktop Virtual Desktop Agent on Vista or Windows 7 with WDDM Driver</a></li>
<li><a href="http://support.citrix.com/article/CTX123952">Citrix Knowledge Center Article CTX123952 &#8211; Unable to Connect to XenDesktop Virtual Desktop Agent on Windows 7 with VMware Tools ESX 4.0 Update 1</a> &#8211; also had to do this when installing XenDesktop Virtual Desktop Agent on Windows 7 or install would fail</li>
</ul>
</li>
<li>VMware virtual machine tools have to be installed and maintained</li>
<li>VMware virtual machine has to be reversed imaged to update virtual machine tools or Provisioning Services tools &#8211; Hyper-V or XenServer instance in VMware environment could also do this</li>
<li>Network boot enabled in virtual machine BIOS by editing virtual machine properties to enter BIOS on next boot</li>
<li>Need at least a 1MB disk attached or Target Device will BSOD
<ul>
<li><a href="http://support.citrix.com/article/CTX119739">Citrix Knowledge Center Article CTX119739 &#8211; Provisioning Server and VMware ESX Interoperability Guide</a></li>
</ul>
</li>
<li>Most matured hypervisor with largest data center footprint</li>
</ul>
<p>So as you can see a number of factors come into play when choosing a hypervisor for your XenDesktop infrastructure.  Some customers I have worked with have stayed with their current hypervisor and kept a single hypervisor infrastructure all on VMware vSphere. While other customers I have worked with have gone with multiple hypervisor infrastructures having the XenDesktop infrastructure components on VMware vSphere and the virtual desktops on Citrix XenServer. I have even had one customer put everything relating to Citrix on Citrix XenServer and kept the rest of their infrastructure on VMware vSphere. I will be doing an install next month in a pure XenServer environment (They have been running Xen since long before the Citrix acquisition). The demo lab at my office and what we use for workshops is a mix of Citrix XenServer for the virtual appliances and Microsoft Hyper-V R2 for everything else. Microsoft Hyper-V R2 is getting more consideration and interest lately and I expect to start doing more and more XenDesktop deployments on Hyper-V soon.</p>
<p>For XenDesktop deployments do you stick with a single or have multiple hypervisors? Every environment is different and everyone has their own take on this. With the way the economy has been customers are looking at other options instead of paying a premium for what they currently have. Especially since cost for and deployment of a XenDesktop infrastructure are a huge factors these days. Citrix XenServer and Microsoft Hyper-V R2 are getting more and more interest and gaining ground every day as the feature sets become more and more comparable with VMware vSphere.  With XenDesktop having an open architecture you have options when it comes to the hypervisor.  The hypervisor is becoming a commodity anyway, right?</p>
<p>If you have found this article interesting or if you have any other insights, please feel free to leave comments on this article.<br />
<strong><a href="http://jariangibson.files.wordpress.com/2010/04/20.png"></a></strong></p>
<br />Filed under: <a href='http://jariangibson.com/category/microsoft/hyper-v/'>Hyper-V</a>, <a href='http://jariangibson.com/category/vmware/'>VMware</a>, <a href='http://jariangibson.com/category/citrix/xendesktop/'>XenDesktop</a>, <a href='http://jariangibson.com/category/citrix/xenserver/'>XenServer</a> Tagged: <a href='http://jariangibson.com/tag/esx/'>ESX</a>, <a href='http://jariangibson.com/tag/hyper-v/'>Hyper-V</a>, <a href='http://jariangibson.com/tag/vsphere/'>vSphere</a>, <a href='http://jariangibson.com/tag/xendesktop/'>XenDesktop</a>, <a href='http://jariangibson.com/tag/xenserver/'>XenServer</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jariangibson.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jariangibson.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jariangibson.wordpress.com/689/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=689&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jariangibson.com/2010/06/28/xendesktop-deployments-single-or-multiple-hypervisor-infrastructure/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1271a4fe440ce7926a792b3fb3ba4bfe?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">JarianGibson</media:title>
		</media:content>
	</item>
		<item>
		<title>Using XenDesktop with VMware</title>
		<link>http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/</link>
		<comments>http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 02:11:46 +0000</pubDate>
		<dc:creator>Jarian Gibson</dc:creator>
				<category><![CDATA[Provisioning Services]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Provisioning Server]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://jariangibson.com/?p=328</guid>
		<description><![CDATA[Using XenDesktop with VMware Infrastructure 3 or vSphere 4 require a few extra steps to set up and configure.  VMware Infrastructure 3 and vSphere 4 both have a few different steps for XenDesktop Delivery Controller and XenDesktop Setup Wizard communication along with the proper permissions for the account used to connect to your Virtual Center or &#8230; <span class="more-link"><a href="http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/">Continue reading &#187;</a></span><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=328&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using XenDesktop with VMware Infrastructure 3 or vSphere 4 require a few extra steps to set up and configure.  VMware Infrastructure 3 and vSphere 4 both have a few different steps for XenDesktop Delivery Controller and XenDesktop Setup Wizard communication along with the proper permissions for the account used to connect to your Virtual Center or vCenter server.  In this blog post I am going to go over the steps to set up and configure XenDesktop Delivery Controller and the XenDesktop Setup Wizard communication along with the permissions needed for both VMware Infrastructure 3 and vSphere 4.<br />
<span id="more-328"></span></p>
<p><strong>XenDesktop Delivery Controller and VMware Infrastructure 3 &#8211; Virtual Center 2.5</strong></p>
<p><strong>Virtual Center HTTPS Access</strong></p>
<ol>
<li>On the Virtual Center server browse to Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\ and copy the rui.crt to your XenDesktop Delivery Controller(s) and Provisioning Server(s) with the XenDesktop Setup Wizard.</li>
<li>Open an MMC and the Certificates snap-in to manage Certificates for the Computer Account on the XenDesktop Delivery Controller(s) and Provisioning Server(s) with the XenDesktop Setup Wizard.</li>
<li>Expand Certificates &gt; Trusted Root Certificates &gt; Certificates and import the rui.crt.</li>
<li>Create a host file entry for vmware with the IP address of the Virtual Center server on your XenDesktop Delivery Controller(s) and Provisioning Server(s) with the XenDesktop Setup Wizard.  You can also create DNS entry for vmware pointing to your vCenter server instead of editing hosts files on your servers. </li>
<li>In the Hosting Infrastructure section when creating a desktop group on the XenDesktop Delivery Controller or on the Provisioning Server when the running the XenDesktop Setup Wizard, select VMware Virtualization for the Hosting Infrastructure and enter <a href="https://vmware">https://vmware/sdk</a> for the Virtual Center address.</li>
</ol>
<p><strong>Virtual Center HTTP Access</strong></p>
<ol>
<li>Logon to the Virtual Center server.</li>
<li>Browse to Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\.</li>
<li>Open proxy.xml with the text editor of your choice and find the /sdk section.  Change the accessMode to httpAndHttps.</li>
<li>Restart the vCenter services.</li>
<li>In the Hosting Infrastructure section when creating a desktop group on the XenDesktop Delivery Controller or on the Provisioning Server when the running the XenDesktop Setup Wizard, select VMware Virtualization for the Hosting Infrastructure and enter <a href="https://vi.domain.com/sdk">http://Virtual Center Server IP address/sdk</a> for the Virtual Center address.</li>
</ol>
<p><strong>XenDesktop Delivery Controller and vSphere 4 and 4.1</strong></p>
<p><strong>vCenter HTTPS Access</strong></p>
<ol>
<li>On the vCenter server browse to Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\ (Windows 2003) or ProgramData\VMware\VMware VirtualCenter\SSL\ (Windows 2008) and copy the rui.crt to your XenDesktop Delivery Controller(s) and Provisioning Server with the XenDesktop Setup Wizard.</li>
<li>Open an MMC and the Certificates snap-in to manage Certificates for the Computer Account on the XenDesktop Delivery Controller(s) and Provisioning Server(s) with the XenDesktop Setup Wizard.</li>
<li>Expand Certificates &gt; Trusted Root Certificates &gt; Certificates and import the trusted root certificate for the SSL certificate copied from the vCenter server in step 1.  Also import the certificate to the Trusted People Store.</li>
<li>For XenDesktop 3.0 &#8211; On the XenDesktop Delivery Controller(s) install Citrix XenDesktop hotfix <a href="http://support.citrix.com/article/CTX122630">XDE300PM003</a> and on the Provisioning Server(s) install XenDesktop Setup Wizard <a href="http://support.citrix.com/article/CTX122057">XDE300SW001</a>.  For XenDesktop 4.0 &#8211; On the Desktop Delivery Controller(s) install Citrix XenDesktop hotfix <a href="http://support.citrix.com/article/CTX126119">XDE400PM004</a> and on the Provisioning Server(s) install XenDesktop Setup Wizard <a href="http://support.citrix.com/article/CTX125759">XDE400SWx86001</a> for 32 bit or <a href="http://support.citrix.com/article/CTX125760">XDE400SWX64001</a> for 64 bit. </li>
<li>Create a host file entry for vmware with the IP address of the vCenter server on your XenDesktop Delivery Controller(s) and Provisioning Server(s) with the XenDesktop Setup Wizard.  You can also create DNS entry for vmware pointing to your vCenter server instead of editing hosts files on your servers. </li>
<li>In the Hosting Infrastructure section when creating a desktop group on the XenDesktop Delivery Controller or on the Provisioning Server when the running the XenDesktop Setup Wizard, select VMware Virtualization for the Hosting Infrastructure and enter <a href="https://vi.domain.com/sdk">https://vmware/sdk</a> for the Virtual Center address.</li>
</ol>
<p><strong>vCenter HTTP Access</strong></p>
<ol>
<li>Logon to the vCenter server</li>
<li>Browse to Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\ (Windows 2003) or ProgramData\VMware\VMware VirtualCenter\SSL (Windows 2008).</li>
<li>Open proxy.xml with the text editor of your choice and find the /sdk section.  Change the accessMode to httpAndHttps.</li>
<li>Restart the vCenter services.</li>
<li>In the Hosting Infrastructure section when creating a desktop group on the XenDesktop Delivery Controller or on the Provisioning Server when the running the XenDesktop Setup Wizard, select VMware Virtualization for the Hosting Infrastructure and enter <a href="https://vi.domain.com/sdk">http://vCenter server IP address/sdk</a> for the Virtual Center address.</li>
</ol>
<p><strong>Virtual Center and vCenter Permissions</strong></p>
<p>When using XenDesktop with VMware make sure you use an account with the proper permissions to connect to the Virtual Center or vCenter server.  This account will be used for both the XenDesktop Delivery Controller and the XenDesktop Setup Wizard to connect to Virtual Center or vCenter.</p>
<p>The account used for XenDesktop Delivery Controller and the XenDesktop Setup Wizard to communicate to Virtual Center or vCenter will need the following permissions.  The following permissions need to be propagated to the lower levels in the Virtual Center or vCenter tree.  Create a role in Virtual Center or vCenter for XenDesktop with the following permissions:</p>
<p>At the Hosts and Clusters Node <a name="cds-vmware-install-config-bdx__ul_70B8432BFA68488A8102C2AE06E786FD"><!-- --></a></p>
<ul id="cds-vmware-install-config-bdx__ul_70B8432BFA68488A8102C2AE06E786FD">
<li id="cds-vmware-install-config-bdx__li_CECA878A9E6D436395F520E8AE41FF70"><a name="cds-vmware-install-config-bdx__li_CECA878A9E6D436395F520E8AE41FF70"><!-- --></a>Global.Manage Custom Attributes</li>
</ul>
<li id="cds-vmware-install-config-bdx__li_41CF84B814F24819BA7DD8A07BAF6121"><a name="cds-vmware-install-config-bdx__li_41CF84B814F24819BA7DD8A07BAF6121"><!-- --></a>On the data center(s) that will contain the virtual machines<a name="cds-vmware-install-config-bdx__ul_3BF67332AD2A44FA99869EEA4B822DC5"><!-- --></a>
<ul id="cds-vmware-install-config-bdx__ul_3BF67332AD2A44FA99869EEA4B822DC5">
<li id="cds-vmware-install-config-bdx__li_F6DE8FF13E704AA18895D53A77E91F91">Data Store.AllocateSpace<!-- --></li>
<li>Data Store.Browse Data Store</li>
<li id="cds-vmware-install-config-bdx__li_DBFC1EA306854182B41B8F8EF066FF3C">Virtual Machine.CloneTemplate<a name="cds-vmware-install-config-bdx__li_DBFC1EA306854182B41B8F8EF066FF3C"><!-- --></a></li>
<li>Virtual Machine.Provisioning.Deploy Template</li>
<li id="cds-vmware-install-config-bdx__li_BA20CCD210914380A5A6055DFDA5B28D"><!-- -->Virtual Machine.Inventory.Create<sup> </sup></li>
<li id="cds-vmware-install-config-bdx__li_51242F4250FB4458AE808BFC007170B2">Virtual Mahcine.CreateFromExisting<!-- --></li>
<li>Resource.AssignVMToPool</li>
</ul>
</li>
<li id="cds-vmware-install-config-bdx__li_B9D9E8EEB7704766876BB0C623B0F86C"><a name="cds-vmware-install-config-bdx__li_B9D9E8EEB7704766876BB0C623B0F86C"><!-- --></a>On the container (folder, cluster, and so on) that the virtual machines will be located in<a name="cds-vmware-install-config-bdx__ul_B5FC10BDF430471CACFC3914B82D7280"><!-- --></a>
<ul id="cds-vmware-install-config-bdx__ul_B5FC10BDF430471CACFC3914B82D7280">
<li id="cds-vmware-install-config-bdx__li_5DF752AA0D7D420281AC166626A9F4FF"><a name="cds-vmware-install-config-bdx__li_5DF752AA0D7D420281AC166626A9F4FF"><!-- --></a>Global.Set Custom Attributes</li>
<li id="cds-vmware-install-config-bdx__li_88697A0628424CAAA5340600A625153E"><a name="cds-vmware-install-config-bdx__li_88697A0628424CAAA5340600A625153E"><!-- --></a>Virtual Machine.Interaction.Power On</li>
<li id="cds-vmware-install-config-bdx__li_995C41DF64FF4DA59F69334982A71013"><a name="cds-vmware-install-config-bdx__li_995C41DF64FF4DA59F69334982A71013"><!-- --></a>Virtual Machine.Interaction.Power Off</li>
<li id="cds-vmware-install-config-bdx__li_062B4A58D3CB41D8954FA2823F8C56A1"><a name="cds-vmware-install-config-bdx__li_062B4A58D3CB41D8954FA2823F8C56A1"><!-- --></a>Virtual Machine.Interaction.Power Suspend</li>
<li id="cds-vmware-install-config-bdx__li_902D4F7A90074F3E9D5F553A9208E664"><a name="cds-vmware-install-config-bdx__li_902D4F7A90074F3E9D5F553A9208E664"><!-- --></a>Virtual Machine.Interaction.Power Reset</li>
</ul>
</li>
<p>For a complete overview of using XenDesktop with VMware see Citrix eDocs <a href="http://support.citrix.com/proddocs/index.jsp?topic=/xendesktop-bdx/cds-vmware-intro-bdx.html">VMware and XenDesktop</a>.</p>
<p>As you can see, using XenDesktop with VMware is pretty straight forward.  I recommend using HTTPS access over HTTP access.  Using HTTPS access is more secure than HTTP access and doesn&#8217;t require modifying the proxy.xml file on your Virtual Center or vCenter server.  <strong>Note:</strong> Using the default Virtual Center or vSphere certificate is not recommended for production use.  To change the default SSL certificate see <a href="http://www.vmware.com/pdf/vi_vcserver_certificates.pdf">Replacing Virtual Center Server Certificates in Virtual Infrastructure 3</a> or <a href="http://www.vmware.com/files/pdf/vsp_4_vcserver_certificates.pdf">Replacing vCenter Server Certificates in vSphere 4</a>. To use an Enterprise CA certificate like Microsoft Certificate Services see <a href="http://www.virtualvcp.com/vsphere-4-technical-guides/145-replacing-vsphere-ssl-certificates">Replacing vSphere SSL Certificates</a> over at the <a href="http://www.virtualvcp.com/index.php">VirtualVCP IT Virtualization blog</a>.</p>
<p>If you have found this article interesting or if you have any other insights, please feel free to leave comments on this article.</p>
<br />Posted in Provisioning Services, VMware, XenDesktop Tagged: ESX, ESXi, Provisioning Server, Provisioning Services, VMware, vSphere, XenDesktop <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jariangibson.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jariangibson.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jariangibson.wordpress.com/328/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jariangibson.com&#038;blog=9096580&#038;post=328&#038;subd=jariangibson&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jariangibson.com/2009/10/13/using-xendesktop-with-vmware/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1271a4fe440ce7926a792b3fb3ba4bfe?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">JarianGibson</media:title>
		</media:content>
	</item>
	</channel>
</rss>
