<?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; vCenter</title>
	<atom:link href="http://www.vcritical.com/tag/vcenter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Wed, 19 Oct 2011 22:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hyper-Vacating Your Datacenter with vSphere 4.1</title>
		<link>http://www.vcritical.com/2010/08/hyper-vacating-your-datacenter-with-vsphere-4-1/</link>
		<comments>http://www.vcritical.com/2010/08/hyper-vacating-your-datacenter-with-vsphere-4-1/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 12:20:13 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMware Converter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2691</guid>
		<description><![CDATA[A new feature in vSphere 4.1 allows administrators to easily perform a cold conversion (V2V) of a Hyper-V virtual machine.]]></description>
			<content:encoded><![CDATA[<p>Has a rogue <a href="http://www.vcritical.com/tag/hyper-v/">Hyper-V</a> host popped up in the server room?  Did someone develop a now-critical application atop Hyper-V on a PC under his desk?  Has your company acquired another that hadn&#8217;t standardized on VMware vSphere?  Do you need to get a Hyper-V VM onto vSphere quickly?</p>
<p>Then <strong>Hyper-V</strong>acate your datatacenter &#8212; stat!</p>
<p>Thanks to a new feature in VMware vSphere 4.1 to convert and import virtual machines &#8212; also known as V2V &#8212; from a Hyper-V host, <strong>Hyper-V</strong>acating is now easier than ever.  From the <a href="http://www.vmware.com/support/vsphere4/doc/vsp_41_new_feat.html" target="_blank">What&#8217;s New in vSphere 4.1 document</a>:</p>
<p style="padding-left: 30px;"><strong>vCenter Converter Hyper-V Import.</strong> vCenter Converter allows users to point to a Hyper-V machine. Converter displays the virtual machines running on the Hyper-V system, and users can select a powered-off virtual machine to import to a VMware destination. See the <a href="http://www.vmware.com/pdf/vsp_vcc_42_admin_guide.pdf" target="_blank">vCenter Converter Installation and Administration Guide</a>.</p>
<p>It has always been possible to import a Hyper-V VM &#8212; even before vSphere 4.1 &#8212; by simply treating it as a powered-on physical machine;  this is still a valid approach for those that prefer to do a hot conversion.  The new enhancement in 4.1 allows a cold conversion, which is worth considering to ensure a completely consistent V2V copy.</p>
<h2>Downtime?</h2>
<p>A cold conversion <em>will</em> require some downtime for the Hyper-V virtual machine.  As a vSphere administrator, you may not be familiar with the nuances of Hyper-V, but the good news is that users serviced by a Hyper-V infrastructure are not unfamiliar with downtime.  That&#8217;s because <a href="http://www.vcritical.com/tag/snapshots+hyper-v/">tasks like removing a snapshot require VMs to be powered off</a>.  Therefore, do not be too concerned with this brief outage.<span id="more-2691"></span></p>
<h2>Visual Walk-Through</h2>
<p>If you have installed vCenter Server with vCenter Converter and plug-in, a wizard will guide you through the entire process.  Take a look at some of the key steps:</p>
<p>Select Hyper-V as the source type:</p>
<p><img class="alignnone size-full wp-image-2778" title="Selecting Hyper-V as a VMware Converter source" src="http://www.vcritical.com/wp-content/uploads/2010/08/select-hyper-v-source.png" alt="" width="575" height="324" /></p>
<p>Allow a Converter agent to be installed on the Hyper-V host:</p>
<p><img class="alignnone size-full wp-image-2777" title="Installing VMware Converter Agent on Hyper-V" src="http://www.vcritical.com/wp-content/uploads/2010/08/install-agent.png" alt="" width="441" height="221" /></p>
<p>Select a powered-off virtual machine from the listed inventory:</p>
<p><img class="alignnone size-full wp-image-2779" title="Selecting a Hyper-V VM" src="http://www.vcritical.com/wp-content/uploads/2010/08/select-hyper-v-vm.png" alt="" width="593" height="369" /></p>
<p>Customize the destination vSphere VM as needed.  You can convert to <a href="http://www.vcritical.com/tag/thin-provisioning/">vSphere thin provisioning</a> and make a number of other modifications, such as disabling the Hyper-V components inside the guest.</p>
<p><img class="alignnone size-full wp-image-2775" title="Convert to thin provisioned disk" src="http://www.vcritical.com/wp-content/uploads/2010/08/convert-to-thin.png" alt="" width="556" height="211" /></p>
<p><img class="alignnone size-full wp-image-2776" title="Disable unnecessary Hyper-V services" src="http://www.vcritical.com/wp-content/uploads/2010/08/disable-hyper-v-services.png" alt="" width="474" height="340" /></p>
<p>After the process begins, a summary can be found by right-clicking the task in the vSphere Client:</p>
<p><img class="alignnone size-full wp-image-2780" title="Hyper-V VM conversion task summary" src="http://www.vcritical.com/wp-content/uploads/2010/08/task-summary.png" alt="" width="415" height="360" /></p>
<h2>Hyper-Vacated!</h2>
<p>Hopefully, you have already standardized on the <a href="http://www.vcritical.com/2010/08/vmware-vsphere-4-1-the-best-virtualization-platform-yet/">best virtualization platform available</a>, but if you find yourself needing to move Hyper-V VMs to vSphere, this new vCenter Converter capability could save the day.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/' rel='bookmark' title='PowerShell Prevents Datastore Emergencies'>PowerShell Prevents Datastore Emergencies</a></li>
<li><a href='http://www.vcritical.com/2009/02/hyper-v-linux-smokescreen/' rel='bookmark' title='Hyper-V Linux Smokescreen'>Hyper-V Linux Smokescreen</a></li>
<li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2008/10/vmware-esxi-and-hyper-v-installation-comparison/' rel='bookmark' title='VMware ESXi and Hyper-V installation comparison'>VMware ESXi and Hyper-V installation comparison</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/2010/08/hyper-vacating-your-datacenter-with-vsphere-4-1/#respond">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/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vmware-converter/" rel="tag">VMware Converter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2010/08/hyper-vacating-your-datacenter-with-vsphere-4-1/">Hyper-Vacating Your Datacenter with vSphere 4.1</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2010 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2010/08/hyper-vacating-your-datacenter-with-vsphere-4-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The Truth About VM SAN Transfers</title>
		<link>http://www.vcritical.com/2009/12/the-truth-about-vm-san-transfers/</link>
		<comments>http://www.vcritical.com/2009/12/the-truth-about-vm-san-transfers/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 12:05:59 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1959</guid>
		<description><![CDATA[While Microsoft marketing material claims Hyper-V and SCVMM can transfer large virtual machine files and templates over a SAN, the truth is that all VM transfers are done over the network.  Only VMware ESX leverages high-speed storage area networking for VM migration.]]></description>
			<content:encoded><![CDATA[<p>Most enterprise virtualization deployments make use of a robust shared storage infrastructure.  A high-performance SAN allows multiple hypervisors to access virtual machine disks and is the foundation for amazing virtualization benefits such as VMware vMotion and HA.  There are other benefits, too.</p>
<p>Virtualization management tasks such as cloning existing virtual machines or deploying new ones from templates often involve slinging around multi-gigabyte chunks of data.  It&#8217;s preferable to move or copy data on the SAN instead of the LAN because it can be faster, but more importantly, doing so reduces impact to other services that rely on the LAN.</p>
<h2>Use the SAN, ESX!</h2>
<p>VMware ESX will transfer VMs and templates over a SAN connection whenever possible but, if necessary, it also does a fine job of moving those bits over a standard LAN.  This goes for VMs <em>as well as templates</em> because with VMware vSphere, templates live on SAN datastores, too &#8212; shared among multiple ESX hosts &#8212; not on network file shares.  If templates <em>were </em>stored on a file server, there would be no choice other than to copy those multi-gigabyte files over the LAN and potentially impact other production traffic.</p>
<p>Nice design choice, VMware!  [<em>Actually, if you go back to the early days of VirtualCenter 1.x, templates could also be stored directly on the VC server and deployed over the network.  That option was removed as of VC 2.0.</em>]</p>
<p><strong>So far, so good.  Let&#8217;s take a look at how Hyper-V stacks up.<span id="more-1959"></span></strong></p>
<h2>Obfuscating the Inequalities</h2>
<p>In the tradition of the recent <a href="http://www.vcritical.com/2009/11/the-truth-about-storage-hot-add-and-remove/">storage hot add/remove claims</a>, Microsoft has again gone the extra mile to give the appearance of feature parity.</p>
<p>Take a look at this excerpt from the System Center Virtual Machine Manager 2008 R2 <a href="http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/whats-new-R2.aspx" target="_blank">What&#8217;s New page</a>:</p>
<p style="padding-left: 30px;"><strong>SAN migration into and out of clustered hosts:</strong> This allows virtual machines to migrate into and out of clusters using a SAN transfer, which saves the time required for copying the virtual machine file over the network.</p>
<p>And the <a href="http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/features.aspx" target="_blank">features page</a> is even more dramatic, proclaiming:</p>
<p style="padding-left: 30px;">Virtual machine images can be large and difficult to move over the network. VMM auto-detects SAN infrastructure and enables copying of virtual machine images over fiber at fast speeds, thus leveraging SAN investments.</p>
<p>Sounds good, just like VMware &#8212; and at one-sixth the price!  But there is a small problem: <strong>it is not true</strong>.</p>
<p>Hyper-V uses the BITS service to transfer VMs over the LAN in almost all cases.  There <em>is</em> a scenario where SCVMM can orchestrate the disconnection and reconnection of a SAN LUN, &#8220;transferring&#8221; a VM to another host.  Enabling the feature requires additional configuration and some software from your SAN vendor.  Of course, it also means going back to <em>one VM per LUN</em> and foregoing the wonders of <a href="http://www.vcritical.com/tag/csv/" target="_blank">CSV</a>.  Any takers?</p>
<h2>The SCVMM Library Server</h2>
<p>SCVMM 2008 R2 provides VM template functionality for Hyper-V.  Templates  and ISO images are stored in a Library, which uses standard Windows file services.  Obviously, that means no SAN copying for template deployments, either &#8212; kind of like VMware VirtualCenter 1.0.</p>
<h2>Conclusion</h2>
<p>&#8220;SAN LUN disconnect and reconnect&#8221; just doesn&#8217;t have the same ring to it as &#8220;SAN transfer&#8221; but I&#8217;m not sure that is sufficient justification for these misleading marketing claims.  And to use the word &#8220;copying&#8221; is simply dishonest.</p>
<p>Don&#8217;t make the mistake of assuming Hyper-V is just like VMware ESX.  Compare for yourself &#8212; seeing is believing.</p>
<p style="padding-left: 30px;">


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/12/igt-part-2-san-misers/' rel='bookmark' title='IGT Part 2: SAN Misers'>IGT Part 2: SAN Misers</a></li>
<li><a href='http://www.vcritical.com/2008/10/storage-vendors-unanimously-applaud-scvmm-innovation/' rel='bookmark' title='Storage vendors unanimously applaud SCVMM innovation'>Storage vendors unanimously applaud SCVMM innovation</a></li>
<li><a href='http://www.vcritical.com/2009/11/the-truth-about-storage-hot-add-and-remove/' rel='bookmark' title='The Truth About Storage Hot Add and Remove'>The Truth About Storage Hot Add and Remove</a></li>
<li><a href='http://www.vcritical.com/2008/10/scvmm-to-vmware-you-will-be-assimilated/' rel='bookmark' title='SCVMM to VMware: You will be assimilated'>SCVMM to VMware: You will be assimilated</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/12/the-truth-about-vm-san-transfers/#respond">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/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/storage/" rel="tag">storage</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/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/12/the-truth-about-vm-san-transfers/">The Truth About VM SAN Transfers</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/12/the-truth-about-vm-san-transfers/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>PowerShell Prevents Datastore Emergencies</title>
		<link>http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/</link>
		<comments>http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 10:30:03 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Storage VMotion]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[thin provisioning]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1713</guid>
		<description><![CDATA[When a datastore in your VMware vSphere environment is about to fill up, you can have vCenter automatically spring into action to prevent downtime by using Storage VMotion.]]></description>
			<content:encoded><![CDATA[<p>In my previous post on <a href="http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/">VMware vSphere thin provisioning</a>, I pointed out the new datastore alarm feature.  You can take advantage of this feature to respond to a sudden storage demand and <strong>automatically take action before end users notice</strong>.</p>
<p>When triggered, vCenter Server alarm actions allow several options, including the ability to run an arbitrary command such as a VMware PowerCLI PowerShell script.  Please see <a href="http://blogs.vmware.com/vipowershell/2009/09/how-to-run-powercli-scripts-from-vcenter-alarms.html" target="_blank">Carter Shanklin&#8217;s in-depth article</a> for more details on how this works &#8212; note that he uses a different technique to launch the scripts.</p>
<h2>Storage VMotion to the Rescue</h2>
<p>When a datastore is about to run out of space, the fastest resolution may be to simply migrate virtual disks to another datastore.   VMware Storage VMotion provides that capability with zero downtime for VMs and no disruption to end users.  Fortunately, PowerCLI can perform this feat with ease, thanks to the Move-VM cmdlet.</p>
<p>Let&#8217;s take a look at a functional prototype PowerCLI PowerShell script:</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Add-PSSnapin</span> VMware.Vimautomation.Core
Connect<span style="color: pink;">-</span>VIServer localhost
&nbsp;
<span style="color: #800080;">$vmToMove</span> <span style="color: pink;">=</span> get<span style="color: pink;">-</span>vm <span style="color: pink;">-</span>Datastore <span style="color: #800080;">$env</span>:VMWARE_ALARM_TARGET_NAME <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select-object</span> <span style="color: #008080; font-style: italic;">-first</span> <span style="color: #804000;">1</span>
&nbsp;
<span style="color: #800080;">$destDS</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>Datastore <span style="color: pink;">|</span> <span style="color: #0000FF;">where</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.FreeSpaceMB <span style="color: #FF0000;">-gt</span> <span style="color: #804000;">50000</span> <span style="color: #FF0000;">-and</span> <span style="color: #000080;">$_</span>.Accessible <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$true</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select-object</span> <span style="color: #008080; font-style: italic;">-first</span> <span style="color: #804000;">1</span>
&nbsp;
<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$destDS</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	move<span style="color: pink;">-</span>vm <span style="color: pink;">-</span>VM <span style="color: #800080;">$vmToMove</span> <span style="color: pink;">-</span>Datastore <span style="color: #800080;">$destDS</span> <span style="color: pink;">-</span>RunAsync
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>This script is a proof-of-concept that is not ready for your production environment as it is &#8212; it just picks an arbitrary VM from the nearly-full datastore, finds another datastore with at least 50GB free, and moves the VM disks.  More comprehensive selection logic and error checking are needed for a critical task like this.<span id="more-1713"></span></p>
<p>Save your script on the vCenter Server system somewhere, such as C:\scripts\datastore.ps1.</p>
<h2>Create the Datastore Alarm</h2>
<p>Create a new alarm at an appropriate level in the vCenter hierarchy, such as a datacenter, and configure like this:</p>
<p><img class="alignnone size-full wp-image-1717" title="Datastore Alarm" src="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-emergency-general.png" alt="Datastore Alarm" width="404" height="253" /></p>
<p>On the Triggers tab, add a &#8220;Datastore Disk Usage (%)&#8221; trigger to alert at a reasonable percentage &#8212; I opted for 93.</p>
<h2>Run PowerShell Directly from vCenter Server</h2>
<p>For whatever reason, PowerShell.exe does not do well when launched directly by another process &#8212; it tends to hang instead of exiting when it is finished.  As a workaround, it <em>can</em> be launched from cmd.exe as long as it receives something on standard input.  To do all that, the necessary code looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">&quot;c:\windows\system32\cmd.exe&quot; &quot;/c <span style="color: #b1b100; font-weight: bold;">echo</span>.<span style="color: #33cc33;">|</span>powershell.exe -nologo -noprofile -noninteractive c:\scripts\datastore.ps1&quot;</pre></div></div>

<p>For an alternate approach, take a look at the intermediate batch file solution described by Carter Shanklin in the link above.</p>
<p>On the Actions tab, add a &#8220;Run a command&#8221; action and supply the appropriate command.  You also need to decide whether to run one time or repeat the action.</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-emergency-run-command.png"><img class="alignnone size-medium wp-image-1718" title="Datastore alarm running a PowerShell script" src="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-emergency-run-command-300x191.png" alt="Datastore alarm running a PowerShell script" width="300" height="191" /></a></p>
<h2>Action!</h2>
<p>To test the alarm, either fill up the datastore or temporarily lower the alarm threshold.  When the alarm fires, a Storage VMotion should be seen in the vSphere Client:</p>
<p><img class="alignnone size-full wp-image-1721" title="Storage VMotion in progress" src="http://www.vcritical.com/wp-content/uploads/2009/09/svmotion-inprogress.png" alt="Storage VMotion in progress" width="381" height="39" /></p>
<p>Note the &#8220;Initiated by&#8221; column &#8212; that&#8217;s the machine account for this vCenter Server.  The PowerCLI script is kicked off from vpxd.exe, which is running as LocalSystem.</p>
<p>Additional information is available by looking at the Tasks &amp; Events tab for the datastore.  Here you can see a sample sequence of events, newest on top:</p>
<p><img class="alignnone size-full wp-image-1723" title="Datastore emergency events" src="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-emergency-events.png" alt="Datastore emergency events" width="500" height="418" /></p>
<h2>The Last Resort</h2>
<p>This automated Storage VMotion recovery alarm is a safety valve that could help you avoid suddenly running out of space on a datastore.  It should not take the place of more proactive storage management, but it sure beats VM downtime.</p>
<p style="padding-left: 30px;">In case you are wondering: No, you can&#8217;t do the same thing with Hyper-V because Hyper-V does not have zero-downtime Storage VMotion.  Just another reason to choose VMware vSphere &#8212; as if you needed <em>another</em> reason.</p>
<p><strong>Have you used vCenter alarms to automate any recovery processes in your environment?<br />
</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/10/easy-recovery-from-a-full-vmware-esx-datastore/' rel='bookmark' title='Easy recovery from a full VMware ESX datastore'>Easy recovery from a full VMware ESX datastore</a></li>
<li><a href='http://www.vcritical.com/2010/08/register-a-lun-full-of-vms-with-powercli/' rel='bookmark' title='Register a LUN full of VMs with PowerCLI'>Register a LUN full of VMs with PowerCLI</a></li>
<li><a href='http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/' rel='bookmark' title='Responsible Thin Provisioning in VMware vSphere'>Responsible Thin Provisioning in VMware vSphere</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</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/10/powershell-prevents-datastore-emergencies/#respond">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/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/powercli/" rel="tag">PowerCLI</a>, <a href="http://www.vcritical.com/tag/powershell/" rel="tag">PowerShell</a>, <a href="http://www.vcritical.com/tag/storage/" rel="tag">storage</a>, <a href="http://www.vcritical.com/tag/storage-vmotion/" rel="tag">Storage VMotion</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/thin-provisioning/" rel="tag">thin provisioning</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/">PowerShell Prevents Datastore Emergencies</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/10/powershell-prevents-datastore-emergencies/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>New: vSphere Resource Distribution Chart</title>
		<link>http://www.vcritical.com/2009/08/new-vsphere-resource-distribution-chart/</link>
		<comments>http://www.vcritical.com/2009/08/new-vsphere-resource-distribution-chart/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 20:48:52 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMware DRS]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1384</guid>
		<description><![CDATA[vSphere makes it easy for administrators to see which virtual machines in a cluster are using CPU and memory.]]></description>
			<content:encoded><![CDATA[<p>While running some experiments on the ESXi 4 cluster that I created recently &#8212; with all <a href="http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/">hosts running from USB flash</a> &#8212; I noticed the new <a href="http://pubs.vmware.com/vsp40_i/wwhelp/wwhimpl/js/html/wwhelp.htm#href=resmgmt/c_vmware_drs_resource_distribution_section.html" target="_blank">VMware DRS Resource Distribution Chart</a>.  This graphical chart makes it easy to visualize which VMs are using CPU and memory resources on each host.</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/08/resource_distribution_chart.png"><img class="alignnone size-medium wp-image-1385" title="vCenter Server 4 - Resource Distribution Chart" src="http://www.vcritical.com/wp-content/uploads/2009/08/resource_distribution_chart-300x179.png" alt="vCenter Server 4 - Resource Distribution Chart" width="300" height="179" /></a></p>
<p>Yet another nice addition to VMware vSphere 4 &#8212; making your virtual infrastructure management and monitoring as simple as possible.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/03/resource-pools-to-the-rescue/' rel='bookmark' title='Resource Pools to the Rescue'>Resource Pools to the Rescue</a></li>
<li><a href='http://www.vcritical.com/2008/12/vm-resource-management-hyper-v-versus-scvmm/' rel='bookmark' title='VM Resource Management: Hyper-V versus SCVMM'>VM Resource Management: Hyper-V versus SCVMM</a></li>
<li><a href='http://www.vcritical.com/2010/12/hyper-v-not-exactly-dynamic-memory/' rel='bookmark' title='Hyper-V [Not Exactly] Dynamic Memory'>Hyper-V [Not Exactly] Dynamic Memory</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</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/08/new-vsphere-resource-distribution-chart/#respond">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/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vmware-drs/" rel="tag">VMware DRS</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/08/new-vsphere-resource-distribution-chart/">New: vSphere Resource Distribution Chart</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/08/new-vsphere-resource-distribution-chart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wanna see a million ESX licenses?</title>
		<link>http://www.vcritical.com/2009/07/wanna-see-a-million-esx-licenses/</link>
		<comments>http://www.vcritical.com/2009/07/wanna-see-a-million-esx-licenses/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 16:59:13 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[licensing]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1303</guid>
		<description><![CDATA[If you have used VMware VI3 and vSphere 4, one thing you probably noticed right away is the difference in licensing.  To much applause, vSphere no longer uses a FLEXlm license server. While you transition from VI3 to vSphere you will still need to keep the license server around, though.  Fortunately vCenter Server 4 is [...]]]></description>
			<content:encoded><![CDATA[<p>If you have used VMware VI3 <em>and </em>vSphere 4, one thing you probably noticed right away is the difference in licensing.  To much applause, vSphere no longer uses a FLEXlm license server.</p>
<p>While you transition from VI3 to vSphere you will still need to keep the license server around, though.  Fortunately vCenter Server 4 is fully equipped to handle the task of pointing your ESX 3 hosts to the appropriate licensing source.</p>
<h2>Behind the Scenes</h2>
<p>The new architecture is a welcome change, but internally it was always very convenient to point to a central license server to quickly set up new VC and ESX systems.  Take a look at this vCenter Server licensing report &#8212; pointing to one of the internal VMware servers with one million licenses of ESX Standard.</p>
<p><img class="alignnone size-full wp-image-1304" title="One million ESX licenses." src="http://www.vcritical.com/wp-content/uploads/2009/07/one_million_vi3_licenses.png" alt="One million ESX licenses." width="505" height="412" /></p>
<p><strong>Are you going to miss FLEXlm?</strong> I&#8217;m not.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/08/vmware-vcenter-server-appliance-and-vram-reporting/' rel='bookmark' title='VMware vCenter Server Appliance and vRAM Reporting'>VMware vCenter Server Appliance and vRAM Reporting</a></li>
<li><a href='http://www.vcritical.com/2008/11/nice-writeup-on-windows-server-licensing/' rel='bookmark' title='Nice writeup on Windows Server licensing'>Nice writeup on Windows Server licensing</a></li>
<li><a href='http://www.vcritical.com/2009/05/vmware-esx-4-use-curl-to-grab-files/' rel='bookmark' title='VMware ESX 4 &#8211; use cURL to grab files'>VMware ESX 4 &#8211; use cURL to grab files</a></li>
<li><a href='http://www.vcritical.com/2009/06/dhcp-vmkernel-port-in-vmware-esx-4/' rel='bookmark' title='DHCP VMkernel port in VMware ESX 4'>DHCP VMkernel port in VMware ESX 4</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/wanna-see-a-million-esx-licenses/#respond">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/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/licensing/" rel="tag">licensing</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/07/wanna-see-a-million-esx-licenses/">Wanna see a million ESX licenses?</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/wanna-see-a-million-esx-licenses/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<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[customization]]></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='SCVMM to VMware: You will be assimilated'>SCVMM to VMware: You will be assimilated</a></li>
<li><a href='http://www.vcritical.com/2009/01/which-guest-operating-systems-can-be-customized-by-scvmm/' rel='bookmark' title='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/2010/10/getting-eth0-back-in-a-sles-for-vmware-clone/' rel='bookmark' title='Getting eth0 back in a SLES for VMware clone'>Getting eth0 back in a SLES for VMware clone</a></li>
<li><a href='http://www.vcritical.com/2009/07/even-gpl-cant-make-hyper-v-linux-vms-well/' rel='bookmark' title='Even GPL can&#8217;t make Hyper-V Linux VMs well'>Even GPL can&#8217;t make Hyper-V Linux VMs well</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/#respond">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/customization/" rel="tag">customization</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>
		<item>
		<title>VMware vSphere 4 has a Snapshot Alarm</title>
		<link>http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/</link>
		<comments>http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 18:16:03 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1222</guid>
		<description><![CDATA[Snapshots have always been a powerful feature of VMware ESX &#8212; even in production deployments.  There are tons of innovative tools and scripts out there to monitor snapshots &#8212; just check out this new one from Virtu-Al. If you happen to want a simple, built-in way to monitor your snapshots in VMware vSphere 4, look [...]]]></description>
			<content:encoded><![CDATA[<p>Snapshots have always been a powerful feature of VMware ESX &#8212; <a href="http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/">even in production deployments</a>.  There are tons of innovative tools and scripts out there to monitor snapshots &#8212; just check out this <a href="http://www.virtu-al.net/2009/06/22/powercli-snapreminder/" target="_blank">new one from Virtu-Al</a>.</p>
<p>If you happen to want a simple, built-in way to monitor your snapshots in VMware vSphere 4, look no further than this new alarm:</p>
<p><img class="alignnone size-full wp-image-1223" title="VM Alarm for Snapshot Size" src="http://www.vcritical.com/wp-content/uploads/2009/06/vm_alarm_snapshot_size.png" alt="VM Alarm for Snapshot Size" width="406" height="219" /></p>
<p>Very nice addition.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/' rel='bookmark' title='Responsible Thin Provisioning in VMware vSphere'>Responsible Thin Provisioning in VMware vSphere</a></li>
<li><a href='http://www.vcritical.com/2009/11/vsphere-thin-provisioned-disk-performance/' rel='bookmark' title='vSphere Thin-Provisioned Disk Performance'>vSphere Thin-Provisioned Disk Performance</a></li>
<li><a href='http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/' rel='bookmark' title='PowerShell Prevents Datastore Emergencies'>PowerShell Prevents Datastore Emergencies</a></li>
<li><a href='http://www.vcritical.com/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/' rel='bookmark' title='Understanding VMware vSphere, ESXi, and Release Cycles'>Understanding VMware vSphere, ESXi, and Release Cycles</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/06/vmware-vsphere-4-has-a-snapshot-alarm/#respond">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/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a>, <a href="http://www.vcritical.com/tag/storage/" rel="tag">storage</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/">VMware vSphere 4 has a Snapshot Alarm</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/06/vmware-vsphere-4-has-a-snapshot-alarm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMware vCenter Server 4 task and event retention</title>
		<link>http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/</link>
		<comments>http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:09:03 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1046</guid>
		<description><![CDATA[As tasks and events happen in vCenter Server they are logged in the VC database.  After a while these tables can become quite large. Prior to vCenter Server 4, customers wishing to prune their VC database down needed to do so manually.  VMware provides an SQL script via KB 1000125 that allows administrators to delete [...]]]></description>
			<content:encoded><![CDATA[<p>As tasks and events happen in vCenter Server they are logged in the VC database.  After a while these tables can become quite large.</p>
<p>Prior to vCenter Server 4, customers wishing to prune their VC database down needed to do so manually.  VMware provides an SQL script via <a href="http://kb.vmware.com/kb/1000125">KB 1000125</a> that allows administrators to delete old tasks, events, and <a href="http://www.vcritical.com/2009/04/vmware-vcenter-server-performance-stats-levels/">performance stats</a>.  <em>By the way, I am the author of that SQL Server purge script &#8212; fear my mad T-SQL skillz!</em></p>
<p>What a difference a vSphere makes&#8230;  Now in vCenter Server 4, there is a simple administrative option to configure the retention period for tasks and events.  By default, the data is retained indefinitely, but as you can see, it&#8217;s quite easy to set it up according to your needs:</p>
<p><img class="alignnone size-full wp-image-1047" title="vCenter Server database retention settings" src="http://www.vcritical.com/wp-content/uploads/2009/04/vcenterdatabaseretention.png" alt="vCenter Server database retention settings" width="484" height="374" /></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-really-needs-an-agent/' rel='bookmark' title='VMware vCenter really needs an agent'>VMware vCenter really needs an agent</a></li>
<li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-server-performance-stats-levels/' rel='bookmark' title='VMware vCenter Server performance stats levels'>VMware vCenter Server performance stats levels</a></li>
<li><a href='http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/' rel='bookmark' title='PowerShell Prevents Datastore Emergencies'>PowerShell Prevents Datastore Emergencies</a></li>
<li><a href='http://www.vcritical.com/2009/02/installing-vcenter-on-linux-technical-preview/' rel='bookmark' title='Installing vCenter on Linux Technical Preview'>Installing vCenter on Linux Technical Preview</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/04/vmware-vcenter-server-4-task-and-event-retention/#respond">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/database/" rel="tag">database</a>, <a href="http://www.vcritical.com/tag/sql-server/" rel="tag">SQL Server</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/">VMware vCenter Server 4 task and event retention</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/04/vmware-vcenter-server-4-task-and-event-retention/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMware vCenter Server 4.0 installation video</title>
		<link>http://www.vcritical.com/2009/04/vmware-vcenter-server-40-installation-video/</link>
		<comments>http://www.vcritical.com/2009/04/vmware-vcenter-server-40-installation-video/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 03:25:58 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1020</guid>
		<description><![CDATA[VMware officially launched vSphere earlier this week, and it&#8217;s great! I just took the gold vCenter Server 4.0 for a spin and rolled the camera while I was at it.  This video starts off with the installation of vCenter Server and the vSphere client, then I add an ESX 4 host and walk through the [...]]]></description>
			<content:encoded><![CDATA[<p>VMware officially launched <a href="http://www.vmware.com/products/vsphere/overview.html">vSphere </a>earlier this week, and it&#8217;s great!</p>
<p>I just took the <em>gold</em> vCenter Server 4.0 for a spin and rolled the camera while I was at it.  This video starts off with the installation of vCenter Server and the vSphere client, then I add an ESX 4 host and walk through the user interface a bit.</p>
<p><embed src="http://www.youtube.com/v/oKLotQGgVGM&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/' rel='bookmark' title='VMware vCenter CapacityIQ 1.0.1 for vSphere'>VMware vCenter CapacityIQ 1.0.1 for vSphere</a></li>
<li><a href='http://www.vcritical.com/2011/08/vmware-vcenter-server-appliance-and-vram-reporting/' rel='bookmark' title='VMware vCenter Server Appliance and vRAM Reporting'>VMware vCenter Server Appliance and vRAM Reporting</a></li>
<li><a href='http://www.vcritical.com/2009/02/new-vmware-esxi-management-kit/' rel='bookmark' title='New VMware ESXi Management Kit'>New VMware ESXi Management Kit</a></li>
<li><a href='http://www.vcritical.com/2009/08/140-vsphereshour/' rel='bookmark' title='140 vSpheres/hour'>140 vSpheres/hour</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/04/vmware-vcenter-server-40-installation-video/#respond">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/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/04/vmware-vcenter-server-40-installation-video/">VMware vCenter Server 4.0 installation video</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/04/vmware-vcenter-server-40-installation-video/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VMware vCenter Server performance stats levels</title>
		<link>http://www.vcritical.com/2009/04/vmware-vcenter-server-performance-stats-levels/</link>
		<comments>http://www.vcritical.com/2009/04/vmware-vcenter-server-performance-stats-levels/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 17:43:54 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=976</guid>
		<description><![CDATA[VirtualCenter (vCenter) database storage requirements grow rapidly as administrators increase the levels from default settings.]]></description>
			<content:encoded><![CDATA[<p>In a recent post, I explained the <a href="http://www.vcritical.com/2009/04/vmware-vcenter-really-needs-an-agent/">essential role that your database job scheduler</a> (e.g., SQL Server Agent) plays in keeping the vCenter (VirtualCenter) database size under control.  The <strong>statistics level</strong> is another critical factor that affects your database storage and performance requirements.</p>
<p>The statistics levels are easily &#8212; perhaps <em>too </em>easily &#8212; configured by using the VI Client:</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/04/vc_stats_config.png"><img class="alignnone size-medium wp-image-978" title="vCenter Server statistics configuration dialog" src="http://www.vcritical.com/wp-content/uploads/2009/04/vc_stats_config-300x238.png" alt="vCenter Server statistics configuration dialog" width="300" height="238" /></a></p>
<p>You can read in more depth about the performance statistics in the <a href="http://pubs.vmware.com/vi35u2/wwhelp/wwhimpl/js/html/wwhelp.htm">Basic System Administration</a> manual and the <a href="http://www.vmware.com/resources/techresources/771">VirtualCenter Monitoring and Performance Statistics</a> Tech Note, which has this to say about stats level selection:</p>
<blockquote><p>Level 1 has very low overhead on both the VirtualCenter server as well as the ESX Server hosts. Levels 2 – 4 have slightly greater overhead on ESX, but can adversely impact VirtualCenter performance if there are more than 10 ESX Server hosts. In particular Level 4 can quickly fill the VirtualCenter database, so it should only be turned on for limited periods of time.</p></blockquote>
<p>When it says <strong>Level 4 can quickly fill the VirtualCenter database</strong>, that&#8217;s not hyperbole.  Take a look at this chart to see what happens when the &#8220;5 minute&#8221; interval is changed from level 1 to level 4:</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/04/level4_enabled.png"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright size-medium wp-image-990" title="Statistics level 4 enabled" src="http://www.vcritical.com/wp-content/uploads/2009/04/level4_enabled-300x198.png" alt="Statistics level 4 enabled" width="300" height="198" /></a>The VPX_HIST_STAT1 table &#8212; the one that corresponds with the &#8220;5 minute&#8221; interval &#8212; immediately begins consuming many times its previous size.  After a day, the number of rows in that table increased about 20 times!  (The tick marks across the x-axis of this chart each represent an hour.)<span id="more-976"></span></p>
<p>Recovery is simple, but not immediate.  After resetting to level 1, the additional rows disappear through attrition as the rollup process does its job.</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/04/level4_recovered.png"><img class="size-medium wp-image-992 alignnone" title="Statistics level 1 re-enabled" src="http://www.vcritical.com/wp-content/uploads/2009/04/level4_recovered-300x199.png" alt="Statistics level 1 re-enabled" width="300" height="199" /></a></p>
<p>The statistics levels are configurable in order to collect more detailed performance data on your VMware infrastructure.  As with most things, there is a tradeoff &#8212; making it critical for administrators to know that a seemingly simple change via the UI can put a huge hit on your database &#8212; not only in storage requirements but performance, too.  Do yourself a favor and talk to your DBA before changing your vCenter Server performance stats levels.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/' rel='bookmark' title='VMware vCenter Server 4 task and event retention'>VMware vCenter Server 4 task and event retention</a></li>
<li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-really-needs-an-agent/' rel='bookmark' title='VMware vCenter really needs an agent'>VMware vCenter really needs an agent</a></li>
<li><a href='http://www.vcritical.com/2009/11/vsphere-thin-provisioned-disk-performance/' rel='bookmark' title='vSphere Thin-Provisioned Disk Performance'>vSphere Thin-Provisioned Disk Performance</a></li>
<li><a href='http://www.vcritical.com/2008/10/upgrading-your-management-platform-from-the-entry-level-edition/' rel='bookmark' title='Upgrading your management platform from the entry-level edition'>Upgrading your management platform from the entry-level edition</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/04/vmware-vcenter-server-performance-stats-levels/#respond">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/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/sql-server/" rel="tag">SQL Server</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/04/vmware-vcenter-server-performance-stats-levels/">VMware vCenter Server performance stats levels</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/04/vmware-vcenter-server-performance-stats-levels/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

