<?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; ESXi</title>
	<atom:link href="http://www.vcritical.com/tag/esxi/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>VMware ESXi 5 Interactive PXE Installation Improvements</title>
		<link>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/</link>
		<comments>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 22:22:38 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PXE]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3848</guid>
		<description><![CDATA[VMware ESXi 5 media can be used for interactive PXE installs without creating the image.tgz file that ESXi 4.1 required.  A "prefix" directive for boot.cfg also makes it easier to organize various versions of the install media into subdirectories.]]></description>
			<content:encoded><![CDATA[<p>A flexible PXE infrastructure can be a real force multiplier in your technology arsenal.  Fully-automated installs are great time-savers, but there is also value in being able to perform an interactive (manual) install of VMware ESXi, Linux, or Windows over the network.  Physical installation media is becoming less and less viable in this day of lights-out datacenters, and virtual media capabilities provided with remote consoles, such as iLO, are best reserved for punishing junior members of the team.  It&#8217;s easy enough to have a <a href="http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/">Linux-based PXE server coexist with Windows Deployment Services</a> &#8212; useful for environments that need to deploy various operating systems on a single VLAN.</p>
<p>William Lam is the de-facto authority on <a href="http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html" target="_blank">fully-automated ESXi deployments</a>, and others have provided <a href="http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/" target="_blank">recipes</a> for configuring VMware ESXi 4.1 installation media for interactive PXE installation.</p>
<p>The good news is that with VMware ESXi 5 it is <strong>no longer necessary to create the image.tgz file</strong> to accommodate a manual PXE installation, and another handy enhancement to boot.cfg makes it slightly cleaner to organize multiple installation sources on a PXE/TFTP server.</p>
<p>Take a look at the following procedures to learn more:</p>
<h2>Prepare the VMware ESXi 5 Installation Media</h2>
<p>On your TFTP server, simply extract the contents of the installation ISO into a new directory.</p>
<pre># mkdir esxi50
# mount -o loop VMware-VMvisor-Installer-5.0.0-nnnnnn.x86_64.iso tmp/
# rsync -a tmp/ esxi50/
# chmod +w esxi50/*</pre>
<p>That&#8217;s it.  No need to create any additional files with ESXi 5.</p>
<h2>Modify the ESXi boot.cfg Configuration File</h2>
<p>In order to reflect the fact that the installation source is not in the root of the TFTP server, two tweaks are needed.</p>
<ol>
<li>Remove all of the slashes (/) from the boot.cfg file so relative paths will be used (vi :%s#/##g)</li>
<li>Add a &#8220;prefix&#8221; directive to the boot.cfg file to specify the proper subdirectory, from the perspective of the TFTP root</li>
</ol>
<p>End result will look something like this:</p>
<p><img class="alignnone size-full wp-image-3855" title="boot-cfg-prefix" src="http://www.vcritical.com/wp-content/uploads/2011/07/boot-cfg-prefix-1.png" alt="" width="590" height="387" /></p>
<p>This is much cleaner that repeating the full path dozens of times throughout the file.</p>
<h2>Add a PXE Menu Entry</h2>
<p>Typically the PXE menu is pxelinux.cfg/default; add the following section and you&#8217;ll be set:</p>
<pre>LABEL esxi50
 KERNEL /esxi50/mboot.c32
 APPEND -c /esxi50/boot.cfg
 MENU LABEL ESXi-5.0.0</pre>
<h2>Ready for interactive installation</h2>
<p>Now you are ready to boot your physical or virtual machines for an interactive installation of VMware ESXi 5.  It&#8217;s very easy to <a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/">run ESXi 5 inside a VM</a>, now with 64-bit nested guest capabilities!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/' rel='bookmark' title='Peaceful Coexistence: WDS and Linux PXE Servers'>Peaceful Coexistence: WDS and Linux PXE Servers</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>
<li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</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/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/pxe/" rel="tag">PXE</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/">VMware ESXi 5 Interactive PXE Installation Improvements</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>VMware vSphere can virtualize itself + 64-bit nested guests</title>
		<link>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/</link>
		<comments>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 16:18:43 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3811</guid>
		<description><![CDATA[VMware vSphere 5 makes it even easier to virtualize ESXi, and can now run nested 64-bit guests.]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-3767" title="VMware vSphere 5 has a new guest OS setting..." src="http://www.vcritical.com/wp-content/uploads/2011/06/gos-esxi5.png" alt="" width="164" height="148" />Running VMware ESXi inside a virtual machine is a great way to experiment  with different configurations and features without building out a whole  lab full of hardware and storage.  Virtualization enthusiasts everywhere have benefited from the ability to <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">run ESXi on ESXi</a>, first introduced with the vSphere 4 release.</p>
<p>VMware vSphere 5 makes it easier than ever to virtualize hypervisor hosts.  With new capabilities to <strong>run nested 64-bit guests</strong> and <strong>take snapshots of virtual ESXi VMs</strong>, the sky is the limit for your cloud infrastructure development lab.  Heck, you can even run <a href="http://www.vcritical.com/tag/hyper-v">Hyper-V</a> on top of vSphere 5 &#8212; not that you&#8217;d want to.</p>
<h2>Physical Host Setup</h2>
<p>The physical host running VMware ESXi 5 requires just a few configuration changes; here is a guide:</p>
<ul>
<li>Install VMware ESXi 5 on a physical host and configure networking, storage, and other aspects as needed</li>
<li>Configure a vSwitch and/or Port Group to have <strong>Promiscuous Mode</strong> enabled</li>
<li>Create a second Port Group named &#8220;Trunk&#8221; with VLAN ID <strong>All (4095)</strong> if you want to use VLANs on virtual hypervisors</li>
<li>Log in to Tech Support Mode (iLO or ssh) and make the following tweak to enable nested 64-bit guests
<pre>echo 'vhv.allow = "TRUE"' &gt;&gt; /etc/vmware/config</pre>
</li>
</ul>
<h2>Virtual VMware ESXi Machine (vESXi) Creation</h2>
<p>For various reasons, it&#8217;s not feasible to clone virtual ESXi VMs.  As an alternative, create a fully-configured shell VM to use as a template &#8212; it <em>can</em> be cloned before ESXi is installed.</p>
<p>Create a new VM with the following guidance:</p>
<ul>
<li>Guest OS: Linux / Red Hat Enterprise Linux 5 (64-bit)</li>
<li>2 virtual sockets, 2+ GB RAM</li>
<li>4 NICs &#8212; connect NIC 1 to the management network and the rest to the &#8220;Trunk&#8221; network:<img class="alignnone size-full wp-image-3763" title="Create networks for virtual VMware ESXi VMs" src="http://www.vcritical.com/wp-content/uploads/2011/06/vesxi-create-networks.png" alt="" width="528" height="246" /></li>
<li>Thin provisioned virtual disks work fine</li>
<li>Finish creating the VM, then edit the following settings
<ul>
<li>Options/General Options: change Guest Operating System to Other &#8211; VMware ESXi 5.x</li>
<li>CPU/MMU Virtualization: Use Intel VT &#8230; EPT&#8230; ( bottom radio button)</li>
</ul>
</li>
<li>Don&#8217;t power this VM on &#8212; keep it to act as a template</li>
<li>Clone and install VMware ESXi via ISO image or PXE boot</li>
<li>Add to vCenter and configure virtual ESXi hosts for action</li>
</ul>
<h2>Nested 64-bit Guests</h2>
<p>With the release of VMware vSphere 5, nested guests can be 64-bit operating systems.  Just be sure to make the change to /etc/vmware/config on the physical host as indicated above.</p>
<p>Nested guests can be migrated with vMotion between virtual or physical VMware ESXi hosts; this requires a vMotion network and shared storage.<span id="more-3811"></span></p>
<h2>Nested Hyper-V Virtual Machines</h2>
<p>It is possible to run other hypervisors as vSphere virtual machines, and even power on nested VMs.  Here you can see Hyper-V running a CentOS virtual machine &#8212; all on VMware ESXi.  Talk about disrupting the space-time continuum!</p>
<p><img class="alignnone size-full wp-image-3774" title="Hyper-V running in a VM on vSphere 5" src="http://www.vcritical.com/wp-content/uploads/2011/06/esxi-hyperv-centos.png" alt="" width="595" height="482" /></p>
<p>A couple of extra tweaks are needed to enable this, and performance is not great.  Nevertheless, an amazing feat of engineering from VMware!</p>
<p>Do the following to enable Hyper-V on VMware ESXi:</p>
<ul>
<li>Add<strong> hypervisor.cpuid.v0 = FALSE</strong> to the VM configuration</li>
</ul>
<p><img class="alignnone size-full wp-image-3833" title="Setting VM config parameters: hypervisor-cpuid-v0-false" src="http://www.vcritical.com/wp-content/uploads/2011/07/hypervisor-cpuid-v0-false.png" alt="" width="600" height="70" /></p>
<ul>
<li>Add <strong>&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8211;h-:&#8212;-</strong> to the CPU mask for Level 1 ECX (Intel)</li>
</ul>
<p><img class="alignnone size-full wp-image-3834" title="Setting VM CPU mask for level1-ecx" src="http://www.vcritical.com/wp-content/uploads/2011/07/level1-ecx.png" alt="" width="600" height="117" /></p>
<p>For another take, check out <a href="http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html" target="_blank">William Lam&#8217;s post on this topic</a>.</p>
<h2>Parting Thoughts</h2>
<p>Given the right hardware, it is possible to create a fully-functional VMware test lab that is completely virtual.  Go ahead and experiment with the Distributed Virtual Switch, vShield, vCloud Director, and everything else without deploying a ton of servers and storage.</p>
<p><strong>How are you taking advantage of a virtual vSphere environment?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/' rel='bookmark' title='VMware ESX 4 can even virtualize itself'>VMware ESX 4 can even virtualize itself</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/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/' rel='bookmark' title='Taking snapshots of VMware ESX 4 running in a VM'>Taking snapshots of VMware ESX 4 running in a VM</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>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</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/2011/07/vmware-vsphere-can-virtualize-itself/">VMware vSphere can virtualize itself + 64-bit nested guests</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
		<item>
		<title>Understanding VMware vSphere, ESXi, and Release Cycles</title>
		<link>http://www.vcritical.com/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/</link>
		<comments>http://www.vcritical.com/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/#comments</comments>
		<pubDate>Tue, 24 May 2011 22:35:52 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3582</guid>
		<description><![CDATA[Some newcomers to virtualization don't know that VMware vSphere is the combination of VMware ESXi and vCenter Server. By launching a complete virtualization infrastructure platform, VMware can offer more advanced capabilities than the staggered Hyper-V releases from Microsoft.]]></description>
			<content:encoded><![CDATA[<p>Last week during a customer presentation that I delivered, one of the attendees asked a surprising question:</p>
<blockquote><p>What&#8217;s the difference between ESXi and vSphere?</p></blockquote>
<p>While that&#8217;s an easy one for most VCritical readers to answer, there are newcomers that may benefit from a simple overview.  If you&#8217;re here seeking vSphere understanding, welcome!</p>
<h2>VMware vSphere Demystified</h2>
<p>VMware vSphere is the industry-leading virtualization platform that consists of two primary products: <strong>VMware ESXi</strong> and <strong>vCenter Server</strong>.  ESXi is the hypervisor and installs on bare metal hardware.  vCenter Server provides centralized management and allows administrators to configure and monitor ESXi hosts, provision virtual machines, storage, networking, and much more.  The vSphere Client is a Windows application that acts as a single pane of glass to manage either a standalone ESXi host directly or an entire datacenter though vCenter.</p>
<h2>VMware ESX vs. ESXi</h2>
<p>VMware ESX was introduced a decade ago and will be discontinued with the upcoming major release.  Carrying the torch forward will be ultra-slim VMware ESXi, which has already seen several years of successful production deployments.  Both products are bare-metal hypervisors &#8212; they install directly onto a server instead of a traditional general purpose operating system &#8212; and have the same capabilities, accommodating any licensed feature from Essentials to Enterprise Plus: vMotion, DRS, HA, FT, and more.</p>
<p>The primary difference is that with ESXi the Red Hat Linux service console is gone, leaving just the hypervisor and critical supporting features.  By eliminating tons of unnecessary Linux components, <a href="http://www.vcritical.com/tag/footprint/">ESXi footprint</a> is measured in mere megabytes &#8212; not gigabytes like competitors.<span id="more-3582"></span></p>
<h2>Microsoft Hyper-V Server vs. VMware ESXi</h2>
<p>I always get a kick out of well-meaning folks that try to claim that ESXi should not be compared to Hyper-V on Windows Server 2008 R2 SP1, insisting that it&#8217;s much closer to compare with Microsoft Hyper-V Server.  Hyper-V Server, for those less familiar, is a free product that is essentially Windows Server 2008 Core with the Hyper-V role and a snazzy text-based menu that allows you to do a few key things &#8212; like run Windows Update.</p>
<p>Make no mistake about it, weighing in at several gigabytes and requiring care and feeding on Patch Tuesdays, Hyper-V Server is anything <em>but </em>a thin, purpose-built hypervisor.  It&#8217;s Windows &#8212; just not the &#8220;Windows you know.&#8221;  As <a href="http://www.aidanfinn.com/?p=10961" target="_blank">Aidan Finn</a>, Microsoft MVP and Hyper-V expert says, &#8220;&#8230;I would almost never install Server Core&#8230;&#8221;</p>
<h2>Another vSphere Advantage over Microsoft Virtualization</h2>
<p>Readers of  VCritical have learned many of the <a href="http://www.vcritical.com/tag/hyper-v+esx">technical advantages that ESX/i has over Hyper-V</a>, but there is another advantage that vSphere holds over Microsoft when it comes to virtual infrastructure:  By releasing both the hypervisor and the advanced management in lockstep, VMware vSphere is a platform that is greater than the sum of its parts.</p>
<p>You might be wondering, how a virtualization platform could introduce new, advanced capabilities if the hypervisor and management products are on different release cycles.  No need to wonder, just witness Microsoft virtualization and see firsthand.  Don&#8217;t take my word for it &#8212; look at how a real Hyper-V <a href="http://blogs.technet.com/b/virtualization/archive/2010/07/12/dynamic-memory-coming-to-hyper-v-part-6.aspx" target="_blank">customer</a> sees things:</p>
<blockquote><p>It&#8217;s unbelievable that Microsoft would roll out new features to the  virtualization product that are not supported in their virtualization  management product&#8230; The Hyper-V and SCVMM teams don&#8217;t march in lockstep, and what updates they do release are too far apart.</p></blockquote>
<p>Clearly Hyper-V customers have not been pleased with the manageability delays, but that&#8217;s not all&#8230;</p>
<h2>The Bad News Flows in Two Directions</h2>
<p>Later this year Microsoft will release System Center Virtual Machine Manager 2012, but the next version of Windows Server and Hyper-V is still merely the subject of speculation.  This leapfrog release cadence creates a situation where VMM 2012 must attempt to overcome limitations with the platform by painting over them, in lieu of elegant solutions integrated with lower layers of infrastructure.</p>
<p>Consider this example:  Instead of introducing a new streamlined hypervisor clustering capability, VMM 2012 attempts to orchestrate the 29 steps currently required to install, configure, and validate a failover cluster for use with virtual machines.  Maybe some administrators will find it an improvement over the existing manual effort, but is it better than the simple drag-and-drop design found in vSphere?</p>
<h2>Synchronized vs. Staggered</h2>
<p>VMware vSphere is the leading virtualization platform for many reasons.  It&#8217;s hard to understand how asynchronous hypervisor and management releases would be acceptable, let alone desirable.  Just another compromise encountered when building a hypervisor on top of  a general purpose operating system.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/10/what-is-vmware-esxi/' rel='bookmark' title='What is VMware ESXi?'>What is VMware ESXi?</a></li>
<li><a href='http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/' rel='bookmark' title='VMware ESXi 5 Scripted Install to USB Flash'>VMware ESXi 5 Scripted Install to USB Flash</a></li>
<li><a href='http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/' rel='bookmark' title='If VMware ESXi 4 is so small, why is it so big?'>If VMware ESXi 4 is so small, why is it so big?</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/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/microsoft/" rel="tag">Microsoft</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/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/">Understanding VMware vSphere, ESXi, and Release Cycles</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Start and Manage a VM Without Using vSphere Client</title>
		<link>http://www.vcritical.com/2011/03/start-and-manage-a-vm-without-using-vsphere-client/</link>
		<comments>http://www.vcritical.com/2011/03/start-and-manage-a-vm-without-using-vsphere-client/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 05:29:38 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3359</guid>
		<description><![CDATA[Use Tech Support Mode on VMware ESXi to find, start, and obtain guest OS IP address information from a virtual machine -- without using the vSphere Client on Windows.]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re familiar with features in VMware vSphere that can help <a href="http://www.vcritical.com/2011/02/cold-starting-a-datacenter/">bring up critical virtual infrastructure after a widespread datacenter outage</a> &#8212; planned or otherwise &#8212; but did you also know that it&#8217;s possible to power on a virtual machine and even determine the dynamic IP address of a guest OS using a simple command-line utility?  This could be handy after a disaster or if you normally rely on a Windows virtual machine to run the vSphere Client and don&#8217;t feel like firing up Fusion for one quick task.</p>
<h2>Power on and SSH to a Linux VM from Mac OS X</h2>
<p>Consider this real-world situation:  You are working remotely on your Mac and need to log into a powered-off Linux VM back in the datacenter.  Don&#8217;t fret &#8212; if you can ssh to the host using <a href="http://www.yellow-bricks.com/2010/10/03/enable-ssh-on-esxi-4-1/" target="_blank">Tech Support Mode</a> (VMware ESXi 4.1 shown here), you are most of the way there.  Thanks to <a href="http://www.virtuallyghetto.com/p/vmware-vimsh_9940.html" target="_blank">vim-cmd</a> you can find your VM, power it on, and learn the guest OS IP address in no time:</p>
<p><img class="alignnone size-full wp-image-3361" title="vim-cmd on ESXi from Mac OS X" src="http://www.vcritical.com/wp-content/uploads/2011/03/vim-cmd_mac.png" alt="" width="555" height="268" /></p>
<p>Let&#8217;s break it down step by step:<span id="more-3359"></span></p>
<p><strong>1.  Use grep to find the ID of your VM (1008 in this example):</strong></p>
<pre>~ # vim-cmd vmsvc/getallvms | grep -i CENTOS1
1008   CENTOS1      [CX4-01-LUN9] CENTOS1/CENTOS1.vmx         centos64Guest
</pre>
<p><strong>2.  Quick sanity check to verify the VM is actually powered off:</strong></p>
<pre>~ # vim-cmd vmsvc/get.summary 1008 | egrep '(power|ip)'
      powerState = "poweredOff",
      ipAddress = ,
</pre>
<p><strong>3.  Power on, wait a few moments, and check status again:</strong></p>
<pre>~ # vim-cmd vmsvc/power.on 1008
Powering on VM:
~ # vim-cmd vmsvc/get.summary 1008 | egrep '(power|ip)'
      powerState = "poweredOn",
      ipAddress = "10.136.234.38",
~ #
</pre>
<p><strong>4.  Connect with ssh (or RDP, if targeting a Windows VM) and get on with things</strong></p>
<p>Enjoy!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/11/vi-client-ssl-thumbprint-cache-cleanup/' rel='bookmark' title='VI Client SSL thumbprint cache cleanup'>VI Client SSL thumbprint cache cleanup</a></li>
<li><a href='http://www.vcritical.com/2009/12/easily-view-guest-ip-addresses-with-vsphere-client/' rel='bookmark' title='Easily view guest IP addresses with vSphere Client'>Easily view guest IP addresses with vSphere Client</a></li>
<li><a href='http://www.vcritical.com/2009/05/exclusive-hyper-v-2013-product-roadmap/' rel='bookmark' title='Exclusive: Hyper-V 2013 Product Roadmap'>Exclusive: Hyper-V 2013 Product Roadmap</a></li>
<li><a href='http://www.vcritical.com/2010/05/idle-rhev-hypervisors-save-power/' rel='bookmark' title='Idle RHEV Hypervisors save power?'>Idle RHEV Hypervisors save power?</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/2011/03/start-and-manage-a-vm-without-using-vsphere-client/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/ssh/" rel="tag">SSH</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/2011/03/start-and-manage-a-vm-without-using-vsphere-client/">Start and Manage a VM Without Using vSphere Client</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/03/start-and-manage-a-vm-without-using-vsphere-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hypervisor Footprint Quiz</title>
		<link>http://www.vcritical.com/2010/02/hypervisor-footprint-quiz/</link>
		<comments>http://www.vcritical.com/2010/02/hypervisor-footprint-quiz/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 22:44:54 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2331</guid>
		<description><![CDATA[Humorous take on a reference to small footprint hypervisor advantages -- not from VMware.]]></description>
			<content:encoded><![CDATA[<p>Remember the <a href="http://blogs.technet.com/virtualization/archive/2009/08/12/hypervisor-footprint-debate-part-1-microsoft-hyper-v-server-2008-vmware-esxi-3-5.aspx" target="_blank">hypervisor footprint debate</a>?  You know, the one where Microsoft Virtualization declares that it is nothing but VMware FUD to tout the benefits of a small-footprint hypervisor.</p>
<p>I just found another point of view on hypervisor footprint size &#8212; take a look at this excerpt:</p>
<blockquote><p>Small footprint: any features not applicable to our specific &#8230; scenarios are removed.  This guarantees that we do not have to worry about updating or fixing unnecessary code, meaning less churning or required reboots for the host.  All critical code paths are also highly optimized for our &#8230; scenarios.</p></blockquote>
<p>Any guesses where that came from?  Must be more of that VMware FUD!</p>
<p>Actually, it was one of the Windows Azure <a href="http://blogs.msdn.com/windowsazure/archive/2009/01/29/design-principles-behind-the-windows-azure-hypervisor.aspx" target="_blank">design principles</a>.  Which makes sense if you think about it &#8212; vSphere, with small-footprint ESXi,  is the perfect foundation for cloud computing.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/11/hyper-v-server-hyperbole/' rel='bookmark' title='Hyper-V Server Hyperbole'>Hyper-V Server Hyperbole</a></li>
<li><a href='http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/' rel='bookmark' title='A very flashy hypervisor: Hyper-V Server R2'>A very flashy hypervisor: Hyper-V Server R2</a></li>
<li><a href='http://www.vcritical.com/2010/03/pimp-my-hypervisor/' rel='bookmark' title='Pimp My Hypervisor'>Pimp My Hypervisor</a></li>
<li><a href='http://www.vcritical.com/2010/07/microsoft-seeks-to-stem-azure-exodus-with-huge-appliance/' rel='bookmark' title='Microsoft seeks to stem Azure exodus with huge appliance'>Microsoft seeks to stem Azure exodus with huge appliance</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/02/hypervisor-footprint-quiz/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/footprint/" rel="tag">footprint</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2010/02/hypervisor-footprint-quiz/">Hypervisor Footprint Quiz</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/02/hypervisor-footprint-quiz/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Win $2500 with your 1337 VMware ESXi scripting skillz</title>
		<link>http://www.vcritical.com/2010/02/win-2500-with-your-1337-vmware-esxi-scripting-skillz/</link>
		<comments>http://www.vcritical.com/2010/02/win-2500-with-your-1337-vmware-esxi-scripting-skillz/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:37:28 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2278</guid>
		<description><![CDATA[Win up to $2500 in the VMware ESXi Scripting Contest!]]></description>
			<content:encoded><![CDATA[<p>VMware is currently running a VMware ESXi scripting contest.  Top prize is $2500, which is not too shabby for doing something <em>productive</em>.</p>
<p><a href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/scriptomania" target="_blank">Check out the details</a> and get scripting!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</a></li>
<li><a href='http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/' rel='bookmark' title='If VMware ESXi 4 is so small, why is it so big?'>If VMware ESXi 4 is so small, why is it so big?</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/07/win-a-macbook-air-or-ipod-touch/' rel='bookmark' title='Win a MacBook Air or iPod Touch'>Win a MacBook Air or iPod Touch</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/02/win-2500-with-your-1337-vmware-esxi-scripting-skillz/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/scripting/" rel="tag">scripting</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2010/02/win-2500-with-your-1337-vmware-esxi-scripting-skillz/">Win $2500 with your 1337 VMware ESXi scripting skillz</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/02/win-2500-with-your-1337-vmware-esxi-scripting-skillz/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMware ESXi 4: SD Flash in BL460c G6</title>
		<link>http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/</link>
		<comments>http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 12:15:15 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[USB flash]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2195</guid>
		<description><![CDATA[HP Blades incorporate an SD slot that can be used to easily deploy VMware ESXi from flash.  Take a look.]]></description>
			<content:encoded><![CDATA[<p>HP has incorporated an interesting option for running VMware ESXi 4 from flash.  Instead of using a USB stick, an SD card can simply be popped in the embedded reader.  While any SD card would work, HP emphasizes that only a specific model is fully supported &#8212; the ones I received are actually made by Lexar and the official nomenclature is: HP 4GB SD Flash Media, Part Number 580387-B21.</p>
<p>In my HP BladeSystem c7000 enclosure with BL460 G6 (Nehalem) blades, the SD slot is easily exposed by sliding each blade out of the chassis:</p>
<p><img class="size-full wp-image-2194 alignnone" title="HP BL460c G6 SD slot" src="http://www.vcritical.com/wp-content/uploads/2010/01/hp-blade-sd-slot.jpg" alt="" width="350" height="234" /></p>
<p>Once the SD flash card is in place, it is trivial to install VMware ESXi: <span id="more-2195"></span></p>
<p><img class="alignnone size-full wp-image-2193" title="ESXi 4 installation onto 4GB SD card" src="http://www.vcritical.com/wp-content/uploads/2010/01/esxi-install-select-usb-sd.png" alt="" width="400" height="255" /></p>
<p><em>You may also be interested in articles from <a href="http://vmwaretips.com/wp/2009/10/27/vmware-esxi-4-and-hp-servers/" target="_blank">Rick Scherer</a> and <a href="http://www.techhead.co.uk/where-is-the-missing-hp-customised-vmware-esxi-4-0-iso" target="_blank">TechHead</a> on this topic.</em></p>
<h2>Hyper-V on Flash?</h2>
<p>Sure, <a href="http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/">Hyper-V Server</a> &#8212; but not Windows Server 2008 with Hyper-V &#8212; supports boot-from-flash when purchased from a server OEM, but to the best of my knowledge there are no vendors shipping such configurations at this time.  Note that Microsoft recommends a 16GB flash drive for Hyper-V Server deployment (compared to a slender 1GB for ESXi 4), but a <a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/11/18/booting-hyper-v-r2-off-a-usb-stick.aspx" target="_blank">PlayStation Portable</a> is an acceptable substitute in a pinch.</p>
<h2>Motivation</h2>
<p>Two great reasons for running ESXi from flash:</p>
<ul>
<li>Eliminate the need for local disks &#8212; lower power and cooling requirements</li>
<li>Provide dual-boot capabilities in a lab environment</li>
</ul>
<p><strong>Why would <em>you </em>run VMware ESXi from flash?</strong></p>
<p><em><br />
</em></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/' rel='bookmark' title='VMware ESXi 5 Scripted Install to USB Flash'>VMware ESXi 5 Scripted Install to USB Flash</a></li>
<li><a href='http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/' rel='bookmark' title='A very flashy hypervisor: Hyper-V Server R2'>A very flashy hypervisor: Hyper-V Server R2</a></li>
<li><a href='http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/' rel='bookmark' title='The VMware ESXi 4 64MB Hypervisor Challenge'>The VMware ESXi 4 64MB Hypervisor Challenge</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/01/vmware-esxi-4-sd-flash-in-bl460c-g6/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/footprint/" rel="tag">footprint</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/usb-flash/" rel="tag">USB flash</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/">VMware ESXi 4: SD Flash in BL460c G6</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/01/vmware-esxi-4-sd-flash-in-bl460c-g6/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Layers and Layers of FUD</title>
		<link>http://www.vcritical.com/2009/11/layers-and-layers-of-fud/</link>
		<comments>http://www.vcritical.com/2009/11/layers-and-layers-of-fud/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 12:02:49 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1893</guid>
		<description><![CDATA[Microsoft stretches the truth when claiming that VMware adds an additional layer to your architecture.  The fact is, Hyper-V relies on its own instance of Windows and requires more instances for running apps.]]></description>
			<content:encoded><![CDATA[<p>Unbelievable.  That  old tale about <a href="http://blogs.vmware.com/virtualreality/2009/04/microsoft-does-the-impossible-eliminates-entire-layer-from-hyperv-without-doing-a-new-release.html" target="_blank">VMware adding an extra layer</a> is still being told in the Microsoft Virtualization <a href="http://download.microsoft.com/download/D/0/F/D0F4598F-296A-4218-B74D-98B84CAB088B/BDM_lo-res.pdf" target="_blank">Comparison Brochure</a>.  <em>[Update: The document was pulled by Microsoft and slightly modified as a result of this article.]</em> Pretty surprising, and not at all honest &#8212; using the term layer implies a particular order or hierarchy, not merely  quantity.  And what on earth is the virtualization layer doing on top of applications?</p>
<p><img class="size-full wp-image-1895 alignnone" title="Microsoft claims that VMware adds an extra layer to your infrastructure" src="http://www.vcritical.com/wp-content/uploads/2009/11/vmw-4-layers.png" alt="Microsoft claims that VMware adds an extra layer to your infrastructure" width="402" height="434" /></p>
<p>The case Microsoft is really trying to make here is that if you don&#8217;t have VMware virtualization, then you don&#8217;t have VMware.  True enough, I suppose.   But you still have the same number of layers.</p>
<p>I took the liberty of making some corrections to the Microsoft collateral and am pleased to present <strong>three </strong><em>more appropriate </em>ways to depict these virtualization layers.<span id="more-1893"></span></p>
<h2>The Objective Comparison</h2>
<p>Truth be told, both virtualization platforms have approximately the same high-level depiction of layers:</p>
<p><img class="alignnone size-full wp-image-1896" title="VMware and Microsoft have similar architectures" src="http://www.vcritical.com/wp-content/uploads/2009/11/vmw-msft-4-layers.png" alt="VMware and Microsoft have similar architectures" width="416" height="379" /></p>
<p>Nothing surprising there &#8212; that is how any truly technical content would describe the arrangement.  Notice that virtualization is actually <em>not</em> above the application layer.</p>
<h2>The Proportional Correction</h2>
<p>VMware ESX and Microsoft Hyper-V both function as a hypervisor, but it turns out that since ESX has a much <a href="http://www.vcritical.com/tag/footprint/">smaller footprint</a>, one might envision the stack of colored boxes more like this:</p>
<p><img class="alignnone size-full wp-image-1897" title="VMware has a smaller hypervisor layer" src="http://www.vcritical.com/wp-content/uploads/2009/11/vmw-smaller-virtualization-layer.png" alt="VMware has a smaller hypervisor layer" width="416" height="382" /></p>
<h2>Combining Layers &#8212; The Right Way</h2>
<p>Is virtualization more like hardware or more like software?  If I had to choose, I would pick hardware.  Perhaps <em>those</em> are the two layers that should be combined, like this:</p>
<p><img class="alignnone size-full wp-image-1894" title="Virtualization is more like hardware than software" src="http://www.vcritical.com/wp-content/uploads/2009/11/vmw-3-layers.png" alt="Virtualization is more like hardware than software" width="416" height="390" /></p>
<p>As long as the hypervisor is not tied to a general-purpose operating system, this makes good sense.  However, since Hyper-V is merely a role in Windows Server, it would be a real stretch to picture the same combination for Microsoft virtualization.  Now that I&#8217;ve reasoned it through, maybe three layers isn&#8217;t so bad after all.</p>
<p><strong>How do you like <em>them</em> layers?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2010/03/pimp-my-hypervisor/' rel='bookmark' title='Pimp My Hypervisor'>Pimp My Hypervisor</a></li>
<li><a href='http://www.vcritical.com/2010/02/linux-apps-run-directly-on-windows-with-virtualization/' rel='bookmark' title='Linux apps run directly on Windows with virtualization!'>Linux apps run directly on Windows with virtualization!</a></li>
<li><a href='http://www.vcritical.com/2009/04/would-you-buy-a-hypervisor-from-these-guys/' rel='bookmark' title='Would you buy a hypervisor from these guys?'>Would you buy a hypervisor from these guys?</a></li>
<li><a href='http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/' rel='bookmark' title='A very flashy hypervisor: Hyper-V Server R2'>A very flashy hypervisor: Hyper-V Server R2</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/11/layers-and-layers-of-fud/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/11/layers-and-layers-of-fud/">Layers and Layers of FUD</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/11/layers-and-layers-of-fud/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>The VMware ESXi 4 64MB Hypervisor Challenge</title>
		<link>http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/</link>
		<comments>http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 19:29:49 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[USB flash]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1468</guid>
		<description><![CDATA[While completely unsupported, it is possible to build a small 64MB flash drive that will boot and run VMware ESXi 4.]]></description>
			<content:encoded><![CDATA[<p>In a previous article, I answered the question: <a href="http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/">If VMware ESXi 4 is so small, why is it so big?</a> It&#8217;s quite clear now that the disk footprint of VMware ESXi 4 is less than 60MB.  But to really drive the point home, I wanted to demonstrate that VMware ESXi 4 could boot and run from a tiny 64MB flash device, so I asked Olivier Cremel, the inventor of ESXi, if that was feasible.  He said it was &#8212; and gave me advice on how to set it up.  This article shows you how.</p>
<h3>Requirements</h3>
<ul>
<li>The VMware ESXi 4 dd image file (<a href="http://www.vladan.fr/how-to-install-esxi-40-on-usb-memory-key/" target="_blank">Vladan&#8217;s site may help</a>)</li>
<li>A 64MB flash drive &#8212; check your junk drawer</li>
<li>A Linux machine &#8212; make sure you have mkfs.vfat</li>
<li>This <a href="http://www.vcritical.com/wp-content/uploads/2009/08/fdisk.txt">fdisk script</a> &#8212; save it as a txt file</li>
</ul>
<h3>Extract necessary components from the large image</h3>
<p>Use dd to copy the first 1.5MB of the boot partition and the files that make up ESXi.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># dd if=VMware-VMvisor-big-175625-x86_64.dd of=esxi-boot-part skip=32 count=3000
3000+0 records in
3000+0 records out
1536000 bytes (1.5 MB) copied, 0.036249 seconds, 42.4 MB/s
# mkdir tmp
# mkdir esxi
# mount -o loop,offset=$((8224*512)) VMware-VMvisor-big-175625-x86_64.dd tmp/
# cp tmp/* esxi
# sync
# umount tmp/</pre></div></div>

<p><span id="more-1468"></span></p>
<h3>Prepare the flash device</h3>
<p>Plug in your flash device and use dmesg to determine the device id (/dev/sdk in this example).  Run fdisk on it and delete all partitions &#8211; very important.  Then, run my fdisk script to create the required partition structure.  If this doesn&#8217;t work on your flash drive due to different size/geometry, you will need to create the partitions yourself &#8212; refer to the table at the end of these instructions for reference.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># fdisk /dev/sdk &lt; fdisk.txt</pre></div></div>

<h3>Write data to the flash device</h3>
<p>Use dd to write the saved boot partition to flash.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># dd if=esxi-boot-part of=/dev/sdk4
3000+0 records in
3000+0 records out
1536000 bytes (1.5 MB) copied, 1.31462 seconds, 1.2 MB/s
# sync</pre></div></div>

<p>Then create a FAT filesystem on the flash drive, mount it, and copy the ESXi files.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># mkfs.vfat /dev/sdk5
mkfs.vfat 2.11 (12 Mar 2005)
# mount /dev/sdk5 tmp/
# cp esxi/* tmp/
# sync
# umount tmp/</pre></div></div>

<h3>Double-check your partition layout</h3>
<p>If your disk partition does not look like this, something went wrong.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># fdisk -l /dev/sdk
&nbsp;
Disk /dev/sdk: 65 MB, 65273856 bytes
3 heads, 42 sectors/track, 1011 cylinders
Units = cylinders of 126 * 512 = 64512 bytes
&nbsp;
   Device Boot      Start         End      Blocks   Id  System
/dev/sdk1              26        1011       62118    5  Extended
/dev/sdk4   *           1          25        1554    4  FAT16 &lt;32M
/dev/sdk5              26        1011       62097    6  FAT16</pre></div></div>

<h3>Test it out</h3>
<p>If you followed all of the instructions above, you should be able to boot from that flash drive.</p>
<p>There you have it &#8212; a fully functional VMware ESXi 4 system entirely contained on a 64MB flash device.  Of course, this procedure is entirely unsupported, so please do not use a system like this in production.  Please!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/' rel='bookmark' title='If VMware ESXi 4 is so small, why is it so big?'>If VMware ESXi 4 is so small, why is it so big?</a></li>
<li><a href='http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/' rel='bookmark' title='VMware ESXi 5 Interactive PXE Installation Improvements'>VMware ESXi 5 Interactive PXE Installation Improvements</a></li>
<li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</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/the-vmware-esxi-4-64mb-hypervisor-challenge/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/footprint/" rel="tag">footprint</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/usb-flash/" rel="tag">USB flash</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/">The VMware ESXi 4 64MB Hypervisor Challenge</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/the-vmware-esxi-4-64mb-hypervisor-challenge/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>If VMware ESXi 4 is so small, why is it so big?</title>
		<link>http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/</link>
		<comments>http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:21:40 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[USB flash]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1439</guid>
		<description><![CDATA[Although VMware ESXi 4 requires a 1GB flash device to install, the core hypervisor functionality is fully contained in less than 60MB.  Most of the remaining space is for a downloadable vSphere Client or simply unused.]]></description>
			<content:encoded><![CDATA[<p><strong>Everything you ever wanted to know about the VMware ESXi footprint.</strong></p>
<p>The flagship hypervisor from VMware actually comes in two different form-factors: classic VMware ESX with a Linux-based management console and thin VMware ESXi that can boot from a small embedded flash drive.  Even though ESXi is available for free, it is functionally equivalent to classic ESX when fully licensed and managed by vCenter Server.</p>
<p>VMware ESX 3i, as it was originally known in the VI3 era, was just a tiny 32MB.  With VMware vSphere 4, the name changed slightly to VMware ESXi 4, and grew to about 60MB &#8212; still extremely small for a fully-functional hypervisor with HA, VMotion, DRS, and all the other vSphere features.</p>
<p>While ESXi <em>is</em> less than 60MB, installing it actually requires a 1GB flash device.  This raises a question:</p>
<p><strong>VMware claims that ESXi is small &#8212; why does it require so much storage?</strong></p>
<p>Unlike a general purpose operating system, ESXi was designed to be deployed as an image &#8212; similar to a router.  The &#8220;installer&#8221; merely paves your empty storage device with some partitions.  In fact, there are two separate partitions created for ESXi images &#8212; this allows administrators to roll back to a known-working environment if an update is not successful.  In order to be prepared for the future, these two partitions are several times larger than the data they contain.<span id="more-1439"></span></p>
<p>Not only does a 1GB flash device contain the ESXi hypervisor, it also provides VMware Tools for various supported operating systems and a copy of the vSphere Client which administrators can download and install to their workstations.  These components are not executed by the hypervisor at all &#8212; they can be obtained through other means, but it is very convenient to have them right on the host.</p>
<p>Take a look at this visual to better understand the partition layout:</p>
<p><img class="alignnone size-full wp-image-1442" title="VMware ESXi 4 flash drive partition layout" src="http://www.vcritical.com/wp-content/uploads/2009/08/gparted-large-usb.png" alt="VMware ESXi 4 flash drive partition layout" width="488" height="352" /></p>
<ul>
<li>Partition 4 enables the actual booting from flash</li>
<li>Partition 5 contains files that make up the VMware ESXi image</li>
<li>Partition 6 is used to store a future update to the image file</li>
<li>Partition 7 is for a core dump</li>
<li>Partition 8 contains tools, drivers, and the Windows-based vSphere Client installer</li>
</ul>
<p>In case you are curious, here are the contents of that last partition:</p>
<p><img class="alignnone size-full wp-image-1457" title="Detailed listing of VMware ESXi 4 extra goodies" src="http://www.vcritical.com/wp-content/uploads/2009/08/contents-of-esxi-extras1.png" alt="Detailed listing of VMware ESXi 4 extra goodies" width="483" height="411" /></p>
<p>As you can see, it contains a bunch of Windows executables and ISO images for your various guests.</p>
<h2>Still not convinced?</h2>
<p>Some may <em>still </em>doubt the VMware ESXi 4 60MB footprint claim, but one sure way to make the case is to simply <em>run </em>ESXi from a very small flash drive.  <strong>Olivier Cremel, the inventor of VMware ESXi, explained to me how to do just that. </strong>In my next post on this topic I&#8217;ll walk you through it, step by step.  Don&#8217;t miss out &#8212; <a href="http://feedproxy.google.com/vcritical">subscribe to the VCritical RSS feed</a> today!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/' rel='bookmark' title='The VMware ESXi 4 64MB Hypervisor Challenge'>The VMware ESXi 4 64MB Hypervisor Challenge</a></li>
<li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</a></li>
<li><a href='http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/' rel='bookmark' title='VMware ESXi 5 Scripted Install to USB Flash'>VMware ESXi 5 Scripted Install to USB Flash</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/if-vmware-esxi-4-is-so-small-why-is-it-so-big/#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/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/footprint/" rel="tag">footprint</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/usb-flash/" rel="tag">USB flash</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/">If VMware ESXi 4 is so small, why is it so big?</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/if-vmware-esxi-4-is-so-small-why-is-it-so-big/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

