<?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/"
	>

<channel>
	<title>VCritical &#187; Citrix</title>
	<atom:link href="http://www.vcritical.com/tag/citrix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Mon, 30 Aug 2010 12:20:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Don&#8217;t Sysprep Me, Bro!</title>
		<link>http://www.vcritical.com/2009/07/dont-sysprep-me-bro/</link>
		<comments>http://www.vcritical.com/2009/07/dont-sysprep-me-bro/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 12:11:37 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[virtual machines]]></category>
		<category><![CDATA[XenCenter]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1234</guid>
		<description><![CDATA[With SCVMM, VM templates are generalized with Sysprep before storing in the image library -- the original VM is destroyed and cannot be updated.  vCenter only Syspreps after cloning.]]></description>
			<content:encoded><![CDATA[<p>The top virtualization platforms allow for rapid deployment of virtual machines via templates.  This capability alone is enough to make virtual environments far more efficient than physical.</p>
<p>With template deployment comes VM (or &#8220;image&#8221;) customization &#8212; each instance of an OS needs to have a unique hostname and, in the case of Windows, a unique SID (security identifier).</p>
<p>Not surprisingly, each vendor has taken a different approach to image customization.  Let&#8217;s take a closer look.</p>
<h2>VMware vCenter Server Image Customization</h2>
<p>With VMware vSphere and vCenter Server, VM templates are simply virtual machines with a special flag that essentially prevents users from accidentally powering them on.  In fact, you can clone and customize a new VM from a standard VM if you prefer &#8212; converting to template first is not even required.  Sysprep is only run on the new VM after it is cloned &#8212; the original template/VM is never generalized by Sysprep.</p>
<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="size-full wp-image-1250 alignright" title="Convert VMware ESX template back to VM." src="http://www.vcritical.com/wp-content/uploads/2009/07/convert_to_vm.png" alt="Convert VMware ESX template back to VM." width="356" height="110" /></p>
<p>The great thing about this design is that it gives you the ability to instantly convert a template back to a standard VM.  That makes it very easy to update templates and, for example, minimize the exposure of deploying virtual machines in dire need of numerous security patches.</p>
<p>Of course, vCenter also supports <a href="http://www.vcritical.com/2009/01/which-guest-operating-systems-can-be-customized-by-scvmm/">Linux guest customization</a>, unlike competitors.<span id="more-1234"></span></p>
<h2>Virtual Machine Manager (SCVMM) Image Customization</h2>
<p>Microsoft System Center Virtual Machine Manger also has VM templates, but the workflow is quite different from vCenter.</p>
<p>When you create a template in SCVMM, the guest OS is generalized with Sysprep before it is copied into the library.  That effectively destroys the original VM and, in fact, this is what the warning message states when you create a template.</p>
<p><img class="alignnone size-full wp-image-1276" title="Creating a template destroys the original VM" src="http://www.vcritical.com/wp-content/uploads/2009/07/templating_destroys_vm.png" alt="Creating a template destroys the original VM" width="500" /></p>
<p>Maintaining a clone of every VM template obviously introduces some management overhead.  Another option you might consider: when it is time to update a VM template, simply deploy a fresh VM from the previous template, make changes, and then re-create a new template from the VM.  That <em>sounds </em>like it will work, but there is actually a problem that prevents it from being a viable solution. For technical reasons, Sysprep can only be run on a particular OS image a total of <strong>three times</strong>.  You can read all about the details in this <a href="http://technet.microsoft.com/en-us/library/cc766514(WS.10).aspx" target="_blank">TechNet article</a>. UPDATE: Activated systems in a KMS environment are <strong>not </strong>affected by this limit.</p>
<p>Here is what happens when you exceed the Sysprep limit when attempting to create a template in SCVMM:</p>
<p><img class="alignnone size-full wp-image-1249" title="Sysprep Failed!" src="http://www.vcritical.com/wp-content/uploads/2009/07/sysprep_failed.png" alt="Sysprep Failed!" width="482" height="230" /></p>
<p>Looks like SCVMM administrators will either be maintaining master clones of all templates, or reinstalling VMs from scratch when updated templates are needed.  Kind of makes you think about the whole &#8220;managing physical plus virtual&#8221; thing, doesn&#8217;t it?</p>
<h2>Citrix XenCenter Image Customization</h2>
<p>Curious to know how Citrix handles Windows VM cloning and customization?  <a href="http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/guest.html#clone_considerations_Windows" target="_blank">They just don&#8217;t bother</a> &#8212; the documentation simply explains how to manually run Sysprep on a Windows VM before converting to a template.  All the disadvantages of the SCVMM model &#8212; without the automation.  Nice.</p>
<h2>Summary</h2>
<p>VMware vCenter Server is the only virtualization management platform that offers fully functional, non-destructive VM templates for both Windows and Linux guest operating systems.</p>
<p><strong>What interesting VM/template strategies have <em>you </em>adopted?</strong></p>
<p style="text-align: right;"><em>With apologies to the &#8220;<a href="http://lmgtfy.com/?q=don%27t+taze+me%2C+bro" target="_blank">Don&#8217;t Taze Me, Bro!</a>&#8221; guy.</em></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/10/scvmm-to-vmware-you-will-be-assimilated/' rel='bookmark' title='Permanent Link: SCVMM to VMware: You will be assimilated'>SCVMM to VMware: You will be assimilated</a></li>
<li><a href='http://www.vcritical.com/2009/07/even-gpl-cant-make-hyper-v-linux-vms-well/' rel='bookmark' title='Permanent Link: Even GPL can&#8217;t make Hyper-V Linux VMs well'>Even GPL can&#8217;t make Hyper-V Linux VMs well</a></li>
<li><a href='http://www.vcritical.com/2009/01/which-guest-operating-systems-can-be-customized-by-scvmm/' rel='bookmark' title='Permanent Link: Which guest operating systems can be customized by SCVMM?'>Which guest operating systems can be customized by SCVMM?</a></li>
<li><a href='http://www.vcritical.com/2009/01/finding-thin-provisioned-virtual-disks-with-powershell/' rel='bookmark' title='Permanent Link: Finding thin-provisioned virtual disks with PowerShell'>Finding thin-provisioned virtual disks with PowerShell</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/07/dont-sysprep-me-bro/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/citrix/" rel="tag">Citrix</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/sysprep/" rel="tag">Sysprep</a>, <a href="http://www.vcritical.com/tag/templates/" rel="tag">templates</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/virtual-machines/" rel="tag">virtual machines</a>, <a href="http://www.vcritical.com/tag/xencenter/" rel="tag">XenCenter</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/07/dont-sysprep-me-bro/">Don&#8217;t Sysprep Me, Bro!</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/07/dont-sysprep-me-bro/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
