<?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>vReference &#187; ESXi</title>
	<atom:link href="http://www.vReference.com/tag/esxi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vReference.com</link>
	<description>guides, links and news for VMware and virtualization technologies</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Understanding ESXi &#8211; stateless, diskless, feckless</title>
		<link>http://www.vReference.com/2011/02/10/stateless-diskless-and-feckless/</link>
		<comments>http://www.vReference.com/2011/02/10/stateless-diskless-and-feckless/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 17:00:06 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESXi]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=1119</guid>
		<description><![CDATA[<p>There are a couple of terms that are used whilst talking about ESXi design, which always creates confusion.  As many users, now late into the vSphere 4 cycle, consider their migration to ESXi, I want to take a moment to try to clear up these misunderstandings.  Hopefully this might also explain what ESXi is capable [...]<p>=====
<a href="http://www.vReference.com/2011/02/10/stateless-diskless-and-feckless/">Understanding ESXi &#8211; stateless, diskless, feckless</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></description>
			<content:encoded><![CDATA[<p>There are a couple of terms that are used whilst talking about ESXi design, which always creates confusion.  As many users, now late into the vSphere 4 cycle, consider their migration to ESXi, I want to take a moment to try to clear up these misunderstandings.  Hopefully this might also explain what ESXi is capable of a little more deeply, and make you think about its deployment options.</p>
<p>ESXi can be installed as diskless or diskful [sic].  ESXi can be configured as stateless or stateful.  However I think those monikers are somewhat misleading, and open to interpretation.  Here&#8217;s a bit of background first.</p>
<p>There are 3 interesting directories which ESXi needs to decide where to store: /bootbank, /locker and /scratch.</p>
<p style="padding-left: 30px;">bootbank – this is the boot image, along with the vendor drivers and CIM providers.</p>
<p style="padding-left: 30px;">locker – this is where it keeps the vSphere client and VMware tools and other non-essential stuff. (UPDATE: Carter Shanklin let me know that since 4.1, the locker directory doesn&#8217;t keep a copy of the VIC anymore)</p>
<p style="padding-left: 30px;">scratch – for the state archive (configuration settings), logs, core dumps, diagnostic bundles.</p>
<p>Whether ESXi is stateless/stateful and diskless/diskful basically determines where this stuff is stored.  When ESXi boots up, it loads the running image entirely into RAM.  It uses a combination of tardisks which are fixed in size and comprise static files, and ramdisks that can grow and shrink as required.  In addition to RAM it can optionally make use the disk that it booted from, and a 4GB VFAT scratch partition that can be alongside the boot disk or stored remotely.</p>
<p>A stateless server doesn&#8217;t mean the server has no state (configuration), and a diskless server doesn&#8217;t mean that has no storage. So what do they mean?</p>
<blockquote><p><strong>Diskless</strong><strong> </strong>- ESXi <strong>has a read-only bootdisk</strong> after it has booted up.</p>
<p>Diskful &#8211; ESXi has a writeable bootdisk after it has booted up.</p>
<p><strong>Stateless </strong>- ESXi <strong>doesn&#8217;t actively persist its state across reboots</strong>.</p>
<p>Stateful &#8211; ESXi does persist its state across reboots.</p></blockquote>
<p>So just to clarify, a diskless server does not necessarily mean a server with no spinning disks.  ESXi will consider boot-from-SAN, boot-from-USB key/SD card as a diskful.  And tangentially a server choked full of the finest RAIDed disks, can equally be configured as diskless if you really want.  A stateless ESXi server does not mean that it doesn&#8217;t have any configuration settings, just that the server stores this in a volatile ramdisk and therefore isn&#8217;t usually responsible for being authoritative for the configuration as it boots up.</p>
<p>I&#8217;ve highlighted the diskless and stateless definition above mainly because those are the &#8220;new&#8221; deployment options.  When you&#8217;ve installed classic ESX before, it would have installed to writable disks and constantly had its configuration saved on those disks.  So what do the two new options give you in particular?</p>
<p><strong>Diskless</strong> &#8211; I believe the primary purpose to have a diskless ESXi setup is to allow the image to be loaded from a PXE boot. I don&#8217;t mean the same as a PXE boot install that you would boot from and install an OS.  A &#8220;PXE boot&#8221; boot is different in that it actually boots the OS from the network, not booting just the installer. This means that images can be stored centrally and replaced easily. Remember, ESXi loads the running boot image into RAM as it boots up, so it&#8217;s feasible to replace it and have all servers &#8220;upgraded&#8221; after their next reboot en masse.</p>
<p>If a diskless server is also configured as stateless, it will use up to 4GB of RAM for a ramdisk-based scratch partition.  This eats into your RAM, and can be avoided with a stateful scratch partition created on a remote VMFS or NFS volume.</p>
<p>One advantage to having a diskful server, is that it stores two copies of the bootbank directory, but only mounts one of them.  The offline copy can be used to boot from if a problem occurs with the live mounted version.</p>
<p><strong>Stateless</strong> &#8211; At first looks, the thought of a server which can lose its configuration after a reboot seems silly.  However, the reason is that it allows the use of a centralized configuration authority.  One tool can push out configuration settings to all the hosts.  This is where Host Profiles potentially steps in to allow policy based configuration, and you can avoid having to touch every server in a cluster when a new configuration change is required.  To me it&#8217;s all about extracting the configuration from the deployment process.</p>
<p>The important impact of running ESXi as stateless is one of persistence.  Not only can the configuration need to be reloaded from somewhere remote after a reboot, but the logs and the core dumps (think vmkcore contents) are lost if the server shuts down.  So an important consideration for deploying stateless ESXi, is to configure a remote syslog server to capture those logs.</p>
<p>A diskless server is stateless by default. But, my understanding is that, if you configure a diskful server as stateless (it can write to the boot device, but it uses a volatile scratch partition) then it will save the state archive to the boot disk every 10 minutes.  This was done to prevent wear on small USB based storage which was the most likely candidate for this type of setup.  The impact here is that reboots would lose logs and core dumps (as for all stateless setups), and the startup config could be different to the running config.  Potentially any configuration changes made to the host in the last 10 minutes could be lost.  This is where the &#8220;actively&#8221; comes from in my stateless definition.  A stateless server can persist state across reboots if it&#8217;s diskful, but because it only copies it to disk periodically, I wouldn&#8217;t consider that active or necessarily authoritative.</p>
<blockquote><p>So why do I care?</p></blockquote>
<p>Now usually, unless you plan to run ESXi as diskless, stateless or both, you are most likely to install it and not think about it, assuming it to be both stateful and diskful.  Most of us expect the servers to actively maintain their state across reboots, to save logs and dumps locally, and load the bootable image from disk (or maybe a USB key/SD card).</p>
<p>However all this information becomes more interesting to you when you realize that how much writeable storage is available when you first build your ESXi server, will by default dictate whether the state is persistent.  If 4GB is free locally (after the base install) then a 4GB scratch partition is created.  That doesn&#8217;t sound much of a requirement these days, but as an example consider an HP BL490c server (this is blade server with no local disk bays).  You could be thinking this item would work wonders in your chassis as an ESXi server.  The G7 model has an onboard SD card slot. Perfect.  However as one of my colleagues pointed out the other day, the largest HP certified SD card current is 4GB (as far as I know there is no HCL for SD cards, so your device should be certified by the server vendor for a true supported configuration).  What a sweet ESXi hardware choice. But without realizing it, by default during the ESXi install, it sets up the server as stateless and creates the scratch partition on a ramdisk.  And you probably never even realised the impact of this.  Now that you do realize, then this can be easily fixed by re-directing the scratch partition to an external VMFS or NFS volume.</p>
<p>A combination of diskless and stateless makes for a very agile platform.  Imagine re-provisioning ESXi hosts with simple reboots.  They could pick up new configurations and boot images centrally, with them re-roled for different purposes, different networking configurations, different storage LUNs or even different storage devices.  Your VDI cluster needs more horsepower at 9am, but then after the initial rush you need more grunt for your Tier 1 VMs.  ESXi servers automatically re-provisioned through a DRS-like automation tool.  Okay, I&#8217;m totally dreaming here (honestly, this is pure conjecture), but it&#8217;s not too difficult to imagine very scalable &#8220;<em>cloud</em>&#8221; (quotation marks and italics for extra special emphasis here <img src='http://www.vReference.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) setups, gobbling this stuff for breakfast as soon as it is a workable easily implementable deployment solution.</p>
<p>Now I don&#8217;t know about you, but my head spins whenever I try to think these options through.  I find myself re-reading it and re-correcting myself all the time. Hopefully what I&#8217;ve described above is somewhat clear.  If you disagree with any of the definitions or the impacts then let me know in the comments and I&#8217;ll consider update the post.  I want it to be as definitive and accurate as possible, and I&#8217;m sure there are plenty of impacts I&#8217;ve not considered here.</p>
<p>In the new <a href="http://www.vReference.com/vsphere-design-book/">vSphere Design book</a>, I mention elements of this subject and I also include a table which helps to understand where the bootbank, locker and scratch directories are physically stored depending on their state and disk combination.</p>
<p>##################</p>
<p>The VMware vSphere Design book is now available for pre-order on Amazon and will be in the stores around the middle of March 2011.  Pre-order your copy today:</p>
<p><a href="http://goo.gl/4OJb1" target="_blank"><img title="Buy from Amazon US" src="http://www.vReference.com/wp-content/uploads/BuyFromAmazonUS.gif" alt="" width="176" height="28" /></a> <a href="http://goo.gl/7A0gy" target="_blank"><img title="Buy from Amazon Canada" src="http://www.vReference.com/wp-content/uploads/BuyFromAmazonCanada.gif" alt="" width="90" height="28" /></a> <a href="http://goo.gl/4cn4e" target="_blank"><img title="Buy from Amazon UK" src="http://www.vReference.com/wp-content/uploads/BuyFromAmazonUK.gif" alt="" width="170" height="28" /></a></p>
<p>=====
<a href="http://www.vReference.com/2011/02/10/stateless-diskless-and-feckless/">Understanding ESXi &#8211; stateless, diskless, feckless</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2011/02/10/stateless-diskless-and-feckless/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Shining glory</title>
		<link>http://www.vReference.com/2008/03/08/shining-glory/</link>
		<comments>http://www.vReference.com/2008/03/08/shining-glory/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 19:00:40 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VI3 card]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://vmreference.com/?p=16</guid>
		<description><![CDATA[<p><a href="http://www.vreference.com/vi3-card">Here is version 1.1</a> in all its shining glory.</p> <p>I&#8217;ve made several corrections (thanks everyone), added a few extra snippets and dusted it with a sprinkling of handy tips and tricks.</p> <p>The biggest change is a small 3i section. I have been wanting to do this for a while, but I haven&#8217;t had a [...]<p>=====
<a href="http://www.vReference.com/2008/03/08/shining-glory/">Shining glory</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vreference.com/vi3-card">Here is version 1.1</a> in all its shining glory.</p>
<p>I&#8217;ve made several corrections (thanks everyone), added a few extra snippets and dusted it with a sprinkling of handy tips and tricks.</p>
<p>The biggest change is a small 3i section. I have been wanting to do this for a while, but I haven&#8217;t had a chance to play with it since its beta. There is quite lot of information around about 3i now, but I just wanted to add the sort of stuff people would actual use.</p>
<p>On a personal note, I have just got back from an OnTap foundations course, so I am try to pull together some good reading material for the NetApp NCDA. Maybe they&#8217;ll be a &quot;vmreference OnTap card&quot; soon:)</p>
<p>As ever, suggestions/advice/questions &#8211; <a href="http://www.vreference.com/about-me">get in touch</a></p>
<p>=====
<a href="http://www.vReference.com/2008/03/08/shining-glory/">Shining glory</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/03/08/shining-glory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The VI3 card is now ready for 1.0 status!</title>
		<link>http://www.vReference.com/2008/02/03/the-vi3-card-is-now-ready-for-10-status/</link>
		<comments>http://www.vReference.com/2008/02/03/the-vi3-card-is-now-ready-for-10-status/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 19:00:27 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[VI3 card]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[NCDA]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[RHCE]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://vmreference.com/?p=14</guid>
		<description><![CDATA[<p>I have spent quite a bit time over the last couple of weeks trying to tidy it up and adding in some of the 3.5 stuff which might start showing up. I haven&#8217;t had a great deal of hands-on experience with 3.5 yet, and haven&#8217;t needed to plough through the VMware documentation. Please let me [...]<p>=====
<a href="http://www.vReference.com/2008/02/03/the-vi3-card-is-now-ready-for-10-status/">The VI3 card is now ready for 1.0 status!</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></description>
			<content:encoded><![CDATA[<p>I have spent quite a bit time over the last couple of weeks trying to tidy it up and adding in some of the 3.5 stuff which might start showing up. I haven&#8217;t had a great deal of hands-on experience with 3.5 yet, and haven&#8217;t needed to plough through the VMware documentation. Please let me know if you spot anything which is out of date. Things move so quickly in this field, it is often difficult to keep up.</p>
<p>So what&#8217;s next? Well, I am already gathering some material to add in a short section about 3i specific stuff. Let me know if you have any useful links.</p>
<p>When I was playing around with the 3i beta, I was thinking about a 3i advanced guide including busybox command listings. However, in retrospect I don&#8217;t know how much this would get used. It seems VMware want to hide this aspect as much as possible, and if you have to reboot your 3i server or set it up beforehand, then I can&#8217;t imagine many people really using it in anger.</p>
<p>For a long time, VMware has been promising to introduce a more advanced certification. The rumblings are starting to get louder around this, so hopefully it might be available soon. If there is extra material, or courses (which I can persuade someone to send me on) over and above the DSA course, then this could certainly be the basis for a different card. It would be great to design a card more focused towards architects.</p>
<p>If VMware ever improve the mess that is the RCLI, then I would definitely produce a specific reference card just for this. However, it seems like such an afterthought by them. I&#8217;m afraid that they won&#8217;t develop it further, but use it to placate the CLI and Linux set. As a little shell/editor for Windows, or a nifty little dedicated VM; this could be so useful. Unfortunately, throwing down a pile of perl scripts, just don&#8217;t cut the mustard. I like Scott Lowe&#8217;s entry here: <a href="http://blog.scottlowe.org/2008/01/07/underwhelmed-by-the-remote-cli/">http://blog.scottlowe.org/2008/01/07/underwhelmed-by-the-remote-cli/</a></p>
<p>And no, I have no great interest in MS&#8217;s powershell.</p>
<p>I&#8217;m hoping to get myself on a NetApp &quot;Data ONTAP Fundamentals&quot; course in March, so if I find that interesting enough and can get enough material together to study for the NCDA, then I might just put a card together for that. Does anyone have some good links to NCDA material, or can recommend a good book?</p>
<p>And lastly, I&#8217;m still interested in taking my Red Hat RHCE exam one day. I have been wanting to do this for quite some time, but I haven&#8217;t found an employer interested in Linux yet. I&#8217;m sure there are plenty RHCE reference cards already out there. I&#8217;d just love to have the opportunity to spend more time with Linux at work. Its hard studying for a fairly heavy curriculum, when I don&#8217;t get to use those skills regularly.</p>
<p>Oh, and I know I really need to do something about this site. I&#8217;ll need to get myself interesting in joomla, drupal, wordpress or something similar.</p>
<p>As always, please <a href="http://www.vreference.com/about-me">get in touch</a> if you have any comments.</p>
<p>=====
<a href="http://www.vReference.com/2008/02/03/the-vi3-card-is-now-ready-for-10-status/">The VI3 card is now ready for 1.0 status!</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/02/03/the-vi3-card-is-now-ready-for-10-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3i USB key</title>
		<link>http://www.vReference.com/2007/10/10/3i-usb-key/</link>
		<comments>http://www.vReference.com/2007/10/10/3i-usb-key/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 19:01:07 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://vmreference.com/?p=6</guid>
		<description><![CDATA[<p>I managed to get my hands on a VMworld 3i USB key and was also accepted into the 3.5 beta programme. Both on the same day. However, it means that I&#8217;m now bound by the beta rules, until 3.5 goes GA.</p> <p>I am already starting to draft a 3i command vreference card, as there is [...]<p>=====
<a href="http://www.vReference.com/2007/10/10/3i-usb-key/">3i USB key</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></description>
			<content:encoded><![CDATA[<p>I managed to get my hands on a VMworld 3i USB key and was also accepted into the 3.5 beta programme. Both on the same day. However, it means that I&#8217;m now bound by the beta rules, until 3.5 goes GA.</p>
<p>I am already starting to draft a 3i command vreference card, as there is loads of good information available on the web:</p>
<p><a href="http://scalethemind.com/" class="broken_link">http://scalethemind.com/</a></p>
<p><a href="http://www.ntpro.nl/blog/">http://www.ntpro.nl/blog/</a></p>
<p>Mike Laverik of RTFM fame has written <a href="http://www.rtfm-ed.co.uk/?p=453">one of his guides for this</a> , but as its only available to those who attended VMworld and VCIs, I guess I&#8217;ll have to wait. It be interesting what he manages to find and what I miss.</p>
<p>=====
<a href="http://www.vReference.com/2007/10/10/3i-usb-key/">3i USB key</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates, and follow me on <a href="http://twitter.com/forbesguthrie">Twitter</a> for shorter ramblings.
<a href="http://twitter.com/{screen_name}" class="twitter-follow-button">Follow @forbesguthrie</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2007/10/10/3i-usb-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

